body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f6fb;
    color: #0f172a;
}

* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

input,
select,
textarea,
button,
a,
p,
span,
label,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card {
    width: 100%;
    max-width: 720px;
    background: #ffffff;
    padding: 36px;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.card h1 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0;
}

.card p {
    color: #64748b;
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.card-login {
    max-width: 560px;
}

.logo-login {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 10px;
}

.acoes {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.acoes a {
    display: block;
    background: #2563eb;
    color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    transition: 0.2s;
    font-size: 16px;
}

.acoes a:hover {
    background: #1d4ed8;
}

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

form input,
form select,
form textarea {
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 400;
    width: 100%;
    background: #fff;
    color: #111827;
}

form input::placeholder,
form textarea::placeholder {
    font-size: 16px;
    font-weight: 400;
    color: #6b7280;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

form button {
    border: none;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    background: #2563eb;
    color: #fff;
    transition: 0.2s;
}

form button:hover {
    background: #1d4ed8;
}

.pagina-dashboard {
    background: #f3f6fb;
}

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 270px;
    background: #0b2e6f;
    color: white;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
}

.logo-box {
    margin-bottom: 28px;
}

.logo-box-imagem {
    text-align: center;
}

.logo-sidebar {
    width: 100%;
    max-width: 190px;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    background: #ffffff;
    padding: 8px;
}

.logo-box h2 {
    margin: 0 0 32px 0;
    line-height: 1.15;
    font-size: 34px;
    font-weight: 800;
}

.logo-box span {
    color: #f4b400;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu a {
    color: white;
    padding: 14px 16px;
    border-radius: 12px;
    transition: 0.2s;
    font-size: 16px;
    font-weight: 500;
}

.menu a:hover,
.menu a.ativo {
    background: #2563eb;
}

.conteudo {
    flex: 1;
    padding: 28px;
}

.topo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.topo h1 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.topo p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.perfil {
    background: #ffffff;
    padding: 16px 18px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    min-width: 210px;
    text-align: right;
}

.perfil strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.perfil span {
    color: #64748b;
    font-size: 15px;
    font-weight: 400;
}

.bloco {
    background: #ffffff;
    padding: 26px;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    margin-bottom: 24px;
}

.titulo-bloco {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.numero {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.bloco h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}

.bloco p {
    color: #64748b;
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 16px 0;
    line-height: 1.6;
}

.check-linha {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 18px 0 22px 0;
    color: #0f172a;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
}

.check-linha input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    flex-shrink: 0;
}

.grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.campo {
    display: flex;
    flex-direction: column;
}

.campo label {
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 16px;
    color: #0f172a;
}

.campo-largo {
    grid-column: 1 / -1;
}

.radio-group {
    display: flex;
    gap: 24px;
    align-items: center;
    min-height: 50px;
    padding-top: 6px;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 16px;
    margin: 0;
}

.radio-group input[type="radio"] {
    width: auto;
}

.acoes-formulario {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.acoes-direita {
    display: flex;
    gap: 12px;
    align-items: center;
}

.botao-secundario,
.botao-principal {
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.botao-secundario {
    background: #e2e8f0;
    color: #0f172a;
}

.botao-secundario:hover {
    background: #cbd5e1;
}

.botao-principal {
    background: #2563eb;
    color: white;
}

.botao-principal:hover {
    background: #1d4ed8;
}

.destaque-extensionista {
    border: 2px solid #dbeafe;
    background: #f8fbff;
}

/* Botões discretos para ações especiais */
.botao-discreto {
    background: #1e3a8a;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.botao-discreto:hover {
    background: #1d4ed8;
}

/* Links de apoio */
.link-simples {
    color: #2563eb;
    font-weight: 600;
}

.link-simples:hover {
    color: #1d4ed8;
}

@media (max-width: 1100px) {
    .layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .conteudo {
        padding: 18px;
    }

    .topo {
        flex-direction: column;
    }

    .perfil {
        text-align: left;
        min-width: auto;
        width: 100%;
    }

    .grid-form {
        grid-template-columns: 1fr;
    }

    .acoes-formulario {
        flex-direction: column;
        align-items: stretch;
    }

    .acoes-direita {
        flex-direction: column;
        width: 100%;
    }

    .botao-secundario,
    .botao-principal {
        width: 100%;
    }

    .logo-login {
        max-width: 260px;
    }

    .logo-sidebar {
        max-width: 160px;
    }
}