/* ============================================================
   ECOMBUILDER â€” GLOBAL DESIGN SYSTEM
   Premium Dark/Light Mode CSS with CSS Variables
   ============================================================ */

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

/* ============================================================
   CSS CUSTOM PROPERTIES (DARK MODE DEFAULT)
   ============================================================ */
:root {
    /* Typography */
    --font-en: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Sora', sans-serif;
    --font-bn: 'Hind Siliguri', sans-serif;
    --font-primary: var(--font-en);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 30px rgba(249, 115, 22, 0.3);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-toast: 400;
}

/* DARK MODE (default) */
[data-theme="dark"], :root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a2e;
    --bg-card: #16162a;
    --bg-card-hover: #1e1e38;
    --bg-input: #1a1a2e;
    --bg-sidebar: #0e0e18;
    --bg-glass: rgba(22, 22, 42, 0.85);

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-tertiary: #6b6b80;
    --text-inverse: #0a0a0f;

    --border-primary: rgba(255, 255, 255, 0.08);
    --border-secondary: rgba(255, 255, 255, 0.04);
    --border-hover: rgba(249, 115, 22, 0.4);

    --accent: #f97316;
    --accent-hover: #ea580c;
    --accent-light: rgba(249, 115, 22, 0.15);
    --accent-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);

    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.12);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.12);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.12);
    --info: #3b82f6;
    --info-bg: rgba(59, 130, 246, 0.12);

    --gradient-bg: linear-gradient(135deg, #0a0a0f 0%, #12121a 50%, #1a1a2e 100%);
    --gradient-card: linear-gradient(135deg, rgba(249,115,22,0.05) 0%, rgba(234,88,12,0.05) 100%);
    --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #0e0e18 50%, #16162a 100%);
}

/* LIGHT MODE */
[data-theme="light"] {
    --bg-primary: #f8f9fc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f3f8;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9fc;
    --bg-input: #f1f3f8;
    --bg-sidebar: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.9);

    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-tertiary: #9ca3af;
    --text-inverse: #ffffff;

    --border-primary: rgba(0, 0, 0, 0.08);
    --border-secondary: rgba(0, 0, 0, 0.04);
    --border-hover: rgba(249, 115, 22, 0.4);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);

    --gradient-bg: linear-gradient(135deg, #f8f9fc 0%, #ffffff 50%, #f1f3f8 100%);
    --gradient-card: linear-gradient(135deg, rgba(249,115,22,0.03) 0%, rgba(234,88,12,0.03) 100%);
    --gradient-hero: linear-gradient(135deg, #f8f9fc 0%, #eef1f8 50%, #f1f3f8 100%);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background var(--transition-normal), color var(--transition-normal);
}

body.font-bn {
    --font-primary: var(--font-bn);
}

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

img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

.grid { display: grid; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-charts { grid-template-columns: 2fr 1fr; }
.grid-lists { grid-template-columns: 1fr 2fr; }
.grid-order-show { grid-template-columns: 2fr 1.2fr; }
.grid-customer-show { grid-template-columns: 1fr 2fr; }
.grid-products-layout { grid-template-columns: 250px 1fr; }

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

.w-full { width: 100%; }
.h-full { height: 100%; }

.hidden { display: none; }
.block { display: block; }

.relative { position: relative; }
.absolute { position: absolute; }

.overflow-hidden { overflow: hidden; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6, .page-title {
    font-family: var(--font-display, inherit);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; letter-spacing: -0.025em; }
h2 { font-size: 2rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; letter-spacing: -0.015em; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 1.5rem; /* Landing page radius */
    padding: var(--space-lg);
    transition: all var(--transition-normal);
}

.card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.card-glass, .uj-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-primary);
    border-radius: 1.5rem;
    padding: var(--space-lg);
}

.card-gradient {
    background: var(--gradient-card);
    border: 1px solid var(--border-primary);
    border-radius: 1.5rem;
    padding: var(--space-lg);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.4;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-sm), 0 0 20px rgba(99, 102, 241, 0.2);
}
.btn-primary:hover {
    box-shadow: var(--shadow-md), 0 0 30px rgba(99, 102, 241, 0.35);
    color: white;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
}
.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.btn-danger {
    background: var(--danger);
    color: white;
}
.btn-danger:hover {
    background: #dc2626;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.btn-success {
    background: var(--success);
    color: white;
}
.btn-success:hover {
    background: #059669;
}

