/* Page background & centering */
.auth-page {
    padding-top: 40px;
    padding-bottom: 40px;
}

.auth-wrapper {
    min-height: calc(100vh - 160px); /* adjust for header/footer */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main card */
.auth-card {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 960px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Left side (info) */
.auth-card__side {
    flex: 0 0 40%;
    background: radial-gradient(circle at top left, #ff7a8a 0, #b51e3b 40%, #152238 100%);
    color: #ffffff;
    padding: 40px 32px;
}

.auth-side-content {
    max-width: 260px;
}

.auth-side-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.auth-side-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.auth-side-list {
    padding-left: 18px;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

.auth-side-list li + li {
    margin-top: 6px;
}

/* Right side (form) */
.auth-card__form {
    flex: 1;
    padding: 32px 28px;
    background: linear-gradient(135deg, #f8fafc 0, #ffffff 70%);
}

.auth-form-inner {
    max-width: 420px;
    margin: 0 auto;
}

/* Alerts */
.auth-alert {
    font-size: 13px;
    border-radius: 10px;
}

.auth-help-text {
    font-size: 11px;
    line-height: 1.5;
}

/* Header text */
.auth-header {
    margin-bottom: 24px;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #152238;
}

.auth-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* Fields */
.auth-field {
    margin-bottom: 18px;
}

.auth-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.auth-input-wrapper {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 13px;
    color: #9ca3af;
    pointer-events: none;
}

.auth-input {
    padding-left: 34px;
    padding-right: 10px;
    height: 42px;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.auth-input:focus {
    border-color: #b51e3b;
    box-shadow: 0 0 0 3px rgba(181, 30, 59, 0.12);
    background-color: #ffffff;
}

/* Validation text (reuse your class) */
.validation_error {
    color: #b91c1c;
    font-size: 11px;
}

/* Links */
.auth-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    margin-bottom: 16px;
    font-size: 12px;
}

.auth-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
}

.auth-link:hover {
    color: #b51e3b;
    text-decoration: underline;
}

/* Button */
.auth-submit {
    margin-bottom: 16px;
}

.auth-btn {
    width: 100%;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 14px;
    border: none;
    background: linear-gradient(135deg, #b51e3b, #ff7a8a);
    box-shadow: 0 10px 20px rgba(181, 30, 59, 0.3);
}

.auth-btn:hover,
.auth-btn:focus {
    background: linear-gradient(135deg, #a31836, #ff6679);
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0 12px;
    font-size: 12px;
    color: #9ca3af;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    padding: 0 10px;
}

/* Footer (register) */
.auth-footer {
    font-size: 13px;
    color: #4b5563;
}

.auth-register-link {
    font-weight: 600;
    color: #b51e3b;
    text-decoration: none;
}

.auth-register-link:hover {
    text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
    .auth-wrapper {
        min-height: auto;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .auth-card {
        border-radius: 12px;
    }

    .auth-card__form {
        padding: 24px 18px;
    }

    .auth-title {
        font-size: 20px;
    }
}
