/* ================= RESET ================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ================= FUNDO ================= */

body {
    font-family: Arial, Helvetica, sans-serif;
    background: url('img/fundo/fundo.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}

/* ================= CONTAINER PADRÃO ================= */

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 0 18px rgba(0,0,0,0.12);
}

/* ================= CONTAINER LOGIN ================= */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
    text-align: center;
}

/* ================= LOGO ================= */

.logo {
    width: 150px;
    margin-bottom: 20px;
}

/* ================= TÍTULOS ================= */

h1, h2, h3 {
    color: #1f2937;
    margin-bottom: 22px;
}

/* ================= FORMULÁRIO ================= */

form {
    width: 100%;
    text-align: left;
}

label {
    display: block;
    font-weight: bold;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 6px;
}

/* ================= INPUTS ================= */

input,
select {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    font-size: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    margin-bottom: 18px;
    outline: none;
}

input:focus,
select:focus {
    border-color: #2563eb;
}

/* ================= INPUT DATE ================= */

input[type="date"] {
    background-color: #fff;
    -webkit-appearance: none;
    appearance: none;
    line-height: 50px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 12px;
    opacity: 0.7;
}

/* ================= BOTÃO ================= */

button {
    width: 100%;
    padding: 14px;
    margin-top: 6px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #1e40af;
}

/* ================= LINKS ================= */

a {
    color: #2563eb;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ================= DASHBOARD ================= */

.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* ================= CARD PADRÃO (BRANCO) ================= */

.card {
    background: #f1f3f4;
    color: #1f2937;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    font-size: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

/* ================= AÇÕES NO CARD ================= */

.card .acoes {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.card .acoes a {
    background: #ffffff;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
}

.card .acoes a:hover {
    background: #2563eb;
    color: #ffffff;
}

/* ================= MENU LATERAL ================= */

.menu-lateral {
    position: fixed;
    left: -260px;
    top: 0;
    width: 260px;
    height: 100%;
    background: #1f2937;
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 9999;
}

.menu-lateral.menu-aberto {
    left: 0;
}

.menu-lateral a {
    display: block;
    padding: 12px;
    color: white;
    font-size: 17px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.menu-lateral a:hover {
    background: #374151;
}

.menu-lateral .sair {
    background: #dc2626;
}

.menu-lateral .sair:hover {
    background: #ef4444;
}

/* ================= BOTÃO MENU ================= */

.btn-menu {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 10000;
    background: #2563eb;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 24px;
}

/* ================= SEÇÕES ================= */

.secao {
    display: none;
}

/* ================= MOBILE ================= */

@media (max-width: 480px) {

    .auth-container {
        padding: 26px 20px;
        border-radius: 14px;
    }

    h1, h2 {
        font-size: 20px;
        text-align: center;
    }
}