.btn-warning {
    background: var(--warning);
    color: #1a1a1a;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}
.btn-ghost:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-xl { padding: 16px 36px; font-size: 1.1rem; border-radius: var(--radius-lg); }

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-md);
}

.btn-icon svg, .btn-icon i {
    width: 22px;
    height: 22px;
    font-size: 22px;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-input);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-input::placeholder { color: var(--text-tertiary); }

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 5.646a.5.5 0 0 1 .708 0L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.form-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: var(--space-xs);
}

.form-hint {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    margin-top: var(--space-xs);
}

/* ============================================================
   BADGES & TAGS
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
}

.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-accent { background: var(--accent-light); color: var(--accent); }

/* ============================================================
   TABLE
   ============================================================ */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
}

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

.table th {
    padding: 14px 18px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-primary);
}

.table td {
    padding: 14px 18px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-secondary);
    transition: background var(--transition-fast);
}

.table tr:hover td {
    background: var(--bg-card-hover);
}

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

/* ============================================================
   ALERTS / TOASTS
   ============================================================ */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    animation: slideDown 0.3s ease;
}

.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(16,185,129,0.2); }
.alert-danger { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(239,68,68,0.2); }
.alert-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(245,158,11,0.2); }
.alert-info { background: var(--info-bg); color: var(--info); border: 1px solid rgba(59,130,246,0.2); }

/* ============================================================
   SIDEBAR LAYOUT
   ============================================================ */
.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid var(--border-primary);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: var(--z-sticky);
    overflow-y: auto;
    transition: transform var(--transition-normal);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-primary);
    margin-bottom: var(--space-lg);
}

.sidebar-brand img {
    height: 36px;
    width: auto;
}

.sidebar-brand h3 {
    font-size: 1.15rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-menu {
    list-style: none;
    flex: 1;
}

.sidebar-section {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    padding: var(--space-lg) 0 var(--space-sm);
}

.sidebar-item a {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 10px 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.sidebar-item > a:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.sidebar-item.active > a {
    background: var(--accent);
    color: #ffffff;
    font-weight: 600;
}

.sidebar-item > a svg, .sidebar-item > a i {
    width: 22px;
    height: 22px;
    font-size: 22px;
    opacity: 0.7;
    flex-shrink: 0;
}

.sidebar-item.active > a svg, .sidebar-item.active > a i {
    opacity: 1;
    color: #ffffff;
}

.main-content {
    flex: 1;
    min-width: 0;
    margin-left: 280px;
    min-height: 100vh;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-xl);
    border-bottom: 1px solid var(--border-primary);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.page-content {
    padding: var(--space-xl);
}

.page-header {
    margin-bottom: var(--space-xl);
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================================
   STAT CARDS
   ============================================================ */
.stat-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    transition: all var(--transition-normal);
}

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

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

.stat-icon svg, .stat-icon i {
    width: 26px;
    height: 26px;
    font-size: 26px;
}

.stat-icon.accent { background: var(--accent-light); color: var(--accent); }
.stat-icon.success { background: var(--success-bg); color: var(--success); }
.stat-icon.warning { background: var(--warning-bg); color: var(--warning); }
.stat-icon.info { background: var(--info-bg); color: var(--info); }

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

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

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--text-secondary);
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.theme-toggle svg, .theme-toggle i {
    width: 22px;
    height: 22px;
    font-size: 22px;
}

/* ============================================================
   AVATAR
   ============================================================ */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--border-primary);
}

.avatar-sm { width: 32px; height: 32px; }
.avatar-lg { width: 56px; height: 56px; }
.avatar-xl { width: 72px; height: 72px; }

.avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    justify-content: center;
    margin-top: var(--space-xl);
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-primary);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.pagination .active span {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    animation: fadeIn 0.2s ease;
}

.modal-overlay.active { display: flex; }

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 520px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    animation: scaleIn 0.3s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
}

/* ============================================================
   DROPDOWN
   ============================================================ */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm);
    display: none;
    z-index: var(--z-dropdown);
    animation: slideDown 0.2s ease;
}

