/* ==========================================================================
   SHREE RADHE DIGITAL - MODERN SAAS THEME
   Palette: Premium Indigo & Violet Gradients, Deep Navy Slate & Cyan Accents
   Framework: Bootstrap 5.3+ Optimized Responsive Architecture
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Theme Foundations & CSS Custom Properties
   -------------------------------------------------------------------------- */
:root,
[data-theme="dark"] {
    /* Background Canvas & Surfaces */
    --bg-canvas: #0b0f19;
    --bg-surface: #111827;
    --bg-surface-elevated: #1e293b;
    --bg-card: rgba(255, 255, 255, 0.035);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(17, 24, 39, 0.75);

    /* Indigo & Violet Accents (Modern SaaS) */
    --primary-indigo: #4f46e5;
    --primary-indigo-light: #818cf8;
    --primary-violet: #7c3aed;
    --primary-violet-light: #a78bfa;
    --accent-cyan: #06b6d4;
    --accent-cyan-light: #38bdf8;
    --accent-blue: #2563eb;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-primary-hover: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    --gradient-glow: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-text: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    --gradient-surface: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);

    /* Borders & Glows */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-card: rgba(148, 163, 184, 0.12);
    --border-primary: rgba(99, 102, 241, 0.35);
    --border-primary-strong: rgba(124, 58, 237, 0.7);
    --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px -5px rgba(99, 102, 241, 0.35);

    /* Typography Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-brand: #818cf8;

    /* Status Colors */
    --status-success: #10b981;
    --status-warning: #f59e0b;
    --status-danger: #ef4444;
    --status-info: #06b6d4;

    /* Backward Compatibility Mappings */
    --gold: #818cf8;
    --gold-light: #c7d2fe;
    --gold-dark: #4f46e5;
    --gold-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gold-gradient-hover: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    --border-gold: rgba(99, 102, 241, 0.35);
    --border-gold-strong: rgba(124, 58, 237, 0.75);
    --text-gold: #818cf8;

    /* Metrics & Spacing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   LIGHT MODE (Clean White Modern SaaS Theme)
   ========================================================================== */
[data-theme="light"] {
    --bg-canvas: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.95);

    --primary-indigo: #4f46e5;
    --primary-indigo-light: #4f46e5;
    --primary-violet: #7c3aed;
    --primary-violet-light: #6d28d9;
    --accent-cyan: #0284c7;
    --accent-cyan-light: #0369a1;
    --accent-blue: #2563eb;

    --border-subtle: #e2e8f0;
    --border-card: #e2e8f0;
    --border-primary: rgba(79, 70, 229, 0.3);
    --border-primary-strong: #4f46e5;
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.12);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-brand: #4f46e5;

    --gold: #4f46e5;
    --gold-light: #4338ca;
    --gold-dark: #3730a3;
    --border-gold: rgba(79, 70, 229, 0.3);
    --border-gold-strong: #4f46e5;
    --text-gold: #4f46e5;
}

[data-theme="light"] html,
[data-theme="light"] body {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: #0f172a !important;
}

