/* =========================================
   AUTH PREMIUM (SPLIT LAYOUT)
   ========================================= */

.auth-premium-body {
    background: #fff;
    overflow-x: hidden;
}

/* Hide Global Header and Footer for Immersive Split Layout */
.header-saas,
footer,
.footer {
    display: none !important;
}

.auth-split-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* LEFT PANEL (FORM) */
.auth-panel-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 4rem;
    /* Generous padding */
    background: #ffffff;
    max-width: 50%;
    /* Default split */
    position: relative;
    z-index: 2;
}

.auth-logo-area {
    position: absolute;
    top: 2rem;
    left: 3rem;
    margin-bottom: 0;
}

.auth-logo-img {
    height: 40px;
    /* Adjust based on actual logo aspect */
    width: auto;
}

.auth-content-wrap {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    /* Center horizontally in the panel */
    animation: fadeUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.auth-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.auth-subheading {
    color: #6B7280;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

/* Form Styles Override for Premium Look */
.auth-form-premium {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.premium-input-group {
    position: relative;
}

.premium-input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
}

.premium-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.premium-input-wrapper i.icon-left {
    position: absolute;
    left: 1rem;
    color: #9CA3AF;
    font-size: 1rem;
    z-index: 1;
}

.premium-input {
    width: 100%;
    padding: 14px 16px 14px 40px;
    /* Space for icon */
    background: #F9FAFB;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    color: #1F2937;
    transition: all 0.2s ease;
    font-family: var(--font-primary);
}

.premium-input:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-50);
    outline: none;
}

.premium-input::placeholder {
    color: #D1D5DB;
}

/* Password Toggle */
.toggle-pass-btn {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #9CA3AF;
    padding: 4px;
    transition: color 0.2s;
}

.toggle-pass-btn:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn-premium-primary {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    /* Emerald Gradient */
    color: #fff;
    font-weight: 700;
    padding: 16px;
    border-radius: 12px;
    border: none;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    margin-top: 1rem;
}

.btn-premium-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
    filter: brightness(1.05);
}

.btn-premium-link {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0;
    text-decoration: none;
    transition: color 0.2s;
}

.btn-premium-link:hover {
    color: #047857;
    text-decoration: underline;
}

.auth-footer {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.95rem;
    color: #6B7280;
}

/* RIGHT PANEL (ABSTRACT PATTERN) */
.auth-panel-right {
    flex: 1;
    background: linear-gradient(135deg, #0F172A 0%, #111827 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    /* Text at bottom */
}

/* Abstract Mesh Gradient */
.auth-panel-right::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.15), transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.1), transparent 50%);
    z-index: 0;
    animation: rotateMesh 20s linear infinite;
}

@keyframes rotateMesh {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.auth-bg-image {
    display: none;
    /* Hide image */
}

.auth-overlay {
    /* No overlay needed for specific image contrast, but keeps text readable */
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.auth-quote-box {
    position: relative;
    z-index: 2;
    padding: 4rem;
    color: #fff;
    max-width: 600px;
}

.quote-text {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    font-family: inherit;
    /* Use DM Sans */
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quote-line {
    width: 40px;
    height: 2px;
    background: #10B981;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .auth-panel-left {
        padding: 2rem;
        max-width: 60%;
    }

    .auth-logo-area {
        left: 2rem;
    }
}

@media (max-width: 768px) {
    .auth-split-container {
        flex-direction: column;
    }

    .auth-panel-left {
        max-width: 100%;
        padding: 2rem 1.5rem;
        min-height: 100vh;
        justify-content: center;
    }

    .auth-logo-area {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 2rem;
        text-align: center;
    }

    .auth-content-wrap {
        margin: 0 auto;
    }

    .auth-panel-right {
        display: none;
        /* Hide image on mobile for speed/focus, or make it a small banner */
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}