/* Ajumapro — Auth pages (login, signup) */

.auth-layout--split {
    padding: 0;
    align-items: stretch;
    background: #f3f5f8;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

.auth-layout--split > .w-100 {
    width: 100%;
    max-width: none;
}

.auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-split__brand {
    background: linear-gradient(145deg, #1a2634 0%, #14202c 50%, #2a1a12 100%);
    color: #fff;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.auth-split__brand::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(196, 92, 26, 0.28) 0%, transparent 70%);
    pointer-events: none;
}

.auth-split__brand::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(196, 92, 26, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.auth-split__brand-inner {
    position: relative;
    z-index: 1;
}

.auth-split__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 48px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.auth-split__logo-icon {
    width: 42px;
    height: 42px;
    background: #c45c1a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.auth-split__eyebrow {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.85;
}

.auth-split__headline {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
    max-width: 400px;
}

.auth-split__headline span {
    color: #c45c1a;
}

.auth-split__tagline {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 40px;
    max-width: 380px;
}

.auth-split__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-split__features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 16px;
    font-weight: 500;
}

.auth-split__features li i {
    width: 32px;
    height: 32px;
    background: rgba(196, 92, 26, 0.15);
    color: #c45c1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.auth-split__footer-note {
    position: relative;
    z-index: 1;
    font-size: 0.8rem;
    color: #64748b;
}

.auth-split__form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: #fff;
}

.auth-form-card {
    width: 100%;
    max-width: 400px;
}

.auth-form-card__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 32px;
    transition: color 0.15s;
}

.auth-form-card__back:hover {
    color: #c45c1a;
}

.auth-form-card__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #111827;
    margin: 0 0 8px;
}

.auth-form-card__subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0 0 32px;
}

.auth-field {
    margin-bottom: 20px;
}

.auth-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.auth-field .form-control {
    padding: 12px 14px;
    font-size: 0.9rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-field .form-control:focus {
    border-color: #c45c1a;
    box-shadow: 0 0 0 3px rgba(196, 92, 26, 0.15);
    outline: none;
}

.auth-field--error .form-control {
    border-color: #ef4444;
}

.auth-field__error {
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 6px;
}

.auth-form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.auth-form-card__submit {
    width: 100%;
    padding: 13px 20px;
    margin-top: 8px;
    margin-bottom: 24px;
}

.auth-form-card__links {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.auth-form-card__links a {
    color: #c45c1a;
    text-decoration: none;
    font-weight: 600;
}

.auth-form-card__links a:hover {
    text-decoration: underline;
}

.auth-form-card__links p {
    margin: 0 0 10px;
}

.auth-form-card__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: #9ca3af;
    font-size: 0.8rem;
}

.auth-form-card__divider::before,
.auth-form-card__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

@media (max-width: 992px) {
    .auth-split {
        grid-template-columns: 1fr;
    }

    .auth-split__brand {
        padding: 32px 24px;
        min-height: auto;
    }

    .auth-split__headline {
        font-size: 1.5rem;
    }

    .auth-split__features {
        display: none;
    }

    .auth-split__footer-note {
        display: none;
    }
}