.dropdown.active .dropdown-menu { display: block; }

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 12px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.dropdown-item:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-primary);
    margin: var(--space-sm) 0;
}

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

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

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99,102,241,0.2); }
    50% { box-shadow: 0 0 40px rgba(99,102,241,0.4); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-fade-in { animation: fadeIn 0.5s ease; }
.animate-slide-up { animation: slideUp 0.5s ease; }
.animate-slide-down { animation: slideDown 0.3s ease; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--text-tertiary);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.open { transform: translateX(0); }

    .main-content { margin-left: 0; max-width: 100vw; }

    /* Force flex items to wrap on mobile to prevent horizontal overflow */
    .flex.gap-xs, .flex.gap-sm, .flex.gap-md, .flex.gap-lg, .flex.gap-xl { flex-wrap: wrap; }
    .flex-nowrap { flex-wrap: nowrap !important; }

    .grid-4, .grid-3, .grid-2, .grid-charts, .grid-lists, .grid-order-show, .grid-customer-show, .grid-products-layout { grid-template-columns: 1fr !important; }
    
    .hide-on-mobile { display: none !important; }

    html, body { overflow-x: hidden; }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .page-content { padding: var(--space-md); }

    .container { padding: 0 var(--space-md); }

    .topbar { padding: var(--space-md); }

    .btn-xl { padding: 12px 24px; font-size: 0.95rem; }
}

/* ============================================================
   MOBILE MENU TOGGLE
   ============================================================ */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.mobile-menu-btn svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
}

/* ============================================================
   NOTIFICATION DOT
   ============================================================ */
.notification-dot {
    position: relative;
}

.notification-dot::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-sidebar);
}

/* ============================================================
   FILE UPLOAD
   ============================================================ */
