/* 
 * style.css - Premium, Elite UI Design System
 * Architecture: Vanilla CSS with custom property tokens, glassmorphism, and hardware-accelerated animations.
 * Themes: Obsidian Dark (Default) & Premium Soft Light
 */

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

:root {
    /* Color Palette - Obsidian Dark Theme (Default) */
    --bg-main: #0b0c10;
    --bg-surface: #151821;
    --bg-surface-glass: rgba(21, 24, 33, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.15);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Branding Accent Colors */
    --accent: #6366f1; /* Neon Indigo */
    --accent-glow: rgba(99, 102, 241, 0.4);
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    
    /* Status Colors */
    --color-success: #10b981; /* Emerald */
    --color-success-glow: rgba(16, 185, 129, 0.2);
    --color-warning: #f59e0b; /* Amber */
    --color-warning-glow: rgba(245, 158, 11, 0.2);
    --color-danger: #ef4444; /* Rose */
    --color-danger-glow: rgba(239, 68, 68, 0.2);
    --color-info: #06b6d4; /* Neon Blue */
    --color-info-glow: rgba(6, 182, 212, 0.2);
    
    /* Marketplace Specific Accents */
    --color-amazon: #ff9900;
    --color-flipkart: #2874f0;
    --color-meesho: #f43397;
    
    /* Variables */
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 80px;
    --navbar-height: 70px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.15);
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme overrides */
[data-theme="light"] {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-glass: rgba(255, 255, 255, 0.85);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(99, 102, 241, 0.08);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --accent-glow: rgba(99, 102, 241, 0.2);
    --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

/* Global resets & scrollbar overrides */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Auth Layout styling */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
                var(--bg-main);
    padding: 20px;
}

.auth-card {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 440px;
    padding: 40px;
    box-shadow: var(--shadow-subtle), var(--shadow-glow);
    animation: authFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.logo-brand svg {
    stroke: url(#accent-grad-svg);
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

/* App Shell Grid Layout */
.app-shell {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    min-height: 100vh;
    transition: grid-template-columns var(--transition-normal);
}

.app-shell.sidebar-collapsed {
    grid-template-columns: var(--sidebar-collapsed-width) 1fr;
}

/* Sidebar Styling */
.sidebar {
    background-color: var(--bg-surface);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: width var(--transition-normal);
    overflow: hidden;
}

.sidebar-header {
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity var(--transition-fast);
}

.sidebar-collapsed .sidebar-logo span {
    opacity: 0;
    width: 0;
    pointer-events: none;
}

.collapse-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    padding: 4px;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.collapse-btn:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.sidebar-menu {
    list-style: none;
    padding: 24px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
    overflow-y: auto;
}

.menu-item a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    transition: background var(--transition-fast), color var(--transition-fast);
    position: relative;
}

.menu-item a svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.menu-item a:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

.menu-item a:hover svg {
    transform: scale(1.08);
}

.menu-item.active a {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.menu-item.active a svg {
    color: #ffffff;
}

.sidebar-collapsed .menu-item a span {
    opacity: 0;
    width: 0;
    display: none;
}

.sidebar-collapsed .menu-item a {
    justify-content: center;
    padding: 12px;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.15);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-family: var(--font-heading);
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.1);
}

.user-info {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity var(--transition-fast);
}

.sidebar-collapsed .user-info {
    opacity: 0;
    width: 0;
    display: none;
}

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

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

/* Header Navbar Styling */
.main-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
}

.navbar {
    height: var(--navbar-height);
    background: var(--bg-surface-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 99;
}

.search-bar {
    position: relative;
    width: 300px;
}

.search-bar input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 16px 10px 42px;
    color: var(--text-primary);
    font-size: 13px;
    transition: border var(--transition-fast), box-shadow var(--transition-fast);
}

.search-bar input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
}

.search-bar svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sync-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 14px;
    font-size: 12px;
    font-family: var(--font-heading);
    font-weight: 500;
}

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

.sync-dot.syncing {
    background-color: var(--color-info);
    box-shadow: 0 0 8px var(--color-info);
    animation: pulseGlow 1.2s infinite ease-in-out;
}

.sync-dot.error {
    background-color: var(--color-danger);
    box-shadow: 0 0 8px var(--color-danger);
}

.sync-all-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.sync-all-btn:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.sync-all-btn.spinning svg {
    animation: spin 1s infinite linear;
}

.theme-toggle-btn, .notifications-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: background var(--transition-fast), border var(--transition-fast);
}

.theme-toggle-btn:hover, .notifications-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
}

.badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-danger);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-surface);
}

/* User Role switcher dropdown in header */
.role-dropdown {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 13px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: border var(--transition-fast);
}

.role-dropdown:hover {
    border-color: var(--accent);
}

.role-dropdown option {
    background: var(--bg-surface);
    color: var(--text-primary);
}

