/* 
   VISTARA STUDIO CRM PRO - MULTI-CHANNEL E-COMMERCE HUB STYLE SUITE
   Aesthetic: Deep Charcoal Dark-Mode with Glowing Neon Pink, Purple, and Cyan Accents
   Typography: Inter (Clean Sans) & JetBrains Mono (Real-Time Console Font)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --bg-main: #0f172a;        /* Professional Dark Slate-900 */
    --bg-sidebar: #1e293b;     /* Slate-800 */
    --bg-card: rgba(30, 41, 59, 0.75);
    --bg-card-hover: rgba(51, 65, 85, 0.95);
    --bg-header: #0f172a;
    
    /* Professional Blue & Indigo Palettes */
    --neon-pink: #3b82f6;      /* Premium Royal Blue */
    --neon-pink-rgb: 59, 130, 246;
    --neon-purple: #6366f1;    /* Indigo */
    --neon-purple-rgb: 99, 102, 241;
    --neon-cyan: #0ea5e9;      /* Sky Blue */
    --neon-cyan-rgb: 14, 165, 233;
    --neon-green: #10b981;     /* Emerald Success Green */
    --neon-amber: #f59e0b;     /* Warning Amber */
    
    --text-light: #f8fafc;     /* Clear off-white text */
    --text-muted: #94a3b8;     /* Slate Muted */
    --text-dark: #0f172a;      /* Deep Slate */
    
    --border-color: rgba(59, 130, 246, 0.15);
    --border-hover: rgba(14, 165, 233, 0.35);
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.15s ease;
    
    --neon-glow-pink: none;    /* Stripped all neon glowing shadows */
    --neon-glow-cyan: none;
    --neon-glow-purple: none;
    --shadow-premium: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

body.light-theme {
    --bg-main: #f8fafc;        /* Professional Soft Slate-50 Light Background */
    --bg-sidebar: #0f172a;     /* Dark Slate Sidebar remains dark for professional contrast */
    --bg-card: #ffffff;        /* Crisp White Cards */
    --bg-card-hover: #f1f5f9;  /* Light Slate Hover */
    --bg-header: #ffffff;
    
    --neon-pink: #2563eb;      /* Corporate Blue */
    --neon-pink-rgb: 37, 99, 235;
    --neon-purple: #4f46e5;    /* Indigo */
    --neon-purple-rgb: 79, 70, 229;
    --neon-cyan: #0284c7;      /* Sky Blue */
    --neon-cyan-rgb: 2, 132, 199;
    --neon-green: #059669;     /* Deep Emerald Success */
    --neon-amber: #d97706;     /* Dark Amber */
    
    --text-light: #0f172a;     /* Clean dark slate text */
    --text-muted: #475569;     /* Slate-600 Muted */
    --text-dark: #f8fafc;
    
    --border-color: #e2e8f0;   /* Clean light border lines */
    --border-hover: #cbd5e1;
    
    --neon-glow-pink: none;
    --neon-glow-cyan: none;
    --neon-glow-purple: none;
    --shadow-premium: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* --- RESET & BASICS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    display: flex;
    min-height: 100vh;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
    color: inherit;
}

/* Scrollbar Customizer */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-pink);
}

/* --- CORE APP GRID LAYOUT --- */
.app-container {
    display: flex;
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
}

/* --- SIDEBAR PANEL --- */
.sidebar {
    width: 280px;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 100;
    position: relative;
}

.sidebar::after {
    display: none;
}

.sidebar-header {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 30px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-glow-dot {
    width: 10px;
    height: 10px;
    background: var(--neon-pink);
    border-radius: 50%;
}

.sidebar-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-light);
    text-transform: uppercase;
}

.sidebar-menu {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.sidebar-item svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.sidebar-item:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.02);
}

.sidebar-item:hover svg {
    color: var(--neon-cyan);
}

.sidebar-item.active {
    color: var(--text-light);
    background: rgba(59, 130, 246, 0.08);
    border-left: 3px solid var(--neon-pink);
}

.sidebar-item.active svg {
    color: var(--neon-pink);
}

.sidebar-footer {
    padding: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* --- MAIN WORKSPACE PANEL --- */
.main-workspace {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
    position: relative;
}

/* Disabled neon glow balls */
.main-workspace::before {
    display: none;
}

.main-workspace::after {
    display: none;
}

/* --- TOP DOCK BAR --- */
.topbar {
    height: 80px;
    border-bottom: 1px solid var(--border-color);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(6, 6, 10, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 90;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
}

.topbar-badge {
    background: rgba(0, 240, 255, 0.08);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    box-shadow: var(--neon-glow-cyan);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.system-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-light);
}

.user-info h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
}

