/* ==========================================================================
   SERVILO PREMIUM ULTRA-MODERN LUXURY UI THEME (CREATIVE LIGHT MODE)
   Inspired by stripe.com, linear.app & vercel.com light systems
   ========================================================================== */

:root {
    --primary-color: #4f46e5;
    --primary-color-dark: #3730a3;
    --secondary-color: #475569;
    --success-color: #0d9488;
    --success-color-dark: #115e59;
    --danger-color: #df1c46;
    --warning-color: #ea580c;
    --info-color: #2563eb;
    
    /* Elegant Premium Light Backdrop Palette */
    --premium-bg: #eceff6;
    --card-bg: rgba(255, 255, 255, 0.88);
    --border-glass: rgba(79, 70, 229, 0.1);
    --border-glass-hover: rgba(79, 70, 229, 0.22);
    --input-bg: rgba(255, 255, 255, 0.95);
    --text-main: #0f172a;
    --text-muted: #576882;
    
    /* Creative Indigo ambient light shadows */
    --glow-indigo: 0 10px 30px rgba(79, 70, 229, 0.06);
    --card-radius: 16px;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--premium-bg);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 90% 10%, rgba(13, 148, 136, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(225, 29, 72, 0.04) 0%, transparent 45%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Beautiful overlapping creative background doodles (similar to Jira UI styling) */
.premium-bg-doodles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* Paper airplane overlay top-left */
.doodle-item.paper-plane {
    position: absolute;
    top: 14%;
    left: 4%;
    width: 55px;
    height: 55px;
    opacity: 0.5; /* Fully visible, colorful contrast */
    color: #4f46e5; /* Beautiful creative Indigo */
    transform: rotate(-10deg);
}

/* Asterisk sketch top-right */
.doodle-item.asterisk-main {
    position: absolute;
    top: 17%;
    right: 5%;
    width: 75px;
    height: 75px;
    opacity: 0.55; /* Fully visible, colorful contrast */
    color: #ea580c; /* High visibility premium orange */
    animation: slow-rotate 40s linear infinite;
}

/* Flying abstract line doodles behind cards */
.doodle-item.fluid-flow {
    position: absolute;
    bottom: 8%;
    left: 6%;
    width: 90px;
    height: 90px;
    opacity: 0.45; /* Fully visible, colorful contrast */
    color: #0d9488; /* Beautiful vibrant Teal */
}

/* Small sparkle star bottom-right */
.doodle-item.sparkle-sub {
    position: absolute;
    bottom: 12%;
    right: 4%;
    width: 60px;
    height: 60px;
    opacity: 0.5; /* Fully visible, colorful contrast */
    color: #db2777; /* Playful bold Fuchsia */
    animation: slow-rotate-rev 35s linear infinite;
}

@keyframes slow-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slow-rotate-rev {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* Removed Side Panel Divider/Opacity filters to avoid clashing overlaps */
@media (min-width: 1400px) {
    body::before {
        display: none !important;
    }

    body::after {
        display: none !important;
    }
}
        z-index: -1;
        border-right: 1px solid rgba(79, 70, 229, 0.08);
    }

    body::after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        width: 15vw;
        height: 100vh;
        background-image: 
            linear-gradient(to left, rgba(236, 239, 246, 0.1) 0%, rgba(236, 239, 246, 1) 100%),
            url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?auto=format&fit=crop&w=400&q=50'); /* Elegant abstract vector fluid flow geometry - light tech palette, fast to load */
        background-size: cover;
        background-position: center;
        opacity: 0.08;
        pointer-events: none;
        z-index: -1;
        border-left: 1px solid rgba(13, 148, 136, 0.08);
    }
}

/* Centered & Consolidated Header Container (prevents elements float away) */
.premium-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 1020;
    width: 100%;
}

.premium-header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Beautiful Animated pulsator logo group */
.header-logo-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon-pulse {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
    position: relative;
}

.logo-icon-pulse::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 12px;
    animation: beacon 2s infinite;
    pointer-events: none;
}

