/* ==========================================================================
   WEBINARPRO MASTER REUSABLE DESIGN SYSTEM
   Main Stylesheet for Landing Page, Admin Dashboard & Portal Suite
   ========================================================================== */

:root {
    /* Color Tokens */
    --primary-color: #ff5252;
    --primary-hover: #e04343;
    --primary-light: #fff0f0;
    --secondary-color: #2563eb;
    --secondary-hover: #1d4ed8;
    --secondary-light: #eff6ff;
    
    --dark-color: #0f172a;
    --dark-navy: #0f172a;
    --navy-surface: #1e293b;
    --text-color: #334155;
    --muted-color: #64748b;
    --light-bg: #f8fafc;
    --section-alt-bg: #f0f7ff;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --white: #ffffff;

    /* Success / Warning / Info */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    
    /* Typography */
    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Elevation & Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 30px -10px rgba(15, 23, 42, 0.08), 0 8px 12px -6px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 25px 40px -12px rgba(15, 23, 42, 0.14), 0 10px 15px -6px rgba(15, 23, 42, 0.06);

    /* Border Radius Tokens */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Reset Rules */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-navy);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: var(--transition-fast);
}

/* ==========================================================================
   REUSABLE BUTTON SYSTEM
   ========================================================================== */
.btn {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-coral {
    background-color: var(--primary-color);
    color: var(--white) !important;
    box-shadow: 0 4px 14px rgba(255, 82, 82, 0.35);
}

.btn-coral:hover, .btn-coral:focus {
    background-color: var(--primary-hover);
    color: var(--white) !important;
    box-shadow: 0 6px 20px rgba(255, 82, 82, 0.45);
    transform: translateY(-2px);
}

.btn-outline-navy {
    background-color: transparent;
    color: var(--dark-navy) !important;
    border-color: #cbd5e1;
}

.btn-outline-navy:hover {
    background-color: var(--light-bg);
    border-color: var(--dark-navy);
    color: var(--dark-navy) !important;
    transform: translateY(-2px);
}

.btn-blue {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-blue:hover {
    background-color: var(--secondary-hover);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   STICKY HEADER & NAVIGATION BAR
   ========================================================================== */
.navbar-webinarpro {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.9rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: var(--transition-fast);
}

.navbar-webinarpro.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.65rem 0;
}

.navbar-brand img {
    height: 38px;
    width: auto;
}

.nav-link {
    font-weight: 600;
    color: #475569 !important;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link:focus {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-color);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background-color: var(--secondary-light);
    color: var(--secondary-color);
}

/* ==========================================================================
   HERO SECTION & BADGES
   ========================================================================== */
.hero-section {
    padding: 4.5rem 0 3.5rem 0;
    background: radial-gradient(circle at top right, rgba(239, 246, 255, 0.7), transparent 50%),
                radial-gradient(circle at bottom left, rgba(255, 240, 240, 0.5), transparent 40%);
}

.badge-pill-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #eff6ff;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    border: 1px solid #dbeafe;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--dark-navy);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-title .highlight-coral {
    color: var(--primary-color);
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--muted-color);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.25rem;
    padding: 0;
    list-style: none;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-navy);
}

