.logo-ezeducation {
    width: 150px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 0 20px 16px;
    position: relative;
    top: 12px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background, #F5F7FA);
    color: var(--text, #243247);
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

.access-page {
    display: block;
    width: 100%;
    min-height: 100vh;
    padding: 36px 20px;
}

.form-panel {
    display: block;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

.login-card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 36px;
    background: var(--white, #FFFFFF);
    border: 1px solid var(--border, #E2E7EE);
    border-radius: var(--radius, 14px);
    box-shadow: var(--shadow, 0 18px 55px rgba(11, 34, 66, 0.08));
}

h1 {
    margin: 0 0 12px;
    color: var(--navy, #0B2242);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.7px;
}

h2 {
    margin: 0 0 10px;
    color: var(--navy, #0B2242);
    font-size: 22px;
    font-weight: 600;
}

h3 {
    margin: 24px 0 14px;
    color: var(--navy, #0B2242);
    font-size: 17px;
}

p {
    line-height: 1.7;
}

#mensagem-usuario {
    margin: 0 0 20px;
    color: var(--muted, #748094);
}

hr {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid var(--border, #E2E7EE);
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 44px;
    margin-top: 8px;
    padding: 11px 20px;
    border: 1px solid var(--gold, #F7AC23);
    border-radius: 10px;
    background: var(--gold, #F7AC23);
    color: var(--navy, #0B2242);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.primary-button:hover {
    background: #FFC04C;
    transform: translateY(-1px);
}

input,
textarea,
select {
    width: 100%;
    margin: 7px 0 18px;
    padding: 13px 14px;
    border: 1px solid var(--border, #E2E7EE);
    border-radius: 10px;
    outline: none;
    background: var(--white, #FFFFFF);
    color: var(--text, #243247);
    font: inherit;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--navy, #0B2242);
    box-shadow: 0 0 0 3px rgba(11, 34, 66, 0.08);
}

label {
    color: var(--dark-gray, #404040);
    font-size: 13px;
    font-weight: 600;
}

.dashboard {
    margin: 28px 0;
    padding: 28px;
    border: 1px solid var(--border, #E2E7EE);
    border-top: 4px solid var(--gold, #F7AC23);
    border-radius: var(--radius, 14px);
    background: var(--background, #F5F7FA);
}

.indicadores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 16px;
    margin: 24px 0 30px;
}

.indicador {
    padding: 20px;
    border: 1px solid var(--border, #E2E7EE);
    border-radius: 12px;
    background: var(--white, #FFFFFF);
    box-shadow: 0 5px 18px rgba(11, 34, 66, 0.05);
}

.indicador p {
    margin: 0 0 12px;
    color: var(--muted, #748094);
    font-size: 13px;
}

.indicador strong {
    color: var(--navy, #0B2242);
    font-size: 32px;
    font-weight: 700;
}

.indicador:first-child {
    border-top: 3px solid var(--gold, #F7AC23);
}

.barra-item {
    margin: 20px 0;
}

.barra-item p {
    margin-bottom: 9px;
    color: var(--dark-gray, #404040);
    font-size: 13px;
    font-weight: 600;
}

.barra-fundo {
    height: 12px;
    overflow: hidden;
    border-radius: 20px;
    background: #E2E7EE;
}

.barra {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, #0B2242, #31577F);
    transition: width 0.3s ease;
}

#lista-solicitacoes article {
    margin: 16px 0;
    padding: 22px;
    border: 1px solid var(--border, #E2E7EE) !important;
    border-left: 4px solid var(--gold, #F7AC23) !important;
    border-radius: 12px !important;
    background: var(--white, #FFFFFF);
    box-shadow: 0 5px 18px rgba(11, 34, 66, 0.05);
}

#lista-solicitacoes article h4 {
    margin: 0 0 12px;
    color: var(--navy, #0B2242);
    font-size: 17px;
}

#lista-solicitacoes article p {
    overflow-wrap: anywhere;
    color: var(--text, #243247);
    font-size: 14px;
}

#lista-solicitacoes article button {
    padding: 10px 16px;
    border: 1px solid var(--gold, #F7AC23);
    border-radius: 9px;
    background: var(--gold, #F7AC23);
    color: var(--navy, #0B2242);
    font-weight: 600;
    cursor: pointer;
}

#lista-solicitacoes article button:hover {
    background: #FFC04C;
}

#lista-solicitacoes article button:disabled,
.primary-button:disabled {
    cursor: wait;
    opacity: 0.6;
}

#lista-solicitacoes article select {
    margin-bottom: 10px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 650px) {
    .access-page {
        padding: 14px;
    }

    .login-card {
        padding: 22px;
    }

    h1 {
        font-size: 25px;
    }

    .dashboard {
        padding: 18px;
    }

    .indicadores {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .indicador {
        padding: 14px;
    }

    .indicador strong {
        font-size: 27px;
    }

    .primary-button {
        max-width: 100%;
    }
}

/* Modo escuro — EzEducation */

body.tema-escuro {
    --background: #121C2B;
    --white: #1D2B3E;
    --text: #E8EDF5;
    --navy: #F1F5FA;
    --dark-gray: #D5DCE6;
    --muted: #AAB8CA;
    --border: #394B61;
}

body.tema-escuro .primary-button,
body.tema-escuro #lista-solicitacoes article button {
    color: #0B2242;
}

body.tema-escuro .barra-fundo {
    background: #394B61;
}

body.tema-escuro .barra {
    background: linear-gradient(90deg, #F7AC23, #FFD27A);
}

/* Acessibilidade — tamanho da fonte */

body.fonte-grande {
    font-size: 18px;
}

body.fonte-muito-grande {
    font-size: 21px;
}

/* Aumenta também títulos, campos e botões */
body.fonte-grande h1,
body.fonte-grande h2,
body.fonte-grande h3,
body.fonte-grande label,
body.fonte-grande button,
body.fonte-grande input,
body.fonte-grande select,
body.fonte-grande textarea,
body.fonte-grande p {
    font-size: 1.15em;
}

body.fonte-muito-grande h1,
body.fonte-muito-grande h2,
body.fonte-muito-grande h3,
body.fonte-muito-grande label,
body.fonte-muito-grande button,
body.fonte-muito-grande input,
body.fonte-muito-grande select,
body.fonte-muito-grande textarea,
body.fonte-muito-grande p {
    font-size: 1.3em;
}

.brand-logo-panel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  padding: 12px 20px;
  border-radius: 14px;
}

body > .brand {
  display: inline-block;
  margin: 24px 0 0 32px;
}

/* Responsividade — solicitações no celular */
@media (max-width: 650px) {
    #lista-solicitacoes article button {
        display: block;
        width: 100%;
        margin: 10px 0 !important;
    }

    #lista-solicitacoes article small {
        display: block;
        margin-bottom: 12px;
        overflow-wrap: anywhere;
    }
}