/* Viewport Layout */
.content-viewport {
    padding: 32px;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    flex-grow: 1;
    animation: fadeInView 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glassmorphic Cards & Grid System */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.glass-card {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-subtle);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-glow);
    box-shadow: var(--shadow-subtle), var(--shadow-glow);
}

.kpi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.kpi-title {
    color: var(--text-secondary);
    font-size: 13px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kpi-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.kpi-trend {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.trend-up {
    color: var(--color-success);
}
.trend-down {
    color: var(--color-danger);
}

/* Charts Grid */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

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

.chart-card {
    height: 380px;
    display: flex;
    flex-direction: column;
}

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

.chart-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
}

.chart-body {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Custom Premium SVG Charts */
.custom-svg-chart {
    width: 100%;
    height: 100%;
}

.chart-bar {
    transition: height var(--transition-normal), y var(--transition-normal);
}

.chart-bar:hover {
    fill: var(--accent);
    cursor: pointer;
}

.chart-line-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2.5s forwards ease-in-out;
}

.chart-point {
    transition: r var(--transition-fast), fill var(--transition-fast);
}

.chart-point:hover {
    r: 7;
    fill: #ffffff;
    cursor: pointer;
}

/* Table Card Layout */
.table-card {
    margin-bottom: 32px;
}

.table-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.table-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
}

.table-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-select, .form-input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 13px;
    font-family: var(--font-body);
    transition: border-color var(--transition-fast);
}

.filter-select:focus, .form-input:focus {
    border-color: var(--accent);
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.custom-table th {
    padding: 14px 18px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}

.custom-table td {
    padding: 16px 18px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    vertical-align: middle;
}

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

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

/* Beautiful Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: capitalize;
}

.badge-success {
    background: var(--color-success-glow);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-warning {
    background: var(--color-warning-glow);
    color: var(--color-warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-danger {
    background: var(--color-danger-glow);
    color: var(--color-danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-info {
    background: var(--color-info-glow);
    color: var(--color-info);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Channel tag label (e.g. Amazon, Flipkart, Meesho) */
.channel-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.channel-amazon {
    background: rgba(255, 153, 0, 0.15);
    color: var(--color-amazon);
    border: 1px solid rgba(255, 153, 0, 0.3);
}

.channel-flipkart {
    background: rgba(40, 116, 240, 0.15);
    color: var(--color-flipkart);
    border: 1px solid rgba(40, 116, 240, 0.3);
}

.channel-meesho {
    background: rgba(244, 51, 151, 0.15);
    color: var(--color-meesho);
    border: 1px solid rgba(244, 51, 151, 0.3);
}

/* Floating Toast System */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.toast {
    background: var(--bg-surface);
    border-left: 4px solid var(--accent);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), var(--shadow-glow);
    padding: 16px 20px;
    width: 320px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: toastSlideIn var(--transition-normal) forwards;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.toast-success { border-left-color: var(--color-success); }
.toast-error { border-left-color: var(--color-danger); }
.toast-warning { border-left-color: var(--color-warning); }
.toast-info { border-left-color: var(--color-info); }

.toast-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

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

.toast-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.toast-desc {
    color: var(--text-secondary);
    font-size: 11.5px;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
}

/* Form Styles & Grid Control */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

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

.form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    color: var(--text-secondary);
}

.btn {
    background: var(--accent-gradient);
    border: none;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    transform: translateY(-2px);
    border-color: var(--text-secondary);
}

/* Modals glassmorphic container overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

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

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), var(--shadow-glow);
    transform: scale(0.9);
    transition: transform var(--transition-fast);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.modal-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.modal-close-btn:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

/* Upload Area */
.upload-drag-zone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: border var(--transition-fast), background var(--transition-fast);
    background: rgba(0,0,0,0.1);
}

.upload-drag-zone:hover {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.02);
}

.upload-drag-zone svg {
    margin-bottom: 12px;
    color: var(--text-muted);
}

/* Marketplace connectors container list */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.channel-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.channel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.channel-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 20px;
    color: #ffffff;
}

.channel-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
}

.channel-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

/* AI Sales Forecast visualization tools */
.forecast-visual-wrapper {
    height: 240px;
    margin: 20px 0;
    background: rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.forecast-trend-area {
    fill: rgba(99, 102, 241, 0.05);
}

.forecast-line {
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawLine 2s forwards ease-in-out;
}

.forecast-confidence {
    fill: rgba(6, 182, 212, 0.08);
}

/* Animations declarations */
@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px var(--color-info); }
    50% { transform: scale(1.15); opacity: 0.6; box-shadow: 0 0 16px var(--color-info); }
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

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

/* Print Styling */
@media print {
    body * {
        visibility: hidden;
    }
    #print-section, #print-section * {
        visibility: visible;
    }
    #print-section {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: #ffffff;
        color: #000000;
    }
}
