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

:root {
    --bg: #090f1b;
    --surface: rgba(26, 35, 50, 0.7);
    --surface-solid: #1a2332;
    --border: rgba(255, 255, 255, 0.1);
    --text: #e6edf3;
    --text-muted: #8b9cb4;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --danger: #ef4444;
    --danger-hover: #dc2626;
    --success: #10b981;
    --success-hover: #059669;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; }

body { background-color: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; scroll-behavior: smooth; }

/* 🌟 UNIVERSAL NAVBAR 🌟 */
.navbar {
    background: rgba(9, 15, 27, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); padding: 1rem 5%; position: sticky; top: 0; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease;
}
.navbar-brand { font-size: 1.5rem; font-weight: 700; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.navbar-brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { color: var(--text); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-link:hover { color: var(--accent); }

/* 🌟 CARDS & CONTAINERS 🌟 */
.container { max-width: 1400px; margin: 0 auto; padding: 2rem 5%; }
.card { background: var(--surface); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.3); transition: transform 0.3s ease; }
.card:hover { transform: translateY(-5px); }
.card-title { font-size: 1.25rem; font-weight: 600; color: #fff; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.card-header { padding-bottom: 1rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }

/* 🌟 FORMS 🌟 */
input, select, textarea { width: 100%; background: rgba(15, 20, 25, 0.6); border: 1px solid var(--border); color: var(--text); padding: 1rem; border-radius: 12px; font-size: 1rem; transition: all 0.3s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15); background: rgba(15, 20, 25, 0.9); }
.form-group { margin-bottom: 1.5rem; position: relative; }
.form-label { display: block; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.form-control-file { background: rgba(15, 20, 25, 0.6); border: 1px dashed var(--accent); padding: 1.5rem; border-radius: 12px; text-align: center; }

/* 🌟 BUTTONS 🌟 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.5rem; border-radius: 12px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; text-decoration: none; border: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5); }
.btn-danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.3); }
.btn-danger:hover { background: var(--danger); color: #fff; transform: translateY(-2px); }
.btn-success { background: rgba(16, 185, 129, 0.1); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.3); }
.btn-success:hover { background: var(--success); color: #fff; }

/* 🌟 LOGIN & REGISTER SPECIFIC 🌟 */
.auth-container { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 2rem; position: relative; z-index: 10; }
.auth-card { background: var(--surface); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid var(--border); border-radius: 26px; padding: 3.5rem; width: 100%; max-width: 460px; box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6); animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.auth-header { text-align: center; margin-bottom: 2.5rem; }
.auth-logo { font-size: 3rem; color: var(--accent); margin-bottom: 1rem; display: inline-block; animation: bounceIn 1s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes bounceIn { 0% { opacity: 0; transform: scale(0.5); } 50% { transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } }
.auth-title { font-size: 2.2rem; font-weight: 700; color: #fff; margin-bottom: 0.8rem; line-height: 1.2; }
.auth-title span { color: var(--accent); }
.form-icon { position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); transition: color 0.3s; z-index: 2; pointer-events: none; }
.auth-card input { padding-left: 3rem; height: 55px; border-radius: 14px; background: rgba(10, 15, 25, 0.8); }
.alert-error { background: rgba(239, 68, 68, 0.1); color: var(--danger); padding: 1rem; border-radius: 12px; margin-bottom: 1.5rem; font-size: 0.9rem; border: 1px solid rgba(239, 68, 68, 0.2); animation: shake 0.5s; display: flex; align-items: center; gap: 8px; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.auth-links { margin-top: 2.5rem; text-align: center; font-size: 0.95rem; color: var(--text-muted); }
.auth-links a { color: var(--accent); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.auth-links a:hover { color: #fff; }
.btn-block { width: 100%; padding: 1.2rem; font-size: 1.1rem; border-radius: 14px; margin-top: 1rem; }
.btn-block:disabled { background: #1e293b; color: #64748b; cursor: not-allowed; transform: none; box-shadow: none; border: 1px solid #334155; }

@media (max-width: 480px) {
    .auth-container { padding: 1rem; justify-content: flex-start; padding-top: 2rem; }
    .auth-card { padding: 2rem 1.5rem; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.05); }
    .auth-title { font-size: 1.8rem; }
    .auth-header { margin-bottom: 2rem; }
}

/* 🌟 FULLSCREEN ANIMATED LOADER 🌟 */
.fullscreen-loader { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(9, 15, 27, 0.9); backdrop-filter: blur(10px); z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.fullscreen-loader.active { opacity: 1; visibility: visible; }
.spinner { width: 80px; height: 80px; border: 5px solid rgba(59, 130, 246, 0.1); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 2rem; box-shadow: 0 0 30px var(--accent-glow); }
@keyframes spin { 100% { transform: rotate(360deg); } }
.loader-text { font-size: 1.5rem; font-weight: 600; color: #fff; letter-spacing: 1px; animation: pulse 1.5s infinite ease-in-out; }
@keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

/* 🌟 OUTLET & DASHBOARD SPECIFIC 🌟 */
.page-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.page-title { font-size: 2.5rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; letter-spacing: -0.5px; }
.page-subtitle { color: var(--text-muted); font-size: 1.1rem; }

.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat-box { background: rgba(15, 20, 25, 0.4); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; text-align: center; transition: all 0.3s; }
.stat-box:hover { background: rgba(59, 130, 246, 0.05); border-color: rgba(59, 130, 246, 0.3); transform: translateY(-3px); }
.stat-value { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.stat-label { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* 🌟 PRODUCT CARDS & OUTLET GRIDS 🌟 */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-5px); border-color: rgba(59, 130, 246, 0.5); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.product-img-wrapper { position: relative; width: 100%; padding-top: 75%; overflow: hidden; background: #111; }
.product-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-title { font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 0.5rem; }
.product-price { font-size: 1.25rem; font-weight: 700; color: var(--accent); margin-bottom: 1rem; }
.product-category { position: absolute; top: 1rem; left: 1rem; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); padding: 0.4rem 0.8rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; color: #fff; z-index: 2; border: 1px solid rgba(255,255,255,0.1); }

/* 🌟 BACKGROUND BLOBS 🌟 */
.bg-blobs { position: fixed; width: 100vw; height: 100vh; top: 0; left: 0; z-index: -5; overflow: hidden; pointer-events: none; }
.blob { position: absolute; filter: blur(80px); opacity: 0.6; animation: float 20s infinite alternate ease-in-out; }
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: rgba(59, 130, 246, 0.15); }
.blob-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: rgba(139, 92, 246, 0.15); animation-delay: -5s; }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(5%, 10%) scale(1.1); } }

/* 🌟 CART LAYOUT 🌟 */
.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: 2rem; align-items: start; }
.cart-item { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem; border-bottom: 1px solid var(--border); transition: background 0.3s; }
.cart-item:hover { background: rgba(59, 130, 246, 0.05); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-title { font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 0.3rem; }
.cart-item-price { color: var(--accent); font-weight: 600; margin-bottom: 0.3rem; }
.cart-item-subtotal { font-weight: 700; color: #fff; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 1.1rem; }
.summary-total { font-size: 1.5rem; font-weight: 700; color: #fff; border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 0.5rem; }

/* 🌟 ORDERS TABLE 🌟 */
.table-responsive { width: 100%; overflow-x: auto; }
.orders-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 1rem; }
.orders-table th { background: rgba(15, 20, 25, 0.6); padding: 1rem 1.5rem; text-align: left; font-weight: 600; color: var(--text-muted); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.orders-table th:first-child { border-top-left-radius: 12px; border-bottom-left-radius: 12px; }
.orders-table th:last-child { border-top-right-radius: 12px; border-bottom-right-radius: 12px; }
.orders-table td { padding: 1.5rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.orders-table tr:last-child td { border-bottom: none; }
.status-badge { display: inline-block; padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.status-pending { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }
.status-preparing { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.status-completed { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
.status-cancelled { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }

/* 🌟 WELCOME SPLASH ANIMATIONS 🌟 */
.ambient-glow { position: fixed; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15), transparent 70%); z-index: -1; animation: pulseGlow 3s infinite alternate ease-in-out; }
@keyframes pulseGlow { 0% { opacity: 0.5; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1.1); } }

.welcome-inner { text-align: center; border: 1px solid rgba(255,255,255,0.05); }
.greeting { font-size: 1.5rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; animation: slideDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; display: inline-block; }
.name { font-size: 3rem; font-weight: 800; color: #fff; background: linear-gradient(90deg, #fff, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 2rem; animation: slideUpFade 1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }

.loading-bar-container { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; margin: 0 auto; margin-top: 1rem; position: relative; }
.loading-bar { height: 100%; width: 0%; background: var(--accent); border-radius: 10px; animation: loadBar 2s cubic-bezier(0.4, 0, 0.2, 1) forwards; box-shadow: 0 0 15px var(--accent-glow); }

@keyframes slideDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideUpFade { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes loadBar { 0% { width: 0%; } 100% { width: 100%; } }

/* ☀️ LIGHT MODE THEME OVERRIDES ☀️ */
body.light-theme {
    /* Base style.css overrides */
    --bg: #fbf9f4;
    --surface: rgba(255, 255, 255, 0.85);
    --surface-solid: #ffffff;
    --border: rgba(43, 27, 21, 0.08);
    --text: #2b1b15;
    --text-muted: #7f7166;
    --accent: #ff6b35; /* Appetizing Food Warm Orange */
    --accent-hover: #e04f1a;
    --accent-glow: rgba(255, 107, 53, 0.2);
    --danger: #dc2626;
    --danger-hover: #b91c1c;
    --success: #16a34a;
    --success-hover: #15803d;

    /* customer_home.css variables override */
    --surface2: #f3ede2;
    --accent2: #e0a300;
    --accent3: #059669;
    --muted: #7f7166;
    --glow: 0 8px 30px rgba(255, 107, 53, 0.12);

    /* style_.css variables override */
    --bg2: #f3ede2;
    --bg3: #eae3d5;
    --text-sec: #6e6056;
    --text-dim: #9a8c82;

    /* token variables override */
    --token-bg: rgba(255, 255, 255, 0.98);
    --token-border: rgba(43, 27, 21, 0.08);
    --token-accent: #ff6b35;
    --token-text: #2b1b15;
    --token-muted: rgba(43, 27, 21, 0.65);

    /* Light Theme Attractive Background for food-related content */
    background-color: #fbf9f4;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 107, 53, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(245, 166, 35, 0.08) 0%, transparent 45%),
        url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ff6b35' fill-opacity='0.018' fill-rule='evenodd'%3E%3Cpath d='M25 20c2.76 0 5 2.24 5 5v5h-10v-5c0-2.76 2.24-5 5-5zm-1.5 12h3v12h-3zm18.5 2c0-1.657 1.343-3 3-3s3 1.343 3 3v20H42V34zm1-8c0-1.657 1.343-3 3-3s3 1.343 3 3v2h-6v-2zm39 44c2.76 0 5 2.24 5 5v5H72v-5c0-2.76 2.24-5 5-5zm-1.5 12h3v12h-3zM99 84c0-1.657 1.343-3 3-3s3 1.343 3 3v20h-6V84zm1-8c0-1.657 1.343-3 3-3s3 1.343 3 3v2h-6v-2zm-35-44c0-4.418 3.582-8 8-8s8 3.582 8 8c0 3.328-2.032 6.18-4.9 7.37L77 48v2h-4v-2l.9-8.63c-2.868-1.19-4.9-4.042-4.9-7.37zm8-5c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5z'/%3E%3C/g%3E%3C/svg%3E");
    color: #2b1b15;
}

/* Background texture adjustment */
body.light-theme::before {
    opacity: 0.015 !important;
}

/* Heading colors */
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6,
body.light-theme .page-title,
body.light-theme .card-title,
body.light-theme .product-title,
body.light-theme .cart-item-title,
body.light-theme .summary-total,
body.light-theme .order-total,
body.light-theme .order-outlet,
body.light-theme .nav-brand,
body.light-theme .navbar-brand {
    color: #2b1b15 !important;
}

/* Glowing orbs/blobs */
body.light-theme .ambient-glow {
    background: radial-gradient(ellipse, rgba(255, 107, 53, 0.08) 0%, transparent 70%) !important;
}
body.light-theme .blob-1 {
    background: rgba(255, 107, 53, 0.05) !important;
}
body.light-theme .blob-2 {
    background: rgba(255, 209, 102, 0.06) !important;
}

/* Forms & Inputs */
body.light-theme input,
body.light-theme select,
body.light-theme textarea {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(43, 27, 21, 0.12) !important;
    color: #2b1b15 !important;
}
body.light-theme input:focus,
body.light-theme select:focus,
body.light-theme textarea:focus {
    background: #ffffff !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1) !important;
}

/* Navbar light styling */
body.light-theme nav,
body.light-theme .navbar {
    background: rgba(251, 249, 254, 0.85) !important;
    border-bottom: 1px solid rgba(43, 27, 21, 0.08) !important;
    box-shadow: 0 4px 30px rgba(43, 27, 21, 0.02) !important;
}
body.light-theme .nav-btn {
    background: #f3ede2 !important;
    color: #2b1b15 !important;
    border: 1px solid rgba(43, 27, 21, 0.08) !important;
}
body.light-theme .nav-btn:hover {
    background: #eae3d5 !important;
    color: #ff6b35 !important;
    border-color: #ff6b35 !important;
}
body.light-theme .nav-btn span {
    color: #2b1b15 !important;
}
body.light-theme .nav-btn:hover span {
    color: #ff6b35 !important;
}
body.light-theme .nav-btn.primary {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #ffffff !important;
}
body.light-theme .nav-btn.primary span {
    color: #ffffff !important;
}
body.light-theme .nav-btn.primary:hover {
    background: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
}

/* Clean up inline styles for User Profile button & alerts in Light Mode */
body.light-theme .nav-links div.nav-btn[style*="background"] {
    background: rgba(255, 107, 53, 0.1) !important;
    border: 1px solid rgba(255, 107, 53, 0.3) !important;
}
body.light-theme .nav-links div.nav-btn span {
    color: #ff6b35 !important;
}
body.light-theme .alert {
    background: rgba(255, 107, 53, 0.05) !important;
    border: 1px solid rgba(255, 107, 53, 0.25) !important;
    color: #2b1b15 !important;
}

/* Cards & containers styling */
body.light-theme .card,
body.light-theme .product-card,
body.light-theme .cart-item,
body.light-theme .summary-panel,
body.light-theme .order-card,
body.light-theme .stat-box {
    background: #ffffff !important;
    border: 1px solid rgba(43, 27, 21, 0.06) !important;
    box-shadow: 0 10px 30px rgba(43, 27, 21, 0.03) !important;
}
body.light-theme .card::after {
    background: linear-gradient(135deg, rgba(255,107,53,0.04), rgba(255,209,102,0.02)) !important;
}
body.light-theme .card:hover,
body.light-theme .product-card:hover,
body.light-theme .order-card:hover {
    border-color: rgba(255, 107, 53, 0.2) !important;
    box-shadow: 0 20px 45px rgba(255, 107, 53, 0.06) !important;
}

/* Outlet detail page adjustments */
body.light-theme .outlet-header {
    background: linear-gradient(135deg, #fdfaf5 0%, #f4efe6 60%, #eae3d5 100%) !important;
    border-bottom: 1px solid rgba(43, 27, 21, 0.08) !important;
}
body.light-theme .outlet-header::before {
    background: radial-gradient(ellipse at 30% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 60%) !important;
}
body.light-theme .outlet-logo {
    background: #ffffff !important;
    border-color: rgba(43, 27, 21, 0.08) !important;
    box-shadow: 0 8px 30px rgba(43, 27, 21, 0.04) !important;
}
body.light-theme .img-wrapper {
    background: #eae3d5 !important;
}
body.light-theme .product-actions {
    background: #ffffff !important;
}

/* Cart Specific tweaks */
body.light-theme .item-img {
    background: #eae3d5 !important;
}
body.light-theme .summary-panel {
    background: #ffffff !important;
}
body.light-theme .qty-controls {
    background: #eae3d5 !important;
    border-color: rgba(43, 27, 21, 0.08) !important;
}
body.light-theme .qty-btn:hover {
    background: rgba(255, 107, 53, 0.15) !important;
    color: var(--accent) !important;
}
body.light-theme .qty-display {
    color: #2b1b15 !important;
}

/* Token page adjustments */
body.light-theme .token-card {
    background: #ffffff !important;
    border: 1px solid rgba(43, 27, 21, 0.08) !important;
    box-shadow: 0 10px 30px rgba(43, 27, 21, 0.03) !important;
}
body.light-theme .token-visibility,
body.light-theme .token-modal-countdown {
    background: rgba(43, 27, 21, 0.03) !important;
    border-color: rgba(43, 27, 21, 0.12) !important;
}
body.light-theme .token-card-no,
body.light-theme .token-modal-token {
    color: var(--accent) !important;
}
body.light-theme .token-card-order,
body.light-theme .token-modal-sub {
    color: #7f7166 !important;
}

/* Auth Cards styling */
body.light-theme .auth-card {
    background: #ffffff !important;
    border: 1px solid rgba(43, 27, 21, 0.08) !important;
    box-shadow: 0 30px 60px -15px rgba(43, 27, 21, 0.08) !important;
}
body.light-theme .auth-card input {
    background: #fbf9f4 !important;
}
body.light-theme .auth-links a {
    color: var(--accent) !important;
}
body.light-theme .auth-links a:hover {
    color: #2b1b15 !important;
}

/* Footer light overrides */
body.light-theme .modern-footer {
    background: linear-gradient(135deg, #f3ede2, #eae3d5) !important;
    color: #6e6056 !important;
    box-shadow: 0 -10px 30px rgba(43, 27, 21, 0.02) !important;
}
body.light-theme .modern-footer::before {
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, rgba(0,0,0,0) 70%) !important;
}
body.light-theme .modern-footer::after {
    background: radial-gradient(circle, rgba(245, 166, 35, 0.03) 0%, rgba(0,0,0,0) 70%) !important;
}
body.light-theme .footer-title {
    color: #2b1b15 !important;
}
body.light-theme .footer-title::after {
    background: var(--accent) !important;
}
body.light-theme .footer-col p {
    color: #6e6056 !important;
}
body.light-theme .footer-col ul li {
    color: #6e6056 !important;
}
body.light-theme .footer-col ul li i {
    color: var(--accent) !important;
}
body.light-theme .footer-col a {
    color: #6e6056 !important;
}
body.light-theme .footer-col a:hover {
    color: var(--accent) !important;
}
body.light-theme .footer-link {
    color: var(--accent) !important;
}
body.light-theme .why-choose-us li {
    color: #2b1b15 !important;
}
body.light-theme .footer-bottom {
    border-top: 1px solid rgba(43, 27, 21, 0.08) !important;
    color: #9a8c82 !important;
}

/* empty states and text colors */
body.light-theme .empty-state i {
    color: rgba(43, 27, 21, 0.1) !important;
}
body.light-theme .empty-state h3,
body.light-theme .empty-state h2 {
    color: #2b1b15 !important;
}
body.light-theme .empty-state p {
    color: #7f7166 !important;
}

/* 🌟 THEME TOGGLE BUTTON STYLES 🌟 */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface2);
    color: var(--text);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    outline: none;
    position: relative;
    overflow: hidden;
    margin-left: 8px;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    background: var(--surface);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px) rotate(15deg);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.theme-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleInToggle 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleInToggle {
    from { transform: scale(0) rotate(-90deg); opacity: 0; }
    to { transform: scale(1) rotate(0); opacity: 1; }
}

/* Theme transitioning smooth animation */
body.theme-transitioning,
body.theme-transitioning *,
body.theme-transitioning *::before,
body.theme-transitioning *::after {
    transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease !important;
}
