﻿:root {
    /* Color Variables derived from the React design */
    --bs-primary: #0ea5e9; /* Vivid Cyan/Blue */
    --bs-primary-rgb: 14, 165, 233;
    --bs-body-bg: #ffffff;
    --bs-body-color: #0f172a; /* Slate 900 */
    --bs-secondary-bg: #f1f5f9; /* Slate 100 */
    --bs-border-color: #e2e8f0; /* Slate 200 */

    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --radius-lg: 0.75rem;
    --radius-md: 0.5rem;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Layout */
.split-screen {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.login-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    background-color: var(--bs-body-bg);
}

.slider-section {
    display: none;
    width: 50%;
    position: relative;
    background-color: var(--bs-secondary-bg);
    overflow: hidden;
}

@media (min-width: 992px) {
    .login-section {
        width: 50%;
        padding: 6rem;
    }

    .slider-section {
        display: block;
    }
}

/* Login Form Styles */
.login-wrapper {
    max-width: 448px; /* max-w-md */
    width: 100%;
    margin: 0 auto;
}

.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(14, 165, 233, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .brand-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.form-control {
    height: 3rem;
    background-color: rgba(241, 245, 249, 0.5); /* bg-secondary/50 */
    border-color: rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
}

    .form-control:focus {
        background-color: #fff;
        border-color: var(--bs-primary);
        box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    }

.btn-primary {
    height: 3rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    background-color: var(--bs-primary);
    border: none;
    box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.2);
    transition: all 0.2s;
}

    .btn-primary:hover {
        background-color: #0284c7; /* Darker shade */
        box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.4);
        transform: translateY(-1px);
    }

.btn-outline-secondary {
    height: 3rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

    .btn-outline-secondary:hover {
        background-color: var(--bs-secondary-bg);
        color: var(--bs-body-color);
        border-color: var(--bs-border-color);
    }

/* Slider Styles */
.carousel, .carousel-inner, .carousel-item {
    height: 100%;
}

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

.slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem;
    z-index: 20;
    color: white;
}

.badge-featured {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.dot-indicator {
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
}

.carousel-indicators {
    position: static;
    justify-content: flex-start;
    margin: 1.5rem 0 0 0;
}

    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 6px;
        border: none;
        border-radius: 4px;
        background-color: rgba(255, 255, 255, 0.3);
        margin-right: 6px;
        transition: all 0.3s;
    }

    .carousel-indicators .active {
        width: 32px;
        background-color: var(--bs-primary);
    }

/* Abstract shapes */
.abstract-circle {
    position: absolute;
    width: 16rem;
    height: 16rem;
    background-color: rgba(14, 165, 233, 0.2);
    border-radius: 50%;
    filter: blur(64px);
    bottom: 25%;
    left: 3rem;
    z-index: 5;
}

.floating-box {
    position: absolute;
    top: 3rem;
    right: 3rem;
    width: 6rem;
    height: 6rem;
    border: 4px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    z-index: 20;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}