.user-info p {
    font-size: 0.65rem;
    color: var(--neon-pink);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* --- DASHBOARD WRAPPER CONTENT --- */
.content-wrapper {
    padding: 40px;
    flex: 1;
    display: none; /* Controlled via JS */
    animation: fadeInTab 0.4s ease;
}

.content-wrapper.active {
    display: block;
}

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

/* --- METRICS ROW PANEL --- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
    opacity: 0.4;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 30px rgba(0, 240, 255, 0.04);
}

.metric-icon-box {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.metric-card:hover .metric-icon-box {
    color: var(--neon-cyan);
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: var(--neon-glow-cyan);
}

.metric-card h3 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -1px;
}

.metric-trend {
    margin-top: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trend-up {
    color: var(--neon-green);
}
.trend-down {
    color: var(--neon-pink);
}

/* --- PRIMARY CONTENT DOCK GRIDS --- */
.content-grid-2col {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.content-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px;
    box-shadow: var(--shadow-premium);
    position: relative;
}

.dashboard-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-card-title span.title-pill {
    background: rgba(255, 0, 127, 0.08);
    border: 1px solid rgba(255, 0, 127, 0.15);
    color: var(--neon-pink);
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 2px;
    letter-spacing: 1px;
    box-shadow: var(--neon-glow-pink);
}

/* --- CHANNEL PROGRESS MATRIX --- */
.channel-revenue-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.channel-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.channel-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
}