.hero-feature-item i {
    color: var(--secondary-color);
    background-color: var(--secondary-light);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.trust-badges-inline {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    font-size: 0.88rem;
    color: var(--muted-color);
    font-weight: 500;
}

.trust-badges-inline i {
    color: var(--primary-color);
}

/* ==========================================================================
   HERO PRODUCT MOCKUP (LIVE WEBINAR INTERFACE)
   ========================================================================== */
.mockup-browser {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.mockup-browser:hover {
    box-shadow: var(--shadow-hover);
}

.mockup-browser-header {
    background-color: #f1f5f9;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.mockup-webinar-body {
    display: flex;
    flex-direction: row;
    min-height: 380px;
}

.webinar-video-stage {
    flex: 1;
    background-color: #0f172a;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.webinar-video-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webinar-live-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-live-red {
    background-color: var(--primary-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.webinar-sidebar-chat {
    width: 200px;
    background-color: #ffffff;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.chat-header-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background-color: #f8fafc;
}

.chat-tab {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted-color);
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.chat-tab.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    background-color: #ffffff;
}

.chat-messages-container {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    max-height: 270px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-msg {
    display: flex;
    gap: 8px;
    font-size: 0.72rem;
}

.chat-msg img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.chat-msg-content {
    background-color: #f1f5f9;
    padding: 6px 8px;
    border-radius: 8px;
    color: var(--dark-navy);
}

.chat-msg-name {
    font-weight: 700;
    font-size: 0.7rem;
    margin-bottom: 2px;
    color: var(--dark-navy);
}

.chat-input-area {
    padding: 8px;
    border-top: 1px solid var(--border-color);
    background: #ffffff;
}

.chat-input-area input {
    width: 100%;
    font-size: 0.75rem;
    padding: 5px 8px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.webinar-controls-bar {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.control-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--muted-color);
    cursor: pointer;
}

.control-item i {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: #475569;
}

.btn-end-webinar {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    border: none;
}

/* ==========================================================================
   TRUSTED BY SECTION
   ========================================================================== */
.trusted-section {
    padding: 3rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    background-color: #ffffff;
}

.trusted-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 2rem;
}

.trusted-logos-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.trusted-logo-item img {
    height: 28px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: var(--transition-fast);
}

.trusted-logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================================
   FEATURES SECTION & CARDS
   ========================================================================== */
.features-section {
    padding: 5.5rem 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem auto;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.card-feature {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.icon-circle-coral {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.icon-circle-blue {
    background-color: var(--secondary-light);
    color: var(--secondary-color);
}

.icon-circle-teal {
    background-color: #e6fffa;
    color: #0d9488;
}

.icon-circle-purple {
    background-color: #f3e8ff;
    color: #9333ea;
}

.icon-circle-amber {
    background-color: #fef3c7;
    color: #d97706;
}

.feature-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 0.75rem;
}

.feature-card-text {
    font-size: 0.95rem;
    color: var(--muted-color);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================================
   PRODUCT / ADMIN DASHBOARD SHOWCASE SECTION
   ========================================================================== */
.showcase-section {
    padding: 5.5rem 0;
    background-color: var(--section-alt-bg);
}

.showcase-checklist {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 2.25rem 0;
}

.showcase-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark-navy);
    margin-bottom: 0.9rem;
}

.showcase-checklist li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.mockup-dashboard {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    min-height: 440px;
}

.dash-sidebar {
    width: 170px;
    background-color: #ffffff;
    border-right: 1px solid var(--border-color);
    padding: 1rem 0.5rem;
}

.dash-brand {
    padding: 0 0.5rem 1rem 0.5rem;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--dark-navy);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dash-menu-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted-color);
    border-radius: var(--radius-sm);
    margin-bottom: 2px;
}

.dash-menu-item.active {
    background-color: var(--secondary-light);
    color: var(--secondary-color);
}

.dash-main {
    flex: 1;
    background-color: #f8fafc;
    padding: 1.25rem;
    overflow: hidden;
}

.dash-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dash-topbar h6 {
    font-weight: 800;
    margin: 0;
}

.dash-user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.dash-user-info img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.stat-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    box-shadow: var(--shadow-sm);
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted-color);
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin: 0.2rem 0;
}

.chart-container-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 1rem;
}

/* ==========================================================================
   FINAL CTA BANNER SECTION
   ========================================================================== */
.final-cta-section {
    padding: 4.5rem 0;
    background-color: #ffffff;
}

