/* ==========================================================================
   OmniService Hub Stylesheet
   ========================================================================== */

/* Instant Pre-render Session State Rules (Prevents Login Flicker/Flip on Mobile Refresh) */
html.is-logged-in #auth-wrapper,
html.is-logged-in .auth-wrapper {
    display: none !important;
}

html.is-logged-in #app-container,
html.is-logged-in .app-container {
    display: flex !important;
}

/* Design Tokens & Theme Variables */
:root {
    /* Colors - Initial Signature Palette */
    --bg-darker: #06050e;
    --bg-dark: #0d0a1b;
    --bg-card: rgba(22, 19, 39, 0.55);
    --bg-card-hover: rgba(32, 28, 56, 0.7);
    --bg-sidebar: #090714;
    
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(171, 71, 188, 0.2);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Neon Accents */
    --accent-purple: #ab47bc;
    --accent-purple-glow: rgba(171, 71, 188, 0.4);
    
    --accent-cyan: #00e5ff;
    --accent-cyan-glow: rgba(0, 229, 255, 0.45);
    
    --accent-blue: #1f93fd;
    --accent-blue-glow: rgba(31, 147, 253, 0.4);
    
    --accent-green: #06d6a0;
    --accent-red: #ff2a5f;
    --accent-pink: #ff007f;
    --accent-yellow: #ffd166;
    
    /* Layout */
    --sidebar-width: 260px;
    --border-radius-sm: 8px;
    --border-radius-md: 14px;
    --border-radius-lg: 20px;
    --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    height: 100% !important;
}

body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    min-height: 100% !important;
    height: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at 85% 15%, #181135 0%, #06050e 70%) no-repeat fixed !important;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* App Container Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2.5rem;
    padding: 0.5rem 0.25rem;
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.brand-icon {
    width: 22px;
    height: 22px;
    color: white;
}

.brand-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.theme-light .brand-text h1,
body.light-theme .brand-text h1,
body.theme-light .brand h1,
body.light-theme .brand h1 {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #000000 !important;
    color: #000000 !important;
    font-weight: 800 !important;
}

body.theme-light .brand-text span,
body.light-theme .brand-text span {
    color: #334155 !important;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.nav-item i {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.nav-item:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.02);
}

.nav-item:hover i {
    opacity: 1;
    transform: translateX(2px);
}