@keyframes beacon {
    0% { transform: scale(1.0); opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.security-status {
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: -2px;
    color: #115e59 !important;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #0d9488;
    border-radius: 50%;
    display: inline-block;
    animation: simple-pulse 2s infinite;
}

@keyframes simple-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Compact Tool Shelf */
.header-tool-shelf {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(79, 70, 229, 0.05);
    padding: 0.25rem;
    border-radius: 20px;
    border: 1px solid var(--border-glass);
}

.tool-btn {
    background: transparent;
    border: none;
    padding: 0.35rem 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.tool-btn i {
    font-size: 0.85rem;
    color: #4f46e5;
}

.tool-btn:hover {
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary-color-dark);
}

.tool-btn-alt {
    text-decoration: none;
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: #ffffff !important;
    font-weight: 700;
}

.tool-btn-alt i {
    color: #ffffff;
}

.tool-btn-alt:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    background: #4f46e5;
}

/* Constant Width Workspace Container */
.premium-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
    width: 100%;
}

/* Page Tagline Refinement */
.premium-page-tagline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    text-align: center;
    margin: 0.25rem 0 1.5rem;
    background: linear-gradient(135deg, #3730a3 0%, #0d9488 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Slashed Tab Container & Compact Horizontal Steps */
.premium-nav-hub {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: var(--glow-indigo);
    border: 1px solid rgba(79, 70, 229, 0.15);
    margin-bottom: 1.5rem;
    max-width: 100% !important;
    overflow: hidden;
    min-width: 0; /* Crucial: lets flex boxes shrink and prevent expanding width */
}

/* Fixed Constant Width Scrollable Tabs */
.invoice-tabs-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.6rem;
    margin-bottom: 0.6rem;
    width: 100%;
    overflow: hidden;
    max-width: 100% !important;
    min-width: 0; /* Prevents overflow width expanding layout */
    position: relative;
}

.invoice-tabs-scroll {
    display: flex;
    flex-wrap: nowrap; /* Strictly nowrap! Prevents layout vertical stretching */
    overflow-x: auto; /* Gracefully scroll internally */
    gap: 0.45rem;
    flex: 1;
    max-width: 100%;
    padding: 0 2px 4px 2px;
    min-width: 0; /* Eliminates implicit min-width auto, allowing graceful scrolling scrollbar */
}

/* Custom ultra-thin premium scrollbar styling - 3px line which turns solid on hover */
.invoice-tabs-scroll::-webkit-scrollbar {
    height: 3px !important;
    background: transparent !important;
}

.invoice-tabs-scroll::-webkit-scrollbar-thumb {
    background: rgba(79, 70, 229, 0.12) !important;
    border-radius: 2px !important;
    transition: background 0.2s ease !important;
}

.invoice-tabs-scroll::-webkit-scrollbar-thumb:hover {
    background: #4f46e5 !important;
}

.invoice-tabs-scroll::-webkit-scrollbar-track {
    background: transparent !important;
}

.invoice-tabs-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding-top: 0 !important;
    border-top: none !important;
}

/* Custom Elegant Tab Pill design overrides */
.invoice-tab {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid var(--border-glass) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px !important;
    color: var(--text-muted) !important;
    font-size: 0.75rem !important;
    transition: all 0.2s ease !important;
}

.invoice-tab:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    color: var(--primary-color-dark) !important;
    border-color: rgba(79, 70, 229, 0.2) !important;
}

.invoice-tab.active {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
    border-color: #4f46e5 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15) !important;
}

.invoice-tab-dot {
    width: 6px;
    height: 6px;
    min-width: 6px;
}

/* Extra Slim Progress Navigation - Extremely Minimal & Creative Modern segmented line (very low height) */
.premium-step-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0px !important;
    background: rgba(79, 70, 229, 0.02) !important;
    padding: 0px !important;
    border-radius: 4px !important;
    border: none !important;
    border-bottom: 2px solid rgba(79, 70, 229, 0.08) !important;
    height: 24px !important; /* Low profile horizontal bar */
    margin-bottom: 0.5rem !important;
}

.premium-step-bar .pagination-step {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-radius: 0px !important;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    padding: 0 2px !important;
    min-width: auto !important;
    position: relative;
    top: 2px;
}

.premium-step-bar .pagination-step .step-num {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 0.68rem !important;
    color: var(--text-muted) !important;
    line-height: 1 !important;
    margin-right: 3px !important;
    margin-bottom: 0 !important;
}

.premium-step-bar .pagination-step .step-name {
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    letter-spacing: -0.01em;
    margin-bottom: 0 !important;
    text-transform: uppercase;
}