.channel-label {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.dot-amazon { background-color: var(--neon-pink); box-shadow: 0 0 8px var(--neon-pink); }
.dot-flipkart { background-color: var(--neon-cyan); box-shadow: 0 0 8px var(--neon-cyan); }
.dot-meesho { background-color: var(--neon-purple); box-shadow: 0 0 8px var(--neon-purple); }
.dot-zepto { background-color: var(--neon-amber); box-shadow: 0 0 8px var(--neon-amber); }
.dot-blinkit { background-color: var(--neon-green); box-shadow: 0 0 8px var(--neon-green); }
.dot-bigbasket { background-color: #9c27b0; box-shadow: 0 0 8px #9c27b0; }

.channel-value {
    color: var(--text-light);
}

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

.progress-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 3px;
    width: 0; /* Animated dynamically */
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fill-amazon { background: linear-gradient(90deg, #ff007f, #ec407a); }
.fill-flipkart { background: linear-gradient(90deg, #00f0ff, #29b6f6); }
.fill-meesho { background: linear-gradient(90deg, #9b59b6, #ab47bc); }
.fill-zepto { background: linear-gradient(90deg, #ffaa00, #ffca28); }
.fill-blinkit { background: linear-gradient(90deg, #39ff14, #66bb6a); }
.fill-bigbasket { background: linear-gradient(90deg, #9c27b0, #ba68c8); }

/* --- ORDER SHARE BREAKDOWN (Visual Rings) --- */
.distribution-graph-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.donut-chart-mock {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: conic-gradient(
        var(--neon-pink) 0% 35%,
        var(--neon-cyan) 35% 60%,
        var(--neon-purple) 60% 75%,
        var(--neon-amber) 75% 88%,
        var(--neon-green) 88% 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8), var(--neon-glow-pink);
    margin-bottom: 25px;
}

.donut-inner-card {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: var(--bg-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.donut-inner-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-light);
}

.donut-inner-card p {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.distribution-legends {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.legend-square {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

/* --- LIVE REAL-TIME EVENT STREAM LOG --- */
.event-stream-container {
    height: 250px;
    background-color: rgba(2, 2, 4, 0.7);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    overflow-y: auto;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.9);
}

.event-line {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
    word-break: break-all;
}

.event-timestamp {
    color: var(--neon-cyan);
    flex-shrink: 0;
}

.event-tag {
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 2px;
    flex-shrink: 0;
}

.tag-amazon { background: rgba(255, 0, 127, 0.12); color: var(--neon-pink); border: 1px solid rgba(255, 0, 127, 0.2); }
.tag-blinkit { background: rgba(57, 255, 20, 0.12); color: var(--neon-green); border: 1px solid rgba(57, 255, 20, 0.2); }
.tag-zepto { background: rgba(255, 170, 0, 0.12); color: var(--neon-amber); border: 1px solid rgba(255, 170, 0, 0.2); }
.tag-system { background: rgba(0, 240, 255, 0.12); color: var(--neon-cyan); border: 1px solid rgba(0, 240, 255, 0.2); }

.event-message {
    color: #b0c4de;
}

/* --- CRM SANDBOX CONTROL PANEL --- */
.sandbox-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 35px;
}

.sandbox-form-column {
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed rgba(255, 0, 127, 0.25);
    padding: 30px;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.form-input, .form-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    font-size: 0.85rem;
    color: var(--text-light);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus {
    border-color: var(--neon-cyan);
    box-shadow: var(--neon-glow-cyan);
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* --- PREMIUM TABLE STYLING --- */
.table-panel-wrapper {
    overflow-x: auto;
    width: 100%;
}

.crm-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.crm-table th, .crm-table td {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.crm-table th {
    background: rgba(255, 255, 255, 0.01);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.7rem;
    color: var(--neon-cyan);
}

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

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

/* --- BUTTON MATRIX SYSTEM --- */
.btn-neon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-smooth);
    border: none;
}

.btn-neon-pink {
    background-color: var(--neon-pink); /* Primary Blue */
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.btn-neon-pink:hover {
    background-color: #1d4ed8; /* Darker blue */
    color: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

.btn-neon-cyan {
    background-color: var(--neon-purple); /* Indigo */
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.btn-neon-cyan:hover {
    background-color: #4338ca; /* Darker indigo */
    color: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

.btn-neon-sm {
    padding: 8px 16px;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* --- FULFILLMENT MATRIX PANEL --- */
.fulfillment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fulfillment-card {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 20px 25px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fulfillment-info h5 {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.fulfillment-number {
    font-size: 1.8rem;
    font-weight: 800;
}

.fulfillment-status-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-pending { background-color: rgba(255, 170, 0, 0.08); color: var(--neon-amber); }
.bg-transit { background-color: rgba(0, 240, 255, 0.08); color: var(--neon-cyan); }
.bg-delivered { background-color: rgba(57, 255, 20, 0.08); color: var(--neon-green); }

/* --- WAREHOUSE CRITICAL ALERTS --- */
.stock-warning-row {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 0, 127, 0.03);
    border: 1px solid rgba(255, 0, 127, 0.15);
    padding: 14px 20px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.stock-warning-row.resolved {
    background: rgba(57, 255, 20, 0.03);
    border-color: rgba(57, 255, 20, 0.15);
}

.warning-icon {
    color: var(--neon-pink);
    flex-shrink: 0;
}

.stock-warning-row.resolved .warning-icon {
    color: var(--neon-green);
}

.warning-details {
    flex: 1;
}

.warning-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
}

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

/* --- PPT DECK GENERATOR LAYOUT WORKSPACE --- */
.ppt-workspace-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: start;
}

.ppt-view-frame {
    background: #020204;
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 25px;
    box-shadow: var(--shadow-premium), var(--neon-glow-cyan);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Presentation Widescreen 16:9 box */
.ppt-slide-canvas {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: radial-gradient(circle, #1a1a2e 0%, #0c0c16 100%);
    border: 2px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.9);
}

/* Neon accents on PPT Slide itself */
.ppt-slide-canvas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
}

.slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.slide-logo-tag {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--neon-pink);
    letter-spacing: 2px;
}

.slide-title-box h2 {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.2;
}

.slide-title-box h2 span {
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-body-box {
    flex: 1;
    margin: 25px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.slide-body-box p {
    margin-bottom: 12px;
}

.slide-bullet {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: #d1d1e0;
}

.slide-bullet::before {
    content: '■';
    color: var(--neon-cyan);
    font-size: 0.6rem;
}

.slide-footer-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- PREMIUM PPT SLIDE LAYOUTS --- */
.slide-cover-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    width: 100%;
    padding: 20px 40px;
    animation: fadeIn 0.5s ease;
}

.slide-cover-layout h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.25;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-cover-layout p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 80%;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.slide-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    height: 100%;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.slide-split-left {
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid var(--neon-pink);
    padding: 25px;
    border-radius: 4px;
    font-size: 1rem;
    color: #e2e8f0;
    line-height: 1.6;
    box-shadow: inset 5px 0 15px rgba(255, 0, 127, 0.01);
}

.slide-split-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slide-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.slide-feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 6px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.slide-feature-card:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.02);
}

.slide-card-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.2));
}

.slide-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-card-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.slide-metrics-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.slide-metric-box {
    background: rgba(0, 240, 255, 0.02);
    border: 1px solid rgba(0, 240, 255, 0.12);
    padding: 25px;
    border-radius: 6px;
    text-align: center;
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slide-metric-box:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.04), var(--neon-glow-cyan);
}

.slide-metric-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.slide-metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-metric-trend-badge {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--neon-green);
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.15);
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 8px;
    font-weight: 700;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* --- IMAGEN 3 GENERATED PHOTO LAYOUTS --- */
.slide-cover-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.22) blur(3px);
    z-index: 0;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.slide-bullets-layout-with-image {
    display: flex;
    gap: 30px;
    height: 100%;
    width: 100%;
    align-items: center;
    animation: fadeIn 0.5s ease;
    position: relative;
    z-index: 2;
}

.slide-bullets-layout-with-image .bullets-column {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.slide-image-card {
    flex: 0.8;
    height: 100%;
    min-height: 180px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), inset 0 0 15px rgba(255,255,255,0.02);
    transition: var(--transition-smooth);
}

.slide-image-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.04), var(--neon-glow-cyan);
}

.slide-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.slide-image-card img:hover {
    opacity: 1;
    transform: scale(1.03);
}

.slide-image-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 0, 127, 0.05) 25%, rgba(0, 240, 255, 0.06) 50%, rgba(255, 0, 127, 0.05) 75%);
    background-size: 200% 100%;
    animation: shimmerLoading 1.8s infinite linear;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

@keyframes shimmerLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.slide-nav-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slide-indicators-grid {
    display: flex;
    gap: 8px;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    cursor: pointer;
    transition: var(--transition-fast);
}

.indicator-dot.active {
    background-color: var(--neon-cyan);
    box-shadow: var(--neon-glow-cyan);
    width: 20px;
    border-radius: 4px;
}

/* Edit Slide Form Panel */
.slide-editor-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 20px;
}

/* --- MOCK APIs GATEWAY Badges --- */
.channel-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    font-weight: 600;
}

.channel-pill.active {
    border-color: rgba(0, 240, 255, 0.25);
    background: rgba(0, 240, 255, 0.04);
}

/* --- HIGH-END MULTI-PAGE PRINT STYLESHEET OVERRIDES --- */
@media screen {
    .print-only-deck {
        display: none !important;
    }
}

@media print {
    /* Hide all screen interface elements */
    html, body, .app-container, .sidebar, .main-workspace, .topbar, .content-wrapper, .floating-actions, .slide-editor-fields, .slide-nav-controls {
        display: none !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    /* Ensure the print container spans full width and height */
    .print-only-deck {
        display: block !important;
        width: 100% !important;
        background: #06060a !important;
    }

    .print-slide {
        width: 100vw !important;
        height: 56.25vw !important; /* Forces perfect 16:9 aspect ratio */
        page-break-after: always !important;
        box-sizing: border-box !important;
        position: relative !important;
        padding: 5% 7% !important;
        background: radial-gradient(circle at center, #16162a 0%, #08080f 100%) !important;
        border-top: 5px solid #ff007f !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        margin: 0 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    
    .print-slide-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding-bottom: 2% !important;
        font-family: 'Inter', sans-serif !important;
    }

    .print-logo-tag {
        font-size: 1.25rem !important;
        font-weight: 800 !important;
        color: #ff007f !important;
        letter-spacing: 2px !important;
    }

    .print-slide-title h2 {
        font-family: 'Inter', sans-serif !important;
        font-size: 3.5rem !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        margin-top: 4% !important;
        margin-bottom: 3% !important;
        line-height: 1.25 !important;
    }

    .print-slide-title h2 span {
        background: linear-gradient(45deg, #ff007f, #00f0ff) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        color: #00f0ff !important;
    }

    .print-slide-body {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 15px !important;
        margin-bottom: 4% !important;
    }

    .print-bullet {
        font-size: 1.8rem !important;
        color: #d1d1e0 !important;
        line-height: 1.6 !important;
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .print-bullet::before {
        content: '■' !important;
        color: #00f0ff !important;
        font-size: 1.2rem !important;
    }

    .print-slide-footer {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        font-size: 1rem !important;
        color: rgba(255, 255, 255, 0.3) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
        padding-top: 2% !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        font-family: 'Inter', sans-serif !important;
    }

    /* Force background graphics in chrome/safari */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* ==========================================================================
   VISTARA PREMIUM GLASSMORPHIC AUTHENTICATION & CLIENT PORTAL STYLE SUITE
   ========================================================================== */

/* Ambient Lighting Orbs */
.auth-ambient-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    background: #040408;
}

.ambient-orb {
    position: absolute;
    width: 45vw;
    height: 45vw;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    animation: drift 25s infinite alternate ease-in-out;
}

.orb-fuchsia {
    background: radial-gradient(circle, var(--neon-pink) 0%, rgba(255, 0, 127, 0) 70%);
    top: -10%;
    left: -10%;
}

.orb-cyan {
    background: radial-gradient(circle, var(--neon-cyan) 0%, rgba(0, 240, 255, 0) 70%);
    bottom: -15%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(5%, 8%) scale(1.1) rotate(180deg);
    }
    100% {
        transform: translate(-3%, -5%) scale(0.9) rotate(360deg);
    }
}

/* Premium Login Wrapper overrides */
.admin-body {
    background-color: #040408 !important;
    overflow-x: hidden;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 30px 15px;
    background: transparent !important;
}

.auth-card {
    background: rgba(10, 10, 18, 0.45) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 0, 127, 0.15) !important;
    width: 100%;
    max-width: 480px;
    padding: 40px 35px !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.8), 
                0 0 40px rgba(255, 0, 127, 0.05),
                inset 0 0 20px rgba(255, 255, 255, 0.02) !important;
    position: relative;
    overflow: hidden;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.auth-card.prof-active {
    border-color: rgba(0, 240, 255, 0.18) !important;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.8), 
                0 0 40px rgba(0, 240, 255, 0.05),
                inset 0 0 20px rgba(255, 255, 255, 0.02) !important;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    z-index: 2;
}

/* Auth Header Logos */
.auth-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    text-align: center;
}

.auth-logo-section svg {
    width: 42px;
    height: 42px;
    color: var(--neon-pink);
    filter: drop-shadow(0 0 8px rgba(255, 0, 127, 0.5));
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.auth-card.prof-active .auth-logo-section svg {
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
}

.auth-logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
}

.auth-logo-text span {
    font-weight: 300;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Capsule Main Tab Switcher */
.capsule-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 30px;
    margin-bottom: 30px;
    position: relative;
}

.capsule-tab-btn {
    flex: 1;
    padding: 12px 10px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    cursor: pointer;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.capsule-tab-btn.active {
    color: #ffffff;
}

.capsule-tab-slider {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background: linear-gradient(135deg, rgba(255, 0, 127, 0.25) 0%, rgba(255, 0, 127, 0.05) 100%);
    border: 1px solid rgba(255, 0, 127, 0.3);
    border-radius: 25px;
    z-index: 1;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, border-color 0.4s ease;
}

.auth-card.prof-active .capsule-tab-slider.slider-signup {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.25) 0%, rgba(0, 240, 255, 0.05) 100%);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

/* Signup Form Sub-Pill Toggle */
.signup-type-container {
    margin-bottom: 25px;
}

.signup-pill-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 3px;
    border-radius: 12px;
    position: relative;
}

.pill-btn {
    flex: 1;
    padding: 10px 5px;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.pill-btn.active {
    color: #ffffff;
}

.pill-slider {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc(50% - 3px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-btn.active[data-type="client"] ~ .pill-slider {
    transform: translateX(0);
}

.pill-btn.active[data-type="professional"] ~ .pill-slider {
    transform: translateX(100%);
}

/* Form transition groups */
.auth-form-view {
    display: none;
    animation: authFadeIn 0.5s ease forwards;
}

.auth-form-view.active {
    display: block;
}

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

/* Floating labels in form inputs */
.floating-form-group {
    position: relative;
    margin-bottom: 22px;
}

.floating-form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    font-size: 0.9rem;
    border-radius: 10px;
    outline: none;
    transition: var(--transition-smooth);
}

.floating-form-input:focus {
    border-color: rgba(255, 0, 127, 0.5) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.08);
}

.auth-card.prof-active .floating-form-input:focus {
    border-color: rgba(0, 240, 255, 0.5) !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.08);
}

.floating-form-label {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    transition: var(--transition-smooth);
    background: transparent;
}

.floating-form-input:focus ~ .floating-form-label,
.floating-form-input:not(:placeholder-shown) ~ .floating-form-label {
    top: 0;
    font-size: 0.75rem;
    color: var(--neon-pink);
    padding: 0 6px;
    background: #090911;
    transform: translateY(-50%);
}

.auth-card.prof-active .floating-form-input:focus ~ .floating-form-label,
.auth-card.prof-active .floating-form-input:not(:placeholder-shown) ~ .floating-form-label {
    color: var(--neon-cyan);
}

/* Password Toggle Icon */
.password-toggle-eye {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle-eye:hover {
    color: #ffffff;
}

/* Premium glowing action buttons */
.auth-btn-primary {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--neon-pink), #bf00ff);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(255, 0, 127, 0.25);
    border: none;
    outline: none;
}

.auth-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 0, 127, 0.4);
    filter: brightness(1.1);
}

.auth-card.prof-active .auth-btn-primary {
    background: linear-gradient(90deg, var(--neon-cyan), #0088ff);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.25);
}

.auth-card.prof-active .auth-btn-primary:hover {
    box-shadow: 0 12px 30px rgba(0, 240, 255, 0.4);
}

/* Social Login Divider */
.social-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-divider::before, .social-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.social-divider:not(:empty)::before {
    margin-right: .5em;
}

.social-divider:not(:empty)::after {
    margin-left: .5em;
}

/* Google Sign-in Buttons */
.google-auth-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.google-auth-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.google-icon-svg {
    width: 18px;
    height: 18px;
}

/* Custom Role Select Dropdown in Professional form */
.floating-form-select-wrapper {
    position: relative;
}

.floating-form-select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(10, 10, 18, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    font-size: 0.9rem;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: var(--transition-smooth);
}

.floating-form-select:focus {
    border-color: rgba(0, 240, 255, 0.5) !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.08);
}

.floating-form-select option {
    background: #0a0a14 !important;
    color: #ffffff;
    padding: 12px;
}

.floating-form-select-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(0, 240, 255, 0.8);
    font-size: 0.8rem;
}

/* Elegant Glowing Notification Toasts */
.auth-notification {
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: none;
    align-items: center;
    gap: 12px;
    animation: authFadeIn 0.3s ease forwards;
}

.auth-notification-success {
    background: rgba(46, 204, 113, 0.08);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.05);
}

.auth-notification-error {
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.05);
}

/* ==========================================================================
   MOCK GOOGLE ACCOUNT CHOOSER MODAL
   ========================================================================== */
.google-mock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 2, 5, 0.85);
    backdrop-filter: blur(10px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.google-mock-overlay.active {
    opacity: 1;
}

.google-mock-card {
    background: #ffffff;
    color: #202124;
    width: 90%;
    max-width: 440px;
    border-radius: 8px;
    padding: 36px 40px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.google-mock-overlay.active .google-mock-card {
    transform: scale(1);
}

.google-mock-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    text-align: center;
}

.google-mock-logo {
    height: 24px;
    margin-bottom: 16px;
}

.google-mock-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #202124;
    margin-bottom: 8px;
}

