/* ============================================================
   Área do aluno — login, cadastro e painel.
   Usa a moldura pública (Bootstrap 4 + redacao.css); aqui fica só
   o que é específico dessas telas.
   ============================================================ */

/* ---------- Barra de navegação (a mesma da página inicial) ----------
   Na home a .navbar é absoluta sobre a faixa de abertura; aqui ela entra no
   fluxo da página, sobre o mesmo degradê verde. */

.site-nav {
    background: radial-gradient(var(--red-principal, #2C5543), var(--red-escura, #1D4031));
    border-bottom: 5px solid #fff;
}

.site-nav .navbar {
    position: static;
    top: auto;
    max-width: 1180px;
    margin: 0 auto;
    padding: .55rem 1rem;
}

.site-nav .navbar-brand img { display: block; height: 46px; width: auto; }

.site-nav .nav-link {
    transition: color .15s;
    white-space: nowrap;      /* "FOLHA ONLINE" e "Minha área" não podem quebrar em duas linhas */
    font-size: 15px;
    padding-left: .6rem;
    padding-right: .6rem;
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.is-atual { color: var(--red-destaque, #00FFDD) !important; }

.site-nav__aluno { border-left: 1px solid rgba(255, 255, 255, .35); margin-left: 8px; padding-left: 8px; }

@media (max-width: 990px) {
    .site-nav .navbar-collapse { margin-top: 8px; padding: 6px 12px; background: rgba(0, 0, 0, .18); border-radius: 8px; }
    .site-nav__aluno { border-left: 0; margin-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
}

.aluno-card {
    max-width: 440px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e1e7e3;
    border-radius: 14px;
    padding: 30px 28px;
    box-shadow: 0 6px 24px rgba(20, 50, 38, .08);
}

.aluno-card h2 { font-size: 24px; margin-bottom: 4px; text-align: center; }
.aluno-card .aluno-sub { text-align: center; color: #5f6b66; margin-bottom: 22px; }

.aluno-card label { font-weight: 600; font-size: 14px; margin-bottom: 2px; }

.aluno-ou {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #8a958f;
    font-size: 13px;
}
.aluno-ou::before, .aluno-ou::after { content: ""; flex: 1; border-top: 1px solid #dfe5e1; }

.aluno-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #c7d0cb;
    border-radius: 8px;
    color: #26332e;
    font-weight: 600;
    text-decoration: none;
}
.aluno-social:hover { background: #f3f6f4; color: #26332e; text-decoration: none; }
.aluno-social svg { width: 20px; height: 20px; flex: none; }

.aluno-links { text-align: center; margin-top: 18px; font-size: 14px; }
.aluno-links a { color: var(--red-principal, #2C5543); font-weight: 600; }

.aluno-alerta { white-space: pre-line; }

/* Cadastro */
.aluno-cadastro { max-width: 900px; margin: 0 auto; }
.aluno-cadastro h5 { color: var(--red-principal, #2C5543); margin: 28px 0 12px; font-weight: 700; }
.aluno-cadastro label { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.aluno-cadastro .form-control:focus,
.aluno-card .form-control:focus {
    border-color: var(--red-principal, #2C5543);
    box-shadow: 0 0 0 .2rem rgba(44, 85, 67, .2);
}

/* Painel */
.aluno-painel { max-width: 900px; margin: 0 auto; }
.aluno-situacao {
    background: #fff;
    border: 1px solid #e1e7e3;
    border-left: 6px solid var(--red-principal, #2C5543);
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 24px;
}
.aluno-situacao h3 { font-size: 20px; margin: 0 0 6px; }
.aluno-situacao p { margin-bottom: 14px; }

.aluno-historico { width: 100%; font-size: 15px; }
.aluno-historico td, .aluno-historico th { padding: 10px 8px; border-bottom: 1px solid #e8ede9; text-align: left; }
.aluno-selo {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #e8ede9;
    color: #26332e;
}

/* ---------- Início, rascunhos e redações enviadas ---------- */

.aluno-ola { font-size: 30px; margin: 0 0 20px; color: var(--red-principal, #2C5543); }
.aluno-titulo { font-size: 28px; margin: 0 0 4px; color: var(--red-principal, #2C5543); }
.aluno-sub-pagina { color: #5f6b66; margin-bottom: 24px; }

.aluno-situacao__rotulo {
    display: inline-block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #66736d;
}

.aluno-aviso {
    padding: 8px 12px;
    background: #fff7e0;
    border-left: 4px solid #e0a800;
    border-radius: 4px;
    font-size: 14px;
}

/* Quatro atalhos: rascunhos, enviadas, cadastro, regulamento. */
.aluno-atalhos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}

.aluno-atalho {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 18px 18px 16px;
    background: #fff;
    border: 1px solid #e1e7e3;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.aluno-atalho:hover, .aluno-atalho:focus {
    border-color: var(--red-principal, #2C5543);
    box-shadow: 0 6px 18px rgba(20, 50, 38, .12);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}
.aluno-atalho__num { font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--red-principal, #2C5543); }
.aluno-atalho__nome { font-weight: 700; }
.aluno-atalho__txt { font-size: 14px; color: #5f6b66; }

/* Itens das listas (um rascunho ou uma redação enviada). */
.aluno-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 20px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #e1e7e3;
    border-radius: 12px;
}
.aluno-item__titulo { font-size: 18px; margin: 0 0 2px; }
.aluno-item__meta { font-size: 14px; color: #5f6b66; }

.aluno-vazio {
    padding: 36px 20px;
    text-align: center;
    background: #fff;
    border: 1px dashed #c7d0cb;
    border-radius: 12px;
}

/* Os títulos do site são centralizados e em caixa alta; nas listas e no início
   do aluno ficam alinhados à esquerda, como texto de painel. */
.aluno-painel h1, .aluno-painel h2 { text-align: left; text-transform: none; }
.aluno-situacao h2 { font-size: 24px; margin: 0 0 8px; color: var(--red-principal, #2C5543); }
.aluno-item__titulo { color: var(--red-principal, #2C5543); }