.cta-banner-card {
    background: linear-gradient(135deg, #eff6ff 0%, #fff0f0 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-lg);
}

.cta-rocket-box img {
    width: 80px;
    height: 80px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-main {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 4.5rem 0 2rem 0;
}

.footer-brand p {
    font-size: 0.92rem;
    color: var(--muted-color);
    margin-top: 1rem;
    max-width: 320px;
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: var(--muted-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 3.5rem;
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--muted-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--muted-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-icon-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ==========================================================================
   RESPONSIVE UTILITIES
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.6rem;
    }
    .webinar-sidebar-chat {
        display: none; /* Hide chat sidebar on tablet for compact view */
    }
    .mockup-dashboard {
        flex-direction: column;
    }
    .dash-sidebar {
        width: 100%;
        display: flex;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .cta-banner-card {
        padding: 2.5rem 1.5rem;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .trusted-logos-grid {
        gap: 1.5rem;
    }
}

/* ==========================================================================
   WEBINARPRO AUTOMATED WEBINAR ROOM (DARK SAAS THEME)
   ========================================================================== */
.webinar-room-body {
    background-color: #0b0f19;
    color: #f8fafc;
    min-height: 100vh;
    font-family: var(--font-sans);
}

.room-header {
    background-color: #111827;
    border-bottom: 1px solid #1f2937;
    padding: 0.85rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1040;
}

.room-badge-live {
    background-color: #ef4444;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
}

.room-badge-starting {
    background-color: #f59e0b;
    color: #111827;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.room-badge-ended {
    background-color: #4b5563;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.video-stage-container {
    position: relative;
    background-color: #000000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid #1f2937;
    aspect-ratio: 16 / 9;
    width: 100%;
}

.video-stage-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.thumbnail-poster-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.thumbnail-poster-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.play-pulse-btn {
    position: relative;
    z-index: 30;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF5A52 0%, #E03E36 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 30px rgba(255, 90, 82, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.play-pulse-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(255, 90, 82, 0.8);
}

.custom-video-controls {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.control-btn-icon {
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 1.1rem;
    padding: 0.4rem;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.control-btn-icon:hover {
    color: #ffffff;
    background-color: #1f2937;
}

.range-progress-dark {
    accent-color: #FF5A52;
    cursor: pointer;
}

.webinar-chat-panel {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 520px;
    max-height: 720px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.chat-panel-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #1f2937;
    background: #1a2234;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-feed-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.chat-bubble-item {
    background: #1f2937;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    border-top-left-radius: 2px;
    max-width: 90%;
    word-break: break-word;
}

.chat-bubble-host {
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.chat-bubble-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.chat-author-name {
    font-weight: 700;
    font-size: 0.82rem;
    color: #60a5fa;
}

.chat-time-stamp {
    font-size: 0.7rem;
    color: #9ca3af;
}

.chat-message-text {
    font-size: 0.88rem;
    color: #f3f4f6;
    margin: 0;
    line-height: 1.45;
}

.chat-form-bottom {
    padding: 1rem;
    border-top: 1px solid #1f2937;
    background: #111827;
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}

.chat-input-field {
    background-color: #1f2937 !important;
    border: 1px solid #374151 !important;
    color: #ffffff !important;
    font-size: 0.88rem;
}

.chat-input-field::placeholder {
    color: #9ca3af !important;
}

.chat-input-field:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

/* ==========================================================================
   FLOATING OFFER VIDEO OVERLAY (TOP LEFT IN MAIN WEBINAR STAGE)
   ========================================================================== */
.offer-video-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    width: 340px;
    max-width: 45%;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.65), 0 0 15px rgba(255, 90, 82, 0.2);
    overflow: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offer-overlay-header {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-overlay-badge {
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.offer-overlay-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.offer-overlay-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.offer-overlay-close:hover {
    color: #ffffff;
    background: rgba(239, 68, 68, 0.8);
}

.offer-overlay-body {
    position: relative;
    width: 100%;
    background: #000000;
    aspect-ratio: 16 / 9;
}

.offer-overlay-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.offer-audio-toggle {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s ease;
    z-index: 10;
}

.offer-audio-toggle:hover {
    background: rgba(37, 99, 235, 0.9);
}

/* Responsive adjustment for Mobile/Tablet stage */
@media (max-width: 768px) {
    .offer-video-overlay {
        top: 10px;
        left: 10px;
        width: 220px;
        max-width: 55%;
    }
    .offer-overlay-header {
        padding: 0.4rem 0.6rem;
    }
    .offer-overlay-title {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   OFFER CONFIGURATION CARDS (WIZARD CREATOR / EDITOR)
   ========================================================================== */
.offer-config-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    transition: var(--transition-fast);
}

.offer-config-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: #94a3b8;
    border-left-color: var(--primary-color);
}

.offer-config-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.offer-config-num {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--dark-navy);
}

/* ==========================================================================
   WEBINAR ROOM ENHANCED CONTROLS & ACTION BUTTONS GRID
   ========================================================================== */
.webinar-action-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.action-btn-item {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: var(--radius-md);
    padding: 10px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #9ca3af;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    text-decoration: none !important;
}

.action-btn-item i {
    font-size: 1.15rem;
    color: #e2e8f0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.action-btn-item:hover {
    background: #1e293b;
    border-color: #374151;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.action-btn-item:hover i {
    color: #3b82f6;
    transform: scale(1.1);
}

.action-btn-item.active {
    background: rgba(37, 99, 235, 0.2) !important;
    border-color: #3b82f6 !important;
    color: #60a5fa !important;
}

.action-btn-item.active i {
    color: #60a5fa !important;
}

.action-btn-danger.active {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
    color: #f87171 !important;
}

.action-btn-danger.active i {
    color: #f87171 !important;
}

/* Modal styling for dark SaaS theme */
.modal-dark .modal-content {
    background-color: #111827;
    border: 1px solid #1f2937;
    color: #f8fafc;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.modal-dark .modal-header {
    border-bottom: 1px solid #1f2937;
    background-color: #1e293b;
}

.modal-dark .modal-footer {
    border-top: 1px solid #1f2937;
}

.modal-dark .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Speed Dropdown Menu */
.speed-dropdown-menu {
    background-color: #1e293b;
    border: 1px solid #374151;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    min-width: 110px;
}

.speed-dropdown-menu .dropdown-item {
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
}

.speed-dropdown-menu .dropdown-item:hover,
.speed-dropdown-menu .dropdown-item.active {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

/* Responsive grid for tablet/mobile */
@media (max-width: 991.98px) {
    .webinar-action-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
}

@media (max-width: 575.98px) {
    .webinar-action-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}



