/* ==========================================================================
   MICROSITE PORTAL - 50/50 SPLIT SCREEN AUTH STYLES
   ========================================================================== */

:root {
    --split-left-bg-start: #0a1b24;
    --split-left-bg-mid: #102e3e;
    --split-left-bg-end: #174258;
    --split-teal: #1a4b62;
    --split-teal-light: #256685;
    --split-sage: #8bac6f;
    --split-sage-light: #b4cb9e;
}

body.microsite-auth-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    color: #0f2937;
    overflow-x: hidden;
}

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

/* --------------------------------------------------------------------------
   LEFT PANEL (50%) - VISUAL & BRAND SHOWCASE
   -------------------------------------------------------------------------- */
.split-auth-left {
    flex: 1;
    position: relative;
    background: linear-gradient(145deg, var(--split-left-bg-start) 0%, var(--split-left-bg-mid) 50%, var(--split-left-bg-end) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 8%;
    overflow: hidden;
    color: #ffffff;
    z-index: 1;
}

/* Background animated decorative ambient blobs */
.auth-left-bg-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.auth-left-bg-blobs .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: blobFloat 14s infinite alternate ease-in-out;
}

.auth-left-bg-blobs .blob-1 {
    width: 360px;
    height: 360px;
    background: #8bac6f;
    top: -60px;
    left: -60px;
    animation-duration: 16s;
}

.auth-left-bg-blobs .blob-2 {
    width: 420px;
    height: 420px;
    background: #1e6789;
    bottom: -80px;
    right: -60px;
    animation-duration: 20s;
}

.auth-left-bg-blobs .blob-3 {
    width: 250px;
    height: 250px;
    background: #48a07c;
    top: 45%;
    left: 40%;
    opacity: 0.2;
    animation-duration: 12s;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.08); }
    100% { transform: translate(-25px, 30px) scale(0.95); }
}

.auth-left-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* Brand Header */
.auth-brand-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.brand-name .brand-accent {
    color: var(--split-sage);
    font-weight: 600;
}

.portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(139, 172, 111, 0.16);
    border: 1px solid rgba(139, 172, 111, 0.35);
    color: var(--split-sage-light);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* Hero Intro */
.auth-hero-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--split-sage);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.auth-hero-text h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.8px;
    color: #ffffff;
    margin: 0;
}

.auth-hero-text p {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

/* Feature Showcase Cards */
.auth-feature-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 172, 111, 0.35);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(139, 172, 111, 0.18);
    border: 1px solid rgba(139, 172, 111, 0.3);
    color: var(--split-sage);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-details h4 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px 0;
}

.feature-details p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.45;
    margin: 0;
}

/* Footer Badge */
.auth-left-footer {
    padding-top: 10px;
}

.creator-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
}

.creator-count-badge i {
    color: #10b981;
    font-size: 13px;
}


/* --------------------------------------------------------------------------
   RIGHT PANEL (50%) - LOGIN FORM
   -------------------------------------------------------------------------- */
.split-auth-right {
    flex: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 8%;
    position: relative;
}

.auth-right-box {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
}

.auth-mobile-brand {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.mobile-logo-img {
    height: 40px;
    width: auto;
}

.auth-form-header {
    margin-bottom: 26px;
}

.auth-form-header h3 {
    font-size: 26px;
    font-weight: 800;
    color: #0f2937;
    letter-spacing: -0.6px;
    margin: 0 0 8px 0;
}

.auth-form-header p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Alert Boxes */
.auth-alert-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.auth-alert-box.alert-error {
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.25);
    color: #e11d48;
}

.auth-alert-box.alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #059669;
}

/* Form Controls */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.auth-form-group label {
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.2px;
}

.auth-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 15px;
    color: #1a4b62;
    font-size: 15px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.split-auth-input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 600;
    color: #0f2937;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 11px;
    outline: none;
    transition: all 0.2s ease;
}

.split-auth-input:focus {
    background: #ffffff;
    border-color: #1a4b62;
    box-shadow: 0 0 0 4px rgba(26, 75, 98, 0.12);
}

.split-auth-input:focus + .auth-input-icon {
    color: #1a4b62;
}

.auth-eye-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 15px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.auth-eye-btn:hover {
    color: #1a4b62;
}

/* Submit Button */
.split-auth-btn-submit {
    margin-top: 6px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 11px;
    background: linear-gradient(135deg, #1a4b62 0%, #102e3e 100%);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(26, 75, 98, 0.28);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.split-auth-btn-submit:hover {
    background: linear-gradient(135deg, #256685 0%, #174258 100%);
    box-shadow: 0 6px 20px rgba(26, 75, 98, 0.38);
    transform: translateY(-1.5px);
}

.split-auth-btn-submit:active {
    transform: translateY(0.5px);
    box-shadow: 0 2px 8px rgba(26, 75, 98, 0.2);
}

/* Notice Card */
.auth-notice-card {
    margin-top: 28px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.notice-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(26, 75, 98, 0.1);
    color: #1a4b62;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.notice-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notice-text strong {
    font-size: 12px;
    color: #1e293b;
}

.notice-text span {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
}

.notice-text code {
    background: #e2e8f0;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 11px;
    color: #0f172a;
}

/* Copyright footer */
.auth-copyright-bar {
    margin-top: 24px;
    text-align: center;
    font-size: 11.5px;
    color: #94a3b8;
}

.auth-copyright-bar a {
    color: #1a4b62;
    text-decoration: none;
    font-weight: 600;
}

.auth-copyright-bar a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   RESPONSIVE (TABLETS & MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .split-auth-container {
        flex-direction: column;
    }

    .split-auth-left {
        padding: 40px 30px;
    }

    .auth-left-content {
        max-width: 100%;
        gap: 24px;
    }

    .auth-hero-text h2 {
        font-size: 24px;
    }

    .auth-feature-cards {
        display: none;
    }

    .split-auth-right {
        padding: 40px 24px;
    }

    .auth-mobile-brand {
        display: flex;
    }
}

@media (max-width: 480px) {
    .split-auth-left {
        padding: 30px 20px;
    }

    .split-auth-right {
        padding: 30px 18px;
    }

    .auth-form-header h3 {
        font-size: 22px;
    }
}
