/* assets/css/auth.css */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(circle at top, #211143, #0F0F1C 50%, #06020F 100%);
}

.auth-card {
    max-width: 960px;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    background: rgba(11, 8, 25, 0.96);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 34px 60px rgba(0, 0, 0, 0.9);
}

.auth-card__left {
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.auth-card__left::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top left, rgba(130, 71, 229, 0.35), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.auth-card__left-inner {
    position: relative;
    z-index: 1;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.auth-logo img {
    width: 42px;
    height: 42px;
}

.auth-logo__title {
    font-size: 1.2rem;
    font-weight: 600;
}

.auth-logo__subtitle {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.auth-title {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 18px;
}

.auth-form {
    margin-top: 10px;
    display: grid;
    gap: 12px;
}

.auth-form__row {
    display: grid;
    gap: 8px;
}

.auth-form__row--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.auth-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.auth-input,
.auth-select {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(4, 3, 15, 0.9);
    padding: 9px 14px;
    font-size: 0.85rem;
    color: var(--color-text-main);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-input:focus,
.auth-select:focus {
    border-color: rgba(130, 71, 229, 0.9);
    box-shadow: 0 0 0 1px rgba(76, 127, 245, 0.4);
    background: rgba(8, 7, 22, 0.98);
}

.auth-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.auth-checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    accent-color: var(--color-primary);
}

.auth-footer-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.auth-footer-links a {
    font-size: 0.8rem;
    color: #c5cfff;
}

.auth-footer-links a:hover {
    text-decoration: underline;
}

/* Partie visuelle droite (accroche, sécurité, avantages) */

.auth-card__right {
    background: radial-gradient(circle at top right, #8247E5 0, #4C7FF5 35%, #0F0F1C 100%);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.auth-card__right::before {
    content: '';
    position: absolute;
    inset: -60%;
    background: radial-gradient(circle at bottom, rgba(233, 91, 255, 0.3), transparent 60%);
    opacity: 0.7;
    mix-blend-mode: screen;
}

.auth-card__right-inner {
    position: relative;
    z-index: 1;
}

.auth-highlight {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}

.auth-big-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.auth-big-text {
    font-size: 0.85rem;
    color: #f2f2ff;
    margin-bottom: 14px;
}

.auth-info-list {
    display: grid;
    gap: 10px;
}

.auth-info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
}

.auth-info-dot {
    margin-top: 4px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(15, 15, 28, 0.95);
    box-shadow: 0 0 0 3px rgba(245, 246, 255, 0.35);
}

/* Bouton principal dans auth */

.auth-btn-main {
    margin-top: 10px;
    width: 100%;
}

/* Messages d'erreur simples */

.form-error {
    font-size: 0.75rem;
    color: var(--color-danger);
    margin-top: 2px;
}

/* Page compte bloqué */

.blocked-box {
    max-width: 480px;
    width: 100%;
    margin: auto;
    background: rgba(14, 10, 30, 0.96);
    border-radius: 24px;
    padding: 24px 22px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9);
}

.blocked-icon {
    font-size: 2.4rem;
    margin-bottom: 8px;
}

.blocked-title {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.blocked-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 14px;
}
