/* Reset básico */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

/* Classe para aplicar a fonte Montserrat */
.font-montserrat {
    font-family: 'Montserrat', sans-serif;
    /* letter-spacing: -1px; */
    margin: 0;
    font-weight: 900;
    text-transform: uppercase;
}

:root {
    --green: #0f0;
    --red: #f00;
    --light: #636363;
    --gray: #222;
    --white: #ffff;
    --blue: #007bff;
    --yellow: #ffc400;
    --dark: #000;
}

/* Importando a fonte Steel */
@font-face {
    font-family: 'Steel';
    src: url('fonts/steel-700.ttf') format('truetype');
    font-weight: 700;
    /* Peso da fonte */
    font-style: normal;
}

/* Aplicando ao título (h1, h2, etc.) */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Steel', Arial, sans-serif;
}

h3 {
    font-size: 20px;
}

/* Estilos para títulos */
h1 {
    font-size: 3rem;
    /* 48px */
    font-weight: 900;
    /* Bold */
    margin: 0.5rem 0;
}

h2 {
    font-size: 2.5rem;
    /* 40px */
    font-weight: 800;
    /* Bold */
    margin: 0.5rem 0;
}

h3 {
    font-size: 2rem;
    /* 32px */
    font-weight: 700;
    /* Semi-Bold */
    margin: 0.5rem 0;
}

h4 {
    font-size: 1.75rem;
    /* 28px */
    font-weight: 600;
    /* Medium */
    margin: 0.5rem 0;
}

h5 {
    font-size: 1.5rem;
    /* 24px */
    font-weight: 500;
    /* Medium */
    margin: 0.5rem 0;
}

h6 {
    font-size: 1.25rem;
    /* 20px */
    font-weight: 400;
    /* Regular */
    margin: 0.5rem 0;
}

/* Estilos para parágrafos */
p {
    font-size: 1rem;
    /* 16px */
    font-weight: 400;
    /* Regular */
    line-height: 1.5;
    /* Espaçamento entre linhas */
    margin: 0.5rem 0;
}

/* Estilos para texto pequeno */
small {
    font-size: 0.875rem;
    /* 14px */
    font-weight: 300;
    /* Light */
    color: #666;
}

/* Estilos para texto em negrito */
.bold {
    font-weight: 700;
    /* Semi-Bold */
}