/* Active and Completed custom step styling */
.premium-step-bar .pagination-step.active {
    background: transparent !important;
    border-bottom: 2px solid #4f46e5 !important;
    box-shadow: none !important;
}

.premium-step-bar .pagination-step.active .step-num {
    color: #4f46e5 !important;
}

.premium-step-bar .pagination-step.active .step-name {
    color: #1e1b4b !important;
}
    font-weight: bold !important;
}

.premium-step-bar .pagination-step.completed {
    position: relative;
    background: transparent !important;
    border-bottom: 2px solid rgba(16, 185, 129, 0.4) !important;
}

.premium-step-bar .pagination-step.completed .step-num {
    color: #10b981 !important;
}

.premium-step-bar .pagination-step.completed .step-name {
    color: #34d399 !important;
}

.premium-step-bar .pagination-step.completed::after {
    content: "✓" !important;
    position: static !important;
    margin-left: 3px;
    color: #10b981 !important;
    font-size: 0.65rem !important;
    font-weight: bold !important;
}

/* Premium Card Layout */
.card {
    background: var(--card-bg) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: var(--card-radius) !important;
}

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

.card-header {
    background: rgba(79, 70, 229, 0.02) !important;
    border-bottom: 1px solid var(--border-glass) !important;
    padding: 1rem 1.5rem !important;
}

.card-header h5 {
    font-weight: 700;
    color: #0f172a !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.95rem;
}

.card-header h5 i {
    color: #4f46e5;
}

.card-body {
    padding: 1.5rem !important;
}

/* Ultra-Sleek Form Inputs */
.form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.72rem !important;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-control {
    border-radius: 8px !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.82rem !important;
    color: #0f172a !important;
    transition: all 0.2s ease-in-out;
    background-color: var(--input-bg) !important;
}

.form-control::placeholder {
    color: #94a3b8 !important;
}

.form-control:focus {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
}

/* Premium styled dropdown list element */
.form-select {
    border-radius: 8px !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    padding: 0.55rem 2.2rem 0.55rem 0.85rem !important;
    font-size: 0.82rem !important;
    color: #0f172a !important;
    transition: all 0.2s ease-in-out;
    background-color: var(--input-bg) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    /* Clean linear chevron SVG down-arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.85rem center !important;
    background-size: 1.05rem 1.05rem !important;
    cursor: pointer;
}

.form-select:focus {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
}

/* Beautiful option styling for standard select boxes */
.form-select option {
    background-color: #ffffff !important;
    color: #0f172a !important;
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
    padding: 12px 10px !important;
}

/* Save / Add to Directory button styles */
.btn-outline-info {
    border-color: rgba(13, 148, 136, 0.3) !important;
    color: #0d9488 !important;
    font-weight: 600;
    font-size: 0.75rem !important;
    padding: 0.35rem 0.85rem !important;
    border-radius: 6px !important;
}

.btn-outline-info:hover {
    background: rgba(13, 148, 136, 0.06) !important;
    color: #115e59 !important;
}

/* Status alerts */
.alert-info {
    background-color: rgba(13, 148, 136, 0.05) !important;
    border-color: rgba(13, 148, 136, 0.12) !important;
    color: #115e59 !important;
    border-radius: 10px;
    font-size: 0.78rem !important;
}

/* Summary premium elements */
.table {
    color: var(--text-main) !important;
}

.table-primary {
    --bs-table-bg: rgba(79, 70, 229, 0.02) !important;
    border-top: 2px solid #4f46e5 !important;
}

#summaryTotInvVal {
    color: #3730a3 !important;
    font-size: 1.3rem !important;
    font-family: var(--font-heading) !important;
}

.pagination-line {
    display: none !important; /* Hide old lines */
}

/* Buttons & Actions Height and Dimensions Standardization */
.btn {
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    padding: 0 1.25rem !important;
    white-space: nowrap !important;
}

/* Custom mini-button sizes for toolbar icons */
.btn-sm, 
.invoice-tabs-actions .btn,
.card-header .btn {
    height: 30px !important;
    font-size: 0.75rem !important;
    padding: 0 0.85rem !important;
    border-radius: 6px !important;
}

/* Buttons Glow */
.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12) !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3) !important;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
    color: #ffffff !important;
}

.btn-secondary {
    background: #f1f5f9 !important;
    border: 1px solid rgba(71, 85, 105, 0.2) !important;
    color: var(--text-main) !important;
}

