/* ============================================================
   auth.css — Styles login / register
   ============================================================ */

body.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 50%, #0EA5E9 100%);
}

.auth-wrapper {
    width: 100%;
    max-width: 440px;
    padding: 1rem;
}

.auth-card {
    background: #FFF;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,.18);
    padding: 2.5rem 2rem;
    animation: fadeSlide .4s ease;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}
.auth-logo .fa-solid {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: .5rem;
}
.auth-logo h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}
.auth-logo p {
    font-size: .88rem;
    color: var(--text-muted);
    margin-top: .2rem;
}

.auth-card .form-group { margin-bottom: 1.1rem; }
.auth-card .form-group label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .83rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: .4rem;
}
.auth-card input {
    width: 100%;
    padding: .65rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: .92rem;
    transition: border-color .2s;
}
.auth-card input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.auth-footer-link {
    text-align: center;
    margin-top: 1.25rem;
    font-size: .88rem;
    color: var(--text-muted);
}

/* Info bloc pour la modale examen */
.info-bloc {
    background: #F8FAFC;
    border-radius: 8px;
    padding: .9rem 1rem;
    margin-bottom: .75rem;
    border-left: 3px solid var(--primary);
}
.info-bloc h4 {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .4rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.info-bloc ul { padding-left: 1.2em; font-size: .87rem; color: var(--text-muted); line-height: 1.8; }
.info-bloc p  { font-size: .87rem; color: var(--text-muted); }
