﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================ */
/* SPLIT LAYOUT */
/* ============================================ */
.split-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* ============================================ */
/* LEFT SIDE - 70% HERO */
/* ============================================ */
.hero-side {
    flex: 0 0 70%;
    height: 100vh;
    background-image: url('../Omah/images/background2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 135deg, rgba(10, 20, 40, 0.55) 0%, rgba(15, 28, 50, 0.4) 35%, rgba(20, 35, 60, 0.3) 65%, rgba(8, 16, 32, 0.5) 100% );
    z-index: 1;
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient( to top, rgba(8, 14, 28, 0.7) 0%, rgba(10, 18, 34, 0.4) 40%, transparent 100% );
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 60px 64px;
    max-width: 500px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

    .hero-badge .badge-dot {
        width: 6px;
        height: 6px;
        background: #f59e0b;
        border-radius: 50%;
        box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
        animation: dotPulse 2s ease-in-out infinite;
    }

.hero-product-name {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -1px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

    .hero-product-name .gold-text {
        background: linear-gradient(180deg, #fde68a 0%, #fbbf24 40%, #f59e0b 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }

.hero-divider-line {
    width: 60px;
    height: 3px;
    background: #f59e0b;
    margin: 18px 0 22px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.hero-tagline {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
    line-height: 1.5;
    margin-bottom: 12px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-powered {
    position: absolute;
    bottom: 32px;
    left: 64px;
    z-index: 3;
}

    .hero-powered span {
        font-size: 11px;
        letter-spacing: 1.5px;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        font-weight: 500;
    }

    .hero-powered strong {
        color: rgba(255, 255, 255, 0.8);
        font-weight: 600;
    }

/* ============================================ */
/* FEATURE SLIDER - BOTTOM RIGHT - GLASS STYLE */
/* ============================================ */
.feature-slider-area {
    position: absolute;
    bottom: 100px;
    right: 64px;
    z-index: 3;
    width: 340px;
}

.feature-slide {
    display: none;
    animation: slideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px 20px;
}

    .feature-slide.active {
        display: block;
    }

    .feature-slide .feature-title {
        font-size: 12px;
        font-weight: 600;
        color: #ffffff;
        margin-bottom: 6px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }

    .feature-slide .feature-desc {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.6);
        line-height: 1.5;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

.feature-progress {
    position: absolute;
    bottom: 80px;
    right: 64px;
    z-index: 3;
    display: flex;
    gap: 7px;
}

.progress-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .progress-dot.active {
        background: #f59e0b;
        border-color: #f59e0b;
        box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
        width: 20px;
        border-radius: 10px;
    }

    .progress-dot:hover {
        background: rgba(255, 255, 255, 0.45);
    }

/* ============================================ */
/* RIGHT SIDE - 30% LOGIN */
/* ============================================ */
.login-side {
    flex: 0 0 30%;
    height: 100vh;
    background: linear-gradient(180deg, #0b1628 0%, #0f1d34 50%, #0b1628 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 44px 36px;
    position: relative;
    overflow-y: auto;
}

    .login-side::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 1px;
        height: 100%;
        background: linear-gradient( 180deg, transparent 0%, rgba(245, 158, 11, 0.35) 20%, rgba(245, 158, 11, 0.2) 50%, rgba(245, 158, 11, 0.35) 80%, transparent 100% );
    }

.login-logo-area {
    text-align: center;
    margin-bottom: 36px;
}

    .login-logo-area img {
        height: 40px;
        width: auto;
        display: block;
        margin: 0 auto;
        filter: brightness(1.2);
    }

    .login-logo-area .logo-caption {
        display: block;
        font-size: 9px;
        letter-spacing: 3px;
        color: rgba(255, 255, 255, 0.4);
        text-transform: uppercase;
        margin-top: 8px;
        font-weight: 500;
    }

.login-card {
    width: 100%;
    max-width: 340px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 32px 28px;
    backdrop-filter: blur(20px);
}

    .login-card .card-heading {
        font-size: 24px;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 4px;
        letter-spacing: -0.3px;
    }

    .login-card .card-subheading {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.45);
        margin-bottom: 28px;
    }

.form-group {
    margin-bottom: 18px;
}

    .form-group .group-label {
        display: block;
        font-size: 11px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 6px;
    }

.input-group {
    position: relative;
}

    .input-group .field-icon {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255, 255, 255, 0.3);
        font-size: 14px;
        pointer-events: none;
        transition: color 0.2s;
    }

.form-input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.2s ease;
}

    .form-input:focus {
        border-color: rgba(245, 158, 11, 0.5);
        background: rgba(255, 255, 255, 0.08);
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08);
    }

        .form-input:focus ~ .field-icon {
            color: #f59e0b;
        }

    .form-input::placeholder {
        color: rgba(255, 255, 255, 0.2);
    }

    .form-input.has-error {
        border-color: #ef4444;
        background: rgba(239, 68, 68, 0.08);
    }

.pass-reveal {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 6px;
    font-size: 13px;
    transition: color 0.2s;
}

    .pass-reveal:hover {
        color: rgba(255, 255, 255, 0.6);
    }

.error-text {
    font-size: 11px;
    color: #f87171;
    margin-top: 5px;
    display: none;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

    .error-text.visible {
        display: flex;
    }

.options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 24px;
}

.remember-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    user-select: none;
}

    .remember-wrap input {
        appearance: none;
        width: 16px;
        height: 16px;
        border: 1.5px solid rgba(255, 255, 255, 0.25);
        border-radius: 4px;
        background: transparent;
        cursor: pointer;
        position: relative;
        flex-shrink: 0;
        transition: all 0.2s;
    }

        .remember-wrap input:checked {
            background: #f59e0b;
            border-color: #f59e0b;
        }

            .remember-wrap input:checked::after {
                content: '';
                position: absolute;
                left: 4px;
                top: 1px;
                width: 4px;
                height: 8px;
                border: solid #0f1d34;
                border-width: 0 2px 2px 0;
                transform: rotate(45deg);
            }

.forgot-link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

    .forgot-link:hover {
        color: #f59e0b;
    }

.btn-signin {
    width: 100%;
    height: 48px;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: #0f1d34;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .btn-signin:hover {
        background: linear-gradient(180deg, #fcd34d 0%, #fbbf24 50%, #f59e0b 100%);
        box-shadow: 0 6px 24px rgba(245, 158, 11, 0.35);
        transform: translateY(-1px);
    }

    .btn-signin:active {
        transform: translateY(0);
    }

    .btn-signin.is-loading {
        pointer-events: none;
        opacity: 0.7;
    }

.spinner-icon {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(15, 29, 52, 0.25);
    border-top-color: #0f1d34;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: none;
}

.btn-signin.is-loading .spinner-icon {
    display: inline-block;
}

.login-footer {
    position: absolute;
    bottom: 24px;
    text-align: center;
    width: 80%;
}

    .login-footer p {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.35);
        letter-spacing: 0.3px;
        font-weight: 400;
    }

/* ============================================ */
/* LOADING OVERLAY */
/* ============================================ */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 22, 40, 0.9);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
}

    .loader-overlay.active {
        display: flex;
    }

