/* ========================================
   AUTH LAYOUT STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    height: 100vh;
    overflow: hidden;
    background: var(--color-bg-primary, #ffffff);
    color: var(--color-text-primary, #1e1b4b);
}

.split-container {
    display: flex;
    height: 100vh;
}


/* ========================================
   LEFT PANEL - LOGIN FORM
   ======================================== */

.left-panel {
    flex: 0 0 40%;
    background: var(--color-bg-primary, #ffffff);
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
    overflow-y: auto;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.logo img {
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

.logo span {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.login-form {
    width: 100%;
}

.login-form h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.login-form .subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}


/* ========================================
   RIGHT PANEL - HERO SECTION
   ======================================== */

.right-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

/* Carousel Background Images */
.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.carousel-bg.active {
    opacity: 1;
}

.carousel-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.carousel-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary, linear-gradient(135deg, #5865F2 0%, #00D9FF 100%));
    opacity: 0.15;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 600px;
    position: relative;
    z-index: 3;
}

.hero-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 5px;
}


/* ========================================
   COUNTRY CODE DROPDOWN
   ======================================== */

.iti {
    width: 100% !important;
}

.iti__country-list {
    width: auto !important;
    max-width: 400px !important;
    color: #333;
}


/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1024px) {
    .left-panel {
        padding: 30px 40px;
    }

    .right-panel {
        padding: 40px;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

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

    .left-panel {
        flex: 1;
        padding: 30px 25px;
    }

    .right-panel {
        display: none;
    }

    body {
        overflow: auto;
    }

    .logo {
        margin-bottom: 30px;
    }

    .login-form h1 {
        font-size: 22px;
    }
}

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

    .logo img {
        width: 28px;
        height: 28px;
    }

    .logo span {
        font-size: 14px;
    }

    .login-form h1 {
        font-size: 20px;
    }

    .login-form .subtitle {
        font-size: 13px;
    }
}