/* Estilos para links */
a {
    font-size: 1rem;
    /* 16px */
    font-weight: 500;
    /* Medium */
    color: #007bff;
    /* Azul padrão */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Estilos globais */
* {
    box-sizing: border-box;
}

/* Reset básico */
body,
p {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: var(--white);
}

body {
    background: url('dist/imgs/favicon.png') no-repeat center center fixed;
    line-height: 1.6;
    min-height: 100vh;
    /* Garante que o conteúdo ocupe toda a altura da tela */
    display: flex;
    flex-direction: column;
    background-color: #000;
}

.main {
    padding: 10px;
    flex: 1;
    /* Faz o conteúdo ocupar o espaço entre o header e o footer */
    margin: auto;
    width: 70%;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #111;
    /* Fundo da barra superior */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}


.menu-buttons {
    display: flex;
    gap: 10px;
}


.btn:hover {
    background-color: rgba(100, 100, 100, 0.507);
    /* Verde escuro no hover */
}

/* Header */
.header {
    height: 400px;
    background: url('background.jpg') no-repeat center center/cover;
    /* Imagem de fundo */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    /* Espaço para a top bar */
    position: relative;
}

a {
    text-decoration: none;
}

.logo {
    max-width: 400px;
    height: auto;
}

/* Header */
.header {
    position: relative;
    height: 200px;
    /* Altura do header */
    background: url('background.jpg') no-repeat center center/cover;
    /* Imagem de fundo */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    /* Espaço para a top-bar */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.header h1 {
    font-size: 2rem;
    font-weight: bold;
    background-color: rgba(255, 0, 0, 0.8);
    /* Fundo vermelho transparente */
    padding: 10px 20px;
    border-radius: 5px;
    text-shadow: 2px 2px 4px #000;
    /* Sombra no texto */
}



/* Cabeçalho */
.header {
    background: linear-gradient(359deg, rgba(0, 170, 0, 0), rgb(170 6 0 / 54%));
    color: var(--dark);
    padding: 20px;
    text-align: center;
    /* border-radius: 10px; */
    margin-bottom: 20px;
    position: relative;
}

.header h1 {
    margin-top: 10px;
    font-size: 1.5rem;
}

/* Logo */
.logo-container {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}



/* Cards */
.cards {
    display: flex;
    /* Define o layout como grid */
    grid-template-columns: repeat(3, 1fr);
    /* 3 colunas com largura igual */
    gap: 40px;
    /* Espaçamento entre os cards */
    justify-content: center;
}


.card {
    background-color: #222;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 20px;
}

/* Lista de cards */
.card-list-payments {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

/* Card individual */
.card-payment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #262626;
    border-radius: 10px;
    padding: 10px 20px;
}

/* Icone (círculo de status) */
.card-payment-icon {
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-payment img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    /* Garante que a imagem fique proporcional */
}

/* Informações do card */
.card-payment-info {
    display: flex;
    justify-content: space-between;
    flex: 1;
}

.card-payment-detail {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    flex: 1;
}

/* Ajuste de espaço entre informações */
.card-payment-info span:not(:last-child) {
    margin-right: 10px;
}


/* Botões */
.btn {
    font-family: 'Montserrat', sans-serif;
    display: contents;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -1px;
    display: inline-block;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
}

.codigo-copia-cola {
    background-color: #222;
    color: #fff;
    padding: 15px;
    font-size: 1.2rem;
    border-radius: 5px;
    word-wrap: break-word;
    margin-top: 10px;
}

.hidden {
    display: none !important;
}

.form-group {
    margin-bottom: 1rem
}

input {
    padding: 10px;
    width: 30%;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    color: var(--white);

}

select {
    padding: 10px;
    width: 90%;
    border-radius: 5px;
    font-size: 16px;
    background-color: var(--gray);
    font-weight: bold;
    margin: auto;
    color: var(--white);

}





.pd-0 {
    padding: 0px !important;
}

.pd-5 {
    padding: 5px !important;
}

.pd-10 {
    padding: 10px !important;
}

.pd-15 {
    padding: 15px !important;
}


.m-a {
    margin: auto !important;
}

.m-0 {
    margin: 0px !important;
}

.m-5 {
    margin: 5px !important;
}

.m-10 {
    margin: 10px !important;
}

.m-15 {
    margin: 15px !important;
}

.gap-0 {
    gap: 0px !important;
}

.gap-5 {
    gap: 5px !important;
}

.gap-10 {
    gap: 10px !important;
}

.gap-15 {
    gap: 15px !important;
}

.size-90 {
    width: 90% !important;
    margin: 20px auto !important;
}

.size-70 {
    width: 70% !important;
    margin: 20px auto !important;
}

.size-50 {
    width: 50% !important;
    margin: 20px auto !important;
}

.size-30 {
    width: 30% !important;
    margin: 20px auto !important;
}


.size-all-90 {
    width: 90% !important;
    height: 90% !important;
    margin: 20px auto !important;
}

.size-all-70 {
    width: 70% !important;
    height: 70% !important;
    margin: 20px auto !important;
}

.size-all-50 {
    width: 50% !important;
    height: 50% !important;
    margin: 20px auto !important;
}

.size-all-30 {
    width: 30% !important;
    height: 30% !important;
    margin: 20px auto !important;
}

.acessos-diarios {
    width: 80%;
    height: 300px;
    margin: 10px auto !important;
}


/* Formulário */
.form-section {
    margin-top: 40px;
    text-align: center;
}

form {
    max-width: 400px;
    margin: 0 auto;
}

input,
textarea {
    width: 90%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--light);
    background-color: #333;
    border-radius: 5px;
}

textarea {
    resize: none;
    height: 100px;
}

/* Footer */
.footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, rgba(0, 170, 0, 0), rgb(170 6 0 / 54%));
    color: #fff;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    /* Sombra no topo */
}

.footer p {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Ícones de Mídia Social */
.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.social-icon {
    width: 30px;
    /* Tamanho do ícone */
    height: auto;
    transition: transform 0.3s;
    cursor: pointer;
}

.social-icon:hover {
    transform: scale(1.2);
    /* Efeito de zoom ao passar o mouse */
}


.bg-neon-green {
    background: linear-gradient(46deg, rgba(0, 170, 0, 0), rgb(0 170 0 / 30%));
    border: 1px solid rgb(0 255 0 / 34%);
    color: var(--green);
}

.bg-neon-blue {
    background: linear-gradient(46deg, rgba(0, 170, 0, 0), rgba(0, 108, 170, 0.21));
    border: 1px solid rgba(0, 132, 255, 0.34);
    color: var(--blue);
}

.bg-neon-yellow {
    background: linear-gradient(46deg, rgba(0, 170, 0, 0), rgba(145, 170, 0, 0.21));
    border: 1px solid rgba(251, 255, 0, 0.507);
    color: var(--yellow);
}

.bg-neon-light {
    background: linear-gradient(46deg, rgba(149, 163, 149, 0), rgba(222, 226, 228, 0.21));
    border: 1px solid rgba(220, 220, 221, 0.34);
    color: var(--white);
}

.bg-neon-red {
    background: linear-gradient(46deg, rgba(0, 170, 0, 0), rgba(170, 6, 0, 0.3));
    border: 2px solid rgba(255, 0, 0, 0.34);
    color: var(--red);
}

.text-light {
    color: var(--light) !important;
}

.text-red {
    color: var(--red) !important;
}

.text-green {
    color: var(--green) !important;
}

.text-gray {
    color: var(--gray) !important;
}

.text-white {
    color: var(--white) !important;
}

.text-blue {
    color: var(--blue) !important;
}

.text-yellow {
    color: var(--yellow) !important;
}

/* Container de Login */
.login-container {
    display: flex;
    width: 100%;
    /* max-width: 400px; */
    padding: 20px;
}

/* Caixa de Login */
.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #ff0000;
}