.loader-circle {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: #f59e0b;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.loader-message {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

/* ============================================ */
/* SWEETALERT */
/* ============================================ */
.custom-swal {
    border-radius: 12px !important;
    background: #0f1d34 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-family: 'Inter', sans-serif !important;
}

.custom-swal-title {
    color: #ffffff !important;
    font-size: 19px !important;
    font-weight: 700 !important;
}

.custom-swal-content {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14px !important;
}

.custom-swal-btn {
    background: linear-gradient(180deg, #fbbf24, #f59e0b) !important;
    color: #0f1d34 !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    padding: 10px 20px;
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(-5px);
    }

    30% {
        transform: translateX(5px);
    }

    45% {
        transform: translateX(-3px);
    }

    60% {
        transform: translateX(3px);
    }

    75% {
        transform: translateX(-2px);
    }

    90% {
        transform: translateX(2px);
    }
}

.animate-shake {
    animation: shake 0.45s ease;
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 1200px) {
    .feature-slider-area {
        right: 40px;
        width: 310px;
    }

    .feature-progress {
        right: 40px;
    }
}

@media (max-width: 1024px) {
    .hero-side {
        flex: 0 0 60%;
    }

    .login-side {
        flex: 0 0 40%;
    }

    .hero-product-name {
        font-size: 48px;
    }

    .hero-content {
        padding: 50px 40px;
    }

    .feature-slider-area {
        right: 30px;
        width: 260px;
        bottom: 90px;
    }

    .feature-slide {
        padding: 14px 16px;
    }

        .feature-slide .feature-title {
            font-size: 10px;
            letter-spacing: 1px;
        }

        .feature-slide .feature-desc {
            font-size: 11px;
        }

    .feature-progress {
        right: 30px;
        bottom: 72px;
    }
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }

    .hero-side {
        flex: 0 0 40vh;
        min-height: 40vh;
    }

    .hero-content {
        padding: 30px 24px;
    }

    .hero-powered {
        left: 24px;
        bottom: 20px;
    }

    .feature-slider-area {
        right: 24px;
        bottom: 75px;
        width: 220px;
    }

    .feature-slide {
        padding: 12px 14px;
    }

        .feature-slide .feature-title {
            font-size: 9px;
            letter-spacing: 1px;
        }

        .feature-slide .feature-desc {
            font-size: 10px;
        }

    .feature-progress {
        right: 24px;
        bottom: 60px;
        gap: 5px;
    }

    .progress-dot {
        width: 5px;
        height: 5px;
    }

        .progress-dot.active {
            width: 16px;
        }

    .login-side {
        flex: 1;
        min-height: 60vh;
        padding: 30px 22px;
    }

    .hero-product-name {
        font-size: 36px;
    }

    .hero-tagline {
        font-size: 15px;
    }

    .login-logo-area img {
        height: 34px;
    }

    .login-footer {
        position: relative;
        bottom: auto;
        margin-top: 24px;
    }
}

@media (max-width: 480px) {
    .hero-side {
        min-height: 35vh;
    }

    .hero-product-name {
        font-size: 28px;
    }

    .hero-tagline {
        font-size: 13px;
    }

    .feature-slider-area {
        display: none;
    }

    .feature-progress {
        display: none;
    }
}



/* =========================================
   Quick Login
   ========================================= */

.quick-login-section {
    width: 100%;
    margin-top: 16px;
    padding: 0 4px;
}

.quick-login-title {
    margin-bottom: 8px;
    color: #7f8ba3;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.quick-login-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    width: 100%;
}

.quick-login-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.045);
    color: #b9c3d5;
    font-family: inherit;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

    .quick-login-item i {
        color: #e9a400;
        font-size: 9px;
        transition: color 0.2s ease;
    }

    .quick-login-item span {
        white-space: nowrap;
    }

    /* Hover */

    .quick-login-item:hover {
        background: rgba(233, 164, 0, 0.10);
        border-color: rgba(233, 164, 0, 0.35);
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    }

        .quick-login-item:hover i {
            color: #f5b82e;
        }

    /* Click */

    .quick-login-item:active {
        transform: translateY(0);
    }

    /* Focus */

    .quick-login-item:focus-visible {
        border-color: rgba(233, 164, 0, 0.55);
        box-shadow: 0 0 0 2px rgba(233, 164, 0, 0.12);
    }