.google-mock-subtitle {
    font-size: 0.95rem;
    color: #5f6368;
    line-height: 1.4;
}

.google-accounts-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #dadce0;
    border-bottom: 1px solid #dadce0;
    margin-bottom: 20px;
}

.google-account-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    cursor: pointer;
    border-bottom: 1px solid #f1f3f4;
    transition: background 0.15s ease;
}

.google-account-item:last-child {
    border-bottom: none;
}

.google-account-item:hover {
    background: #f8f9fa;
    margin: 0 -40px;
    padding: 14px 40px;
}

.google-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--neon-pink);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.avatar-blue {
    background: #1a73e8;
}

.avatar-green {
    background: #1e8e3e;
}

.avatar-orange {
    background: #e37400;
}

.google-account-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.google-account-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #3c4043;
}

.google-account-email {
    font-size: 0.75rem;
    color: #5f6368;
    margin-top: 2px;
}

.google-mock-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #5f6368;
    margin-top: 20px;
}

.google-mock-footer a {
    color: #1a73e8;
    font-weight: 500;
    text-decoration: none;
}

.google-mock-footer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   CLIENT PORTAL DASHBOARD STYLES
   ========================================================================== */
.client-portal-dashboard {
    padding: 40px 0;
    display: none;
    animation: authFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.client-portal-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 35px;
    align-items: start;
    margin-top: 30px;
}

