/* ==========================================================================
   VYSAMOX PORTAL - DASHBOARD V2 LIGHT WORKSPACE STYLESHEET
   Clean, High-Productivity, Enterprise Light Theme
   ========================================================================== */

:root {
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.92);
    
    --border-subtle: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-glow: rgba(37, 99, 235, 0.2);
    --border-focus: #2563eb;

    --brand-primary: #2563eb;
    --brand-secondary: #4f46e5;
    --brand-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #4f46e5 100%);
    --brand-gradient-hover: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #4338ca 100%);

    --glow-cyan: #0284c7;
    --glow-blue: #2563eb;
    --glow-purple: #7c3aed;
    --glow-emerald: #059669;
    --glow-amber: #d97706;
    --glow-rose: #e11d48;

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-disabled: #94a3b8;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 14px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);

    --sidebar-width: 270px;
    --header-height: 70px;
    --font-main: 'Outfit', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Clean Background Ambient */
.bg-ambient-lights {
    display: none;
}

/* Main Layout Wrapper */
.v2-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* ==========================================================================
   SIDEBAR NAVIGATION (LIGHT THEME)
   ========================================================================== */
.v2-sidebar {
    width: var(--sidebar-width);
    background: #ffffff;
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 1px 0 10px rgba(0, 0, 0, 0.02);
}

.v2-sidebar-header {
    height: var(--header-height);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
    background: #ffffff;
}

.v2-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.v2-brand img {
    height: 38px;
    max-width: 140px;
    object-fit: contain;
}

.v2-brand-badge {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.v2-sidebar-close-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
}

.v2-sidebar-close-btn:hover {
    color: var(--text-primary);
    background: #f1f5f9;
}

.v2-sidebar-nav {
    padding: 16px 12px 24px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.v2-nav-section-label {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 14px 12px 6px 12px;
}

.v2-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
}

.v2-nav-item i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.2s ease, color 0.2s ease;
}

.v2-nav-item:hover {
    color: var(--brand-primary);
    background: #f8fafc;
    border-color: #e2e8f0;
}

.v2-nav-item:hover i {
    color: var(--brand-primary);
    transform: scale(1.1);
}

.v2-nav-item.active {
    color: var(--brand-primary);
    background: #eff6ff;
    border-color: #bfdbfe;
    font-weight: 700;
}

.v2-nav-item.active i {
    color: var(--brand-primary);
}

.v2-nav-item .nav-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

.v2-nav-item .nav-badge.badge-new {
    background: #d1fae5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.v2-nav-item .nav-badge.badge-hot {
    background: #fee2e2;
    color: #e11d48;
    border: 1px solid #fecdd3;
}

/* Submenu / Grouping */
.v2-nav-group {
    display: flex;
    flex-direction: column;
}

.v2-nav-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.v2-nav-group-header:hover {
    color: var(--brand-primary);
    background: #f8fafc;
}

.v2-nav-group-header .group-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.v2-nav-group-header .chevron {
    width: 15px;
    height: 15px;
    color: var(--text-muted);
    transition: transform 0.25s ease;
}

.v2-nav-group.open .chevron {
    transform: rotate(180deg);
}

.v2-nav-sub-items,
.v2-nav-group-items {
    display: none;
    flex-direction: column;
    gap: 3px;
    padding-left: 28px;
    margin-top: 4px;
}

.v2-nav-group.open .v2-nav-sub-items,
.v2-nav-group.open .v2-nav-group-items {
    display: flex;
}

.v2-nav-sub-item,
.v2-sub-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1.4;
}

.v2-nav-sub-item:hover,
.v2-sub-item:hover {
    color: var(--brand-primary);
    background: #f1f5f9;
}

.v2-nav-sub-item.active,
.v2-sub-item.active {
    color: var(--brand-primary);
    font-weight: 700;
    background: #eff6ff;
}

.v2-nav-sub-item i,
.v2-nav-sub-item svg,
.v2-sub-item i,
.v2-sub-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Sidebar Footer */
.v2-sidebar-footer {
    padding: 14px;
    border-top: 1px solid var(--border-subtle);
    background: #fafafa;
    flex-shrink: 0;
}

.v2-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.v2-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.v2-user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.v2-user-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v2-user-role {
    font-size: 11px;
    color: var(--text-muted);
}

/* ==========================================================================
   MAIN CONTENT AREA & HEADER (LIGHT THEME)
   ========================================================================== */
.v2-main-wrapper,
.v2-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    width: calc(100% - var(--sidebar-width));
    background: var(--bg-base);
    box-sizing: border-box;
}

/* Top Header Bar */
.v2-header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    gap: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.v2-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.v2-mobile-menu-btn,
.v2-menu-btn {
    display: none;
    background: #f1f5f9;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.v2-search-palette-trigger,
.v2-header-search {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 9999px;
    padding: 8px 16px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 340px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.v2-search-palette-trigger:hover,
.v2-header-search:hover,
.v2-header-search:focus-within {
    background: #ffffff;
    border-color: #2563eb;
    color: #0f172a;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.v2-search-palette-trigger i,
.v2-search-palette-trigger svg,
.v2-header-search i,
.v2-header-search svg {
    color: #64748b;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    flex-shrink: 0;
    display: inline-block;
}

.v2-search-palette-trigger:hover i,
.v2-search-palette-trigger:hover svg {
    color: #2563eb;
}

.v2-header-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: #0f172a;
    width: 100%;
    font-family: inherit;
    padding: 0;
}

.v2-search-palette-trigger kbd {
    margin-left: auto;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-mono, monospace);
    color: #475569;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   COMMAND PALETTE SPOTLIGHT MODAL (Ctrl + K)
   ========================================================================== */
.v2-command-palette-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100010;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 20px 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.v2-command-palette-backdrop.active {
    display: flex;
    opacity: 1;
}

.v2-command-palette {
    width: 100%;
    max-width: 600px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transform: scale(0.96) translateY(-10px);
    animation: paletteSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes paletteSlideIn {
    to { transform: scale(1) translateY(0); }
}

.v2-palette-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

.v2-palette-input-wrapper i,
.v2-palette-input-wrapper svg {
    color: #64748b;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.v2-palette-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
    background: transparent;
    font-family: inherit;
}

.v2-palette-input::placeholder {
    color: #94a3b8;
}

.v2-palette-esc-badge {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    font-family: var(--font-mono, monospace);
    cursor: pointer;
}

.v2-palette-results {
    max-height: 380px;
    overflow-y: auto;
    padding: 8px;
}

.v2-palette-category-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94a3b8;
    padding: 8px 12px 4px;
}

.v2-palette-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    color: #1e293b;
}

.v2-palette-item:hover,
.v2-palette-item.selected {
    background: #f0f9ff;
    color: #0284c7;
}

.v2-palette-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.v2-palette-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
    flex-shrink: 0;
}