.btn-secondary:hover {
    background: #e2e8f0 !important;
}

.btn-outline-primary {
    border-color: rgba(79, 70, 229, 0.35) !important;
    color: #4f46e5 !important;
    background: #ffffff !important;
    font-size: 0.75rem !important;
}

.btn-outline-primary:hover {
    background: #4f46e5 !important;
    border-color: #4f46e5 !important;
    color: #ffffff !important;
}

.btn-outline-danger {
    border-color: rgba(223, 28, 70, 0.35) !important;
    color: #df1c46 !important;
    background: #ffffff !important;
    font-size: 0.75rem !important;
}

.btn-outline-danger:hover {
    background: #df1c46 !important;
    border-color: #df1c46 !important;
    color: #ffffff !important;
}

.btn-outline-secondary {
    border-color: rgba(71, 85, 105, 0.35) !important;
    color: #475569 !important;
    background: #ffffff !important;
    font-size: 0.75rem !important;
}

.btn-outline-secondary:hover {
    background: #475569 !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}

/* Modals styled beautifully */
.modal-content {
    background-color: #ffffff !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    color: var(--text-main) !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1) !important;
}

.modal-header {
    border-bottom: 1px solid rgba(79, 70, 229, 0.08) !important;
    background: #f8fafc !important;
    color: var(--text-main) !important;
}

.modal-title {
    color: var(--text-main) !important;
}

.modal-footer {
    border-top: 1px solid rgba(79, 70, 229, 0.08) !important;
}

.btn-close {
    filter: none !important; /* Keep default crisp close button color */
}

hr {
    border-color: var(--border-glass) !important;
    opacity: 1 !important;
}

/* Standard list dropdown for companies search */
.hsn-dropdown {
    background-color: #ffffff !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    border-radius: 8px !important;
    z-index: 1000 !important;
}

.hsn-dropdown-item {
    color: var(--text-main) !important;
    border-bottom: 1px solid rgba(79, 70, 229, 0.05) !important;
}

.hsn-dropdown-item:hover {
    background-color: rgba(79, 70, 229, 0.04) !important;
}

/* List counts */
.company-row {
    background-color: #ffffff !important;
    border: 1px solid rgba(79, 70, 229, 0.1) !important;
    color: var(--text-main) !important;
}

.company-row:hover {
    border-color: #4f46e5 !important;
}

.badge.bg-light {
    background-color: rgba(79, 70, 229, 0.04) !important;
    color: var(--primary-color) !important;
    border: 1px solid rgba(79, 70, 229, 0.1) !important;
}

/* Custom premium-select dropdown styles resolving default native selectors */
.premium-select-dropdown {
    position: relative;
    width: 100%;
}

.premium-select-trigger {
    border-radius: 8px !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    padding: 0.55rem 2.2rem 0.55rem 0.85rem !important;
    font-size: 0.82rem !important;
    color: #0f172a !important;
    background-color: var(--input-bg) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.85rem center !important;
    background-size: 1.05rem 1.05rem !important;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease-in-out;
}

.premium-select-trigger:focus, .premium-select-trigger.open {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
    background-color: #ffffff !important;
}

.premium-select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background-color: #ffffff !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    z-index: 1050 !important;
    max-height: 240px;
    overflow-y: auto;
    padding: 4px 0;
}

/* Scrollbar for option panel */
.premium-select-options::-webkit-scrollbar {
    width: 5px;
}
.premium-select-options::-webkit-scrollbar-thumb {
    background: rgba(79, 70, 229, 0.15);
    border-radius: 10px;
}

.premium-select-option {
    padding: 0.5rem 0.85rem;
    font-size: 0.81rem;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.15s ease;
}

.premium-select-option:hover {
    background-color: rgba(79, 70, 229, 0.05) !important;
    color: #4f46e5 !important;
}

.premium-select-option.selected {
    background-color: rgba(79, 70, 229, 0.08) !important;
    color: #4f46e5 !important;
    font-weight: 600;
}

/* Premium Responsive adjustments */
@media (max-width: 768px) {
    .premium-header-inner {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
        text-align: center;
    }
    .header-tool-shelf {
        width: 100%;
        justify-content: center;
    }
    .premium-step-bar .pagination-step .step-name {
        display: none;
    }
}