.file-upload {
    border: 2px dashed var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.file-upload:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* ============================================================
   STORE SWITCHER
   ============================================================ */
.store-switcher {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.store-switcher select {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.store-switcher select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* ============================================================
   PRODUCT CARD (Storefront)
   ============================================================ */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.product-card-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-body {
    padding: var(--space-md);
}

.product-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.price-current {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent);
}

.price-original {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.price-discount {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
    background: var(--success-bg);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--text-tertiary);
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    opacity: 0.4;
}

.empty-state h3 {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

/* ============================================================
   STATUS DOT
   ============================================================ */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    display: inline-block;
}

.status-dot.active { background: var(--success); box-shadow: 0 0 8px rgba(16,185,129,0.5); }
.status-dot.suspended { background: var(--warning); box-shadow: 0 0 8px rgba(245,158,11,0.5); }
.status-dot.terminated { background: var(--danger); box-shadow: 0 0 8px rgba(239,68,68,0.5); }
.status-dot.limited { background: var(--info); box-shadow: 0 0 8px rgba(59,130,246,0.5); }

/* ============================================================
   IMPERSONATION BANNER
   ============================================================ */
.impersonation-banner {
    background: linear-gradient(90deg, var(--warning), #d97706);
    color: #1a1a1a;
    padding: 8px var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 600;
}

.impersonation-banner a {
    color: #1a1a1a;
    text-decoration: underline;
}

/* ============================================================
   PREMIUM STAT CARDS (For User Dashboard)
   ============================================================ */
.stat-card-premium {
    position: relative;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    color: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stat-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Gradients */
.stat-card-premium.card-pink {
    background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
}
.stat-card-premium.card-orange {
    background: linear-gradient(135deg, #ff9a44 0%, #fc6076 100%);
}
.stat-card-premium.card-purple {
    background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
}
.stat-card-premium.card-blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card-premium .stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.stat-card-premium .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.stat-card-premium .stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.stat-card-premium .stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
}

/* Decorative background circles */
.stat-card-premium::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    z-index: 1;
}
.stat-card-premium::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    z-index: 1;
}

/* Fix for standard cards on the dashboard like Quick Actions / Recent Orders */
.card-white-premium {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--border-primary);
}
.card-glass {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}
.card-glass:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

/* Orders Redesign Additions */
.btn-outline-primary { border: 1px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline-primary:hover { background: rgba(249,115,22,0.1); }
.btn-outline-danger { border: 1px solid #ef4444; color: #ef4444; background: transparent; }
.btn-outline-danger:hover { background: rgba(239,68,68,0.1); }
.btn-outline-secondary { border: 1px solid var(--border-secondary); color: var(--text-secondary); background: transparent; }
.btn-outline-secondary:hover { background: var(--bg-secondary); }
.btn-outline-info { border: 1px solid #3b82f6; color: #3b82f6; background: transparent; }
.btn-outline-info:hover { background: rgba(59,130,246,0.1); }
.btn-outline-warning { border: 1px solid #f59e0b; color: #f59e0b; background: transparent; }
.btn-outline-warning:hover { background: rgba(245,158,11,0.1); }

.badge-light-orange { background: rgba(249,115,22,0.1); color: #f97316; }
.badge-light-green { background: rgba(16,185,129,0.1); color: #10b981; }
.badge-light-blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.badge-light-yellow { background: rgba(245,158,11,0.1); color: #f59e0b; }
.badge-light-red { background: rgba(239,68,68,0.1); color: #ef4444; }

.badge-pill-outline { 
    border: 1px solid var(--border-secondary); 
    padding: 4px 10px; 
    border-radius: 20px; 
    font-size: 0.7rem; 
    color: var(--text-secondary); 
    display: inline-flex; 
    align-items: center; 
    gap: 4px; 
    font-weight: 600;
}
.table-minimal-orders th {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    font-weight: 700;
    padding: 16px;
    border-bottom: 1px solid var(--border-primary);
}
.table-minimal-orders td {
    padding: 16px;
    font-size: 0.85rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-primary);
    vertical-align: top;
}
.orders-grid-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 200px;
}
.orders-grid-btns .btn {
    padding: 4px 8px;
    font-size: 0.7rem;
    height: auto;
    font-weight: 600;
}
.nav-tabs-clean {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--border-primary);
    margin-bottom: 24px;
}
.nav-tabs-clean a {
    padding: 12px 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-tabs-clean a:hover { color: var(--text-primary); }
.nav-tabs-clean a.active {
    color: #f97316;
    border-bottom-color: #f97316;
}
.nav-tabs-clean a .badge {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 12px;
}
.nav-tabs-clean a.active .badge {
    background: rgba(249,115,22,0.1);
    color: #f97316;
}
.btn-pill {
    border-radius: 20px !important;
    padding: 2px 10px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* ============================================================
   RESPONSIVE DESIGN (MOBILE)
   ============================================================ */
@media (max-width: 991px) {
    body {
        padding-bottom: 90px !important;
    }
    
    .sidebar {
        transform: translateX(-100%);
        box-shadow: none;
        width: 280px;
        padding-bottom: 100px !important;
    }
    .sidebar.open {
        transform: translateX(0);
        box-shadow: 0 0 20px rgba(0,0,0,0.15);
    }
    .main-content {
        margin-left: 0;
        width: 100%;
        min-width: 100vw;
    }
    
    .grid-2, .grid-3, .grid-4, .grid-charts, .grid-lists, .grid-order-show, .grid-customer-show, .grid-products-layout {
        grid-template-columns: 1fr !important;
        gap: var(--space-md) !important;
    }
    
    .page-content {
        padding: var(--space-md);
        padding-bottom: 120px !important; /* Space for bottom menu */
    }
    
    .topbar {
        padding: var(--space-md);
    }
    
    .card {
        padding: var(--space-md);
        overflow: hidden;
    }

    .table-container {
        width: 100%;
        overflow-x: auto;
        display: block;
    }
    
    .form-group {
        margin-bottom: var(--space-md);
    }

    /* Mobile Bottom Menu Styles */
    .dashboard-bottom-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        bottom: 16px;
        left: 16px;
        right: 16px;
        height: 65px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 0 10px;
        transition: all 0.3s ease;
    }
    
    [data-theme="dark"] .dashboard-bottom-menu {
        background: rgba(30, 30, 30, 0.85);
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .dashboard-bottom-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-tertiary);
        text-decoration: none;
        flex: 1;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
    }
    .dashboard-bottom-item.active {
        color: var(--accent);
    }
    .dashboard-bottom-item i, .dashboard-bottom-item svg {
        margin-bottom: 4px;
        transition: transform 0.3s ease;
        font-size: 24px;
    }
    .dashboard-bottom-item:hover i, .dashboard-bottom-item.active i,
    .dashboard-bottom-item:hover svg, .dashboard-bottom-item.active svg {
        transform: translateY(-2px);
    }
    .dashboard-bottom-item span {
        font-size: 0.65rem;
        font-weight: 600;
    }
    
    .nav-tabs-clean {
        flex-wrap: wrap;
        gap: 12px;
    }
}
@media (min-width: 992px) {
    .dashboard-bottom-menu {
        display: none !important;
    }
}

/* ============================================================
   UJEERA LANDING / AUTH — PREMIUM DESIGN SYSTEM
   "ink-dark, mint signal" theme from Lovable project
   These classes apply ONLY to pages that use the landing/auth layout.
   They do NOT affect the admin dashboard.
   ============================================================ */

/* --- Landing / Auth specific CSS variables --- */
.ujeera-landing,
.ujeera-auth {
    --uj-font-display: 'Sora', ui-sans-serif, system-ui, sans-serif;
    --uj-font-sans: 'Manrope', ui-sans-serif, system-ui, sans-serif;
    --uj-radius: 1rem;

    /* Light defaults */
    --uj-bg: oklch(0.985 0.005 250);
    --uj-fg: oklch(0.22 0.03 258);
    --uj-surface: oklch(1 0 0);
    --uj-surface-2: oklch(0.965 0.008 250);
    --uj-card: oklch(1 0 0);
    --uj-card-fg: oklch(0.22 0.03 258);
    --uj-primary: oklch(0.6 0.13 172);
    --uj-primary-fg: oklch(0.99 0.005 250);
    --uj-secondary: oklch(0.955 0.01 250);
    --uj-secondary-fg: oklch(0.25 0.03 258);
    --uj-muted: oklch(0.955 0.01 250);
    --uj-muted-fg: oklch(0.5 0.025 256);
    --uj-accent: oklch(0.94 0.015 250);
    --uj-accent-fg: oklch(0.25 0.03 258);
    --uj-destructive: oklch(0.58 0.21 25);
    --uj-destructive-fg: oklch(0.99 0.005 250);
    --uj-border: oklch(0.22 0.03 258 / 12%);
    --uj-input: oklch(0.22 0.03 258 / 16%);
    --uj-ring: oklch(0.6 0.13 172 / 55%);

    --uj-gradient-signal: linear-gradient(135deg, oklch(0.62 0.13 172), oklch(0.55 0.13 240));
    --uj-glow-signal: 0 24px 70px -32px oklch(0.6 0.13 172 / 0.45);
    --uj-panel-bg: oklch(1 0 0 / 78%);
    --uj-grid-line: oklch(0.22 0.03 258 / 0.06);
    --uj-grid-tint: oklch(0.6 0.13 172 / 0.12);
    --uj-shine-1: oklch(0.28 0.03 258);
    --uj-shine-2: oklch(0.6 0.13 172);
    --uj-shine-3: oklch(0.55 0.13 240);
    --uj-lift-shadow: 0 20px 45px -28px oklch(0.22 0.03 258 / 0.35);
    --uj-ring-hairline: oklch(0.22 0.03 258 / 0.08);
    --uj-sheen-top: oklch(1 0 0 / 0.7);
    --uj-elev-1: 0 1px 2px oklch(0.22 0.03 258 / 0.05), 0 10px 30px -22px oklch(0.22 0.03 258 / 0.3);
    --uj-elev-2: 0 1px 2px oklch(0.22 0.03 258 / 0.06), 0 26px 60px -34px oklch(0.22 0.03 258 / 0.4);
}

/* Dark mode for landing/auth */
[data-theme="dark"] .ujeera-landing,
[data-theme="dark"] .ujeera-auth {
    --uj-bg: oklch(0.17 0.022 255);
    --uj-fg: oklch(0.97 0.006 250);
    --uj-surface: oklch(0.215 0.024 255);
    --uj-surface-2: oklch(0.255 0.028 256);
    --uj-card: oklch(0.215 0.024 255);
    --uj-card-fg: oklch(0.97 0.006 250);
    --uj-primary: oklch(0.83 0.16 168);
    --uj-primary-fg: oklch(0.18 0.03 175);
    --uj-secondary: oklch(0.255 0.028 256);
    --uj-secondary-fg: oklch(0.97 0.006 250);
    --uj-muted: oklch(0.255 0.028 256);
    --uj-muted-fg: oklch(0.72 0.02 254);
    --uj-accent: oklch(0.3 0.04 256);
    --uj-accent-fg: oklch(0.97 0.006 250);
    --uj-destructive: oklch(0.62 0.21 25);
    --uj-destructive-fg: oklch(0.98 0.005 250);
    --uj-border: oklch(1 0 0 / 11%);
    --uj-input: oklch(1 0 0 / 14%);
    --uj-ring: oklch(0.83 0.16 168 / 60%);

    --uj-gradient-signal: linear-gradient(135deg, oklch(0.86 0.15 172), oklch(0.78 0.13 208));
    --uj-glow-signal: 0 24px 80px -28px oklch(0.83 0.16 168 / 0.55);
    --uj-panel-bg: oklch(0.215 0.024 255 / 82%);
    --uj-grid-line: oklch(1 0 0 / 0.045);
    --uj-grid-tint: oklch(0.83 0.16 168 / 0.16);
    --uj-shine-1: oklch(0.97 0.006 250);
    --uj-shine-2: oklch(0.86 0.15 172);
    --uj-shine-3: oklch(0.78 0.13 208);
    --uj-lift-shadow: 0 22px 50px -26px oklch(0 0 0 / 0.65);
    --uj-ring-hairline: oklch(1 0 0 / 0.08);
    --uj-sheen-top: oklch(1 0 0 / 0.09);
    --uj-elev-1: 0 1px 0 oklch(1 0 0 / 0.04) inset, 0 12px 34px -24px oklch(0 0 0 / 0.7);
    --uj-elev-2: 0 1px 0 oklch(1 0 0 / 0.05) inset, 0 30px 70px -34px oklch(0 0 0 / 0.85);
}

/* --- Base styles for landing/auth scope --- */
.ujeera-landing,
.ujeera-auth {
    font-family: var(--uj-font-sans);
    background-color: var(--uj-bg);
    color: var(--uj-fg);
    -webkit-font-smoothing: antialiased;
}

.ujeera-landing .uj-font-display,
.ujeera-auth .uj-font-display {
    font-family: var(--uj-font-display);
}

/* --- Utility classes (scoped) --- */

/* Glass panel */
.ujeera-landing .uj-glass-panel,
.ujeera-auth .uj-glass-panel {
    background: var(--uj-panel-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--uj-border);
}

/* Grid glow background */
.ujeera-landing .uj-grid-glow,
.ujeera-auth .uj-grid-glow {
    background-image:
        radial-gradient(60% 55% at 50% 0%, var(--uj-grid-tint), transparent 70%),
        linear-gradient(to right, var(--uj-grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--uj-grid-line) 1px, transparent 1px);
    background-size: 100% 100%, 64px 64px, 64px 64px;
}

/* Gradient text */
.ujeera-landing .uj-text-gradient,
.ujeera-auth .uj-text-gradient {
    background: var(--uj-gradient-signal);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Shine text */
.ujeera-landing .uj-shine-text,
.ujeera-auth .uj-shine-text {
    background: linear-gradient(
        100deg,
        var(--uj-shine-1) 20%,
        var(--uj-shine-2) 45%,
        var(--uj-shine-3) 55%,
        var(--uj-shine-1) 80%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: uj-shine 6s linear infinite;
}

/* Hover lift */
.ujeera-landing .uj-hover-lift,
.ujeera-auth .uj-hover-lift {
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}
.ujeera-landing .uj-hover-lift:hover,
.ujeera-auth .uj-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--uj-lift-shadow);
}

/* Premium card with hairline sheen */
.ujeera-landing .uj-premium-card,
.ujeera-auth .uj-premium-card {
    position: relative;
    box-shadow: var(--uj-elev-1);
}
.ujeera-landing .uj-premium-card::after,
.ujeera-auth .uj-premium-card::after {
    content: "";
    position: absolute;
    inset-inline: 12%;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--uj-sheen-top), transparent);
    pointer-events: none;
}

/* Spotlight card — highlights on hover */
.ujeera-landing .uj-spotlight-card,
.ujeera-auth .uj-spotlight-card {
    position: relative;
    isolation: isolate;
}
.ujeera-landing .uj-spotlight-card::before,
.ujeera-auth .uj-spotlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(120% 90% at 50% 0%, var(--uj-grid-tint), transparent 70%);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: -1;
}
.ujeera-landing .uj-spotlight-card:hover::before,
.ujeera-auth .uj-spotlight-card:hover::before {
    opacity: 1;
}

/* Eyebrow label */
.ujeera-landing .uj-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--uj-primary);
}

/* Icon chip */
.ujeera-landing .uj-icon-chip {
    background: var(--uj-gradient-signal);
    color: var(--uj-primary-fg);
    box-shadow: 0 10px 24px -14px color-mix(in oklab, var(--uj-primary) 65%, transparent);
}

/* --- Keyframes for landing/auth --- */
@keyframes uj-fade-up {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes uj-shine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes uj-pulse-ring {
    0% { transform: scale(0.85); opacity: 0.55; }
    70% { transform: scale(1.5); opacity: 0; }
    100% { opacity: 0; }
}

.ujeera-landing .uj-animate-fade-up,
.ujeera-auth .uj-animate-fade-up {
    animation: uj-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Staggered animation delays */
.uj-delay-1 { animation-delay: 80ms !important; }
.uj-delay-2 { animation-delay: 160ms !important; }
.uj-delay-3 { animation-delay: 240ms !important; }
.uj-delay-4 { animation-delay: 320ms !important; }
.uj-delay-5 { animation-delay: 400ms !important; }

/* Reveal on scroll — intersection observer driven */
.ujeera-landing .uj-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ujeera-landing .uj-reveal.uj-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Links/buttons smooth transition */
.ujeera-landing a,
.ujeera-landing button,
.ujeera-auth a,
.ujeera-auth button {
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Landing-specific form styling (pill inputs) --- */
.ujeera-landing .uj-input,
.ujeera-auth .uj-input {
    width: 100%;
    border-radius: 9999px;
    border: 1px solid var(--uj-input);
    background: var(--uj-bg);
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 0.875rem;
    color: var(--uj-fg);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: var(--uj-font-sans);
}
.ujeera-landing .uj-input:focus,
.ujeera-auth .uj-input:focus {
    border-color: oklch(from var(--uj-primary) l c h / 60%);
    box-shadow: 0 0 0 3px var(--uj-ring);
}
.ujeera-landing .uj-input::placeholder,
.ujeera-auth .uj-input::placeholder {
    color: var(--uj-muted-fg);
    opacity: 0.7;
}

/* Pill input without icon */
.ujeera-landing .uj-input-plain,
.ujeera-auth .uj-input-plain {
    width: 100%;
    border-radius: 9999px;
    border: 1px solid var(--uj-input);
    background: var(--uj-bg);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--uj-fg);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: var(--uj-font-sans);
}
.ujeera-landing .uj-input-plain:focus,
.ujeera-auth .uj-input-plain:focus {
    border-color: oklch(from var(--uj-primary) l c h / 60%);
    box-shadow: 0 0 0 3px var(--uj-ring);
}

/* Textarea (not pill) */
.ujeera-landing .uj-textarea,
.ujeera-auth .uj-textarea {
    width: 100%;
    border-radius: var(--uj-radius);
    border: 1px solid var(--uj-input);
    background: var(--uj-bg);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--uj-fg);
    outline: none;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: var(--uj-font-sans);
}
.ujeera-landing .uj-textarea:focus,
.ujeera-auth .uj-textarea:focus {
    border-color: oklch(from var(--uj-primary) l c h / 60%);
    box-shadow: 0 0 0 3px var(--uj-ring);
}

/* Primary pill button */
.ujeera-landing .uj-btn-primary,
.ujeera-auth .uj-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    border-radius: 9999px;
    background: var(--uj-primary);
    color: var(--uj-primary-fg);
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--uj-font-sans);
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}
.ujeera-landing .uj-btn-primary:hover,
.ujeera-auth .uj-btn-primary:hover {
    transform: scale(1.03);
    color: var(--uj-primary-fg);
}
.ujeera-landing .uj-btn-primary:active,
.ujeera-auth .uj-btn-primary:active {
    transform: scale(0.95);
}
.ujeera-landing .uj-btn-primary:disabled,
.ujeera-auth .uj-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Outline pill button */
.ujeera-landing .uj-btn-outline,
.ujeera-auth .uj-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    border-radius: 9999px;
    background: var(--uj-surface);
    border: 1px solid var(--uj-border);
    color: var(--uj-fg);
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--uj-font-sans);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.ujeera-landing .uj-btn-outline:hover,
.ujeera-auth .uj-btn-outline:hover {
    background: var(--uj-secondary);
    color: var(--uj-fg);
}
.ujeera-landing .uj-btn-outline:disabled,
.ujeera-auth .uj-btn-outline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Auto-width button variant for CTA / inline */
.ujeera-landing .uj-btn-auto { width: auto; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ujeera-landing *,
    .ujeera-landing *::before,
    .ujeera-landing *::after,
    .ujeera-auth *,
    .ujeera-auth *::before,
    .ujeera-auth *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