.v2-palette-item.selected .v2-palette-item-icon,
.v2-palette-item:hover .v2-palette-item-icon {
    background: #e0f2fe;
}

.v2-palette-item-info {
    display: flex;
    flex-direction: column;
}

.v2-palette-item-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
}

.v2-palette-item.selected .v2-palette-item-name,
.v2-palette-item:hover .v2-palette-item-name {
    color: #0284c7;
}

.v2-palette-item-desc {
    font-size: 11.5px;
    color: #64748b;
}

.v2-palette-badge {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.v2-palette-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 11.5px;
    color: #64748b;
}

.v2-palette-shortcuts {
    display: flex;
    align-items: center;
    gap: 12px;
}

.v2-palette-shortcuts span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.v2-palette-shortcuts kbd {
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 10px;
    font-weight: 700;
    color: #475569;
}

.v2-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Wallet Points Widget */
.v2-wallet-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: #059669;
    cursor: pointer;
    transition: all 0.2s ease;
}

.v2-wallet-pill:hover {
    background: #d1fae5;
    border-color: #6ee7b7;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.15);
}

.v2-wallet-pill .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #059669;
    box-shadow: 0 0 6px rgba(5, 150, 105, 0.6);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.v2-btn-recharge {
    background: var(--brand-gradient);
    color: #fff;
    border: none;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.v2-btn-recharge:hover {
    background: var(--brand-gradient-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Header Icon Action Buttons */
.v2-header-icon-btn {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.v2-header-icon-btn:hover {
    color: var(--brand-primary);
    background: #f8fafc;
    border-color: var(--brand-primary);
}

.v2-header-icon-btn .badge-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--glow-rose);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: var(--radius-full);
    border: 2px solid #ffffff;
}

/* Broadcast Banner */
.v2-broadcast-banner {
    background: #eff6ff;
    border-bottom: 1px solid #bfdbfe;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: #1e3a8a;
}

.v2-broadcast-banner .broadcast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.v2-broadcast-banner .broadcast-tag {
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

/* ==========================================================================
   MAIN CONTENT VIEWS (LIGHT THEME)
   ========================================================================== */
.v2-content-area,
.v2-content {
    padding: 24px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 100%;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.v2-view-section {
    display: none;
    flex-direction: column;
    gap: 24px;
    animation: fadeInView 0.25s ease forwards;
}

.v2-view-section.active {
    display: flex;
}

@keyframes fadeInView {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Welcome Card */
.v2-welcome-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-xl);
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.v2-welcome-title h1 {
    font-size: 22px;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 4px;
}

.v2-welcome-title p {
    font-size: 13.5px;
    color: #475569;
}

.v2-welcome-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Service Workbench 2-Column Layout (Form + Summary Sidebar) */
.v2-service-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.v2-service-layout-grid > *,
.v2-service-layout-grid .v2-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   VYSAMOX PREMIUM ORDER SUMMARY / CHECKOUT WIDGET
   ========================================================================== */
.v2-order-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.v2-order-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #0284c7, #38bdf8, #6366f1);
}

.v2-order-summary-card:hover {
    box-shadow: 0 14px 30px -6px rgba(14, 165, 233, 0.1), 0 6px 16px rgba(0, 0, 0, 0.04);
}

.v2-order-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.v2-order-summary-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.v2-order-summary-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
    flex-shrink: 0;
}

.v2-order-summary-icon svg {
    width: 20px;
    height: 20px;
}

.v2-order-summary-title-group h4 {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}

.v2-order-summary-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    padding: 2px 8px;
    border-radius: 9999px;
    margin-top: 3px;
}

.v2-order-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.v2-breakdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
    transition: background 0.15s ease;
}

.v2-breakdown-row.neutral {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
}

.v2-breakdown-row.neutral .row-label {
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
}

.v2-breakdown-row.neutral .row-value {
    color: #0f172a;
    font-weight: 800;
    font-size: 13.5px;
    font-family: var(--font-mono, monospace);
}

.v2-breakdown-row.charge {
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.v2-breakdown-row.charge .row-label {
    color: #c2410c;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
}

.v2-breakdown-row.charge .row-value {
    color: #ea580c;
    font-weight: 800;
    font-size: 14px;
    font-family: var(--font-mono, monospace);
}

.v2-breakdown-row.total {
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    padding: 10px 12px;
}

.v2-breakdown-row.total .row-label {
    color: #1e40af;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 7px;
}

.v2-breakdown-row.total .row-value {
    color: #1d4ed8;
    font-weight: 900;
    font-size: 15px;
    font-family: var(--font-mono, monospace);
}

.v2-order-guarantee-pill {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.v2-order-guarantee-pill .guarantee-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #dcfce7;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.v2-order-guarantee-pill .guarantee-text {
    font-size: 12px;
    color: #166534;
    line-height: 1.4;
    font-weight: 600;
}

.v2-order-recharge-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: #0284c7;
    text-decoration: none;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
    transition: all 0.2s ease;
}

.v2-order-recharge-link:hover {
    background: #e0f2fe;
    border-color: #7dd3fc;
    color: #0369a1;
}

