/* css/pages/auth.css */
.auth-page-layout {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 150px;
    padding-bottom: 50px;
}

.auth-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-light);
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.auth-tab:hover {
    color: var(--primary-color);
    background: rgba(95, 39, 205, 0.05);
}

.auth-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    opacity: 1;
}

.auth-form {
    display: none;
    animation: fadeIn 0.3s ease;
}

.auth-form.active {
    display: block;
}

.auth-icon {
    font-size: 3rem;
    color: var(--accent-yellow);
    text-align: center;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(254, 202, 87, 0.3));
}

.auth-card__title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.auth-card__lede {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.auth-card .form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-card .form-group--tight {
    margin-bottom: 10px;
}

.auth-card .form-group--loose {
    margin-bottom: 25px;
}

.auth-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.auth-input {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    background: var(--bg-light);
    font-family: var(--font-body);
    font-size: 1rem;
    width: 100%;
}

.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.auth-remember label {
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    font-weight: 600;
}

.auth-link-forgot {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.btn-full-width {
    width: 100%;
    border-radius: var(--radius-md);
    padding: 15px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.btn-inner-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.auth-legal {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 15px;
    line-height: 1.5;
}

.auth-legal a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.auth-forgot-header {
    text-align: center;
    margin-bottom: 20px;
}

.auth-forgot-header .auth-forgot-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 10px;
    display: block;
}

.auth-forgot-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.auth-forgot-lede {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.auth-back-wrap {
    text-align: center;
}

.auth-back-link {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-epic--accent-blue {
    background: var(--accent-blue);
}

.btn-epic--accent-blue:hover {
    filter: brightness(0.95);
    background: var(--accent-blue);
}

.btn-full-width--mb {
    margin-bottom: 15px;
}

/* ALTCHA : espacement du widget → theme/components/altcha-theme.css */

.form-group--altcha .invalid-feedback,
.form-group--altcha ul.form-errors {
    margin-top: 0.35rem;
}
