/* BODY */
body {
	background-image: url(/assets/img/site/acesso-estudante/fundo.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* Campo de senha com botão de mostrar/ocultar */
.password-field-wrap {
    position: relative;
}

.password-field-wrap .form-control {
    padding-right: 2.75rem;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: .85rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    color: #999;
    cursor: pointer;
    transition: color .15s ease;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus {
    color: #555;
    outline: none;
}

/* Card de aviso/instrução (reaproveitado em login.php e recuperar_senha.php) */
.acesso-info-card {
    background: rgba(255, 153, 0, .08);
    border-left: 4px solid #ff9900;
    border-radius: 10px;
    padding: 1.75rem;
    height: 100%;
}

.acesso-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ff9900;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.acesso-info-titulo {
    font-weight: 700;
    font-size: 1.35rem;
    color: #ff9900;
    margin-bottom: .75rem;
}

.acesso-info-card p {
    color: #555;
    margin-bottom: 0;
    line-height: 2.15;
}

.acesso-info-card strong {
    color: #ff9900;
}

@media (max-width: 1199px) {
    .acesso-info-card {
        margin-bottom: 1.5rem;
    }
}

/* Timeline de etapas (recuperar_senha.php) */
.etapas-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
}

.etapa-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 auto;
    width: 120px;
}

.etapa-item-icone {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #999;
    font-size: 1rem;
    margin-bottom: .5rem;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.etapa-item-label {
    font-size: .78rem;
    font-weight: 600;
    color: #999;
    transition: color .2s ease;
}

.etapa-item.etapa-atual .etapa-item-icone {
    background: #ff9900;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 153, 0, .18);
}

.etapa-item.etapa-atual .etapa-item-label {
    color: #ff9900;
}

.etapa-item.etapa-concluida .etapa-item-icone {
    background: #0ab496;
    color: #fff;
}

.etapa-item.etapa-concluida .etapa-item-label {
    color: #0ab496;
}

.etapa-linha {
    flex: 1 1 auto;
    height: 2px;
    background: #e9ecef;
    margin-top: 21px;
    min-width: 20px;
}

.etapa-linha-concluida {
    background: #0ab496;
}

@media (max-width: 575px) {
    .etapa-item {
        width: 74px;
    }

    .etapa-item-icone {
        width: 34px;
        height: 34px;
        font-size: .85rem;
    }

    .etapa-item-label {
        font-size: .65rem;
    }
}

/* Card de erros de validação (recuperar_senha.php) */
.erros-validacao-box {
    background: rgba(220, 53, 69, .06);
    border: 1px solid rgba(220, 53, 69, .2);
    border-left: 4px solid #dc3545;
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.5rem;
    animation: erro-validacao-entrada .25s ease;
}

.erros-validacao-titulo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .8rem;
    color: #dc3545;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: .75rem;
}

.erro-validacao {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .88rem;
    color: #842029;
    margin-bottom: .5rem;
}

.erro-validacao:last-child {
    margin-bottom: 0;
}

.erro-validacao i {
    color: #dc3545;
    font-size: .8rem;
    margin-top: .25rem;
    flex-shrink: 0;
}

.erro-validacao span {
    flex: 1 1 auto;
}

@keyframes erro-validacao-entrada {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lista de dicas de segurança, dentro do acesso-info-card (definir_senha) */
.senha-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.senha-info-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .85rem;
    color: #555;
    margin-bottom: .75rem;
}

.senha-info-list li:last-child {
    margin-bottom: 0;
}

.senha-info-list li i {
    color: #ff9900;
    margin-top: .2rem;
    flex-shrink: 0;
}

/* Barra de força da senha (definir_senha) */
.senha-strength-bar {
    height: 5px;
    border-radius: 3px;
    background: #e9ecef;
    overflow: hidden;
}

.senha-strength-fill {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: width .2s ease, background-color .2s ease;
}

.senha-strength-label {
    display: block;
    margin-top: .25rem;
    font-weight: 600;
    font-size: .78rem;
}

/* Checklist de requisitos da senha (definir_senha) */
.senha-requisitos {
    list-style: none;
    padding: 0;
    margin: .5rem 0 0;
    font-size: .82rem;
}

.senha-requisitos li {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #adb5bd;
    margin-bottom: .4rem;
    transition: color .15s ease;
}

.senha-requisitos li:last-child {
    margin-bottom: 0;
}

.senha-requisitos li i {
    font-size: .7rem;
}

.senha-requisitos li.senha-req-ok {
    color: #1e7e34;
}

/* Aviso de token expirado/já utilizado (definir_senha) */
.token-expirado-card {
    background: #fff;
    border: 1px solid rgba(220, 53, 69, .2);
    border-radius: 14px;
    padding: 2.5rem 2rem;
}

.token-expirado-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(220, 53, 69, .1);
    color: #dc3545;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
}