/* Service Highlights Card */
.v2-highlights-card {
    display: none !important;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.v2-highlights-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.v2-highlights-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v2-highlights-list li {
    font-size: 12.5px;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.v2-highlights-list li i,
.v2-highlights-list li svg {
    width: 15px;
    height: 15px;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Page Header Hero Banner Card */
.v2-page-hero-card,
.v2-page-header-card,
.v2-page-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 55%, #f5f3ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-xl);
    padding: 22px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px -2px rgba(14, 165, 233, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.v2-page-hero-card::before,
.v2-page-header-card::before,
.v2-page-header-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--brand-gradient);
}

.v2-page-hero-card .hero-tag,
.v2-page-header-card .hero-tag,
.v2-page-header-row .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    color: #0284c7;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.25);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.v2-page-hero-card .hero-tag i,
.v2-page-hero-card .hero-tag svg,
.v2-page-header-card .hero-tag i,
.v2-page-header-card .hero-tag svg,
.v2-page-header-row .hero-tag i,
.v2-page-header-row .hero-tag svg {
    width: 13px !important;
    height: 13px !important;
}

.v2-page-hero-card h1,
.v2-page-header-card h1,
.v2-page-header-row h1 {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
}

.v2-page-hero-card p,
.v2-page-header-card p,
.v2-page-header-row p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
}

.v2-page-hero-card .hero-actions,
.v2-page-header-card .hero-actions,
.v2-page-header-row .hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Stats Metrics Grid */
.v2-stats-grid,
.v2-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.v2-stat-card,
.v2-metric-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.v2-stat-card::before,
.v2-metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.v2-stat-card:hover,
.v2-metric-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
}

.v2-stat-card.card-cyan::before,
.v2-metric-card:nth-child(1)::before { background: var(--glow-cyan); }
.v2-stat-card.card-amber::before,
.v2-metric-card:nth-child(2)::before { background: var(--glow-amber); }
.v2-stat-card.card-emerald::before,
.v2-metric-card:nth-child(3)::before { background: var(--glow-emerald); }
.v2-stat-card.card-purple::before { background: var(--glow-purple); }

.v2-stat-info,
.metric-top {
    display: flex;
    flex-direction: column;
}

.v2-stat-label,
.metric-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.v2-stat-value,
.metric-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.v2-stat-icon-wrapper,
.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metric-trend {
    display: none;
}

.v2-stat-card.card-cyan .v2-stat-icon-wrapper { background: #e0f2fe; color: #0284c7; }
.v2-stat-card.card-amber .v2-stat-icon-wrapper { background: #fef3c7; color: #d97706; }
.v2-stat-card.card-emerald .v2-stat-icon-wrapper { background: #d1fae5; color: #059669; }
.v2-stat-card.card-purple .v2-stat-icon-wrapper { background: #ede9fe; color: #7c3aed; }

/* Quick Services Grid */
.v2-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.v2-section-heading h2 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   PREMIUM SERVICE LAUNCHPAD CARDS (V2 MODERN DESIGN)
   ========================================================================== */

.v2-service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.v2-service-launch-card {
    --card-accent: #2563eb;
    --card-accent-rgb: 37, 99, 235;
    --card-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    isolation: isolate;
}

/* Elegant top accent bar */
.v2-service-launch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: var(--card-gradient);
    border-radius: 16px 16px 0 0;
    opacity: 0.9;
    transition: height 0.25s ease, opacity 0.25s ease;
    z-index: 3;
}

/* Subtle glowing backdrop on hover */
.v2-card-glow-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(var(--card-accent-rgb), 0.12) 0%, rgba(var(--card-accent-rgb), 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 1;
    transform: translate(20px, -20px);
}

.v2-service-launch-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--card-accent-rgb), 0.4);
    box-shadow: 0 14px 28px -6px rgba(var(--card-accent-rgb), 0.15), 0 4px 10px rgba(0, 0, 0, 0.03);
}

.v2-service-launch-card:hover::before {
    height: 4.5px;
    opacity: 1;
}

.v2-service-launch-card:hover .v2-card-glow-bg {
    opacity: 1;
    transform: translate(10px, -10px) scale(1.15);
}

/* Watermark in background - clearly visible & vibrant */
.v2-card-bg-watermark {
    position: absolute;
    right: 10px;
    bottom: 48px;
    width: 82px;
    height: 75px;
    opacity: 0.28;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.v2-card-bg-watermark img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.06));
}

.v2-service-launch-card:hover .v2-card-bg-watermark {
    opacity: 0.55;
    transform: scale(1.10) rotate(-2deg);
}

/* Card Top Section */
.v2-service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.v2-service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--card-accent-rgb), 0.08);
    color: var(--card-accent);
    border: 1px solid rgba(var(--card-accent-rgb), 0.18);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(var(--card-accent-rgb), 0.06);
}

.v2-service-icon svg,
.v2-service-icon i {
    width: 21px;
    height: 21px;
    transition: transform 0.25s ease;
}

.v2-service-launch-card:hover .v2-service-icon {
    transform: scale(1.05);
    background: var(--card-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(var(--card-accent-rgb), 0.3);
}

/* Tariff Pill / Points Tag */
.v2-service-tariff-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(var(--card-accent-rgb), 0.08);
    color: var(--card-accent);
    border: 1px solid rgba(var(--card-accent-rgb), 0.2);
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.v2-tariff-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--card-accent);
    box-shadow: 0 0 5px rgba(var(--card-accent-rgb), 0.5);
}

.v2-live-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: livePulseDot 1.8s infinite;
}

@keyframes livePulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.v2-service-launch-card:hover .v2-service-tariff-tag {
    background: rgba(var(--card-accent-rgb), 0.14);
    border-color: rgba(var(--card-accent-rgb), 0.35);
}

/* Middle Section (Details + Dedicated Thumbnail Side by Side) */
.v2-service-card-middle {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 1;
    min-height: 68px;
}

