/* ---------------------------------------------------
   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: 10px;
}

.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: 10px 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: 10px;
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: 15px;
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;
}

/* 1. DISABLE BOOTSTRAP'S NATIVE BACKGROUND VALIDATION ICONS */
.auth-input-group .form-control.is-invalid,
.auth-input-group .form-control.is-valid,
.was-validated .auth-input-group .form-control:invalid,
.was-validated .auth-input-group .form-control:valid {
    background-image: none !important;
    padding-right: 75px !important; /* Space for both icons */
}

/* 2. THE UNBREAKABLE FLEXBOX OVERLAY */
.floating-icons {
    position: absolute;
    top: 0;
    right: 0;
    height: 44px; /* Exact height of your .auth-input */
    display: flex;
    align-items: center; /* Centers icons perfectly within the 44px */
    padding-right: 15px;
    gap: 10px; /* Spacing between the validation icon and eye icon */
    z-index: 10;
}

/* 3. BASE ICON STYLES */
.password-toggle-icon {
    color: #6c757d;
    cursor: pointer;
    font-size: 16px;
    margin: 0; /* Reset margins */
}

.custom-valid-icon,
.custom-invalid-icon {
    display: none;
    font-size: 16px;
    pointer-events: none; /* Prevents the icon from blocking clicks */
    margin: 0;
}

/* 4. SHOW ICONS DYNAMICALLY BASED ON WAPPLER'S CLASSES */
/* Notice we use ~ .floating-icons now to target the wrapper */
.auth-input-group .form-control.is-valid ~ .floating-icons .custom-valid-icon {
    display: block;
    color: #198754;
}

.auth-input-group .form-control.is-invalid ~ .floating-icons .custom-invalid-icon {
    display: block;
    color: #dc3545;
}

/* Force icons to sit side-by-side, add spacing, and kill old transforms */
.floating-icons i {
    position: relative !important;
    top: 0 !important; /* Resets old top values */
    transform: none !important; /* KILLS the translateY(-50%) that was pulling it up */
}

.custom-valid-icon,
.custom-invalid-icon {
    margin-right: 12px !important; /* Exact space between validation and eye icon */
}

/* ---------------------------------------------------
   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;
}

/* ---------------------------------------------------
   14. Sign Up Page
----------------------------------------------------- */
/* Google Button Premium Styles */
.btn-google {
    background-color: #ffffff;
    color: #3c4043 !important;
    border: 1px solid #dadce0;
    font-weight: 500;
}

    .btn-google:hover {
        background-color: #f8f9fa;
        border-color: #d2e3fc;
        box-shadow: 0 1px 2px 0 rgba(60,64,67,0.30), 0 1px 3px 1px rgba(60,64,67,0.15);
    }

/* Email Button Premium Styles */
.btn-email {
    background-color: var(--primary-color);
    color: #ffffff !important;
    border: 1px solid var(--primary-color);
}

    .btn-email:hover {
        background-color: var(--primary-hover);
        border-color: var(--primary-hover);
        color: #ffffff !important;
        /* Adds a subtle floating effect with a soft blue shadow */
        box-shadow: 0 4px 12px rgba(67, 113, 250, 0.25);
        transform: translateY(-1px);
    }

/* Password Toggle Icon */
.password-toggle-icon {
    position: absolute;
    right: 14px;
    bottom: 14px; /* Centers vertically inside your 44px auth-input */
    cursor: pointer;
    color: var(--bs-secondary-color);
    transition: color 0.2s ease;
    z-index: 10;
}

    .password-toggle-icon:hover {
        color: var(--bs-primary);
    }

/* Fix for vertical scroll and centering with a Navbar */
.auth-row-wrapper {
    /* 100vh minus ~76px for the navbar */
    min-height: calc(100vh - 80px);
    height: 100%;
}

.auth-viewport {
    /* Prevents the outer container from forcing a scroll */
    min-height: calc(100vh - 80px);
    display: flex;
    /* This padding-bottom artificially pushes the perfectly centered content up by 5% */
    padding-bottom: 5vh;
}

/* ---------------------------------------------------
   15. PRICING SECTION
----------------------------------------------------- */
.pricing-toggle {
    background: #eef2f6;
    gap: 4px;
}

.pricing-toggle-btn {
    background: transparent;
    border: none;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .pricing-toggle-btn.active {
        background: #fff;
        color: var(--primary-color);
        box-shadow: 0 2px 8px rgba(67, 113, 250, 0.15);
    }

.pricing-card {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

    .pricing-card:hover {
        box-shadow: 0 12px 28px rgba(67, 113, 250, 0.1);
        transform: translateY(-4px);
    }

.pricing-card-featured {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 16px 40px rgba(67, 113, 250, 0.35);
    transform: translateY(-6px);
}

    .pricing-card-featured:hover {
        box-shadow: 0 20px 48px rgba(67, 113, 250, 0.4);
        transform: translateY(-10px);
    }

.pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-amount {
    font-size: 2.6rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
}

.pricing-card-featured .pricing-amount {
    color: #fff;
}

.pricing-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .pricing-feature-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 6px 0;
        font-size: 14px;
        color: #444;
        border-bottom: 1px solid #f0f2f5;
    }

        .pricing-feature-list li:last-child {
            border-bottom: none;
        }

.pricing-card-featured .pricing-feature-list li {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

    .pricing-feature-list li.text-muted,
    .pricing-card-featured .pricing-feature-list li.opacity-50 {
        opacity: 0.45;
    }

.pricing-feature-list li i {
    font-size: 15px;
    flex-shrink: 0;
}

.pricing-demo-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

    .pricing-demo-link:hover {
        text-decoration: underline;
    }

.pricing-demo-link-light {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

    .pricing-demo-link-light:hover {
        color: #fff;
        text-decoration: underline;
    }

.pricing-free-card {
    background: #f8f9fb;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 2rem 2.5rem;
}