/* ---------------------------------------------------
   11. PREMIUM AUTHENTICATION UI (Single Frame)
----------------------------------------------------- */
.auth-viewport {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-secondary-bg); /* Slight contrast background */
    padding: 20px;
    box-sizing: border-box;
}

.auth-premium-card {
    background-color: var(--bs-body-bg);
    width: 100%;
    max-width: 400px; /* Slimmer for a modern, compact look */
    border-radius: 20px;
    padding: 32px 32px 40px 32px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--bs-border-color);
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

    .auth-header h2 {
        font-size: 24px;
        font-weight: 700;
        color: var(--bs-body-color);
        margin-bottom: 6px;
    }

    .auth-header p {
        font-size: 14px;
        color: var(--bs-secondary-color);
        margin: 0;
    }

/* Styled Social Button */
.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 44px;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 10px;
    color: var(--bs-body-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

    .auth-social-btn:hover {
        background-color: rgba(var(--bs-secondary-rgb), 0.05);
        border-color: var(--bs-secondary-color);
    }

/* Elegant Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--bs-secondary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

    .auth-divider::before, .auth-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid var(--bs-border-color);
    }

    .auth-divider::before {
        margin-right: 12px;
    }

    .auth-divider::after {
        margin-left: 12px;
    }

/* Compact Inputs */
.auth-input-group {
    margin-bottom: 16px;
    text-align: left;
}

    .auth-input-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: var(--bs-body-color);
        margin-bottom: 6px;
    }

.auth-input {
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--bs-border-color);
    padding: 10px 14px;
    font-size: 14px;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    box-shadow: none !important;
}

    .auth-input:focus {
        border-color: var(--bs-primary);
        box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.15) !important;
    }

/* Links & Buttons */
.auth-options {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    margin-top: -4px;
}

.auth-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--bs-primary);
    text-decoration: none;
}

    .auth-link:hover {
        text-decoration: underline;
    }

.auth-submit-btn {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    background-color: var(--bs-primary);
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

    .auth-submit-btn:hover {
        opacity: 0.9;
    }

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--bs-secondary-color);
}

    .auth-footer a {
        font-weight: 600;
        color: var(--bs-primary);
        text-decoration: none;
    }

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

/* ---------------------------------------------------
   12. SPLIT-SCREEN AUTHENTICATION LAYOUT (Updated)
----------------------------------------------------- */
.auth-split-viewport {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bs-body-bg);
    overflow-x: hidden;
}

@media (min-width: 992px) { /* Trigger split screen on desktop */
    .auth-split-viewport {
        flex-direction: row;
    }
}

/* Left Side: Login Form Area */
.auth-left-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: var(--bs-body-bg);
}

/* Right Side: Blue Hero Area */
.auth-right-panel {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Wrap the blue area with padding so it looks like a rounded box inside the page */
    padding: 20px;
    background-color: var(--bs-body-bg);
}

/* The actual blue rounded box containing the content */
.auth-right-hero {
    width: 100%;
    height: 100%;
    background-color: #0b5ed7; /* The blue background */
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

    /* Decorative background graphic (optional, adjust or remove if needed) */
    .auth-right-hero::before {
        content: '';
        position: absolute;
        top: -20%;
        right: -10%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(255,255,255, 0.15) 0%, rgba(255,255,255, 0) 70%);
        border-radius: 50%;
        z-index: 0;
    }

.auth-right-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    color: #ffffff; /* White text */
}

    .auth-right-content h1 {
        font-size: 36px;
        font-weight: 700;
        color: #ffffff; /* Override Bootstrap default body color */
        margin-bottom: 16px;
    }

    .auth-right-content p {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.85); /* Slightly muted white for the paragraph */
        margin-bottom: 40px;
        line-height: 1.6;
    }

/* The placeholder for your dashboard graphic */
.auth-right-image-wrapper {
    position: relative; /* CRITICAL for absolute positioning of child */
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 500px; /* Optional: prevents the image from getting too massive on large screens */
    margin: 0 auto;
}

    .auth-right-image-wrapper img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        display: block;
    }

/* Hide right panel completely on mobile/tablets */
@media (max-width: 991.98px) {
    .auth-right-panel {
        display: none !important;
    }

    .auth-left-panel {
        min-height: 100vh;
        background-color: var(--bs-secondary-bg);
    }
}

/* ---------------------------------------------------
   13. FLOATING WIDGET OVERLAY (Hero Section)
----------------------------------------------------- */
/* Ensure the image wrapper can anchor the absolute widget */
.auth-right-image-wrapper {
    position: relative;
    /* (Keep your existing background, border, padding, box-shadow here) */
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    width: 100%;
}

.floating-widget-mockup {
    /* Flow natively below the text, centered */
    position: relative;
    margin: 40px auto 0 auto; /* 40px gap from the paragraph, centered horizontally */

    width: 100%;
    max-width: 340px; /* Perfect size for the widget */
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: floatWidget 6s ease-in-out infinite;
}

@keyframes floatWidget {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

.mockup-body {
    background-color: #f8f9fa;
}

.mockup-agent-bubble {
    background-color: #ffffff;
    color: #1f2937;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    border-bottom-left-radius: 4px;
}

.mockup-user-bubble {
    background-color: #0d6efd; /* Hardcode Bootstrap Primary Blue to ensure visibility */
    color: #ffffff;
    border-radius: 12px;
    border-bottom-right-radius: 4px;
}

/* ---------------------------------------------------
   13. Main Wesbite
----------------------------------------------------- */
:root {
    --primary-color: #4371fa;
    --primary-hover: #3259d6;
    --bs-primary: #4371fa;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

    .btn-primary:hover {
        background-color: var(--primary-hover);
        border-color: var(--primary-hover);
    }

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-outline-primary:hover {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
    }

.hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
}

.stat-box {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-card {
    border: 1px solid #eef2f6;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

    .feature-card:hover {
        box-shadow: 0 12px 24px rgba(67, 113, 250, 0.1);
        transform: translateY(-5px);
    }

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    background: rgba(67, 113, 250, 0.1);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(67, 113, 250, 0.08);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.industry-badge {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 600;
    color: #555;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    margin: 5px;
    display: inline-block;
}