@media (max-width: 991px) {
    .client-portal-grid {
        grid-template-columns: 1fr;
    }
}

/* Glowing client stats widgets */
.client-hero-card {
    background: linear-gradient(135deg, rgba(255, 0, 127, 0.05) 0%, rgba(16, 16, 26, 0.6) 100%);
    border: 1px solid rgba(255, 0, 127, 0.15);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
}

.client-hero-card::after {
    content: '';
    position: absolute;
    right: -5%;
    top: -20%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.08) 0%, rgba(255, 0, 127, 0) 70%);
    pointer-events: none;
}

.client-hero-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.client-hero-title span {
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.client-hero-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Progress Stepper */
.progress-stepper-card {
    background: rgba(16, 16, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: var(--shadow-premium);
}

.stepper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.stepper-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stepper-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--neon-pink);
    border-radius: 2px;
}

.stepper-badge {
    padding: 5px 12px;
    background: rgba(255, 0, 127, 0.1);
    border: 1px solid rgba(255, 0, 127, 0.3);
    color: var(--neon-pink);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-stepper-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0 10px;
}

.progress-stepper-line-bg {
    position: absolute;
    top: 38px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
    border-radius: 2px;
}

.progress-stepper-line-fill {
    position: absolute;
    top: 38px;
    left: 40px;
    width: 50%; /* active client stage progress percent */
    height: 4px;
    background: var(--neon-pink); /* Corporate Blue */
    z-index: 2;
    border-radius: 2px;
    box-shadow: none;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.stepper-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    flex: 1;
    text-align: center;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0f0f18;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.stepper-node.completed .step-circle {
    background: var(--neon-pink); /* Corporate Blue */
    border-color: var(--neon-pink);
    color: #ffffff;
    box-shadow: none;
}

.stepper-node.active .step-circle {
    background: #0f0f18;
    border-color: var(--neon-purple); /* Indigo */
    color: var(--text-light);
    box-shadow: none;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.stepper-node.completed .step-label,
.stepper-node.active .step-label {
    color: #ffffff;
}

.step-eta {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Assigned Designer profile card */
.client-sidebar-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.designer-profile-card {
    background: rgba(16, 16, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-premium);
    text-align: center;
    position: relative;
}

.designer-avatar-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
}

.designer-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.25);
}