.nav-item.active {
    color: white;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.15), rgba(6, 214, 160, 0.05));
    border-color: rgba(157, 78, 221, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-item.active i {
    color: var(--accent-purple);
    opacity: 1;
}

/* Sidebar Footer (Profile) */
.sidebar-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

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

.user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.user-status {
    font-size: 0.7rem;
    color: var(--accent-cyan);
    font-weight: 500;
}

/* Main Content Area */
.main-content {
    margin-left: var(--sidebar-width);
    flex-grow: 1;
    min-height: 100vh;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
}

/* Top bar styling */
.top-bar {
    padding: 1.5rem 2.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(12, 14, 20, 0.8);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 90;
}

.page-title-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hexagon-menu-btn {
    display: none !important;
}

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

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.85rem;
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.margin-top-xs { margin-top: 0.25rem; }
.margin-top-md { margin-top: 1.25rem; }
.margin-top-lg { margin-top: 2rem; }
.margin-top-xl { margin-top: 3rem; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Wallet/Balance display */
.wallet-badge {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wallet-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
}

.wallet-info {
    display: flex;
    flex-direction: column;
}

.wallet-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.wallet-amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background-color: rgba(56, 176, 0, 0.05);
    border: 1px solid rgba(56, 176, 0, 0.15);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status-dot.online {
    background-color: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

/* Content Wrapper & Panels */
.content-wrapper {
    padding: 2.5rem;
    flex-grow: 1;
}

.view-panel {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.view-panel.active {
    display: block;
}

#esim-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* Stats Cards Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-premium);
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-wrapper i {
    width: 24px;
    height: 24px;
}

.boost-theme {
    background-color: rgba(157, 78, 221, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(157, 78, 221, 0.2);
}

.sim-theme {
    background-color: rgba(6, 214, 160, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 214, 160, 0.2);
}

.total-theme {
    background-color: rgba(58, 134, 200, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(58, 134, 200, 0.2);
}

.success-theme {
    background-color: rgba(56, 176, 0, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(56, 176, 0, 0.2);
}

.stat-data {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.stat-val {
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
}

/* Premium Glassmorphic Cards */
.dashboard-card {
    background: linear-gradient(135deg, rgba(22, 19, 39, 0.65) 0%, rgba(13, 11, 23, 0.65) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(22px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.47);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.card-body.no-padding {
    padding: 0;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-grow-1 {
    flex-grow: 1;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glowing cards styling */
.card-glow-purple:hover {
    border-color: rgba(157, 78, 221, 0.3);
    box-shadow: 0 0 25px rgba(157, 78, 221, 0.08);
}

.card-glow-cyan:hover {
    border-color: rgba(6, 214, 160, 0.3);
    box-shadow: 0 0 25px rgba(6, 214, 160, 0.08);
}

.card-glow-yellow:hover {
    border-color: rgba(255, 209, 102, 0.3);
    box-shadow: 0 0 25px rgba(255, 209, 102, 0.08);
}

/* Text Gradients */
.gradient-text {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.purple-glow {
    background-image: linear-gradient(to right, #d8b4fe, var(--accent-purple));
}

.cyan-glow {
    background-image: linear-gradient(to right, #a7f3d0, var(--accent-cyan));
}

/* Split layouts for panels */
.panel-split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .panel-split-layout {
        grid-template-columns: 1fr;
    }
}

/* Overview Layout specific styles */
.analytics-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
}

@media (max-width: 960px) {
    .analytics-layout {
        grid-template-columns: 1fr;
    }
}

.chart-container {
    height: 200px;
    display: flex;
    align-items: flex-end;
    padding-top: 1rem;
}

.performance-chart {
    width: 100%;
    height: 100%;
}

.chart-legend {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.purple { background-color: var(--accent-purple); }
.dot.cyan { background-color: var(--accent-cyan); }

/* Quick Actions List */
.quick-actions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-action-btn {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 14px;
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
    color: var(--text-primary);
}

.quick-action-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.quick-action-btn.boost-btn:hover {
    border-color: rgba(157, 78, 221, 0.3);
}

.quick-action-btn.sim-btn:hover {
    border-color: rgba(6, 214, 160, 0.3);
}

.action-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
}

.boost-btn .action-icon {
    background-color: rgba(157, 78, 221, 0.1);
    color: var(--accent-purple);
}

.sim-btn .action-icon {
    background-color: rgba(6, 214, 160, 0.1);
    color: var(--accent-cyan);
}

.action-text {
    flex-grow: 1;
}

.action-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.action-text p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.chevron {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.quick-action-btn:hover .chevron {
    transform: translateX(4px);
    color: white;
}

/* Forms & Selectors */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.form-input, .form-select {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 10px 14px;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    outline: none;
}

.form-input:focus, .form-select:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.15);
}

.form-select option {
    background-color: var(--bg-dark);
    color: white;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

.input-icon-wrapper .form-input {
    padding-left: 38px;
}

.form-help {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

/* Grid layout for custom Selectors */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.platform-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.85rem;
    font-weight: 500;
}

.platform-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

.platform-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.platform-card.active {
    background-color: rgba(157, 78, 221, 0.08);
    border-color: rgba(157, 78, 221, 0.4);
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.05);
}

.platform-card.active .platform-icon {
    color: var(--accent-purple);
}

/* Quantity Counter & Slider */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-counter {
    background-color: rgba(157, 78, 221, 0.15);
    color: var(--accent-purple);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
}

.slider-wrapper {
    margin-top: 8px;
}

.form-range {
    width: 100%;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.05);
    height: 6px;
    border-radius: 3px;
    outline: none;
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-purple);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-purple);
    transition: var(--transition-smooth);
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Speed Selector Grid */
.speed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.speed-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.speed-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

.speed-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.speed-desc {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.speed-card.active {
    background-color: rgba(157, 78, 221, 0.08);
    border-color: rgba(157, 78, 221, 0.4);
}

/* Price calculator card */
.price-summary-card {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 14px;
    margin-top: 1.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.price-row span:last-child {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--text-primary);
}

.price-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 8px 0;
}

.total-row {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
}

.total-row span:last-child {
    color: var(--accent-purple);
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
    border: 1px solid transparent;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), #7209b7);
    color: white;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 4px 20px rgba(157, 78, 221, 0.5);
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-cyan), #0096c7);
    color: #07080c;
    box-shadow: 0 4px 15px rgba(6, 214, 160, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 4px 20px rgba(6, 214, 160, 0.5);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--border-hover);
    color: white;
    background-color: rgba(255, 255, 255, 0.02);
}

.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
}

/* Campaign List elements */
.campaigns-list {
    max-height: 480px;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.campaign-card {
    background-color: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    position: relative;
    overflow: hidden;
}

.campaign-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.campaign-title-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.campaign-platform-icon {
    width: 14px;
    height: 14px;
    color: var(--accent-purple);
}

.campaign-title {
    font-size: 0.85rem;
    font-weight: 600;
}

.campaign-status-tag {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.status-completed {
    background-color: rgba(56, 176, 0, 0.1);
    color: var(--accent-green);
}

.status-processing {
    background-color: rgba(157, 78, 221, 0.1);
    color: var(--accent-purple);
}

.campaign-progress-bar-container {
    height: 6px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}

.campaign-progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--accent-purple), #d8b4fe);
    border-radius: 3px;
    width: 0%;
    transition: width 0.4s ease;
}

.campaign-stats-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.campaign-stat-box {
    display: flex;
    flex-direction: column;
}

.campaign-stat-box span:first-child {
    color: var(--text-muted);
}

.campaign-stat-box span:last-child {
    font-family: 'JetBrains Mono', monospace;
}

/* Country Selector Grid */
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
}

.country-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.country-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

.country-flag {
    font-size: 1.5rem;
}

.country-details {
    display: flex;
    flex-direction: column;
}

.country-name {
    font-size: 0.8rem;
    font-weight: 600;
}

.country-price {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.country-card.active {
    background-color: rgba(6, 214, 160, 0.08);
    border-color: rgba(6, 214, 160, 0.4);
}

.country-card.active .country-price {
    color: var(--accent-cyan);
}

/* SIM service selection grid */
.app-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: 8px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

.service-icon {
    width: 20px;
    height: 20px;
}

.service-name {
    font-size: 0.75rem;
    font-weight: 500;
}

.service-card.active {
    background-color: rgba(6, 214, 160, 0.08);
    border-color: rgba(6, 214, 160, 0.4);
}

.text-cyan { color: var(--accent-cyan) !important; }
.text-green { color: var(--accent-green) !important; }
.text-red { color: var(--accent-red) !important; }
.text-indigo { color: #818cf8 !important; }
.text-blue { color: var(--accent-blue) !important; }
.text-pink { color: var(--accent-pink) !important; }

/* Duration selector for rental SIMs */
.duration-selector-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.duration-pill {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 10px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.duration-pill:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

.duration-pill.active {
    background-color: rgba(157, 78, 221, 0.08);
    border-color: rgba(157, 78, 221, 0.4);
}

.duration-pill.active .duration-time {
    color: var(--accent-purple);
}

.duration-time {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.duration-multiplier {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* SIM Info Card */
.rental-info-card {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 14px;
    margin-top: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.rental-info-card .info-row strong {
    color: white;
}

/* Active SIM and inbox display */
.rented-numbers-header {
    border-bottom: 1px solid var(--border-color);
    padding: 12px 1.5rem;
}

.numbers-tab-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-top: 6px;
    padding-bottom: 4px;
}

.number-tab-btn {
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.number-tab-btn.active {
    background-color: rgba(6, 214, 160, 0.1);
    border-color: var(--accent-cyan);
    color: white;
}

.sms-workspace {
    padding: 1.5rem;
}

.active-sim-panel {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sim-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
}

.sim-number-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sim-country-flag {
    font-size: 1.75rem;
}

.sim-meta-info {
    display: flex;
    flex-direction: column;
}

.sim-number {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.sim-service-target {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sim-timer-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(6, 214, 160, 0.05);
    border: 1px solid rgba(6, 214, 160, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
}

.timer-icon {
    width: 14px;
    height: 14px;
}

.timer-countdown {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

/* SMS Feed styling */
.sms-inbox {
    border: 1px solid var(--border-color);
    background-color: rgba(0,0,0,0.15);
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.inbox-header {
    background-color: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

.pulse-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--accent-cyan);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.sms-messages-container {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    flex-grow: 1;
}

.sms-waiting-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-grow: 1;
    padding: 2.5rem;
    color: var(--text-muted);
}

.sms-waiting-container p {
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 12px;
    color: var(--text-secondary);
}

.spinner-circle {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(6, 214, 160, 0.15);
    border-top-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

.sms-message-bubble {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 14px;
    animation: slideUp 0.3s ease-out;
}

.sms-bubble-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.sms-sender {
    font-weight: 600;
    color: var(--accent-cyan);
}

.sms-text {
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.otp-copy-box {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(6, 214, 160, 0.25);
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.otp-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.otp-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.15rem;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}

.btn-copy {
    background-color: rgba(6, 214, 160, 0.1);
    border: 1px solid rgba(6, 214, 160, 0.25);
    color: var(--accent-cyan);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-copy:hover {
    background-color: var(--accent-cyan);
    color: #07080c;
}

.simulation-controls-bar {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

/* Badges */
.badge {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-outline {
    border: 1px solid var(--border-color);
}

.badge-success {
    background-color: rgba(56, 176, 0, 0.1);
    color: var(--accent-green);
}

.badge-purple {
    background-color: rgba(157, 78, 221, 0.1);
    color: var(--accent-purple);
}

.badge-cyan {
    background-color: rgba(6, 214, 160, 0.1);
    color: var(--accent-cyan);
}

/* Tables styling */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.table th, .table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: rgba(0,0,0,0.1);
    font-weight: 600;
    color: var(--text-secondary);
}

.table tbody tr {
    transition: var(--transition-smooth);
}

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

.badge-completed {
    background-color: rgba(56, 176, 0, 0.1);
    color: var(--accent-green);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.badge-pending {
    background-color: rgba(255, 209, 102, 0.1);
    color: var(--accent-yellow);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.badge-failed {
    background-color: rgba(239, 35, 60, 0.1);
    color: var(--accent-red);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Modal Backdrops & Containers */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none !important;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 24px;
    box-sizing: border-box;
}

.modal-backdrop.active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

.modal-container {
    width: 100%;
    max-width: 480px;
    background-color: #0c0e14;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 48px);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.modal-close-btn {
    background: transparent;
    border: 0;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    color: white;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

/* Topup selector amount grid */
.topup-amount-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.amount-pill {
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 8px 4px;
    text-align: center;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.amount-pill:hover {
    background-color: rgba(255,255,255,0.05);
}

.amount-pill.active {
    background-color: rgba(157, 78, 221, 0.15);
    border-color: var(--accent-purple);
    color: white;
}

/* Payment selection list */
.payment-method-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-card {
    background-color: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.payment-card:hover {
    background-color: rgba(255,255,255,0.03);
}

.payment-icon {
    width: 22px;
    height: 22px;
    margin-right: 14px;
}

.payment-details {
    display: flex;
    flex-direction: column;
}

.payment-title {
    font-size: 0.85rem;
    font-weight: 600;
}

.payment-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.payment-card.active {
    background-color: rgba(157, 78, 221, 0.05);
    border-color: rgba(157, 78, 221, 0.4);
}

/* Alert boxes */
.alert-box {
    display: flex;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.alert-info {
    background-color: rgba(58, 134, 200, 0.05);
    border: 1px solid rgba(58, 134, 200, 0.15);
    color: #93c5fd;
}

.alert-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.alert-text {
    flex-grow: 1;
}

/* Toast System styling */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.toast {
    min-width: 300px;
    max-width: 400px;
    background-color: rgba(12, 14, 20, 0.95);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-premium);
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    backdrop-filter: blur(12px);
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition: var(--transition-smooth);
}

.toast.toast-success { border-left: 3px solid var(--accent-green); }
.toast.toast-info { border-left: 3px solid var(--accent-cyan); }
.toast.toast-warning { border-left: 3px solid var(--accent-purple); }
.toast.toast-error { border-left: 3px solid var(--accent-red); }

.toast-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.toast-success .toast-icon { color: var(--accent-green); }
.toast-info .toast-icon { color: var(--accent-cyan); }
.toast-warning .toast-icon { color: var(--accent-purple); }
.toast-error .toast-icon { color: var(--accent-red); }

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.toast-msg {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.toast-close {
    background: transparent;
    border: 0;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
}

.toast-close:hover {
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse-scale {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(255,255,255,0.1)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(255,255,255,0.25)); }
}

@keyframes splash-load {
    0% { left: -50%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

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

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Hide Scrollbars Globally */
* {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
::-webkit-scrollbar-track {
    background: transparent !important;
}
::-webkit-scrollbar-thumb {
    display: none !important;
}

/* ==========================================================================
   Split SIM & SMS Navigation Additions
   ========================================================================== */

/* Numbers Vertical List in SMS Panel */
.numbers-vertical-list {
    display: flex;
    flex-direction: column;
    max-height: 520px;
    overflow-y: auto;
}

.number-list-item {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
}

.number-list-item:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.number-list-item.active {
    background-color: rgba(6, 214, 160, 0.06);
    border-left-color: var(--accent-cyan);
}

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

.number-item-flag {
    font-size: 1.5rem;
}

.number-item-details {
    display: flex;
    flex-direction: column;
}

.number-item-val {
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.number-item-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.number-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.number-item-timer {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

/* SMS open action button in SIM allocations table */
.btn-sms-link {
    background-color: rgba(6, 214, 160, 0.1);
    border: 1px solid rgba(6, 214, 160, 0.2);
    color: var(--accent-cyan);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-sms-link:hover {
    background-color: var(--accent-cyan);
    color: #07080c;
    box-shadow: 0 0 10px rgba(6, 214, 160, 0.3);
}

/* Scrollable containers for platforms and countries */
.country-grid-scroll-container {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.15);
}

.platform-grid-scroll-container {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.15);
}

/* Custom Scrollbar Styles for Neon Dark Theme - Disabled */
.country-grid-scroll-container::-webkit-scrollbar,
.platform-grid-scroll-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}
.country-grid-scroll-container::-webkit-scrollbar-track,
.platform-grid-scroll-container::-webkit-scrollbar-track {
    background: transparent !important;
}
.country-grid-scroll-container::-webkit-scrollbar-thumb,
.platform-grid-scroll-container::-webkit-scrollbar-thumb {
    display: none !important;
}

.margin-bottom-sm {
    margin-bottom: 8px;
}
.margin-bottom-xs {
    margin-bottom: 4px;
}

/* Utility classes */
.hidden,
.auth-wrapper.hidden,
#auth-wrapper.hidden {
    display: none !important;
}

/* Authentication Page Styles */
.auth-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem;
}

.auth-background-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.15;
    animation: pulseGlow 10s infinite alternate ease-in-out;
}

.purple-glow-orb {
    top: 15%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
}

.cyan-glow-orb {
    bottom: 15%;
    right: 20%;
    width: 450px;
    height: 450px;
    background: var(--accent-cyan);
    animation-delay: -5s;
}

@keyframes pulseGlow {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.12;
    }
    100% {
        transform: translate(30px, -20px) scale(1.15);
        opacity: 0.18;
    }
}

.auth-card {
    width: 100%;
    max-width: 450px;
    background: linear-gradient(135deg, rgba(20, 22, 32, 0.7) 0%, rgba(14, 15, 23, 0.65) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 2.75rem 2.5rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.5);
    animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-auth {
    margin-bottom: 2rem;
    justify-content: center;
    pointer-events: none;
}

.auth-title {
    font-size: 1.65rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

/* Auth password visibility toggle styling */
.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: var(--transition-smooth);
}

.password-toggle-btn:hover {
    color: var(--text-primary);
}

.password-toggle-btn i {
    width: 16px;
    height: 16px;
}

/* Custom Checkbox Styles */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
    padding-left: 26px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.checkbox-container:hover input ~ .checkbox-checkmark {
    border-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.02);
}

.checkbox-container input:checked ~ .checkbox-checkmark {
    background-color: var(--accent-purple);
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.3);
}

.checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkbox-checkmark:after {
    display: block;
}

.checkbox-label {
    line-height: 1.2;
}

/* Auth Links */
.auth-link {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.auth-link:hover {
    color: #b37feb;
    text-decoration: underline;
}

.auth-toggle-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.auth-toggle-link:hover {
    color: #10b981;
    text-decoration: underline;
}

.auth-footer {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 1.75rem;
}

/* Sidebar Profile Wrapper with Logout Layout */
.user-profile-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.btn-logout {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-logout:hover {
    color: var(--accent-red);
    background-color: rgba(239, 35, 60, 0.1);
    border-color: rgba(239, 35, 60, 0.2);
    box-shadow: 0 4px 12px rgba(239, 35, 60, 0.15);
}

.btn-logout i {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   Rent Phone Number Page Styles (Custom Dashboard & Step Wizard Layout)
   ========================================================================== */

/* Three Column Step Layout */
.rental-wizard-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 1200px) {
    .rental-wizard-layout {
        grid-template-columns: 1fr;
    }
}

.rental-step-card {
    position: relative;
    overflow: hidden;
}

.rental-step-card::before {
    content: attr(data-step);
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(157, 78, 221, 0.04);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

.rental-step-card .card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.rental-step-card .card-header h3 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Plan Cards list inside Rental */
.rental-plans-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rental-plan-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.rental-plan-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
    border-color: rgba(157, 78, 221, 0.2);
}

.rental-plan-card.active {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.12) 0%, rgba(157, 78, 221, 0.03) 100%);
    border-color: rgba(157, 78, 221, 0.5);
    box-shadow: 0 4px 20px rgba(157, 78, 221, 0.1);
}

.rental-plan-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rental-plan-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.rental-plan-card.active .rental-plan-icon {
    background-color: rgba(157, 78, 221, 0.2);
    color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.3);
}

.rental-plan-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rental-plan-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.rental-plan-duration {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.rental-plan-card-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.rental-plan-multiplier {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 2px 6px;
    border-radius: 20px;
    color: var(--text-secondary);
}

.rental-plan-card.active .rental-plan-multiplier {
    background-color: rgba(157, 78, 221, 0.15);
    border-color: rgba(157, 78, 221, 0.3);
    color: #e0aaff;
}

/* Active Leases Grid - replaces the boring table */
.active-leases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.active-lease-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: var(--transition-smooth);
}

.active-lease-card:hover {
    border-color: rgba(157, 78, 221, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.active-lease-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.active-lease-country {
    display: flex;
    align-items: center;
    gap: 8px;
}

.active-lease-flag {
    font-size: 1.5rem;
    line-height: 1;
}

.active-lease-country-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.active-lease-service {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.25);
    color: #e0aaff;
    padding: 2px 8px;
    border-radius: 4px;
}

.active-lease-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0.75rem 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.settings-section-container {
    background: var(--bg-card, rgba(22, 19, 39, 0.55)) !important;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.05)) !important;
    color: var(--text-primary, #f3f4f6) !important;
    border-radius: 20px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.active-lease-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.active-lease-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.active-lease-timer-label {
    color: var(--text-muted);
}

.active-lease-timer {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    gap: 4px;
}

.active-lease-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 0.25rem;
}

.active-lease-status {
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.active-lease-status.awaiting {
    color: var(--accent-purple);
}
.active-lease-status.received {
    color: var(--accent-green);
}
.active-lease-status.expired {
    color: var(--accent-red);
}
.active-lease-status.released {
    color: var(--text-muted);
}

.active-lease-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

.active-lease-btn-inbox {
    background-color: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.2);
    color: #e0aaff;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
}

.active-lease-btn-inbox:hover {
    background-color: var(--accent-purple);
    border-color: var(--accent-purple);
    color: white;
    box-shadow: 0 4px 12px var(--accent-purple-glow);
}

/* ==========================================================================
   Digital Gift Card Lounge Styles (Luxury Gold & Amber Theme)
   ========================================================================== */

:root {
    --gift-accent-gold: #ffb703;
    --gift-accent-sunset: #fb8500;
    --gift-accent-rose: #ff007f;
    --gift-border-gold: rgba(255, 183, 3, 0.15);
    --gift-glow-gold: rgba(255, 183, 3, 0.1);
}

.gift-lounge-panel {
    background: radial-gradient(circle at 50% 30%, rgba(251, 133, 0, 0.04) 0%, rgba(15, 8, 30, 0.95) 100%) !important;
    border: 1px solid rgba(255, 183, 3, 0.08) !important;
    padding: 1.75rem !important;
    border-radius: var(--border-radius-lg);
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.gift-lounge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 183, 3, 0.1);
    padding-bottom: 1.25rem;
    margin-bottom: 1.75rem;
}

.gift-lounge-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gift-badge-indicator {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gift-accent-gold);
    background-color: rgba(255, 183, 3, 0.08);
    border: 1px solid rgba(255, 183, 3, 0.2);
    padding: 2px 8px;
    border-radius: 20px;
    width: fit-content;
}

.gift-gradient-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 30%, var(--gift-accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gift-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.gift-lounge-stats .gift-stat-box {
    background-color: rgba(255, 183, 3, 0.03);
    border: 1px solid rgba(255, 183, 3, 0.1);
    padding: 8px 16px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gift-accent-gold);
}

.gift-lounge-stats .gift-stat-box i {
    width: 20px;
    height: 20px;
}

.gift-lounge-stats .stat-meta {
    display: flex;
    flex-direction: column;
}

.gift-lounge-stats .stat-val {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.gift-lounge-stats .stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Split layout */
.gift-split-layout {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .gift-split-layout {
        grid-template-columns: 1fr;
    }
}

.gift-deck-header {
    margin-bottom: 1rem;
}

.gift-deck-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.gift-deck-header span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.gift-cards-deck {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

/* Gift Card Template Item (Luxury Debit Card) */
.gift-card-item {
    aspect-ratio: 1.58 / 1;
    border-radius: 14px;
    padding: 1.25rem;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    z-index: 2;
}

.gift-card-item:hover {
    transform: translateY(-6px) rotate(1deg);
    box-shadow: 0 12px 25px rgba(255, 183, 3, 0.15);
    border-color: rgba(255, 183, 3, 0.3);
}

.gift-card-item.active {
    border-color: var(--gift-accent-gold) !important;
    box-shadow: 0 0 25px rgba(255, 183, 3, 0.3) !important;
    transform: translateY(-4px) scale(1.02);
}

.card-glow-overlay {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    transition: all 0.5s ease;
}

.gift-card-item:hover .card-glow-overlay {
    transform: translate(10px, 10px);
}

.card-plastic-chip {
    width: 34px;
    height: 26px;
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.3);
}

.card-plastic-chip::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px, transparent 1px, transparent 4px),
                repeating-linear-gradient(0deg, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px, transparent 1px, transparent 4px);
}

.card-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.card-brand-logo i {
    width: 24px;
    height: 24px;
}

.card-brand-logo span {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.card-network-icon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    opacity: 0.35;
    z-index: 2;
}

.card-network-icon i {
    width: 18px;
    height: 18px;
}

.card-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
}

.card-serial {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1.5px;
}

.card-denom-badge {
    font-size: 1.1rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

/* Card Metallic Themes */
.card-steam {
    background: linear-gradient(135deg, #1b2838 0%, #101c26 100%);
    color: #fff;
    border-color: rgba(27, 40, 56, 0.3);
}
.card-steam .card-brand-logo i { color: #66c0f4; }
.card-steam .card-denom-badge { color: #66c0f4; }

.card-razer {
    background: linear-gradient(135deg, #111111 0%, #252525 100%);
    color: #00ff00;
    border-color: rgba(0, 255, 0, 0.1);
}
.card-razer .card-brand-logo i { color: #00ff00; }
.card-razer .card-brand-logo span { color: #fff; }
.card-razer .card-denom-badge { color: #ffb703; }

.card-apple {
    background: linear-gradient(135deg, #ffffff 0%, #e2e2e7 100%);
    color: #000;
    border-color: rgba(255, 255, 255, 0.2);
}
.card-apple .card-brand-logo i { color: #000; }
.card-apple .card-brand-logo span { color: #000; }
.card-apple .card-serial { color: rgba(0, 0, 0, 0.4); }
.card-apple .card-denom-badge { color: #000; }
.card-apple .card-network-icon i { color: #000; }

.card-google {
    background: linear-gradient(135deg, #222 0%, #111 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.05);
}
.card-google .card-brand-logo i { color: #4285f4; }
.card-google .card-denom-badge { color: #0f9d58; }

.card-netflix {
    background: linear-gradient(135deg, #141414 0%, #2f0b0d 100%);
    color: #e50914;
    border-color: rgba(229, 9, 20, 0.1);
}
.card-netflix .card-brand-logo i { color: #e50914; }
.card-netflix .card-brand-logo span { color: #fff; }
.card-netflix .card-denom-badge { color: #e50914; }

.card-playstation {
    background: linear-gradient(135deg, #003087 0%, #001f5c 100%);
    color: #fff;
    border-color: rgba(0, 48, 135, 0.3);
}
.card-playstation .card-brand-logo i { color: #0072ce; }
.card-playstation .card-denom-badge { color: #0072ce; }

.card-xbox {
    background: linear-gradient(135deg, #107c10 0%, #073807 100%);
    color: #fff;
    border-color: rgba(16, 124, 16, 0.3);
}
.card-xbox .card-brand-logo i { color: #107c10; }
.card-xbox .card-brand-logo span { color: #fff; }
.card-xbox .card-denom-badge { color: #107c10; }

.card-spotify {
    background: linear-gradient(135deg, #191414 0%, #0e3318 100%);
    color: #1db954;
    border-color: rgba(29, 185, 84, 0.1);
}
.card-spotify .card-brand-logo i { color: #1db954; }
.card-spotify .card-brand-logo span { color: #fff; }
.card-spotify .card-denom-badge { color: #1db954; }


/* Checkout Section */
.gift-checkout-card {
    background-color: rgba(20, 10, 35, 0.95);
    border: 1px solid rgba(255, 183, 3, 0.18);
    box-shadow: 0 0 30px rgba(255, 183, 3, 0.05);
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
}

.terminal-ribbon {
    height: 4px;
    background: linear-gradient(to right, var(--gift-accent-sunset), var(--gift-accent-gold));
    width: 100%;
}

.gift-checkout-card .checkout-header {
    padding: 1.25rem;
    border-bottom: 1px dashed rgba(255, 183, 3, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gift-checkout-card .checkout-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.checkout-status {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gift-accent-sunset);
    background-color: rgba(251, 133, 0, 0.08);
    border: 1px solid rgba(251, 133, 0, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

.gift-checkout-card .checkout-body {
    padding: 1.5rem;
}

.checkout-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.checkout-detail-row .detail-lbl {
    color: var(--text-muted);
}

.checkout-detail-row .detail-val {
    font-weight: 700;
    color: var(--gift-accent-gold);
}

/* Denominations Selector Grid */
.denom-pills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 6px;
}

.denom-pill {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 10px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-secondary);
}

.denom-pill:hover {
    background-color: rgba(255, 183, 3, 0.05);
    border-color: rgba(255, 183, 3, 0.2);
    color: var(--text-primary);
}

.denom-pill.active {
    background-color: rgba(255, 183, 3, 0.15);
    border-color: var(--gift-accent-gold);
    color: #fff;
    box-shadow: inset 0 0 10px rgba(255, 183, 3, 0.2);
}

/* Receipt styles */
.checkout-receipt-wrap {
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.receipt-divider {
    border: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

.receipt-total {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.receipt-total span:last-child {
    color: var(--gift-accent-gold);
    font-size: 1.15rem;
}

/* Hot Ticket Purchase Button */
.btn-gift-purchase {
    background: linear-gradient(135deg, var(--gift-accent-gold) 0%, var(--gift-accent-sunset) 100%);
    border: none;
    color: #000;
    width: 100%;
    padding: 12px;
    border-radius: var(--border-radius-md);
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(251, 133, 0, 0.35);
    transition: var(--transition-smooth);
}

.btn-gift-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 133, 0, 0.5);
}

.btn-gift-purchase:active {
    transform: translateY(0);
}

/* Voucher Code Terminal Display */
.voucher-delivery-terminal {
    background: linear-gradient(to bottom, #110e20 0%, #080612 100%);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.8);
    position: relative;
}

.terminal-status-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-green);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.status-indicator.live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulse 1.5s infinite;
}

.code-output-container {
    display: flex;
    flex-direction: column;
}

.code-output-container .label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.code-output-container strong {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.15rem;
    color: var(--gift-accent-gold);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 183, 3, 0.25);
}

.btn-code-copy {
    background-color: rgba(255, 183, 3, 0.1);
    border: 1px solid rgba(255, 183, 3, 0.2);
    color: var(--gift-accent-gold);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-code-copy:hover {
    background-color: var(--gift-accent-gold);
    color: #000;
}


/* Claims Vault Shelf */
.gift-vault-section {
    border-top: 1px solid rgba(255, 183, 3, 0.1);
    padding-top: 1.75rem;
}

.vault-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.vault-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.vault-subtext {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.vault-shelf {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.vault-empty-state {
    grid-column: span 3;
    padding: 3rem;
    text-align: center;
    background-color: rgba(255, 183, 3, 0.01);
    border: 1px dashed rgba(255, 183, 3, 0.1);
    border-radius: var(--border-radius-md);
    color: var(--text-muted);
}

.vault-empty-state i {
    width: 32px;
    height: 32px;
    margin: 0 auto 10px;
    display: block;
    opacity: 0.3;
}

.vault-empty-state p {
    font-size: 0.85rem;
}

/* Claimed Voucher Code Ticket Stub */
.gift-card-vault-item {
    background: linear-gradient(135deg, rgba(20, 10, 30, 0.95) 0%, rgba(10, 5, 15, 0.98) 100%);
    border: 1px solid rgba(255, 183, 3, 0.15);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gift-card-vault-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gift-accent-gold);
}

.gift-card-vault-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 183, 3, 0.35);
    box-shadow: 0 6px 20px rgba(255, 183, 3, 0.1);
}

.vault-item-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vault-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.vault-item-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.vault-item-pin {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gift-accent-gold);
    letter-spacing: 0.5px;
    background-color: rgba(255, 183, 3, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 183, 3, 0.1);
    margin-top: 2px;
    width: fit-content;
}

.vault-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.vault-item-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
}

.vault-item-copy-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1px 6px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gift-card-vault-item:hover .vault-item-copy-badge {
    color: var(--gift-accent-gold);
    border-color: rgba(255, 183, 3, 0.2);
}/* Switch toggle styling */
.switch-toggle input:checked + .toggle-slider {
    background-color: var(--gift-accent-gold) !important;
}

.switch-toggle input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

.toggle-slider {
    border-radius: 24px;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Spinner Icon keyframe for KYC load mock */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

/* Custom active states for brand logo wrappers */
.platform-card:hover .platform-logo-wrapper,
.platform-card.active .platform-logo-wrapper {
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Star Radiant & Moon Star Visual Theme Rules
   ========================================================================== */

body.theme-star-radiant {
    --bg-darker: #05060b;
    --bg-dark: #080911;
    --bg-card: rgba(18, 20, 38, 0.65);
    --bg-card-hover: rgba(28, 30, 58, 0.8);
    --bg-sidebar: #06070c;
    --border-color: rgba(157, 78, 221, 0.15);
    --border-hover: rgba(157, 78, 221, 0.3);
    --text-primary: #f8fafc;
    --accent-purple: #b5179e;
    --accent-purple-glow: rgba(181, 23, 158, 0.4);
    --accent-cyan: #ff70a6;
    --accent-cyan-glow: rgba(255, 112, 166, 0.35);
    --accent-blue: #7209b7;
    --accent-blue-glow: rgba(114, 9, 183, 0.35);
    --accent-green: #2ec4b6;
    --accent-red: #f72585;
    --accent-yellow: #ffb703;

    background-image: radial-gradient(circle at 10% 20%, rgba(114, 9, 183, 0.08) 0%, transparent 45%),
                      radial-gradient(circle at 90% 80%, rgba(255, 112, 166, 0.06) 0%, transparent 45%),
                      radial-gradient(circle at 50% 50%, rgba(157, 78, 221, 0.04) 0%, transparent 60%);
    background-size: cover;
    background-attachment: fixed;
}

/* Twinkle animations and star-radiant glows */
body.theme-star-radiant .btn-primary {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%) !important;
    box-shadow: 0 4px 15px var(--accent-purple-glow) !important;
    border: none !important;
}

body.theme-star-radiant .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(255, 112, 166, 0.5) !important;
    transform: translateY(-1px);
}

body.theme-star-radiant .dashboard-card {
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-star-radiant .dashboard-card:hover {
    border-color: rgba(157, 78, 221, 0.45) !important;
    box-shadow: 0 8px 32px rgba(157, 78, 221, 0.15) !important;
}

/* Administrative User Control Switches */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: .3s;
}

input:checked + .slider {
    background-color: var(--accent-purple);
    box-shadow: 0 0 8px var(--accent-purple-glow);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 20px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Custom layout helpers */
@media (max-width: 1024px) {
    .helpdesk-grid, .support-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Three Column Step Layout for One-Time SMS */
.one-time-wizard-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 1200px) {
    .one-time-wizard-layout {
        grid-template-columns: 1fr;
    }
}

/* Step Progress Bar for Mobile & Simulator */
.one-time-step-bar,
.boost-step-bar,
.rent-step-bar,
.gift-step-bar,
.sell-step-bar,
.settings-step-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
}

.step-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 11px;
    transition: color 0.2s;
    white-space: nowrap;
}

.step-bar-item .step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10px;
    transition: background 0.2s, color 0.2s;
}

.step-bar-item.active {
    color: var(--accent-cyan);
    font-weight: 700;
}

.step-bar-item.active .step-num {
    background: var(--accent-cyan);
    color: #000;
}

/* Purple steps highlight */
.purple-wizard-bar .step-bar-item.active {
    color: var(--accent-purple);
}
.purple-wizard-bar .step-bar-item.active .step-num {
    background: var(--accent-purple);
    color: #fff;
}

.step-bar-connector {
    flex-grow: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 8px;
    min-width: 10px;
}

/* Hide navigation buttons by default on desktop */
.wizard-mobile-nav {
    display: none !important;
}

/* Mobile & Simulator Wizard Step Rules */
@media (max-width: 768px), (max-width: 992px) and (orientation: landscape), (max-height: 480px) {
    .one-time-step-bar,
    .boost-step-bar,
    .rent-step-bar,
    .gift-step-bar,
    .sell-step-bar,
    .settings-step-bar {
        display: flex;
    }
    
    .wizard-mobile-nav.mobile-only {
        display: flex !important;
    }

    .one-time-wizard-layout,
    .boost-wizard-layout,
    .rental-wizard-layout,
    .gift-wizard-layout,
    .sell-wizard-layout,
    .settings-wizard-layout,
    .overview-wizard-layout {
        display: block !important;
    }

    /* Step display management based on current step attribute */
    .one-time-wizard-layout[data-current-step="1"] .one-time-step-card[data-step="01"],
    .boost-wizard-layout[data-current-step="1"] .boost-step-card[data-step="01"],
    .rental-wizard-layout[data-current-step="1"] .rental-step-card[data-step="01"],
    .gift-wizard-layout[data-current-step="1"] .gift-step-card[data-step="01"],
    .sell-wizard-layout[data-current-step="1"] .sell-step-card[data-step="01"],
    .settings-wizard-layout[data-current-step="1"] .settings-card[data-step="01"],
    .overview-wizard-layout[data-current-step="1"] .overview-step-card[data-step="01"] { display: block !important; }

    .one-time-wizard-layout[data-current-step="1"] .one-time-step-card:not([data-step="01"]),
    .boost-wizard-layout[data-current-step="1"] .boost-step-card:not([data-step="01"]),
    .rental-wizard-layout[data-current-step="1"] .rental-step-card:not([data-step="01"]),
    .gift-wizard-layout[data-current-step="1"] .gift-step-card:not([data-step="01"]),
    .sell-wizard-layout[data-current-step="1"] .sell-step-card:not([data-step="01"]),
    .settings-wizard-layout[data-current-step="1"] .settings-card:not([data-step="01"]),
    .overview-wizard-layout[data-current-step="1"] .overview-step-card:not([data-step="01"]) { display: none !important; }

    .one-time-wizard-layout[data-current-step="2"] .one-time-step-card[data-step="02"],
    .boost-wizard-layout[data-current-step="2"] .boost-step-card[data-step="02"],
    .rental-wizard-layout[data-current-step="2"] .rental-step-card[data-step="02"],
    .gift-wizard-layout[data-current-step="2"] .gift-step-card[data-step="02"],
    .sell-wizard-layout[data-current-step="2"] .sell-step-card[data-step="02"],
    .settings-wizard-layout[data-current-step="2"] .settings-card[data-step="02"],
    .overview-wizard-layout[data-current-step="2"] .overview-step-card[data-step="02"] { display: block !important; }

    .one-time-wizard-layout[data-current-step="2"] .one-time-step-card:not([data-step="02"]),
    .boost-wizard-layout[data-current-step="2"] .boost-step-card:not([data-step="02"]),
    .rental-wizard-layout[data-current-step="2"] .rental-step-card:not([data-step="02"]),
    .gift-wizard-layout[data-current-step="2"] .gift-step-card:not([data-step="02"]),
    .sell-wizard-layout[data-current-step="2"] .sell-step-card:not([data-step="02"]),
    .settings-wizard-layout[data-current-step="2"] .settings-card:not([data-step="02"]),
    .overview-wizard-layout[data-current-step="2"] .overview-step-card:not([data-step="02"]) { display: none !important; }

    .one-time-wizard-layout[data-current-step="3"] .one-time-step-card[data-step="03"],
    .boost-wizard-layout[data-current-step="3"] .boost-step-card[data-step="03"],
    .rental-wizard-layout[data-current-step="3"] .rental-step-card[data-step="03"],
    .gift-wizard-layout[data-current-step="3"] .gift-step-card[data-step="03"],
    .sell-wizard-layout[data-current-step="3"] .sell-step-card[data-step="03"],
    .settings-wizard-layout[data-current-step="3"] .settings-card[data-step="03"],
    .overview-wizard-layout[data-current-step="3"] .overview-step-card[data-step="03"] { display: block !important; }

    .one-time-wizard-layout[data-current-step="3"] .one-time-step-card:not([data-step="03"]),
    .boost-wizard-layout[data-current-step="3"] .boost-step-card:not([data-step="03"]),
    .rental-wizard-layout[data-current-step="3"] .rental-step-card:not([data-step="03"]),
    .gift-wizard-layout[data-current-step="3"] .gift-step-card:not([data-step="03"]),
    .sell-wizard-layout[data-current-step="3"] .sell-step-card:not([data-step="03"]),
    .settings-wizard-layout[data-current-step="3"] .settings-card:not([data-step="03"]),
    .overview-wizard-layout[data-current-step="3"] .overview-step-card:not([data-step="03"]) { display: none !important; }

    .rental-wizard-layout[data-current-step="4"] .rental-step-card[data-step="04"],
    .settings-wizard-layout[data-current-step="4"] .settings-card[data-step="04"],
    .overview-wizard-layout[data-current-step="4"] .overview-step-card[data-step="04"] { display: block !important; }

    .rental-wizard-layout[data-current-step="4"] .rental-step-card:not([data-step="04"]),
    .settings-wizard-layout[data-current-step="4"] .settings-card:not([data-step="04"]),
    .overview-wizard-layout[data-current-step="4"] .overview-step-card:not([data-step="04"]) { display: none !important; }
}

/* Replicate exactly inside Desktop Simulator */
body.simulator-active .one-time-step-bar,
body.simulator-active .boost-step-bar,
body.simulator-active .rent-step-bar,
body.simulator-active .gift-step-bar,
body.simulator-active .sell-step-bar,
body.simulator-active .settings-step-bar,
body.simulator-active .overview-step-bar {
    display: flex;
}

body.simulator-active .wizard-mobile-nav.mobile-only {
    display: flex !important;
}

body.simulator-active .one-time-wizard-layout,
body.simulator-active .boost-wizard-layout,
body.simulator-active .rental-wizard-layout,
body.simulator-active .gift-wizard-layout,
body.simulator-active .sell-wizard-layout,
body.simulator-active .settings-wizard-layout,
body.simulator-active .overview-wizard-layout {
    display: block !important;
}

body.simulator-active .one-time-wizard-layout[data-current-step="1"] .one-time-step-card[data-step="01"],
body.simulator-active .boost-wizard-layout[data-current-step="1"] .boost-step-card[data-step="01"],
body.simulator-active .rental-wizard-layout[data-current-step="1"] .rental-step-card[data-step="01"],
body.simulator-active .gift-wizard-layout[data-current-step="1"] .gift-step-card[data-step="01"],
body.simulator-active .sell-wizard-layout[data-current-step="1"] .sell-step-card[data-step="01"],
body.simulator-active .settings-wizard-layout[data-current-step="1"] .settings-card[data-step="01"],
body.simulator-active .overview-wizard-layout[data-current-step="1"] .overview-step-card[data-step="01"] { display: block !important; }

body.simulator-active .one-time-wizard-layout[data-current-step="1"] .one-time-step-card:not([data-step="01"]),
body.simulator-active .boost-wizard-layout[data-current-step="1"] .boost-step-card:not([data-step="01"]),
body.simulator-active .rental-wizard-layout[data-current-step="1"] .rental-step-card:not([data-step="01"]),
body.simulator-active .gift-wizard-layout[data-current-step="1"] .gift-step-card:not([data-step="01"]),
body.simulator-active .sell-wizard-layout[data-current-step="1"] .sell-step-card:not([data-step="01"]),
body.simulator-active .settings-wizard-layout[data-current-step="1"] .settings-card:not([data-step="01"]),
body.simulator-active .overview-wizard-layout[data-current-step="1"] .overview-step-card:not([data-step="01"]) { display: none !important; }

body.simulator-active .one-time-wizard-layout[data-current-step="2"] .one-time-step-card[data-step="02"],
body.simulator-active .boost-wizard-layout[data-current-step="2"] .boost-step-card[data-step="02"],
body.simulator-active .rental-wizard-layout[data-current-step="2"] .rental-step-card[data-step="02"],
body.simulator-active .gift-wizard-layout[data-current-step="2"] .gift-step-card[data-step="02"],
body.simulator-active .sell-wizard-layout[data-current-step="2"] .sell-step-card[data-step="02"],
body.simulator-active .settings-wizard-layout[data-current-step="2"] .settings-card[data-step="02"],
body.simulator-active .overview-wizard-layout[data-current-step="2"] .overview-step-card[data-step="02"] { display: block !important; }

body.simulator-active .one-time-wizard-layout[data-current-step="2"] .one-time-step-card:not([data-step="02"]),
body.simulator-active .boost-wizard-layout[data-current-step="2"] .boost-step-card:not([data-step="02"]),
body.simulator-active .rental-wizard-layout[data-current-step="2"] .rental-step-card:not([data-step="02"]),
body.simulator-active .gift-wizard-layout[data-current-step="2"] .gift-step-card:not([data-step="02"]),
body.simulator-active .sell-wizard-layout[data-current-step="2"] .sell-step-card:not([data-step="02"]),
body.simulator-active .settings-wizard-layout[data-current-step="2"] .settings-card:not([data-step="02"]),
body.simulator-active .overview-wizard-layout[data-current-step="2"] .overview-step-card:not([data-step="02"]) { display: none !important; }

body.simulator-active .one-time-wizard-layout[data-current-step="3"] .one-time-step-card[data-step="03"],
body.simulator-active .boost-wizard-layout[data-current-step="3"] .boost-step-card[data-step="03"],
body.simulator-active .rental-wizard-layout[data-current-step="3"] .rental-step-card[data-step="03"],
body.simulator-active .gift-wizard-layout[data-current-step="3"] .gift-step-card[data-step="03"],
body.simulator-active .sell-wizard-layout[data-current-step="3"] .sell-step-card[data-step="03"],
body.simulator-active .settings-wizard-layout[data-current-step="3"] .settings-card[data-step="03"],
body.simulator-active .overview-wizard-layout[data-current-step="3"] .overview-step-card[data-step="03"] { display: block !important; }

body.simulator-active .one-time-wizard-layout[data-current-step="3"] .one-time-step-card:not([data-step="03"]),
body.simulator-active .boost-wizard-layout[data-current-step="3"] .boost-step-card:not([data-step="03"]),
body.simulator-active .rental-wizard-layout[data-current-step="3"] .rental-step-card:not([data-step="03"]),
body.simulator-active .gift-wizard-layout[data-current-step="3"] .gift-step-card:not([data-step="03"]),
body.simulator-active .sell-wizard-layout[data-current-step="3"] .sell-step-card:not([data-step="03"]),
body.simulator-active .settings-wizard-layout[data-current-step="3"] .settings-card:not([data-step="03"]),
body.simulator-active .overview-wizard-layout[data-current-step="3"] .overview-step-card:not([data-step="03"]) { display: none !important; }

body.simulator-active .rental-wizard-layout[data-current-step="4"] .rental-step-card[data-step="04"],
body.simulator-active .settings-wizard-layout[data-current-step="4"] .settings-card[data-step="04"],
body.simulator-active .overview-wizard-layout[data-current-step="4"] .overview-step-card[data-step="04"] { display: block !important; }

body.simulator-active .rental-wizard-layout[data-current-step="4"] .rental-step-card:not([data-step="04"]),
body.simulator-active .settings-wizard-layout[data-current-step="4"] .settings-card:not([data-step="04"]),
body.simulator-active .overview-wizard-layout[data-current-step="4"] .overview-step-card:not([data-step="04"]) { display: none !important; }

.one-time-step-card {
    position: relative;
    overflow: hidden;
}

.one-time-step-card::before {
    content: attr(data-step);
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(6, 214, 160, 0.04); /* Cyan color highlight */
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

.one-time-step-card .card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.one-time-step-card .card-header h3 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Bottom Nav Default Hidden */
.bottom-nav {
    display: none;
}

/* Settings Lounge Layout */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
}

.settings-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.settings-card:hover {
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.05);
    transform: translateY(-2px);
}

.settings-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 10px;
}

.settings-card-header h3 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.settings-icon {
    width: 18px;
    height: 18px;
}

.settings-card-body {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ==========================================================================
   Sun / Moon Custom Pill Switch (Theme Toggle)
   ========================================================================== */
.sun-moon-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.sun-moon-toggle {
    position: relative;
    width: 66px;
    height: 32px;
    background: #000000;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7px;
    box-sizing: border-box;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

body.theme-light .sun-moon-toggle {
    background: #e2e8f0;
    border-color: #cbd5e1;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.sun-moon-toggle .toggle-knob {
    position: absolute;
    top: 2px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

/* In dark mode (default), knob is on the right side over the moon! */
body:not(.theme-light) .sun-moon-toggle .toggle-knob {
    transform: translateX(32px);
    background: #ffffff;
}

body.theme-light .sun-moon-toggle .toggle-knob {
    transform: translateX(0px);
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.sun-moon-toggle .sun-moon-icon {
    width: 14px;
    height: 14px;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.sun-moon-toggle .icon-sun {
    color: #f59e0b;
}

.sun-moon-toggle .icon-moon {
    color: #94a3b8;
}


/* ==========================================================================
   Light Theme (White Mode) Override Rules - Comprehensive Overhaul
   ========================================================================== */
body.theme-light {
    --bg-darker: #f8fafc;
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-sidebar: #ffffff;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --shadow-premium: 0 4px 20px rgba(0, 0, 0, 0.05);
    background-color: #f8fafc !important;
    background-image: none !important;
    color: #0f172a !important;
}

/* Master High-Contrast Rule for Light Mode: All write-ups, headers, labels, and text turn dark slate/black */
body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light h4,
body.theme-light h5,
body.theme-light h6,
body.theme-light label,
body.theme-light strong,
body.theme-light b,
body.theme-light th,
body.theme-light td,
body.theme-light .modal-title,
body.theme-light .card-title,
body.theme-light .step-title,
body.theme-light .section-title,
body.theme-light .auth-form-title {
    color: #0f172a !important;
}

body.theme-light .auth-brand-title,
body.light-theme .auth-brand-title,
body.theme-light #current-view-title,
body.light-theme #current-view-title,
body.theme-light .brand-logo-text,
body.light-theme .brand-logo-text,
body.theme-light .mobile-logo-text,
body.light-theme .mobile-logo-text {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #000000 !important;
    color: #000000 !important;
    font-weight: 800 !important;
}

body.theme-light p,
body.theme-light span,
body.theme-light small,
body.theme-light li,
body.theme-light div,
body.theme-light a:not(.btn) {
    color: #1e293b !important;
}

body.theme-light .text-secondary,
body.theme-light .text-muted,
body.theme-light .subtitle,
body.theme-light .step-sub {
    color: #475569 !important;
}

body.theme-light .app-container,
body.theme-light .main-content,
body.theme-light .content-wrapper,
body.theme-light .view-panel,
body.theme-light .content-area {
    background-color: #f8fafc !important;
    background-image: none !important;
    color: #0f172a !important;
}

/* Sidebar & Navigation */
body.theme-light .sidebar {
    background-color: #ffffff !important;
    border-right: 1px solid #e2e8f0 !important;
}
body.theme-light .nav-item,
body.theme-light .sidebar-link {
    color: #475569 !important;
}
body.theme-light .nav-item:hover,
body.theme-light .nav-item.active,
body.theme-light .sidebar-link:hover,
body.theme-light .sidebar-link.active {
    background-color: rgba(157, 78, 221, 0.08) !important;
    color: var(--accent-purple) !important;
}
body.theme-light .sidebar-footer,
body.theme-light .sidebar-profile-box {
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}
body.theme-light .sidebar-user-name {
    color: #0f172a !important;
}
body.theme-light .sidebar-user-status {
    color: #64748b !important;
}

/* Top Header Bar */
body.theme-light .top-bar {
    background-color: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    backdrop-filter: blur(12px) !important;
}
body.theme-light .top-bar h1,
body.theme-light .top-bar h2,
body.theme-light #current-view-title {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #000000 !important;
    color: #000000 !important;
    font-weight: 800 !important;
}
body.theme-light #current-view-subtitle {
    color: #475569 !important;
}
body.theme-light .hexagon-menu-btn {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
}
body.theme-light .hexagon-menu-btn i {
    color: #0f172a !important;
}
body.theme-light .wallet-badge {
    background-color: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
}
body.theme-light .wallet-amount {
    color: #0f172a !important;
}
body.theme-light .wallet-label {
    color: #64748b !important;
}
body.theme-light .top-bar .btn-secondary {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: none !important;
}
body.theme-light .top-bar .btn-secondary:hover {
    background: #e2e8f0 !important;
}
body.theme-light .top-bar .btn-secondary i {
    color: #334155 !important;
}

/* Cards & Containers */
body.theme-light .dashboard-card,
body.theme-light .stat-card,
body.theme-light .settings-card,
body.theme-light .overview-step-card,
body.theme-light .boost-step-card,
body.theme-light .rent-step-card,
body.theme-light .one-time-step-card,
body.theme-light .sell-step-card,
body.theme-light .gift-step-card,
body.theme-light .quick-action-btn,
body.theme-light .pricing-summary-card,
body.theme-light .checkout-receipt-wrap {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    color: #0f172a !important;
}

/* Right Sidebar / SMS Workspace */
body.theme-light .sms-workspace-container,
body.theme-light .sms-numbers-list,
body.theme-light .active-sim-details-panel,
body.theme-light .sms-messages-list,
body.theme-light .number-list-item {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}
body.theme-light .number-list-item:hover,
body.theme-light .number-list-item.active {
    background: #f1f5f9 !important;
}

/* Selection Cards & Items */
body.theme-light .country-card,
body.theme-light .service-card,
body.theme-light .payment-card,
body.theme-light .payment-method-card,
body.theme-light .sim-card,
body.theme-light .platform-card,
body.theme-light .gift-card-item,
body.theme-light .rental-plan-card,
body.theme-light .active-lease-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}
body.theme-light .country-card:hover,
body.theme-light .service-card:hover,
body.theme-light .payment-card:hover,
body.theme-light .payment-method-card:hover,
body.theme-light .sim-card:hover,
body.theme-light .platform-card:hover,
body.theme-light .gift-card-item:hover {
    border-color: var(--accent-purple) !important;
    background: rgba(157, 78, 221, 0.04) !important;
}
body.theme-light .country-card.active,
body.theme-light .service-card.active,
body.theme-light .payment-card.active,
body.theme-light .payment-method-card.active,
body.theme-light .sim-card.active,
body.theme-light .platform-card.active {
    border-color: var(--accent-purple) !important;
    background: rgba(157, 78, 221, 0.08) !important;
}

/* Inputs & Form Controls */
body.theme-light .form-input,
body.theme-light .form-select,
body.theme-light textarea {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}
body.theme-light .form-input::placeholder {
    color: #94a3b8 !important;
}
body.theme-light .form-input:focus,
body.theme-light .form-select:focus {
    border-color: var(--accent-purple) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.12) !important;
}

/* Modals */
body.theme-light .modal-container {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}
body.theme-light .modal-backdrop {
    background: rgba(15, 23, 42, 0.6) !important;
}

/* Typography Overrides */
body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light h4,
body.theme-light h5,
body.theme-light h6,
body.theme-light .modal-title,
body.theme-light .form-label,
body.theme-light .card-header h3,
body.theme-light .settings-card-header h3,
body.theme-light .stat-value,
body.theme-light .platform-name,
body.theme-light .country-name,
body.theme-light .service-name {
    color: #0f172a !important;
}
body.theme-light .text-secondary,
body.theme-light p {
    color: #475569 !important;
}
body.theme-light .text-muted,
body.theme-light span.text-muted {
    color: #64748b !important;
}

/* Tables & Pagination */
body.theme-light .table {
    background: #ffffff !important;
    color: #0f172a !important;
}
body.theme-light .table thead th {
    background-color: #f8fafc !important;
    color: #475569 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
body.theme-light .table tbody tr {
    border-bottom: 1px solid #f1f5f9 !important;
}
body.theme-light .table tbody tr:hover {
    background-color: #f8fafc !important;
}
body.theme-light .table tbody td {
    color: #1e293b !important;
}

/* Step Bar & Pagination Covers */
body.theme-light .step-bar-item,
body.theme-light .pagination,
body.theme-light .page-link,
body.theme-light .page-item,
body.theme-light .amount-pill,
body.theme-light .duration-pill,
body.theme-light .denom-pill {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
}
body.theme-light .step-bar-item.active,
body.theme-light .page-item.active .page-link,
body.theme-light .amount-pill.active,
body.theme-light .duration-pill.active,
body.theme-light .denom-pill.active {
    background: rgba(157, 78, 221, 0.12) !important;
    border-color: var(--accent-purple) !important;
    color: var(--accent-purple) !important;
    font-weight: 700 !important;
}

/* Drawer & Mobile Navigation */
body.theme-light .services-drawer {
    background: #ffffff !important;
    border-left: 1px solid #e2e8f0 !important;
}
body.theme-light .mobile-bottom-nav,
body.theme-light .bottom-nav {
    background: rgba(255, 255, 255, 0.98) !important;
    border-top: 1px solid #e2e8f0 !important;
}
body.theme-light .mobile-bottom-link,
body.theme-light .bottom-nav-link {
    color: #64748b !important;
}
body.theme-light .mobile-bottom-link.active,
body.theme-light .bottom-nav-link.active {
    color: var(--accent-purple) !important;
}

/* ==========================================================================
   Circular SVG Balance Chart
   ========================================================================== */
.balance-chart-wrapper {
    position: relative;
    width: 210px !important;
    height: 210px !important;
    max-width: 210px !important;
    max-height: 210px !important;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    box-sizing: border-box !important;
}
.balance-svg-ring {
    transform: rotate(-90deg);
    width: 210px !important;
    height: 210px !important;
    max-width: 210px !important;
    max-height: 210px !important;
}
.balance-svg-ring circle {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s ease-in-out;
}
.balance-circle-bg {
    stroke: rgba(255, 255, 255, 0.05);
}
body.theme-light .balance-circle-bg {
    stroke: rgba(0, 0, 0, 0.05);
}
.balance-circle-value1 {
    stroke: #2ec4b6; /* Cyan: One-Time SMS */
}
.balance-circle-value2 {
    stroke: #ffd166; /* Yellow: Rentals */
}
.balance-circle-value3 {
    stroke: #9d4edd; /* Purple: Social Booster */
}
.balance-circle-value4 {
    stroke: rgba(255, 255, 255, 0.2); /* Available balance track */
}
body.theme-light .balance-circle-value4 {
    stroke: rgba(0, 0, 0, 0.1);
}
.balance-text-center {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.balance-text-center span.dollar-sign {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}
.balance-text-center h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -1px;
}
body.theme-light .balance-text-center h2 {
    color: #111827 !important;
}

/* ==========================================================================
   Left Services Slide-out Drawer
   ========================================================================== */
.services-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: rgba(12, 14, 20, 0.98);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
    box-shadow: 15px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
body.theme-light .services-drawer {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 15px 0 30px rgba(0, 0, 0, 0.05);
}
.services-drawer.active {
    transform: translateX(0);
}
.services-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 10px;
}
.services-drawer-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
body.theme-light .services-drawer-header h3 {
    color: #111827 !important;
}
.services-drawer-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 50%;
    transition: 0.2s;
}
.services-drawer-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}
body.theme-light .services-drawer-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #111827;
}
.services-drawer-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    flex: 1;
}
.drawer-service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}
body.theme-light .drawer-service-item {
    background: rgba(0, 0, 0, 0.02);
    color: #1f2937 !important;
}
.drawer-service-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-purple);
    transform: translateX(5px);
}
body.theme-light .drawer-service-item:hover {
    background: rgba(157, 78, 221, 0.05);
}
.drawer-service-item i {
    width: 20px;
    height: 20px;
}
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.drawer-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-services-list {
    display: none;
}

/* Figma-Style Authentication Redesign */
.auth-wrapper {
    background-color: #030712 !important;
}

.auth-brand-header {
    text-align: center;
    width: 100%;
    margin-bottom: 1.25rem;
}

.auth-brand-title {
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #a855f7 0%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #a855f7;
    margin-bottom: 2px;
    font-family: 'Outfit', 'Inter', sans-serif;
    text-transform: uppercase;
}

.auth-brand-subtitle {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.auth-brand-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.auth-form-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

/* Custom Simple Label and Inputs without icons */
.auth-card .form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.auth-card .form-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    display: block;
    font-weight: 500;
}

.auth-card .form-input {
    background-color: #050b1e !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    padding: 11px 14px !important;
    border-radius: 8px !important;
    font-size: 0.88rem !important;
    width: 100% !important;
    transition: border-color 0.2s;
    height: auto !important;
}

.auth-card .form-input::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

.auth-card .form-input:focus {
    border-color: #9b00e8 !important;
    outline: none;
}

/* Vibrant Purple Auth Buttons */
.auth-btn-purple {
    background-color: #9b00e8 !important;
    color: #ffffff !important;
    padding: 12px 18px !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border: none !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background-color 0.2s, transform 0.1s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.auth-btn-purple:hover {
    background-color: #b5179e !important;
}

.auth-btn-purple:active {
    transform: scale(0.98);
}

.auth-link-forgot {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    display: inline-block;
    margin-top: 4px;
}

.auth-footer-simple {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.auth-footer-simple a {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-left: 5px;
}

/* Verify Email Illustration */
.auth-mailbox-illustration {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.auth-verify-message {
    font-size: 1rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* Profile Details / Logout Screen (Image 5) */
.profile-view-container {
    max-width: 480px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-purple-card {
    background-color: #9b00e8;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 10px 25px rgba(155, 0, 232, 0.35);
}

.profile-avatar-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background-color: transparent;
    overflow: hidden;
}

.profile-avatar-circle svg, .profile-avatar-circle i {
    width: 45px;
    height: 45px;
    color: #ffffff;
}

.profile-card-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: 0.25px;
}

.profile-card-detail {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4px;
}

.profile-buttons-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.profile-btn-outline {
    background-color: #030712 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-transform: capitalize !important;
    cursor: pointer !important;
    transition: background-color 0.2s, border-color 0.2s;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-btn-outline.edit-btn {
    border: 1.5px solid #9b00e8 !important;
    color: #ffffff !important;
}

.profile-btn-outline.edit-btn:hover {
    background-color: rgba(155, 0, 232, 0.1) !important;
}

.profile-btn-outline.logout-btn-card {
    border: 1.5px solid #ef4444 !important;
    color: #ffffff !important;
}

.profile-btn-outline.logout-btn-card:hover {
    background-color: rgba(239, 68, 68, 0.1) !important;
}

.mobile-settings-row-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

.pin-key:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

.pin-key:active {
    background: rgba(255, 255, 255, 0.15) !important;
}

@keyframes scanMove {
    0% {
        top: 0%;
    }
    50% {
        top: 99%;
    }
    100% {
        top: 0%;
    }
}

/* VoIP Dialer Styles */
.dial-key {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 50% !important;
    aspect-ratio: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 10px 0 !important;
    box-sizing: border-box !important;
}

.dial-key:hover {
    background: rgba(168, 85, 247, 0.1) !important;
    border-color: var(--accent-purple) !important;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2) !important;
}

.dial-key:active {
    background: var(--accent-purple) !important;
    color: #000 !important;
}

.dial-key .letters {
    font-size: 8px !important;
    opacity: 0.5 !important;
    text-transform: uppercase !important;
    margin-top: 2px !important;
    font-weight: 500 !important;
    display: block !important;
}

.audio-bar {
    animation: audioBarMove 1.2s infinite ease-in-out alternate;
}

.audio-bar:nth-child(2) { animation-delay: 0.2s; }
.audio-bar:nth-child(3) { animation-delay: 0.4s; }
.audio-bar:nth-child(4) { animation-delay: 0.1s; }
.audio-bar:nth-child(5) { animation-delay: 0.3s; }
.audio-bar:nth-child(6) { animation-delay: 0.5s; }

@keyframes audioBarMove {
    0% { height: 6px; }
    100% { height: 22px; }
}

/* Floating Top-Right App Store & Play Store Download Links */
.auth-wrapper {
    position: relative !important;
}

.downloads-top-bar {
    display: flex !important;
}

@media (max-width: 800px) {
    .downloads-top-bar {
        display: none !important;
    }
}

/* Hide download badges inside native iOS and Android environments */
body.platform-ios .landing-downloads,
body.platform-android .landing-downloads,
body.native-platform .landing-downloads {
    display: none !important;
}

/* Compact Policy Cards and Support Ticket Layouts */

/* Disable sticky hover animations and transforms on mobile touchscreens */
@media (hover: none) {
    .nav-item:hover,
    .stat-card:hover,
    .dashboard-card:hover,
    .quick-action-btn:hover,
    .platform-card:hover,
    .speed-card:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-outline:hover,
    .country-card:hover,
    .service-card:hover,
    .duration-pill:hover,
    .btn-copy:hover,
    .amount-pill:hover,
    .payment-card:hover,
    .number-list-item:hover,
    .btn-sms-link:hover,
    .password-toggle-btn:hover,
    .rental-plan-card:hover,
    .active-lease-card:hover,
    .gift-card-item:hover,
    .denom-pill:hover,
    .btn-gift-purchase:hover,
    .btn-code-copy:hover,
    .gift-card-vault-item:hover,
    .settings-card:hover {
        transform: none !important;
        box-shadow: none !important;
        transition: none !important;
    }
}

/* Height-based adjustments for short desktop displays to fit left sidebar links */
@media (max-height: 850px) {
    .brand {
        margin-bottom: 1.25rem !important;
    }
    .nav-item {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
        gap: 10px !important;
    }
    .sidebar {
        padding: 1rem !important;
    }
    .sidebar-footer {
        padding-top: 1rem !important;
    }
}

/* Premium Plan Card Styling */
.premium-plan-card {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.06) !important;
    background: rgba(255, 255, 255, 0.01) !important;
}
.premium-plan-card * {
    pointer-events: none !important;
}
.premium-plan-card:hover {
    border-color: rgba(168, 85, 247, 0.4) !important;
    background: rgba(168, 85, 247, 0.03) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.1) !important;
}
.premium-plan-card:active {
    transform: translateY(-1px) !important;
}
.premium-plan-card.active {
    border-color: var(--accent-purple) !important;
    background: rgba(168, 85, 247, 0.08) !important;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.15) !important;
}