/* Details Section */
.v2-service-card-details {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

/* Dedicated Thumbnail Graphic - Zero text overlap */
.v2-service-card-thumb {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.v2-service-card-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.25s ease;
}

.v2-service-launch-card:hover .v2-service-card-thumb {
    transform: scale(1.08) translateY(-2px);
    border-color: rgba(var(--card-accent-rgb), 0.3);
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(var(--card-accent-rgb), 0.16);
}

.v2-service-category {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--card-accent);
    margin-bottom: 4px;
    display: block;
    opacity: 0.9;
}

.v2-service-card-details h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 5px 0;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.v2-service-card-details p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

/* Card Action Footer */
.v2-service-card-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 9px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    transition: all 0.25s ease;
    margin-top: auto;
}

.v2-footer-action-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--card-accent);
    letter-spacing: 0.1px;
}

.v2-footer-arrow-pill {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--card-accent);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.v2-footer-arrow-pill svg,
.v2-footer-arrow-pill i {
    width: 13px;
    height: 13px;
    transition: transform 0.25s ease;
}

.v2-service-launch-card:hover .v2-service-card-footer {
    background: rgba(var(--card-accent-rgb), 0.08);
    border-color: rgba(var(--card-accent-rgb), 0.22);
}

.v2-service-launch-card:hover .v2-footer-arrow-pill {
    background: var(--card-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(var(--card-accent-rgb), 0.35);
}

.v2-service-launch-card:hover .v2-footer-arrow-pill svg,
.v2-service-launch-card:hover .v2-footer-arrow-pill i {
    transform: translateX(2px);
}

/* Thematic Color Classes */
.v2-card-theme-blue {
    --card-accent: #2563eb;
    --card-accent-rgb: 37, 99, 235;
    --card-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.v2-card-theme-amber {
    --card-accent: #d97706;
    --card-accent-rgb: 217, 119, 6;
    --card-gradient: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.v2-card-theme-emerald {
    --card-accent: #059669;
    --card-accent-rgb: 5, 150, 105;
    --card-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.v2-card-theme-indigo {
    --card-accent: #4f46e5;
    --card-accent-rgb: 79, 70, 229;
    --card-gradient: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
}

.v2-card-theme-sky {
    --card-accent: #0284c7;
    --card-accent-rgb: 2, 132, 199;
    --card-gradient: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
}

.v2-card-theme-cyan {
    --card-accent: #0891b2;
    --card-accent-rgb: 8, 145, 178;
    --card-gradient: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

.v2-card-theme-purple {
    --card-accent: #7c3aed;
    --card-accent-rgb: 124, 58, 237;
    --card-gradient: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

.v2-card-theme-fuchsia {
    --card-accent: #9333ea;
    --card-accent-rgb: 147, 51, 234;
    --card-gradient: linear-gradient(135deg, #9333ea 0%, #c026d3 100%);
}

/* Card Container & Table (Light) */
.v2-card-container {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.v2-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.v2-search-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 240px;
    max-width: 380px;
    display: flex;
    align-items: center;
}

.v2-search-input-wrapper i,
.v2-search-input-wrapper svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 2;
    display: inline-block;
}

.v2-search-input-wrapper input {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-full);
    padding: 9px 16px 9px 38px;
    color: var(--text-primary);
    font-size: 13px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.v2-search-input-wrapper input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.v2-filter-pills-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.v2-filter-pill {
    background: #f1f5f9;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.v2-filter-pill:hover {
    color: var(--text-primary);
    background: #e2e8f0;
}

.v2-filter-pill.active {
    background: var(--brand-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.v2-service-filter-group {
    background: #f1f5f9;
    border: 1px solid var(--border-medium);
    padding: 3px;
    border-radius: var(--radius-full);
}

.v2-service-filter-group .v2-filter-pill {
    background: transparent;
    border: none;
    padding: 5px 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.v2-service-filter-group .v2-filter-pill:hover {
    background: rgba(0, 0, 0, 0.05);
}

.v2-service-filter-group .v2-filter-pill.active {
    background: var(--brand-gradient);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.v2-service-filter-group .v2-filter-pill[data-service="pan_new"].active {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}

.v2-service-filter-group .v2-filter-pill[data-service="pan_cr"].active {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
}

.v2-service-filter-group .v2-filter-pill[data-service="pan_adv"].active {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}

.v2-service-filter-group .v2-filter-pill[data-service="pan_find"].active {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.35);
}

.v2-service-filter-group .v2-filter-pill[data-service="voter_adv"].active {
    background: linear-gradient(135deg, #4338ca 0%, #312e81 100%);
    box-shadow: 0 2px 6px rgba(67, 56, 202, 0.35);
}

.v2-service-filter-group .v2-filter-pill[data-service="voter_link"].active {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}

.v2-service-filter-group .v2-filter-pill[data-service="voter_pdf"].active {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.35);
}

.v2-service-filter-group .v2-filter-pill[data-service="epic_details"].active {
    background: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}

.v2-service-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.v2-service-tab:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.v2-service-tab.active {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
    transform: translateY(-1px);
}

.v2-service-tab.active i,
.v2-service-tab.active [data-lucide] {
    color: #ffffff !important;
}

/* Applications Table */
.v2-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: #ffffff;
}

.v2-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}

.v2-table th {
    background: #f8fafc;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 1px solid var(--border-subtle);
    white-space: nowrap;
}

.v2-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-secondary);
    vertical-align: middle;
}

.v2-table tr:hover td {
    background: #f8fafc;
}

.v2-table tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.v2-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.v2-status-badge.badge-pending {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.v2-status-badge.badge-processed {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.v2-status-badge.badge-approved,
.v2-status-badge.badge-completed {
    background: #d1fae5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.v2-status-badge.badge-rejected {
    background: #fee2e2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

/* Table Action Buttons */
.v2-action-btn-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.v2-btn-action {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.v2-btn-action:hover {
    color: var(--brand-primary);
    background: #eff6ff;
    border-color: #bfdbfe;
}

.v2-btn-action.btn-view {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

.v2-btn-action.btn-view:hover {
    background: #dbeafe;
    border-color: #2563eb;
    color: #1d4ed8;
}

.v2-btn-action.btn-edit {
    background: rgba(2, 132, 199, 0.08);
    color: #0284c7;
    border-color: rgba(2, 132, 199, 0.25);
    font-weight: 700;
}

.v2-btn-action.btn-edit:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
}

/* ==========================================================================
   TABLE PAGINATION CONTROLS (LIGHT THEME)
   ========================================================================== */
.v2-pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #ffffff;
    border-top: 1px solid var(--border-subtle);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.v2-pagination-info {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.v2-pagination-info strong {
    color: var(--text-primary);
    font-weight: 700;
}

.v2-pagination-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.v2-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.v2-page-btn:hover:not(:disabled) {
    background: #f8fafc;
    color: var(--text-primary);
    border-color: var(--brand-primary);
}

.v2-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f1f5f9;
    border-color: var(--border-subtle);
}

.v2-page-btn.active {
    background: var(--brand-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    font-weight: 700;
}

.v2-page-btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.v2-page-btn-icon i,
.v2-page-btn-icon svg {
    width: 15px !important;
    height: 15px !important;
}

.v2-page-indicator {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0 8px;
}

/* ==========================================================================
   FORM WIZARD & INPUTS (LIGHT THEME)
   ========================================================================== */
.v2-wizard-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.v2-wizard-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 20px;
}

.v2-wizard-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.v2-wizard-title-row h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

/* Stepper Progress Bar */
.v2-stepper-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 8px;
}

.v2-step-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    cursor: default;
    z-index: 2;
}

.v2-step-indicator .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.v2-step-indicator.active {
    color: var(--brand-primary);
}

.v2-step-indicator.active .step-num {
    background: var(--brand-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.v2-step-indicator.completed .step-num {
    background: #d1fae5;
    border-color: #059669;
    color: #059669;
}

/* Form Groups & Inputs */
.v2-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.v2-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.v2-form-group.full-width {
    grid-column: 1 / -1;
}

.v2-form-group.col-span-2 {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .v2-form-group.col-span-2 {
        grid-column: auto;
    }
}

.v2-form-group label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-secondary);
}

.v2-form-group label .req {
    color: var(--glow-rose);
    margin-left: 2px;
}

.v2-input, .v2-select {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 13.5px;
    font-family: inherit;
    transition: all 0.2s ease;
}

/* Automatic Uppercase Capitalization for PAN & e-KYC Forms */
.v2-input:not([type="email"]):not([type="password"]):not(.no-caps),
#new-pan-form input[type="text"]:not([type="email"]):not(.no-caps),
#correction-pan-form input[type="text"]:not([type="email"]):not(.no-caps),
.v2-form-group input[type="text"]:not([type="email"]):not(.no-caps),
.v2-form-group textarea:not(.no-caps) {
    text-transform: uppercase;
}

.v2-input:focus, .v2-select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.v2-input::placeholder {
    color: var(--text-disabled);
}

.v2-input[readonly], .v2-input:read-only {
    background: #f8fafc !important;
    color: #0369a1 !important;
    border-color: #cbd5e1 !important;
    cursor: default;
}

/* File Upload Card */
.v2-upload-card {
    background: #f8fafc;
    border: 1.5px dashed var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.v2-upload-card:hover {
    border-color: var(--brand-primary);
    background: #eff6ff;
}

.v2-upload-card input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.v2-upload-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v2-upload-card .upload-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.v2-upload-card .upload-hint {
    font-size: 11.5px;
    color: var(--text-muted);
}

.v2-upload-preview-img {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    display: none;
}

/* Step Navigation Footer */
.v2-wizard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    margin-top: 10px;
}

.v2-btn {
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.v2-btn-primary {
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.v2-btn-primary:hover {
    background: var(--brand-gradient-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.v2-btn-secondary {
    background: #ffffff;
    border-color: var(--border-medium);
    color: var(--text-secondary);
}

.v2-btn-secondary:hover {
    color: var(--text-primary);
    background: #f1f5f9;
}

/* ==========================================================================
   MODAL WINDOWS & LIGHTBOX (LIGHT THEME)
   ========================================================================== */
.v2-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.v2-modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.v2-modal-window,
.v2-modal-dialog {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    box-sizing: border-box;
}

.v2-modal-backdrop.active .v2-modal-window,
.v2-modal-backdrop.active .v2-modal-dialog {
    transform: translateY(0) scale(1);
}

.v2-modal-header {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
    background: #ffffff;
    gap: 12px;
}

.v2-modal-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.v2-modal-close,
.v2-modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
    flex-shrink: 0;
}

.v2-modal-close:hover,
.v2-modal-close-btn:hover {
    color: var(--text-primary);
    background: #f1f5f9;
}

.v2-modal-body {
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #ffffff;
}

.v2-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    background: #f8fafc;
}

/* Toast Notifications */
.v2-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.v2-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVE SUITE
   ========================================================================== */
.v2-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.v2-sidebar-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

body.v2-no-scroll {
    overflow: hidden !important;
}

@media (max-width: 1024px) {
    :root {
        --sidebar-width: 0px;
    }
    
    .v2-sidebar {
        transform: translateX(-100%);
        width: 290px;
        max-width: 85vw;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1000 !important;
        background: #ffffff !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
        -webkit-overflow-scrolling: touch;
    }

    .v2-sidebar.mobile-open {
        transform: translateX(0);
    }

    .v2-sidebar-header {
        height: 60px;
        padding: 0 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .v2-brand {
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
        flex: 1;
    }

    .v2-brand img {
        height: 28px;
        max-width: 105px;
        object-fit: contain;
    }

    .v2-brand-badge {
        font-size: 8.5px;
        padding: 2px 6px;
        border-radius: 9999px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .v2-sidebar-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        border-radius: 8px;
        background: #f1f5f9;
        color: #334155;
        flex-shrink: 0;
    }

    .v2-main-wrapper {
        margin-left: 0;
        width: 100%;
    }

    .v2-mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 900px) {
    .v2-service-layout-grid,
    .v2-content-area div[style*="grid-template-columns: minmax(0, 1fr) 320px"],
    .v2-content-area div[style*="grid-template-columns: 1fr 340px"],
    .v2-content-area div[style*="grid-template-columns: minmax(0, 1fr) 340px"],
    .v2-content-area div[style*="grid-template-columns: 1fr 320px"] {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
}

@media (max-width: 768px) {
    .v2-header {
        height: 62px;
        padding: 0 14px;
        gap: 10px;
    }

    .v2-header-left {
        flex: 0 0 auto;
        gap: 10px;
        min-width: 0;
    }

    .v2-mobile-menu-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        border-radius: 10px;
        background: #ffffff;
        border: 1.5px solid #cbd5e1;
        color: #1e293b;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        flex-shrink: 0;
    }

    .v2-header-right {
        flex: 1;
        justify-content: flex-end;
        gap: 8px;
        min-width: 0;
    }

    .v2-search-palette-trigger {
        max-width: 220px;
        padding: 6px 12px;
    }

    .v2-search-palette-trigger kbd {
        display: none;
    }
}

@media (max-width: 640px) {
    .v2-header {
        height: 58px;
        padding: 0 10px;
        gap: 6px;
    }

    .v2-header-left {
        flex: 0 0 auto;
        gap: 6px;
        z-index: 2;
    }

    .v2-mobile-menu-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        padding: 0;
    }

    /* On phone screens, make search a neat circular icon button next to menu */
    .v2-search-palette-trigger {
        width: 36px;
        height: 36px;
        min-width: 36px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        background: #ffffff;
        border: 1.5px solid #cbd5e1;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    }

    .v2-search-palette-trigger span,
    .v2-search-palette-trigger kbd {
        display: none;
    }

    .v2-header-right {
        flex: 1;
        justify-content: flex-end;
        gap: 6px;
        min-width: 0;
    }

    /* Compact, non-overlapping points badge */
    .v2-wallet-pill {
        padding: 5px 10px;
        font-size: 11.5px;
        gap: 5px;
        border-radius: 9999px;
        white-space: nowrap;
        flex-shrink: 0;
        max-width: 125px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .v2-btn-recharge {
        padding: 5px 10px;
        font-size: 11.5px;
        gap: 4px;
        flex-shrink: 0;
    }

    .v2-header-icon-btn {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
    }

    /* Hide redundant logout button in mobile top header (accessible in mobile sidebar) */
    .v2-header-right .v2-header-icon-btn[title="Logout"] {
        display: none;
    }

    /* Main Content Area */
    .v2-content-area {
        padding: 12px 10px;
        gap: 12px;
    }

    /* Welcome Card */
    .v2-welcome-header {
        padding: 16px 14px;
        border-radius: 16px;
        gap: 12px;
    }

    .v2-welcome-title h1 {
        font-size: 18px;
        line-height: 1.25;
        margin-bottom: 2px;
    }

    .v2-welcome-title p {
        font-size: 12px;
    }

    /* Two side-by-side action buttons */
    .v2-welcome-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 4px;
    }

    .v2-welcome-actions .v2-btn {
        width: 100%;
        justify-content: center;
        padding: 9px 8px;
        font-size: 12px;
        border-radius: 10px;
    }

    /* 2x2 Compact Metric Cards Grid */
    .v2-stats-grid,
    .v2-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 14px;
    }

    .v2-stat-card,
    .v2-metric-card {
        padding: 12px 14px;
        border-radius: 14px;
    }

    .v2-stat-value,
    .metric-value {
        font-size: 20px;
    }

    .v2-stat-label,
    .metric-label {
        font-size: 10.5px;
        font-weight: 700;
    }

    .v2-stat-icon-wrapper,
    .metric-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .v2-stat-icon-wrapper svg,
    .metric-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* Services Grid */
    .v2-service-cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .v2-service-launch-card {
        padding: 14px 16px;
        border-radius: 14px;
    }

    .v2-service-card-top {
        margin-bottom: 8px;
    }

    .v2-service-card-details h3 {
        font-size: 15px;
    }

    .v2-service-card-details p {
        font-size: 12px;
        line-height: 1.4;
    }

    /* Table & Stream Toolbar */
    .v2-card-container {
        padding: 14px 12px;
        border-radius: 14px;
    }

    .v2-table-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .v2-table-toolbar > div {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .v2-search-input-wrapper {
        max-width: 100%;
        width: 100%;
        min-width: 0;
    }

    .v2-filter-pills-group {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        width: 100%;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .v2-filter-pill {
        flex-shrink: 0;
        padding: 5px 12px;
        font-size: 11.5px;
    }

    .v2-table-wrapper {
        border-radius: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .v2-table th,
    .v2-table td {
        padding: 10px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Wizards & Form Inputs */
    .v2-stepper-wrapper {
        overflow-x: auto;
        justify-content: flex-start;
        gap: 14px;
        padding-bottom: 8px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .v2-step-indicator {
        flex-shrink: 0;
        font-size: 12px;
        gap: 6px;
    }

    .v2-step-indicator span:not(.step-num) {
        white-space: nowrap;
    }

    .v2-wizard-card {
        padding: 16px 12px;
        border-radius: 14px;
    }

    .v2-wizard-title-row h2 {
        font-size: 17px;
    }

    .v2-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .v2-input,
    .v2-select,
    .v2-form-group textarea {
        font-size: 16px !important; /* Prevents auto-zoom on iOS */
        padding: 11px 13px;
        border-radius: 10px;
    }

    .v2-wizard-footer {
        display: flex;
        gap: 8px;
        width: 100%;
        padding-top: 16px;
    }

    .v2-wizard-footer .v2-btn {
        flex: 1;
        justify-content: center;
        padding: 11px 12px;
        font-size: 13px;
    }

    /* Modals & Spotlight */
    .v2-modal-backdrop {
        padding: 10px;
    }

    .v2-modal-window,
    .v2-modal-dialog {
        max-width: 100%;
        max-height: 94vh;
        border-radius: 16px;
    }

    .v2-modal-header {
        padding: 12px 14px;
    }

    .v2-modal-body {
        padding: 14px;
    }

    .v2-modal-footer {
        padding: 10px 14px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .v2-modal-footer .v2-btn {
        flex: 1;
        min-width: 100px;
        justify-content: center;
    }

    .v2-command-palette-backdrop {
        padding: 20px 10px 10px;
    }

    .v2-command-palette {
        border-radius: 14px;
    }

    .v2-palette-input-wrapper {
        padding: 12px 14px;
        gap: 8px;
    }

    .v2-palette-results {
        max-height: 55vh;
    }

    .v2-palette-footer {
        padding: 8px 12px;
        font-size: 11px;
    }

    .v2-palette-shortcuts {
        display: none;
    }

    /* Service Pages & 2-Column Form Layouts */
    .v2-service-layout-grid,
    .v2-content-area div[style*="grid-template-columns: minmax(0, 1fr) 320px"],
    .v2-content-area div[style*="grid-template-columns: 1fr 340px"],
    .v2-content-area div[style*="grid-template-columns: minmax(0, 1fr) 340px"],
    .v2-content-area div[style*="grid-template-columns: 1fr 320px"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .v2-page-hero-card,
    .v2-page-header-card,
    .v2-page-header-row {
        padding: 14px 14px !important;
        border-radius: 14px !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }

    .v2-page-hero-card .hero-tag {
        font-size: 10px !important;
        padding: 2px 7px !important;
        margin-bottom: 3px !important;
    }

    .v2-page-hero-card h1,
    .v2-page-header-card h1 {
        font-size: 16px !important;
        line-height: 1.3 !important;
        margin-bottom: 3px !important;
        font-weight: 800;
    }

    .v2-page-hero-card p,
    .v2-page-header-card p {
        font-size: 11.5px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }

    .v2-page-hero-card .hero-actions {
        width: 100%;
    }

    .v2-page-hero-card .hero-actions .v2-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 12px;
    }

    .v2-card {
        padding: 14px 14px !important;
        border-radius: 14px !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .v2-card h3 {
        font-size: 13.5px !important;
        margin-bottom: 4px !important;
    }

    .v2-card p {
        font-size: 11.5px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }

    .v2-form-group {
        margin-bottom: 10px;
    }

    .v2-form-group label {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .v2-form-hint {
        font-size: 10.5px !important;
        line-height: 1.3 !important;
        margin-top: 4px !important;
    }

    .v2-input {
        font-size: 14px !important;
        padding: 9px 12px !important;
    }

    .epic-table-wrapper {
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .v2-order-summary-card,
    .v2-highlights-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }

    .v2-order-summary-header {
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
    }

    .v2-order-summary-icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
    }

    .v2-order-summary-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    .v2-breakdown-row {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }

    .v2-breakdown-row.neutral .row-value,
    .v2-breakdown-row.charge .row-value {
        font-size: 13px !important;
    }

    .v2-breakdown-row.total .row-value {
        font-size: 14px !important;
    }

    .v2-order-guarantee-pill {
        padding: 8px 10px !important;
    }

    .v2-order-guarantee-pill .guarantee-text {
        font-size: 11px !important;
    }
}

/* Extra small mobile (<380px) */
@media (max-width: 380px) {
    .v2-btn-recharge span {
        display: none;
    }

    .v2-btn-recharge {
        width: 34px;
        height: 34px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .v2-wallet-pill {
        max-width: 100px;
        font-size: 11px;
        padding: 4px 8px;
    }
}

/* ==========================================================================
   VYSAMOX SUBMISSION PROCESSING & PROGRESS ANIMATION OVERLAY
   ========================================================================== */
.v2-processing-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.v2-processing-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.v2-processing-card {
    background: #ffffff;
    border: 1.5px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    padding: 32px 28px;
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: scale(0.92) translateY(10px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.v2-processing-overlay.active .v2-processing-card {
    transform: scale(1) translateY(0);
}

.v2-processing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0284c7, #3b82f6, #10b981, #0284c7);
    background-size: 300% 100%;
    animation: v2GradientSlide 2s linear infinite;
}

@keyframes v2GradientSlide {
    0% { background-position: 0% 0%; }
    100% { background-position: 300% 0%; }
}

/* Spinner Icon */
.v2-processing-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v2-processing-spinner-ring {
    position: absolute;
    inset: 0;
    border: 3.5px solid #e2e8f0;
    border-top-color: #0284c7;
    border-right-color: #3b82f6;
    border-radius: 50%;
    animation: v2SpinRing 1s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}

.v2-processing-spinner-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, rgba(2, 132, 199, 0) 70%);
    animation: v2PulseAura 2s ease-in-out infinite;
}

.v2-processing-core-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
    z-index: 2;
}

@keyframes v2SpinRing {
    to { transform: rotate(360deg); }
}

@keyframes v2PulseAura {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.25); opacity: 1; }
}

.v2-processing-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}

.v2-processing-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Dynamic Progress Bar */
.v2-processing-bar-wrap {
    width: 100%;
    background: #f1f5f9;
    border-radius: 100px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
    border: 1px solid #e2e8f0;
}

.v2-processing-bar-fill {
    height: 100%;
    width: 15%;
    background: linear-gradient(90deg, #0284c7 0%, #10b981 100%);
    border-radius: 100px;
    transition: width 0.4s ease-out;
    position: relative;
}

.v2-processing-bar-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    animation: v2Shimmer 1.5s infinite;
}

@keyframes v2Shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* Stepper Checklist */
.v2-processing-steps {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.v2-processing-step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
    transition: all 0.3s ease;
}

.v2-processing-step-item.active {
    background: #f0f9ff;
    border-color: #bae6fd;
    color: #0369a1;
    font-weight: 700;
}

.v2-processing-step-item.completed {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
    font-weight: 600;
}

.v2-processing-step-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    background: #e2e8f0;
    color: #64748b;
    flex-shrink: 0;
}

.v2-processing-step-item.active .v2-processing-step-badge {
    background: #0284c7;
    color: #ffffff;
    animation: v2StepPulse 1.2s infinite alternate;
}

.v2-processing-step-item.completed .v2-processing-step-badge {
    background: #10b981;
    color: #ffffff;
}

@keyframes v2StepPulse {
    0% { transform: scale(0.9); }
    100% { transform: scale(1.1); box-shadow: 0 0 10px rgba(2, 132, 199, 0.4); }
}

/* User Portal Footer System */
.v2-portal-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    margin-top: 40px;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #64748b;
    border-radius: var(--radius-xl, 16px) var(--radius-xl, 16px) 0 0;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.02);
}

.v2-footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.v2-footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #0f172a;
    font-size: 13.5px;
}

.v2-footer-brand img {
    height: 22px;
    width: auto;
}

.v2-footer-badge {
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.v2-footer-copyright {
    color: #94a3b8;
    font-size: 12px;
}

.v2-footer-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
}

.v2-footer-status .pulse-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.v2-footer-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.v2-footer-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.v2-footer-link:hover {
    color: #0284c7;
}

@media (max-width: 768px) {
    .v2-portal-footer {
        padding: 20px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .v2-footer-right {
        width: 100%;
        justify-content: flex-start;
        gap: 14px;
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   Recharge Wallet & Points Modal (Mobile Responsive with Sticky Footer)
   ========================================================================== */
#v2-request-points-modal.v2-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1050;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    overflow: hidden;
}

#v2-request-points-modal.v2-modal-backdrop.active {
    display: flex;
}

#v2-request-points-modal .v2-modal-window {
    max-width: 620px;
    width: 100%;
    max-height: calc(100dvh - 24px) !important;
    max-height: calc(100vh - 24px) !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    overflow: hidden !important;
    margin: auto;
    position: relative;
}

#v2-request-points-modal .v2-modal-header {
    flex-shrink: 0 !important;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(30, 41, 59, 0.8);
    z-index: 10;
}

#v2-request-points-modal .v2-recharge-form-wrapper {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

#v2-request-points-modal .v2-modal-body-scroll {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    overscroll-behavior: contain;
    padding: 16px 18px;
    margin: 0;
    box-sizing: border-box;
}

#v2-request-points-modal .v2-modal-footer-sticky {
    flex-shrink: 0 !important;
    padding: 12px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.95);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    z-index: 10;
}

#v2-request-points-modal .v2-recharge-layout {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

#v2-request-points-modal .v2-recharge-qr-col {
    flex: 0 0 200px;
    width: 200px;
    background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.12), transparent 70%), rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 14px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

#v2-request-points-modal .v2-recharge-qr-img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

#v2-request-points-modal .v2-recharge-form-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#v2-request-points-modal .v2-recharge-chips-grid {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

#v2-request-points-modal .v2-btn-modal-cancel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

#v2-request-points-modal .v2-btn-modal-submit {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: #ffffff;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

@media (max-width: 640px) {
    #v2-request-points-modal.v2-modal-backdrop {
        padding: 0;
        align-items: flex-end;
    }

    #v2-request-points-modal .v2-modal-window {
        max-height: calc(100dvh - 12px) !important;
        max-height: 96vh !important;
        border-radius: 18px 18px 0 0;
        width: 100%;
        border-bottom: none;
    }

    #v2-request-points-modal .v2-modal-header {
        padding: 10px 14px;
    }

    #v2-request-points-modal .v2-modal-body-scroll {
        padding: 10px 14px 14px 14px;
    }

    #v2-request-points-modal .v2-modal-footer-sticky {
        padding: 10px 14px;
        display: grid;
        grid-template-columns: 1fr 1.6fr;
        gap: 8px;
    }

    #v2-request-points-modal .v2-btn-modal-cancel,
    #v2-request-points-modal .v2-btn-modal-submit {
        width: 100%;
        justify-content: center;
        padding: 9px 10px !important;
        font-size: 13px !important;
    }

    #v2-request-points-modal .v2-recharge-layout {
        flex-direction: column;
        gap: 10px;
    }

    #v2-request-points-modal .v2-recharge-qr-col {
        flex: none;
        width: 100%;
        padding: 8px 10px;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        text-align: left;
    }

    #v2-request-points-modal .v2-recharge-qr-col > div:first-child {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #v2-request-points-modal .v2-recharge-qr-badge {
        display: none !important;
    }

    #v2-request-points-modal .v2-recharge-qr-img {
        width: 74px;
        height: 74px;
    }

    #v2-request-points-modal .v2-recharge-qr-info {
        flex: 1;
        margin-top: 0 !important;
    }

    #v2-request-points-modal .v2-recharge-qr-info > div:first-child {
        font-size: 10px !important;
    }

    #v2-request-points-modal .v2-recharge-qr-info > div:last-child {
        font-size: 9.5px !important;
        padding: 4px 6px !important;
        margin-top: 4px !important;
    }

    #v2-request-points-modal .v2-form-group {
        margin-bottom: 8px !important;
    }

    #v2-request-points-modal .v2-form-group label {
        font-size: 10.5px !important;
        margin-bottom: 2px !important;
    }

    #v2-request-points-modal .v2-input {
        padding: 7px 10px !important;
        font-size: 13px !important;
    }

    #v2-request-points-modal .v2-recharge-chips-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        margin-top: 4px !important;
    }

    #v2-request-points-modal .v2-recharge-chips-grid button {
        text-align: center;
        padding: 5px 2px !important;
        font-size: 11px !important;
    }
}