.designer-status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2ecc71;
    border: 2px solid #0f0f18;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.6);
}

.designer-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.designer-title {
    font-size: 0.8rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

.designer-meta-row {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    margin-bottom: 20px;
}

.designer-meta-item {
    display: flex;
    flex-direction: column;
}

.designer-meta-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.designer-meta-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 3px;
}

.whatsapp-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #ffffff;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
    transition: var(--transition-smooth);
}

.whatsapp-chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    filter: brightness(1.05);
}

.whatsapp-icon {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

/* Luxury 3D design render previews */
.renders-showcase-card {
    background: rgba(16, 16, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: var(--shadow-premium);
}

.renders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 576px) {
    .renders-grid {
        grid-template-columns: 1fr;
    }
}

.render-item-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.render-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.render-item-wrapper:hover .render-img {
    transform: scale(1.06);
}

.render-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(2,2,4,0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    opacity: 0.9;
}

.render-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.render-tag {
    font-size: 0.7rem;
    color: var(--neon-cyan);
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Client active quotation card */
.quotes-invoice-card {
    background: rgba(16, 16, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow-premium);
}

.quote-amount-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 240, 255, 0.03);
    border: 1px dashed rgba(0, 240, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0 25px;
}

.quote-val {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.quote-table {
    width: 100%;
    border-collapse: collapse;
}

.quote-table th, .quote-table td {
    padding: 12px 15px;
    text-align: left;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.quote-table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-table td {
    color: #ffffff;
}

/* ==========================================================================
   VISTARA & SS HOMES CORPORATE CRM UPGRADE STYLE SUITE
   ========================================================================== */

/* --- LIGHT MODE COMPILER --- */
body.light-theme {
    --bg-main: #f0f2f5;
    --bg-sidebar: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --bg-header: #ffffff;
    
    --text-light: #1e293b;
    --text-muted: #64748b;
    
    --border-color: rgba(255, 0, 127, 0.08);
    --border-hover: rgba(0, 240, 255, 0.28);
    
    --neon-glow-pink: 0 4px 12px rgba(255, 0, 127, 0.12);
    --neon-glow-cyan: 0 4px 12px rgba(0, 240, 255, 0.12);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.04);
}

body.light-theme .sidebar {
    background-color: var(--bg-sidebar);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-theme .sidebar::after {
    display: none;
}

body.light-theme .sidebar-logo-text {
    background: linear-gradient(45deg, #cc0066 0%, #0099aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

body.light-theme .sidebar-item.active {
    background: rgba(255, 0, 127, 0.06);
    color: var(--neon-pink);
    border-left: 3px solid var(--neon-pink);
}

body.light-theme .sidebar-item svg {
    color: #64748b;
}

body.light-theme .sidebar-item.active svg {
    color: var(--neon-pink);
}

body.light-theme .topbar {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

body.light-theme .topbar-title {
    color: #1e293b;
}

body.light-theme .topbar-badge {
    background: rgba(0, 153, 170, 0.1);
    color: #0099aa;
    border-color: rgba(0, 153, 170, 0.2);
}

body.light-theme .system-status {
    background: rgba(0, 0, 0, 0.02);
    color: #475569;
    border-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .user-avatar {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
    color: #ffffff;
}

body.light-theme .user-info h4 {
    color: #1e293b;
}

body.light-theme .user-info p {
    color: #64748b;
}

body.light-theme .metric-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

body.light-theme .metric-card h3 {
    color: #64748b;
}

body.light-theme .metric-card .metric-value {
    color: #0f172a;
}

body.light-theme .dashboard-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

body.light-theme .dashboard-card-title {
    color: #0f172a;
    border-bottom-color: rgba(0, 0, 0, 0.04);
}

body.light-theme .crm-table th {
    background: #f8fafc;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

body.light-theme .crm-table td {
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

body.light-theme .form-label {
    color: #475569;
}

body.light-theme .form-input, body.light-theme .form-select {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}

body.light-theme .form-input:focus, body.light-theme .form-select:focus {
    border-color: var(--neon-pink) !important;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.1);
}

body.light-theme .quote-val {
    color: #0099aa;
    text-shadow: none;
}

body.light-theme .quote-table td {
    color: #334155;
}

body.light-theme .quote-amount-panel {
    background: rgba(0, 240, 255, 0.04);
    border-color: rgba(0, 240, 255, 0.2);
}

body.light-theme .kanban-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

body.light-theme .kanban-card-title {
    color: #1e293b;
}

body.light-theme .kanban-column {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.04);
}

/* --- TOPBAR WIDGETS --- */
.topbar-search-wrapper {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.topbar-search-input {
    width: 100%;
    padding: 10px 16px 10px 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-fast);
}

body.light-theme .topbar-search-input {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

.topbar-search-input:focus {
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.15);
}

.topbar-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.header-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

body.light-theme .header-action-btn {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #475569;
}

.header-action-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
}

.header-btn-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--neon-pink);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(255,0,127,0.5);
}

.quick-add-btn {
    padding: 8px 18px;
    border-radius: 20px;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-cyan));
    color: #000000;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.2);
    transition: var(--transition-fast);
}

.quick-add-btn:hover {
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.3);
}

/* Notification panel drop-down overlay */
.notifications-dropdown {
    position: absolute;
    top: 90px;
    right: 230px;
    width: 320px;
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 0, 127, 0.15);
    border-radius: 12px;
    box-shadow: var(--shadow-premium);
    z-index: 2000;
    padding: 20px;
    display: none;
    animation: authFadeIn 0.3s ease;
}

