/* Reset de margens e paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corpo da página */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #e6ebf0;
    text-align: center;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Ocupa a tela toda */
    padding-top: 80px; /* Compensa o header fixo */
}

/* Cabeçalho fixo no topo */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    background: black;
    color: white;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    height: 80px; /* Ajuste conforme necessário */
}

header .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

header .logo img {
    width: 60px;
    height: 60px;
}

header nav {
    margin-left: auto;
}

header nav ul {
    list-style-type: none;
    display: flex;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #61CE70;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    color: #fff;
}

/* Login container centralizado */
.login-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    margin: auto;
}

/* Formulário */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    font-weight: bold;
}

input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn {
    background-color: #43b866;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
}

.btn:hover {
    background-color: #1d6e24;
}

#menu {
    padding: 20px;
}
            
 #menu li {
    margin: 10px 0;
}
            
#menu a {
    color: white;
    text-decoration: none;
    font-size: 30px;
    transition: color 0.2s;
}
            
#menu a:hover {
    color: #61CE70; /* Cor de destaque ao passar o mouse */
}
            
 /* Quando o menu está visível */
#menu.active {
    right: 0; /* Move o menu para dentro da tela */
}
            
/* Botão de menu */
#menu-toggle {
    position: fixed;
    top: 30px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    z-index: 1100;
    transition: transform 0.3s ease;
}
            
#menu-toggle:hover {
    transform: scale(1.2); /* Efeito de zoom ao passar o mouse */
}

/* Rodapé fixo */
 footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.ver-btn {
    background: linear-gradient(135deg, #28a745, #218838); /* Gradiente verde */
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    font-family: "Poppins", sans-serif;
    padding: 16px 28px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4); /* Sombra verde */
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.ver-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease-in-out;
}

.ver-btn:hover::before {
    left: 100%;
}

.ver-btn:hover {
    background: linear-gradient(135deg, #218838, #1e7e34); /* Efeito mais escuro no hover */
    box-shadow: 0 8px 16px rgba(33, 136, 56, 0.5);
    transform: translateY(-2px);
}

.edit-btn {
    background: linear-gradient(135deg, #FFD700, #FFC107); /* Gradiente dourado moderno */
    color: #fff;
    font-size: 18px; /* Tamanho ideal para toque em tablets */
    font-weight: bold;
    font-family: "Poppins", sans-serif; /* Fonte mais moderna */
    padding: 16px 28px; /* Área de toque confortável */
    border: none; /* Sem borda para um design mais clean */
    border-radius: 16px; /* Bordas mais suaves */
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 6px 12px rgba(255, 200, 0, 0.4); /* Sombra dourada para efeito 3D */
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.edit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease-in-out;
}

.edit-btn:hover::before {
    left: 100%;
}

.edit-btn:hover {
    background: linear-gradient(135deg, #FFC107, #FFA000);
    box-shadow: 0 8px 16px rgba(255, 170, 0, 0.5);
    transform: translateY(-2px);
}

.cards, .button-cards {
    display: flex;
    flex-wrap: wrap; /* Permite que os elementos quebrem para a próxima linha */
    gap: 10px;
    justify-content: center; /* Centraliza os cards menores */
}
.card, .button-card {
    background: white;
    padding: 20px;
    flex: 1;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    max-width: 400px; /* Define um limite para não ficarem muito largos */
}
.button-card:nth-child(1) {
    background: #2E8236;
    color: white;
}
.button-card:nth-child(2) {
    background: #F4B400;
    color: white;
}
.button-card:nth-child(3) {
    background: #4374E0;
    color: white;
}
.button-card:nth-child(4) {
    background: #f3593e;
    color: white;
}
.button-card:hover {
    opacity: 0.8;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    min-width: 50px; /* Ajuste conforme necessário */
    display: block;
    margin-bottom: 5px;
    font-weight: bold; /* Deixa o label mais visível */
}

.form-group select {
    flex: 1; /* Faz com que o select ocupe o espaço restante */
    min-width: 350px; /* Garante um tamanho mínimo adequado */
}

label {
    min-width: 80px; /* Ajuste conforme necessário */
}

input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.styled-select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #119c4b;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #333;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.styled-select:hover {
    border-color: #00532c;
}

.styled-select:focus {
    border-color: #00532c;
    box-shadow: 0 0 5px rgba(0, 83, 44, 0.5);
}

.content-wrapper-lista {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}


.table-responsive {
    overflow-x: auto;
    width: 100%;
}

/* Estilo para telas grandes (desktop) */
@media (min-width: 768px) {
    #menu {
         position: static;
         width: auto;
         height: auto;
         display: flex;
         flex-direction: row;
         background-color: transparent;
         color: black;
         box-shadow: none;
     }
             
     #menu li {
         margin: 0 15px;
     }
             
     #menu.active {
         left: 0;
     }
             
     #menu-toggle {
         display: none; /* Esconde o botão de menu em telas grandes */
     }
 }
 
 /* Estilo para telas menores */
 @media (max-width: 768px) {
     
     header {
         padding: 5px 10px;
         height: 60px;
     }
     
     header .logo img {
         width: 50px;
         height: 50px;
     }
     
     .cards, .button-cards {
         flex-direction: column; /* Empilha os cards verticalmente em telas menores */
         align-items: center; /* Centraliza os itens */
     }       
 
     .card, .button-card {
         width: 90%; /* Ajusta a largura para ocupar mais espaço */
     }
 
     .form-group {
         flex-direction: column;
         align-items: stretch;
     }
 
     .form-group button {
         margin-top: 10px;
         width: 100%;
     }

     .content-wrapper-lista {
        width: 95%; /* Permite um pequeno espaçamento lateral */
        margin: 10px auto; /* Reduz a margem para telas menores */
        padding: 15px; /* Ajusta o espaçamento interno */
        border-radius: 5px; /* Reduz o arredondamento */
    }

 
     footer img, 
     footer .direitos {
         display: none; /* Oculta a imagem e o texto de direitos */
     }
 }