[data-theme="light"] .card,
[data-theme="light"] .card-saas {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .text-white {
    color: #0f172a !important;
}

[data-theme="light"] .btn .text-white,
[data-theme="light"] .btn-primary-gradient,
[data-theme="light"] .btn-primary-gradient *,
[data-theme="light"] .badge-brand,
[data-theme="light"] .badge-success,
[data-theme="light"] .badge-primary {
    color: #ffffff !important;
}

[data-theme="light"] .text-secondary {
    color: #475569 !important;
}

[data-theme="light"] .bg-surface {
    background-color: #ffffff !important;
}

[data-theme="light"] .border-subtle {
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .table-dark {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

[data-theme="light"] .table-dark th {
    background-color: #f8fafc !important;
    color: #475569 !important;
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .table-dark td {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-color: #f1f5f9 !important;
}

[data-theme="light"] .table-hover tbody tr:hover td {
    background-color: #f8fafc !important;
}

[data-theme="light"] .form-control,
[data-theme="light"] .form-select {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

[data-theme="light"] .input-group-text {
    background-color: #f8fafc !important;
    color: #475569 !important;
    border-color: #cbd5e1 !important;
}

[data-theme="light"] .navbar-saas {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .navbar-saas .nav-link {
    color: #475569 !important;
}

[data-theme="light"] .navbar-saas .nav-link:hover,
[data-theme="light"] .navbar-saas .nav-link.active {
    color: #4f46e5 !important;
}

[data-theme="light"] #sidebarMenu {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .sidebar-link {
    color: #475569 !important;
}

[data-theme="light"] .sidebar-link:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

[data-theme="light"] .sidebar-link.active {
    background: #eef2ff !important;
    color: #4f46e5 !important;
}

[data-theme="light"] .modal-content {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-color: #e2e8f0 !important;
}

[data-theme="light"] footer {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

.theme-toggle-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.theme-toggle-btn:hover {
    border-color: var(--primary-indigo);
    color: var(--primary-indigo);
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   2. Global Typography & Core Resets
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
}

html, body {
    background-color: var(--bg-canvas) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

p {
    color: var(--text-secondary);
    line-height: 1.6;
}

a {
    color: var(--primary-indigo-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   3. Gradient Typography & Decorative Helpers
   -------------------------------------------------------------------------- */
.text-gradient,
.text-gradient-primary,
.text-gradient-gold {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-brand,
.text-gold {
    color: var(--primary-indigo-light) !important;
}

.text-gold-light {
    color: #c7d2fe !important;
}

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

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

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

.border-subtle {
    border-color: var(--border-card) !important;
}

/* --------------------------------------------------------------------------
   4. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn-primary-gradient {
    background: var(--gradient-primary) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.35);
    transition: var(--transition);
    border-radius: var(--radius-md);
}

.btn-primary-gradient:hover {
    background: var(--gradient-primary-hover) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}

.btn-primary-gradient:active {
    transform: translateY(0);
}

/* User requirement: Yellow border button with white letters */
.btn-gold,
.btn-yellow-border {
    background: rgba(234, 179, 8, 0.16) !important;
    color: #ffffff !important; /* White letters */
    font-weight: 700 !important;
    border: 2px solid #eab308 !important; /* Yellow border */
    padding: 9px 22px !important;
    border-radius: var(--radius-md) !important;
    transition: var(--transition) !important;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
    cursor: pointer !important;
}

.btn-gold:hover,
.btn-gold:focus,
.btn-gold:active,
.btn-yellow-border:hover,
.btn-yellow-border:focus,
.btn-yellow-border:active {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.35), rgba(202, 138, 4, 0.55)) !important;
    border: 2px solid #facc15 !important; /* Glowing Yellow border */
    color: #ffffff !important; /* White letters */
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.5) !important;
    transform: translateY(-2px) !important;
}

.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--border-primary) !important;
    color: var(--primary-indigo-light) !important;
    font-weight: 600;
    transition: var(--transition);
    border-radius: var(--radius-md);
}

.btn-outline-primary:hover {
    background: rgba(99, 102, 241, 0.12) !important;
    border-color: var(--primary-indigo-light) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-outline-gold {
    background: transparent !important;
    border: 2px solid #eab308 !important; /* Yellow border */
    color: #ffffff !important; /* White letters */
    font-weight: 700 !important;
    transition: var(--transition) !important;
    border-radius: var(--radius-md) !important;
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
    background: rgba(234, 179, 8, 0.22) !important;
    border: 2px solid #facc15 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.35) !important;
    transform: translateY(-1px) !important;
}

.btn-outline-secondary {
    border-color: rgba(148, 163, 184, 0.25) !important;
    color: #cbd5e1 !important;
    border-radius: var(--radius-md);
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   5. Glassmorphism & SaaS Cards
   -------------------------------------------------------------------------- */
.card-saas,
.card {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-card) !important;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.card-hover:hover,
.service-hover-box:hover {
    transform: translateY(-4px);
    border-color: var(--border-primary) !important;
    background: var(--bg-surface-elevated) !important;
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.6), var(--shadow-glow) !important;
}

.glass-panel {
    background: var(--bg-glass) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   6. Navigation Bars & Headers
   -------------------------------------------------------------------------- */
.navbar-saas {
    background: rgba(11, 15, 25, 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-card);
    transition: var(--transition);
}

.navbar-saas .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar-saas .nav-link:hover,
.navbar-saas .nav-link.active {
    color: #ffffff !important;
}

.nav-link.active {
    color: var(--primary-indigo-light) !important;
}

/* --------------------------------------------------------------------------
   7. Form Controls & Inputs
   -------------------------------------------------------------------------- */
.form-control,
.form-select {
    background-color: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    color: #ffffff !important;
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    background-color: #0f172a !important;
    border-color: var(--primary-indigo) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
    color: #ffffff !important;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.input-group-text {
    background-color: #1e293b !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   8. Tables & Responsive Data Displays
   -------------------------------------------------------------------------- */
.table-responsive {
    border-radius: var(--radius-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-saas,
.table {
    --bs-table-bg: transparent;
    --bs-table-color: #ffffff;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 0;
}

.table th {
    background: rgba(30, 41, 59, 0.7) !important;
    color: var(--text-secondary) !important;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-card) !important;
    border-top: none;
    white-space: nowrap;
}

.table td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08) !important;
    color: var(--text-primary);
    vertical-align: middle;
    font-size: 0.9rem;
}

.table tr:hover td {
    background-color: rgba(255, 255, 255, 0.025);
}

/* --------------------------------------------------------------------------
   9. Badges & Status Indicators
   -------------------------------------------------------------------------- */
.badge-status {
    padding: 0.35rem 0.65rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-brand,
.badge-gold {
    background: rgba(99, 102, 241, 0.15) !important;
    color: var(--primary-indigo-light) !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

/* --------------------------------------------------------------------------
   10. Custom Scrollbar
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: var(--bg-canvas);
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-indigo);
}

/* --------------------------------------------------------------------------
   11. Hero Glows & Decorative Gradients
   -------------------------------------------------------------------------- */
.hero-glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.blob-indigo {
    background: radial-gradient(circle, #4f46e5 0%, rgba(79, 70, 229, 0) 70%);
    top: -200px;
    left: 20%;
}

.blob-violet {
    background: radial-gradient(circle, #7c3aed 0%, rgba(124, 58, 237, 0) 70%);
    top: -100px;
    right: 10%;
}

/* --------------------------------------------------------------------------
   12. Responsive Breakpoints & Device Optimizations
   -------------------------------------------------------------------------- */

/* Small Mobile & Responsive Device Optimizations (320px - 576px) */
@media (max-width: 576px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        font-size: 13.5px;
    }

    .container, .container-fluid {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    /* Main Dashboard Header */
    .navbar-brand .rvsim-brand-text {
        font-size: 1.05rem !important;
        letter-spacing: 0.02em;
    }

    .navbar-brand .rvsim-logo-badge {
        width: 30px !important;
        height: 30px !important;
    }

    .theme-toggle-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.85rem !important;
    }

    #userMenuDropdown > div {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.85rem !important;
    }

    /* Offcanvas Sidebar on Mobile */
    .offcanvas-start {
        width: 280px !important;
        max-width: 82vw !important;
    }

    .offcanvas-body {
        padding: 1rem 0.75rem !important;
    }

    .offcanvas-body .sidebar-link {
        padding: 0.65rem 0.85rem !important;
        font-size: 0.92rem !important;
        margin-bottom: 2px;
    }

    /* Headings on Mobile */
    h1, .display-3, .display-4, .display-5, .display-6 {
        font-size: 1.65rem !important;
        line-height: 1.25;
    }

    h2, .h2 {
        font-size: 1.35rem !important;
    }

    h3, .h3 {
        font-size: 1.15rem !important;
    }

    h4, .h4 {
        font-size: 1.05rem !important;
    }

    /* Button and form controls */
    .btn-lg {
        padding: 0.65rem 1rem !important;
        font-size: 0.92rem !important;
        width: 100% !important;
        display: inline-flex !important;
        justify-content: center !important;
        margin-bottom: 0.4rem;
    }

    .btn, .form-control, .form-select {
        min-height: 42px;
    }

    /* Stack flex-actions vertically */
    .mobile-stack {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.65rem !important;
    }

    /* Card Padding & Radius */
    .card-body.p-4, 
    .card-body.p-md-5, 
    .card.p-4 {
        padding: 1.15rem 0.95rem !important;
    }

    /* Tables on Mobile */
    .table-responsive {
        margin-left: 0 !important;
        margin-right: 0 !important;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--radius-md);
    }

    .table th, .table td {
        white-space: nowrap;
        padding: 0.65rem 0.65rem !important;
        font-size: 0.82rem !important;
    }

    /* Live Phone Number & OTP Boxes in Receiver Screen */
    #displayPhoneNumber, 
    #assignedNumberText {
        font-size: 1.45rem !important;
        letter-spacing: 0.05em !important;
        word-break: break-all;
    }

    #otpCodeDisplay, 
    #dynOtpCode {
        font-size: 2.1rem !important;
        letter-spacing: 0.12em !important;
    }

    /* Rental Wizard Step Indicator */
    .step-badge {
        width: 26px !important;
        height: 26px !important;
        line-height: 26px !important;
        font-size: 0.75rem !important;
    }

    .step-text {
        font-size: 0.65rem !important;
        line-height: 1.1;
    }

    /* QR Code Sizing on small screens */
    #dynamicQrImage {
        width: 180px !important;
        height: 180px !important;
        max-width: 100%;
    }

    /* Dashboard Sidebar/Header spacing */
    .dashboard-topbar {
        padding: 0.5rem 0.75rem !important;
    }
}

/* Tablet Screens (577px - 991px) */
@media (min-width: 577px) and (max-width: 991px) {
    h1, .display-3, .display-4 {
        font-size: 2.25rem !important;
    }

    .container {
        max-width: 720px;
    }

    .tablet-grid-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Desktop & Laptop Screens (992px - 1440px) */
@media (min-width: 992px) {
    .container {
        max-width: 1140px;
    }
}

/* Large Displays (1441px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Pulse animation */
@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.02); }
}

.animate-pulse {
    animation: pulseGlow 2s infinite ease-in-out;
}

/* ==========================================================================
   RVSIM Brand & UI Enhancements
   ========================================================================== */
.rvsim-logo-badge {
    background: var(--gradient-primary);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
    color: #fff;
    font-weight: 800;
}

.rvsim-brand-text {
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.25rem;
    background: linear-gradient(135deg, #ffffff 40%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .rvsim-brand-text {
    background: linear-gradient(135deg, #0f172a 40%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
    height: 100%;
}

.feature-benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-primary);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    height: 100%;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-primary);
}

.step-number-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1.25rem auto;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
    height: 100%;
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-primary);
    box-shadow: var(--shadow-card);
}

.star-rating {
    color: #f59e0b;
    font-size: 0.95rem;
    letter-spacing: 2px;
}

/* Yellow border button with white text */
.btn-yellow-border {
    background: transparent !important;
    border: 2px solid #eab308 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    transition: var(--transition) !important;
    border-radius: var(--radius-md) !important;
}

.btn-yellow-border:hover,
.btn-yellow-border:focus {
    background: rgba(234, 179, 8, 0.22) !important;
    border-color: #facc15 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.35) !important;
}

/* ==========================================================================
   Floating WhatsApp Support Button Widget
   ========================================================================== */
.rvsim-whatsapp-float {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 18px !important;
    width: auto !important;
    max-width: 180px !important;
    height: 46px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.02em !important;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45) !important;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
    transition: all 0.25s ease-in-out !important;
    white-space: nowrap !important;
}

.rvsim-whatsapp-float:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6) !important;
    color: #ffffff !important;
}

@media (max-width: 576px) {
    .rvsim-wa-floating-container {
        bottom: 16px !important;
        right: 16px !important;
    }
}