body.light-theme .notifications-dropdown {
    background: #ffffff;
    border-color: #e2e8f0;
}

.notifications-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.light-theme .notifications-title {
    color: #1e293b;
}

.notification-item {
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

body.light-theme .notification-item {
    border-bottom-color: #f1f5f9;
}

.notification-item-icon {
    font-size: 1.1rem;
}

.notification-item-text {
    flex: 1;
}

.notification-item-time {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.25);
    margin-top: 4px;
}

body.light-theme .notification-item-time {
    color: #94a3b8;
}

/* ==========================================================================
   DRAG AND DROP KANBAN BOARD SYSTEM
   ========================================================================== */
.kanban-view-container {
    display: none;
    animation: authFadeIn 0.4s ease;
}

.kanban-view-container.active {
    display: block;
}

.kanban-board-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    align-items: start;
    margin-top: 25px;
    overflow-x: auto;
    padding-bottom: 15px;
}

.kanban-column {
    background: rgba(16, 16, 26, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 15px 12px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition-fast);
}

.kanban-column.drag-over {
    background: rgba(255, 0, 127, 0.04);
    border-color: rgba(255, 0, 127, 0.2);
}

.kanban-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
    margin-bottom: 8px;
}

body.light-theme .kanban-column-header {
    border-bottom-color: #f1f5f9;
}

.kanban-column-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.light-theme .kanban-column-title {
    color: #1e293b;
}

.kanban-count-pill {
    padding: 2px 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.kanban-cards-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 400px;
}

.kanban-card {
    background: rgba(10, 10, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    cursor: grab;
    transition: var(--transition-fast);
    position: relative;
    user-select: none;
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card.dragging {
    opacity: 0.4;
    transform: scale(0.96);
    border-color: var(--neon-pink);
    box-shadow: var(--shadow-premium);
}

.kanban-card-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--neon-cyan);
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 6px;
}

.kanban-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.kanban-card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.03);
    padding-top: 8px;
}

body.light-theme .kanban-card-meta {
    border-top-color: #f1f5f9;
}