.input-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 5px;
    font-size: 1rem;
    color: #ccc;
}

.input-group input {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #333;
    color: #fff;
    font-size: 1rem;
    margin: auto;
}

.input-group input:focus {
    outline: none;

}

datalist {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #333;
    color: #fff;
    font-size: 1rem;
    margin: auto;
}


/* Estilo para arredondar as bordas da tabela */
table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px; /* Bordas arredondadas */
    overflow: hidden; /* Garante que as bordas arredondadas sejam aplicadas */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
}

th, td {
    font-size: 12px;
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #6e6e6e;
    color: var(--light);
}

th {
    background-color: #f2f2f2; /* Cor de fundo do cabeçalho */
}

/* Estilo para Entrada (verde) */
.entrada {
    background-color: #e6ffe6; /* Verde claro */
}

/* Estilo para Saída (vermelho) */
.saida {
    background-color: #ffe6e6; /* Vermelho claro */
}

tr:hover {
    opacity: 0.9; /* Efeito hover nas linhas */
}

/* Botão de Login */
.btn-login {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #ff0000;
    /* Cor do botão */
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-login:hover {
    background: #cc0000;
    /* Cor ao passar o mouse */
}

/* Link de Cadastro */
.signup-link {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ccc;
}

.signup-link a {
    color: #ff0000;
    text-decoration: none;
}

.signup-link a:hover {
    text-decoration: underline;
}

.grid-line {
    display: flex;
}

.d-flex {
    display: flex;
    justify-content: center;
}

.d-column {
    margin: auto;
    display: table-footer-group;
}

.card-user {
    width: 96%;
    margin: 10px auto;
    gap: 10px;
}

/* Blocos de Informações */
.cards-info {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 10px auto;
    justify-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    width: 95%;
    background-color: #111;
    border-radius: 5px;
    padding: 10px
}

.card-info {
    background-color: #22222288;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    text-align: center;
    width: 100%;

}

.card-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}



/* Blocos de Informações */
.cards-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Responsivo */
    gap: 10px;
    background-color: #111;
    border-radius: 5px;
    margin: auto 20px;
}

.card-menu-item {
    display: flex;
    /* Layout flex no card */
    align-items: center;
    /* Alinha o conteúdo verticalmente */
    justify-content: start;
    /* Alinha os itens à esquerda */
    background-color: #222;
    /* Cor de fundo do card */
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    /* Alinha o texto à esquerda */
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 10px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Estilo para o conteúdo interno do card */
.card-content {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Espaço entre a imagem e o texto */
}

/* Estilo da imagem */
.card-icon {
    width: 40px;
    /* Largura da imagem */
    height: 40px;
    /* Altura da imagem */
    object-fit: contain;
    /* Mantém as proporções da imagem */
}

/* Efeito de Hover */
.card-menu-item:hover {
    transform: translateY(-5px);
    /* Eleva o card */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    /* Aumenta a sombra */
    background-color: #333;
    /* Muda a cor do fundo */
}


.alert {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    display: none;
    /* Por padrão, escondida */
}

.alert.visible {
    display: block;
    /* Exibe a mensagem */
}

.alert.hidden {
    display: none;
    /* Garante que esteja oculta */
}


/* Responsividade */

@media (max-width: 1500px) {

    .cards-menu {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    main {
        width: 90% !important;
    }

    .header h1 {
        font-size: 1.2rem;
    }

    .logo-container {
        left: 10px;
    }

    .logo {
        width: 70%;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 94%;
        margin: 10px auto;
    }


    form {
        width: 100%;
        /* O formulário ocupa toda a largura em telas pequenas */
    }

    input,
    textarea {
        font-size: 0.9rem;
        /* Reduz o tamanho da fonte para inputs e textarea */
    }

    .btn {
        /* Botão ocupa a largura total */
        padding: 10px;
    }

    .cards-info {
        flex-direction: column;
    }

    .card-payment span {
        font-size: clamp(70%, 40%, 50%)
    }

    .card-payment {
        padding: 5px 10px;
    }

    .cards-menu {
        grid-template-columns: repeat(1, 1fr);
        margin: auto 10px;
    }

    .card-list-payments {

        padding: 0px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1rem;
    }

    .logo-container {
        left: 5px;
    }

    .logo {
        width: 60%;
    }

    .card {
        padding: 15px;
        font-size: 0.9rem;
    }

    .btn {
        font-size: 0.8rem;

    }
}