.priority-badge {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.priority-high { background: rgba(231,76,60,0.1); color: #e74c3c; }
.priority-med { background: rgba(241,196,15,0.1); color: #f1c40f; }
.priority-low { background: rgba(46,204,113,0.1); color: #2ecc71; }

/* Filter Bar controls styles */
.filter-bar-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    align-items: center;
}

body.light-theme .filter-bar-wrapper {
    background: #ffffff;
    border-color: #e2e8f0;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 150px;
}

/* ==========================================================================
   CUSTOMER PROFILE PAGES DYNAMIC OVERLAYS
   ========================================================================== */
.profile-details-grid {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 991px) {
    .profile-details-grid {
        grid-template-columns: 1fr;
    }
}

.profile-card-left {
    background: rgba(16, 16, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
}

body.light-theme .profile-card-left {
    background: #ffffff;
    border-color: #e2e8f0;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.2);
}

.profile-name-large {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

body.light-theme .profile-name-large {
    color: #1e293b;
}

.profile-label-muted {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.profile-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

body.light-theme .profile-quick-actions {
    border-top-color: #f1f5f9;
}

.tab-subnavigation {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3px;
    border-radius: 8px;
    margin-bottom: 25px;
    overflow-x: auto;
}

body.light-theme .tab-subnavigation {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.tab-sub-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-sub-btn.active {
    background: var(--bg-card);
    color: #ffffff;
    box-shadow: var(--shadow-premium);
}

body.light-theme .tab-sub-btn.active {
    background: #ffffff;
    color: #0f172a;
}

.profile-tab-content-view {
    display: none;
    animation: authFadeIn 0.3s ease;
}

.profile-tab-content-view.active {
    display: block;
}

/* Notes checklist panel */
.notes-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.note-item {
    background: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 15px;
}

body.light-theme .note-item {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.note-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.note-content {
    font-size: 0.85rem;
    color: #ffffff;
    line-height: 1.5;
}

body.light-theme .note-content {
    color: #334155;
}

/* ==========================================================================
   MOCK GENERATOR INVOICE & SIGNATURE CANVAS
   ========================================================================== */
.invoice-print-frame {
    background: #ffffff;
    color: #202124;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #dadce0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    color: #333333;
}

.invoice-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--neon-pink);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.invoice-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--neon-pink);
}

.invoice-meta-col {
    text-align: right;
    font-size: 0.85rem;
    line-height: 1.5;
}

.invoice-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
    font-size: 0.85rem;
}

.invoice-detail-title {
    font-weight: 700;
    text-transform: uppercase;
    color: #7a7a7a;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.invoice-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    font-size: 0.85rem;
}

.invoice-items-table th, .invoice-items-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eaeaea;
    text-align: left;
}

.invoice-items-table th {
    background: #f8f9fa;
    font-weight: 700;
}

.invoice-totals-col {
    width: 300px;
    margin-left: auto;
    margin-bottom: 30px;
    font-size: 0.85rem;
}

.invoice-totals-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.invoice-signature-pad-wrapper {
    border-top: 1px solid #cbd5e1;
    padding-top: 20px;
    margin-top: 45px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.signature-canvas-container {
    width: 250px;
    height: 100px;
    border: 1px dashed var(--neon-pink);
    background: #f8fafc;
    border-radius: 4px;
    position: relative;
}

.signature-canvas {
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.signature-label {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    margin-top: 6px;
}

/* ==========================================================================
   MOBILE ACTION DOCK & OVERLAYS
   ========================================================================== */
.mobile-action-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 0, 127, 0.15);
    height: 70px;
    z-index: 4000;
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.5);
}

body.light-theme .mobile-action-dock {
    background: #ffffff;
    border-top-color: #cbd5e1;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.05);
}

.mobile-dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    flex: 1;
}

.mobile-dock-item.active {
    color: var(--neon-pink);
}

.mobile-dock-item svg {
    width: 20px;
    height: 20px;
}

/* Quick Action floating overlays */
.mobile-quick-action-widget {
    display: flex;
    gap: 8px;
}

.mobile-float-bubble {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.mobile-float-bubble:hover {
    transform: scale(1.1);
}

.bubble-call { background: #1a73e8; }
.bubble-whatsapp { background: #25d366; }

/* Interactive voice recorder simulator popup */
.voice-recorder-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 2, 5, 0.85);
    backdrop-filter: blur(8px);
    z-index: 6000;
    display: none;
    align-items: center;
    justify-content: center;
}

.voice-recorder-card {
    background: rgba(16, 16, 26, 0.95);
    border: 1px solid rgba(255, 0, 127, 0.2);
    width: 90%;
    max-width: 380px;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-premium);
}

body.light-theme .voice-recorder-card {
    background: #ffffff;
    border-color: #cbd5e1;
}

.voice-recording-pulsar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    border: 3px solid var(--neon-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.voice-recording-pulsar.recording {
    animation: voicePulse 1.2s infinite alternate;
}

@keyframes voicePulse {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(59, 130, 246, 0.3); }
    100% { transform: scale(1.1); box-shadow: 0 0 20px rgba(59, 130, 246, 0.6); }
}

.voice-visualizer-wave {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    height: 40px;
    margin: 20px 0;
}

.wave-bar {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: height 0.15s ease;
}

.voice-recording-pulsar.recording ~ .voice-visualizer-wave .wave-bar {
    background: var(--neon-pink);
    animation: waveJump 0.6s infinite alternate;
}

.voice-recording-pulsar.recording ~ .voice-visualizer-wave .wave-bar:nth-child(even) {
    animation-delay: -0.3s;
}

@keyframes waveJump {
    0% { height: 8px; }
    100% { height: 35px; }
}

/* Theme Switcher Button styling */
.theme-switch-icon-box {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Screen responsive layout adaptations */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    
    .mobile-action-dock {
        display: flex;
    }
    
    .main-workspace {
        padding: 20px 15px 90px !important;
    }
    
    .topbar {
        padding: 0 15px !important;
        height: 70px !important;
    }
    
    .topbar-search-wrapper {
        max-width: 140px;
    }
}


