:root {
    --bg-color: #111111;
    --text-color: #f0f0f0;
    --gold-color: #ffcc00;
    --border-color: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Roboto Condensed', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    /* Simulating chalkboard texture */
    background-image: 
        radial-gradient(circle at 50% 50%, #222, #111),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    padding-bottom: 0;
}

.menu-container {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    width: 100%;
    padding: 20px;
    gap: 20px;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    margin-top: 0;
    flex-grow: 1;
}

/* Background Doodles Effect */
.menu-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

.column {
    padding: 10px;
    z-index: 1;
}

.center-column {
    order: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: 2px dashed #444;
    padding-bottom: 30px;
    margin-bottom: 20px;
}

/* Headings */
.section-title {
    font-family: 'Oswald', sans-serif;
    color: var(--gold-color);
    font-size: 1.8rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--gold-color);
    border-top: 1px solid var(--gold-color);
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 5px 0;
}

/* Menu Grid Layout */
.menu-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    width: 100%;
    margin-bottom: 30px;
}

@media (min-width: 600px) {
    .menu-section-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
}

/* Card Style - Screenshot Match */
.menu-item-card {
    background: #1e1e1e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border: none;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 12px;
}

/* Image Container */
.card-image-container {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
    background: #222;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder - Premium Dark Design */
.card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #2a2a2a 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 215, 0, 0.05);
}

/* Subtle pattern overlay */
.card-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.5;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.card-image-placeholder i {
    font-size: 2rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 215, 0, 0.3); /* Gold outline */
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.1));
    animation: floatIcon 3s ease-in-out infinite;
}

.card-image-placeholder span {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Content */
.card-content {
    padding: 12px 12px 0 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

/* Meta Row (Veg/NonVeg + Bestseller + Rating) */
.card-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.item-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.veg-icon, .non-veg-icon {
    width: 16px;
    height: 16px;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
}

.veg-icon { border-color: #4CAF50; }
.veg-icon::after { content: ''; width: 8px; height: 8px; background: #4CAF50; border-radius: 50%; }

.non-veg-icon { border-color: #f44336; }
.non-veg-icon::after { content: ''; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 8px solid #f44336; }

.bestseller-text {
    color: #FFD700;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(255, 215, 0, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.rating-badge {
    background-color: #1b5e20;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 4px;
    align-self: flex-start;
}

.rating-star { font-size: 0.7rem; margin-bottom: 1px; }
.rating-count { font-size: 0.65rem; font-weight: 400; opacity: 0.8; margin-left: 2px; }

/* Title */
.item-name {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #e0e0e0;
    margin: 4px 0 0 0;
    line-height: 1.3;
}

/* Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.card-price {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

/* Premium Gold Add Button */
.add-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    color: #1a1a1a;
    border: none;
    padding: 0 20px;
    border-radius: 10px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    z-index: 1;
}

.add-btn i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

/* Shine Effect */
.add-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.add-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #FFC107 0%, #FFD700 100%);
    color: #000;
}

.add-btn:hover::before {
    left: 100%;
}

.add-btn:hover i {
    transform: rotate(90deg);
}

.add-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Sold Out Button - Matching Reference Image */
.sold-out-btn {
    background: #1a0505; /* Deep dark red base */
    color: #ff8a80; /* Soft salmon/red text */
    border: 1px solid rgba(255, 82, 82, 0.15); /* Subtle red border */
    padding: 2px 10px; /* Reduced base padding */
    border-radius: 50px; /* Pill shape */
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.65rem; /* Reduced base font size */
    cursor: not-allowed;
    text-transform: uppercase;
    letter-spacing: 0.5px; /* Reduced base spacing */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px; /* Reduced gap */
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8); /* Deep inner shadow */
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 1;
    max-width: 100%;
    flex-shrink: 0;
}

/* Diagonal Stripes Pattern */
.sold-out-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 82, 82, 0.08),
        rgba(255, 82, 82, 0.08) 15px,
        transparent 15px,
        transparent 30px
    );
    z-index: -1;
}

/* Icon Styling */
.sold-out-btn i {
    font-size: 0.7rem; /* Reduced icon size */
    color: #ff5252; /* Slightly brighter icon */
    opacity: 0.8;
}

/* Hover Effect */
.sold-out-btn:hover {
    background: #250808;
    border-color: rgba(255, 82, 82, 0.3);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .sold-out-btn {
        padding: 3px 10px;
        font-size: 0.65rem;
        letter-spacing: 0.5px;
        gap: 5px;
    }
    .sold-out-btn i {
        font-size: 0.7rem;
    }
}

@media (max-width: 360px) {
    .sold-out-btn {
        padding: 2px 8px;
        font-size: 0.6rem;
        letter-spacing: 0px;
        gap: 3px;
    }
    .sold-out-btn i {
        font-size: 0.65rem;
    }
}

/* Promo Text / Bestseller Tag */
.promo-text {
    font-size: 0.75rem;
    color: #FFD700; /* Gold */
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: fadeIn 0.5s ease;
}

.promo-text i {
    font-size: 0.8rem;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Out of Stock Style */
.menu-item-card.out-of-stock {
    opacity: 0.7;
    background: #151515;
    border-color: #333;
}

.menu-item-card.out-of-stock .card-image {
    filter: grayscale(1) contrast(0.8) brightness(0.5);
}

.menu-item-card.out-of-stock .card-image-placeholder i {
    color: #444;
    filter: none;
}

.menu-item-card.out-of-stock .card-title {
    color: #777;
    text-decoration: line-through;
    text-decoration-color: var(--gold-color);
    text-shadow: none;
}

.menu-item-card.out-of-stock .card-price {
    color: #555;
    text-shadow: none;
}

.stock-badge {
    background: #222;
    color: #888;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    border: 1px solid #444;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Removed old rating-stars class as it is replaced by .stars */

/* Logo */
.brand-logo-container {
    margin-bottom: 70px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.main-logo-img {
    width: 200px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 204, 0, 0.3));
}

/* Search Bar - Premium Beautification */
.search-container {
    width: 100%;
    max-width: 500px;
    position: relative;
    margin: 10px auto 25px auto;
    z-index: 10;
}

#menu-search {
    width: 100%;
    padding: 16px 55px 16px 25px;
    background-color: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#menu-search::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
    transition: color 0.3s ease;
}

#menu-search:hover {
    background-color: rgba(30, 30, 30, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

#menu-search:focus {
    border-color: var(--gold-color);
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.15), inset 0 2px 10px rgba(0,0,0,0.3);
}

#menu-search:focus::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-color);
    pointer-events: none;
    font-size: 1.3rem;
    filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.3));
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Animate icon on focus */
#menu-search:focus + .search-icon {
    transform: translateY(-50%) scale(1.15) rotate(10deg);
    filter: drop-shadow(0 0 12px rgba(255, 204, 0, 0.6));
    color: #FFD700;
}

/* Center Illustration Icons - Removed */

/* Center Footer Info Badges */
.center-footer-text {
    margin-top: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 10px;
}

.info-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.info-badge:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.info-badge i {
    color: var(--gold-color);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(255, 204, 0, 0.4));
    transition: transform 0.3s ease;
}

.info-badge:hover i {
    transform: scale(1.1) rotate(-5deg);
}

.info-badge.highlight {
    border-color: rgba(255, 204, 0, 0.3);
    background: linear-gradient(90deg, rgba(255, 204, 0, 0.05), rgba(0,0,0,0) 50%, rgba(255, 204, 0, 0.05));
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.info-badge.highlight:hover {
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.15);
    border-color: var(--gold-color);
}

.info-badge.highlight span {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
    font-weight: bold;
}

/* Shimmer effect for highlight badge */
.info-badge.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.1), transparent);
    transform: skewX(-25deg);
    animation: shimmer-badge 3s infinite;
}

@keyframes shimmer-badge {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Contact Section Removed */
/* .contact-section, .contact-item, etc. removed as per request */

/* WhatsApp Button */
.whatsapp-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-top: 30px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* Bug Report Section */
.bug-report-section {
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    border-top: 1px dashed #333;
}

.bug-report-link {
    color: #666;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
}

.bug-report-link:hover {
    color: var(--gold-color);
    background: rgba(255, 204, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.bug-report-link i {
    font-size: 1rem;
}

/* Footer */
.main-footer {
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(to bottom, #0a0a0a, #000);
    border-top: 1px solid rgba(255, 204, 0, 0.1);
    color: #666;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.8);
    overflow: hidden;
}

/* Subtle glow at top */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
    opacity: 0.5;
}

.main-footer p {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 1;
    position: relative;
}

.main-footer i {
    color: #ff4d4d;
    animation: heartbeat 2s infinite ease-in-out;
    font-size: 1rem;
    filter: drop-shadow(0 0 8px rgba(255, 77, 77, 0.6));
}

.developer-name {
    color: #ccc;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.developer-name:hover {
    color: var(--gold-color);
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
    transform: translateY(-1px);
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    5% { transform: scale(1.2); }
    10% { transform: scale(1); }
    15% { transform: scale(1.2); }
    50% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Order Filters - Beautified */
.order-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
    padding: 15px 25px;
    border-radius: 25px;
    border: 1px solid rgba(255, 204, 0, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-label {
    font-family: 'Oswald', sans-serif;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 5px;
    letter-spacing: 1px;
}

.filter-label i {
    color: var(--gold-color);
    filter: drop-shadow(0 0 5px rgba(255, 204, 0, 0.5));
}

.filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.order-filters .gold-outline-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 204, 0, 0.4);
    color: var(--gold-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.order-filters .gold-outline-btn:hover {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.2), rgba(180, 140, 0, 0.1));
    border-color: var(--gold-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.25);
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.4);
}

.order-filters .active-filter {
    background: var(--gold-color) !important;
    color: #111 !important;
    border-color: var(--gold-color) !important;
    font-weight: 700;
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.5);
    transform: scale(1.05);
}

.date-picker-wrapper {
    display: flex;
    align-items: center;
}

.filter-date-input {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #eee;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 180px;
}

.filter-date-input:focus,
.filter-date-input:hover {
    border-color: var(--gold-color);
    background: rgba(40, 40, 40, 0.9);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.15);
}

/* Flatpickr Theme Overrides (Gold & Dark) */
.flatpickr-calendar {
    background: #000 !important;
    border: 1px solid rgba(255, 204, 0, 0.4) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9) !important;
    font-family: 'Roboto Condensed', sans-serif !important;
    border-radius: 8px !important;
}

.flatpickr-calendar.arrowTop:before, .flatpickr-calendar.arrowTop:after {
    border-bottom-color: var(--gold-color) !important;
}

.flatpickr-months {
    background: #000 !important;
    border-bottom: 1px solid rgba(255, 204, 0, 0.2) !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-radius: 8px 8px 0 0 !important;
}

.flatpickr-month {
    background: #000 !important;
    color: var(--gold-color) !important;
    fill: var(--gold-color) !important;
}

.flatpickr-current-month {
    font-size: 1.1rem !important;
    padding-top: 0 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    font-family: 'Oswald', sans-serif !important;
    font-weight: bold !important;
    color: var(--gold-color) !important;
    font-size: 1.2rem !important;
    background: #000 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover,
.flatpickr-current-month input.cur-year:hover {
    background: rgba(255, 204, 0, 0.1) !important;
}

.flatpickr-prev-month, .flatpickr-next-month {
    fill: var(--gold-color) !important;
    color: var(--gold-color) !important;
    padding-top: 5px !important;
}

.flatpickr-prev-month:hover svg, .flatpickr-next-month:hover svg {
    fill: #fff !important;
}

.flatpickr-weekdays {
    background: #000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

span.flatpickr-weekday {
    background: #000 !important;
    color: #888 !important;
    font-weight: normal !important;
    font-size: 0.9rem !important;
    font-family: 'Oswald', sans-serif !important;
    letter-spacing: 1px;
}

.flatpickr-days {
    background: #050505 !important;
    border-radius: 0 0 8px 8px !important;
    border-top: 1px solid #111 !important;
}

.flatpickr-day {
    color: #eee !important;
    border-radius: 5px !important;
    transition: all 0.2s ease !important;
}

.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
    color: #444 !important;
}

.flatpickr-day:hover, .flatpickr-day:focus {
    background: rgba(255, 204, 0, 0.15) !important;
    border-color: transparent !important;
    color: var(--gold-color) !important;
    transform: scale(1.1);
}

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, 
.flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, 
.flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, 
.flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, 
.flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, 
.flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
    background: var(--gold-color) !important;
    color: #000 !important;
    border-color: var(--gold-color) !important;
    font-weight: 900 !important;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.6) !important;
    transform: scale(1.05);
}

.flatpickr-day.today {
    border: 1px solid var(--gold-color) !important;
    color: var(--gold-color) !important;
    background: transparent !important;
}

.flatpickr-day.today:hover {
    background: var(--gold-color) !important;
    color: #000 !important;
}

/* Custom Calendar Icon for Input */
.date-picker-wrapper {
    position: relative;
}

.date-picker-wrapper::after {
    content: '\f073'; /* FontAwesome Calendar Icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none; /* Let clicks pass through to input */
    transition: color 0.3s ease;
}

.date-picker-wrapper:hover::after {
    color: var(--gold-color);
}

@media (max-width: 768px) {
    .order-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 15px;
    }
    
    .filter-label {
        justify-content: center;
        margin-right: 0;
    }
    
    .filter-group {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .date-picker-wrapper {
        margin-left: 0;
        width: 100%;
    }
    
    .filter-date-input {
        width: 100%;
        text-align: center;
    }
}

/* --- Terms Header Styles --- */
.terms-header {
    width: 100%;
    padding: 60px 20px;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffcc00' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid rgba(255, 204, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.terms-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffcc00, transparent);
    animation: shimmer-border 3s infinite linear;
    background-size: 200% 100%;
}

@keyframes shimmer-border {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

.terms-header-content {
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.terms-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.terms-subtitle {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    color: #ffcc00;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid var(--gold-color);
    color: var(--gold-color);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    z-index: 2;
}

.back-home-btn:hover {
    background: var(--gold-color);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
}

.back-home-btn i {
    transition: transform 0.3s ease;
}

.back-home-btn:hover i {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .terms-title {
        font-size: 2.5rem;
    }
    .terms-subtitle {
        font-size: 1.5rem;
    }
}

/* --- Leadership Header Styles --- */
.leadership-header {
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)),
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffcc00' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid rgba(255, 204, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.leadership-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffcc00, transparent);
    animation: shimmer-border 3s infinite linear;
    background-size: 200% 100%;
}

.leadership-header-content {
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.leadership-title {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.leadership-subtitle {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: #ffcc00;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

@media (max-width: 768px) {
    .leadership-title {
        font-size: 2.8rem;
    }
    .leadership-subtitle {
        font-size: 1.6rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.menu-item {
    transition: transform 0.2s ease, background-color 0.2s ease;
    padding: 10px;
    border-radius: 5px;
}

.menu-item:hover {
    transform: translateX(5px);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Helper for JS filtering */
.hidden-item {
    display: none !important;
}

/* --- Admin & Login Premium Styles --- */

.login-container {
    display: flex;
    flex-direction: column;
    max-width: 420px;
    width: 90%;
    padding: 40px;
    gap: 25px;
    position: relative;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 204, 0, 0.15);
    margin-top: 80px;
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 15px;
    align-items: center;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    max-width: 1200px;
    background: rgba(0, 0, 0, 0.8); /* Darker for better contrast */
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 204, 0, 0.2);
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.admin-title {
    font-family: 'Oswald', sans-serif;
    color: var(--gold-color);
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
    margin: 0; /* Remove default margin */
}

.logout-icon {
    color: var(--gold-color);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Heavy Beautification */
    width: 42px;
    height: 42px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(30,30,30,0.9), rgba(10,10,10,0.95));
    border-radius: 50%; /* Circle shape */
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 4px 10px rgba(0,0,0,0.5),
        inset 0 1px 1px rgba(255,255,255,0.1),
        0 0 10px rgba(255, 215, 0, 0.1); /* Subtle glow */
    backdrop-filter: blur(5px);
    margin: 0;
    position: relative;
    overflow: hidden;
}

.logout-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: 0.5s;
}

.logout-icon:hover {
    transform: translateY(-3px) scale(1.1);
    color: #111;
    background: linear-gradient(145deg, #ffd700, #ffaa00);
    border-color: #ffd700;
    box-shadow: 
        0 10px 20px rgba(0,0,0,0.4),
        0 0 20px rgba(255, 215, 0, 0.6), /* Stronger glow */
        inset 0 -2px 5px rgba(0,0,0,0.2);
}

.logout-icon:hover::after {
    left: 100%;
}

.logout-icon:active {
    transform: translateY(1px) scale(0.95);
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Responsive Header for Mobile */
@media (max-width: 600px) {
    .admin-header {
        padding: 15px 20px;
        justify-content: space-between; /* Ensure space between title and icon */
        flex-direction: row; /* Keep it row */
    }

    .admin-title {
        font-size: 1.1rem;
        width: auto;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .admin-header #logout-btn, .admin-header #my-profile-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        /* Preserve the beautiful styling but scale down */
    }
}

.admin-container {
    max-width: 1200px;
    background: transparent;
    box-shadow: none;
    padding: 0 20px;
}

/* Form Styling */
.form-group {
    width: 100%;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-color);
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--gold-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

/* Custom Select Styling */
select.form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffcc00%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

/* Status Dropdown in Admin Order Card */
.status-dropdown {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 6px 30px 6px 12px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 204, 0, 0.3);
    cursor: pointer;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
    
    /* Custom Arrow */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffcc00%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 10px auto;
    
    min-width: 150px;
}

.status-dropdown:hover, .status-dropdown:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--gold-color);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

.status-dropdown option {
    background-color: #222;
    color: #fff;
    padding: 10px;
}

select.form-input option {
    background-color: #1a1a1a;
    color: var(--text-color);
    padding: 10px;
    font-family: 'Roboto Condensed', sans-serif;
}

/* Buttons */
.gold-btn {
    background: linear-gradient(135deg, #ffcc00 0%, #ffdb4d 50%, #e6b800 100%);
    color: #000;
    border: none;
    padding: 14px 30px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    border-radius: 12px;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.gold-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.gold-btn:hover::before {
    left: 100%;
}

.gold-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #ffd633 0%, #ffe066 50%, #ffcc00 100%);
}

.gold-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.gold-outline-btn {
    background: rgba(255, 204, 0, 0.05);
    border: 2px solid var(--gold-color);
    color: var(--gold-color);
    padding: 14px 30px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
    border-radius: 12px;
    letter-spacing: 1.5px;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.05);
    backdrop-filter: blur(5px);
    margin-bottom: 0; /* Reset default margin */
}

.gold-outline-btn:hover {
    background: rgba(255, 204, 0, 0.15);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.25), inset 0 0 10px rgba(255, 204, 0, 0.1);
    transform: translateY(-3px);
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.6);
    border-color: #ffd700;
}

.small-btn {
    width: auto;
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 6px;
}

.danger-btn {
    background: linear-gradient(135deg, #ff4444 0%, #ff6666 50%, #cc0000 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    width: auto;
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.2);
    letter-spacing: 1px;
}

.danger-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.4);
    background: linear-gradient(135deg, #ff6666 0%, #ff8888 50%, #ff4444 100%);
}

.error-text {
    color: #ff4444;
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: bold;
}

.back-link {
    color: #888;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--gold-color);
}

/* Admin Grid Layout */
.admin-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-actions .gold-btn,
.admin-actions .gold-outline-btn,
.admin-actions .danger-btn {
    width: auto;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
    padding: 12px 25px;
    height: 48px; /* Consistent height */
}

.admin-actions .danger-btn {
    margin-left: auto; /* Push Reset button to the far right */
}

@media (max-width: 768px) {
    .admin-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-actions .gold-btn,
    .admin-actions .gold-outline-btn,
    .admin-actions .danger-btn {
        width: 100%;
        margin-left: 0;
    }
}

/* Menu Search Bar Styles */
.search-container {
    margin-bottom: 25px;
    animation: fadeIn 0.5s ease-out;
}

.search-wrapper {
    position: relative;
    max-width: 100%;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 60px !important;
    font-size: 1.1rem;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid #333;
    border-radius: 12px;
    color: var(--text-color);
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}

.search-input:focus {
    background: rgba(20, 20, 20, 0.9);
    border-color: var(--gold-color);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.1), inset 0 2px 5px rgba(0,0,0,0.2);
}

.search-input:focus + .search-icon,
.search-wrapper:focus-within .search-icon {
    color: var(--gold-color);
}

.search-input::placeholder {
    color: #555;
    font-weight: 400;
}

.admin-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.admin-item-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 204, 0, 0.15);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.admin-item-card:hover {
    background: rgba(30, 30, 30, 0.9);
    border-color: var(--gold-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 15px rgba(255, 204, 0, 0.1);
}

/* Out of Stock Card Variant */
.admin-item-card.out-of-stock {
    border-color: rgba(255, 68, 68, 0.3);
    background: rgba(40, 20, 20, 0.6);
}

.admin-item-card.out-of-stock:hover {
    border-color: #ff4444;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 15px rgba(255, 68, 68, 0.1);
}

/* Admin Item Thumbnail */
.admin-item-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #444;
}

.item-details {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.item-details .item-name {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.item-details .item-price {
    display: block;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.2rem;
    color: var(--gold-color);
    font-weight: bold;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; /* Let clicks pass through container area */
}

.toast {
    background: rgba(10, 10, 10, 0.95);
    border-left: 4px solid var(--gold-color);
    color: #fff;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    min-width: 300px;
    max-width: 450px;
    animation: slideInRight 0.3s ease-out forwards;
    pointer-events: auto; /* Re-enable clicks on toast */
    backdrop-filter: blur(10px);
}

.toast.toast-error {
    border-left-color: #ff4444;
}

.toast.toast-success {
    border-left-color: #4CAF50;
}

.toast-message {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    flex-grow: 1;
}

.toast-close {
    margin-left: 15px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #888;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #fff;
}

.toast.hiding {
    animation: fadeOutRight 0.3s ease-in forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Admin Stock Badge */
.admin-stock-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: bold;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    text-decoration: none !important; /* Override line-through */
    opacity: 1 !important; /* Override opacity */
}

.admin-item-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    z-index: 2;
}

/* Responsive Action Buttons */
@media (max-width: 480px) {
    .admin-item-actions {
        flex-direction: column;
    }
    
    .admin-item-actions button {
        width: 100%;
        margin-bottom: 5px;
    }
}

.admin-item-actions button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px; /* Slightly more rounded */
    cursor: pointer;
    font-family: 'Oswald', sans-serif; /* Changed to match theme */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.edit-btn {
    background: transparent;
    border: 1px solid var(--gold-color) !important;
    color: var(--gold-color);
}

.edit-btn:hover {
    background: var(--gold-color) !important;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
}

.admin-item-actions .delete-btn {
    background: transparent;
    border: 1px solid #ff4444 !important;
    color: #ff4444;
}

.admin-item-actions .delete-btn:hover {
    background: #ff4444 !important;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.3);
}

/* Modal Premium Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

#modal-item-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 204, 0, 0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: none; /* Default hidden */
}

.modal-content {
    background: #1a1a1a;
    background-image: 
        radial-gradient(circle at 50% 0%, #2a2a2a, #1a1a1a);
    padding: 40px;
    border: 1px solid var(--gold-color);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.9);
    border-radius: 15px;
    animation: slideUp 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

#modal-item-name {
    text-align: left;
    width: 100%;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    color: #666;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--gold-color);
}

.hidden-section {
    display: none !important;
}

/* Stock Status Styles */
.out-of-stock .item-name,
.out-of-stock .item-price {
    opacity: 0.5;
    text-decoration: line-through;
}

.stock-badge {
    display: inline-block;
    background-color: #ff4444;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: bold;
    vertical-align: middle;
    text-decoration: none !important;
    opacity: 1 !important;
}

/* --- Main Header Styles --- */
.main-header {
    width: 100%;
    padding: 15px 20px;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 204, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.header-left .brand-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold-color);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px; /* Increased gap for better spacing */
}

/* Main Website Specific Header Icons */
.support-icon {
    color: var(--gold-color);
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 204, 0, 0.1);
    text-decoration: none;
}

/* Quick Action Buttons (Admin Orders) */
.quick-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

.call-btn:hover {
    border-color: #4CAF50;
    color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.2);
}

.qr-btn:hover {
    border-color: var(--gold-color);
    color: var(--gold-color);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

.support-icon:hover {
    color: #000;
    background: var(--gold-color);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
    transform: translateY(-2px) scale(1.1);
    border-color: var(--gold-color);
}

.mobile-menu-toggle {
    color: var(--gold-color);
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.mobile-menu-toggle:hover {
    color: #000;
    background: var(--gold-color);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.6);
    border-color: var(--gold-color);
}

/* --- Admin Header Navigation --- */
.admin-header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
}

.admin-title {
    font-family: 'Oswald', sans-serif;
    color: var(--gold-color);
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: 1px;
}

.admin-subtitle {
    color: #fff;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

/* Desktop Nav */
.admin-nav {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-link {
    background: transparent;
    border: none;
    color: #aaa;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    position: relative;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--gold-color);
    background: rgba(255, 204, 0, 0.1);
    font-weight: bold;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--gold-color);
    box-shadow: 0 0 10px var(--gold-color);
}

/* Header Right Actions */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Premium Header Icons (User, Logout, Mobile Toggle) */
.logout-icon, 
.mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 204, 0, 0.2);
    color: var(--gold-color);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    text-decoration: none;
}

/* Specific adjustment for mobile toggle to ensure it aligns */
.mobile-nav-toggle {
    display: none; /* Default hidden on desktop */
    font-size: 1.2rem;
    padding: 0; /* Reset padding */
    z-index: 2002;
}

.logout-icon:hover,
.mobile-nav-toggle:hover {
    background: var(--gold-color);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.5);
    transform: translateY(-2px) scale(1.1);
    border-color: var(--gold-color);
    text-shadow: none;
}

.logout-icon:active,
.mobile-nav-toggle:active {
    transform: translateY(1px) scale(0.95);
}

/* Specific colors for different actions if needed */
#logout-btn:hover {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    border-color: #ff4444;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}

/* Responsive Admin Header */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .admin-header {
        padding: 10px 20px;
        justify-content: space-between;
    }

    .header-right {
        gap: 15px;
    }
}

/* Ensure Mobile Nav Link Buttons look good */
button.mobile-nav-link {
    width: 100%;
    text-align: left;
    font-size: 1rem; /* Slightly smaller for admin list */
    justify-content: space-between;
}

/* --- Mobile Navigation --- */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* Duplicates removed */


/* Mobile Nav Header Beautification */
.mobile-nav-header {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0,0,0,0.2);
}

/* Removed duplicate MENU text pseudo-element */

.mobile-nav-header h2 {
    font-family: 'Oswald', sans-serif;
    color: var(--gold-color);
    margin: 0;
    font-size: 2rem;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
    text-transform: uppercase;
}

.close-mobile-nav {
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.close-mobile-nav:hover {
    color: var(--gold-color);
    background: rgba(255, 204, 0, 0.15);
    border-color: var(--gold-color);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
}

/* Beautiful Mobile Menu Container */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -350px; /* Slightly wider start */
    width: 350px;
    height: 100vh;
    /* Premium Gradient Background */
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 2001;
    transition: right 0.5s cubic-bezier(0.19, 1, 0.22, 1); /* Elegant easing */
    box-shadow: -10px 0 50px rgba(0,0,0,0.8);
    border-left: 1px solid rgba(255, 204, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.mobile-nav-menu.active {
    right: 0;
}

/* Header Text Gradient */
.mobile-nav-header h2 {
    font-family: 'Oswald', sans-serif;
    background: linear-gradient(to bottom, var(--gold-color), #cc9900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    font-size: 2.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    filter: drop-shadow(0 0 10px rgba(255, 204, 0, 0.2));
}

/* Enhanced Mobile Links */
.mobile-nav-links {
    list-style: none;
    padding: 40px 25px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    flex: 1;
}

.mobile-nav-links li a,
.mobile-nav-links .mobile-nav-link {
    /* Glassy Card Look */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle highlight */
    border-bottom: 1px solid rgba(0, 0, 0, 0.5); /* Subtle shadow */
    color: #ddd;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    padding: 18px 25px;
    text-align: left;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    width: 100%; /* Ensure full width for buttons */
}

/* Hover Shine Effect */
.mobile-nav-links li a::before,
.mobile-nav-links .mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
}

.mobile-nav-links li a:hover::before,
.mobile-nav-links .mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-links li a::after,
.mobile-nav-links .mobile-nav-link::after {
    content: '\f054'; /* FontAwesome Chevron Right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: var(--gold-color);
}

.mobile-nav-links li a:hover,
.mobile-nav-links .mobile-nav-link:hover {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.15), rgba(0,0,0,0));
    color: #fff;
    border-color: rgba(255, 204, 0, 0.4);
    padding-left: 30px; /* Slight slide */
    box-shadow: 0 10px 25px rgba(0,0,0,0.4), 0 0 15px rgba(255, 204, 0, 0.1); /* Glow */
    transform: translateY(-2px);
}

.mobile-nav-links li a:hover::after,
.mobile-nav-links .mobile-nav-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-link.active {
    background: linear-gradient(90deg, rgba(255, 204, 0, 0.2), transparent);
    border-left: 4px solid var(--gold-color);
    color: var(--gold-color);
    font-weight: bold;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.1);
}

.mobile-nav-link.active::after {
    opacity: 1;
    transform: translateX(0);
    color: var(--gold-color);
}

/* Add a footer decoration inside the menu */
.mobile-nav-menu::after {
    content: 'BEYON 79';
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    letter-spacing: 10px;
    font-weight: bold;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--gold-color);
    color: #eee;
    padding: 10px 25px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 30px;
    white-space: nowrap; /* Prevent text wrapping inside button */
}

.tab-btn:hover {
    background: rgba(255, 204, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
}

.tab-btn.active {
    background: var(--gold-color);
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.5);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* Mobile Responsiveness for Tabs */
@media (max-width: 600px) {
    .admin-tabs {
        gap: 8px;
    }
}

/* --- Premium Stats Dashboard --- */
.stats-dashboard {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(15, 15, 15, 0.95));
    border: 1px solid rgba(255, 204, 0, 0.2);
    padding: 15px 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 204, 0, 0.1);
    border-color: rgba(255, 204, 0, 0.4);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold-color), #cc9900);
    box-shadow: 2px 0 15px rgba(255, 204, 0, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    color: rgba(255, 204, 0, 0.2);
    background: -webkit-linear-gradient(var(--gold-color), #cc9900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(255, 204, 0, 0.2));
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    color: #888;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    color: var(--gold-color);
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
    background: linear-gradient(to right, #fff, var(--gold-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Premium Refresh Button */
.refresh-orders-btn {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.1), rgba(0, 0, 0, 0.4));
    border: 1px solid rgba(255, 204, 0, 0.3);
    color: var(--gold-color);
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    padding: 0 40px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.refresh-orders-btn:hover {
    background: linear-gradient(135deg, var(--gold-color), #cc9900);
    color: #000;
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.4);
    transform: translateY(-2px);
    border-color: transparent;
}

.refresh-orders-btn i {
    font-size: 1.2rem;
    transition: transform 0.5s ease;
}

.refresh-orders-btn:hover i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .stats-dashboard {
        flex-direction: column;
        gap: 15px;
        padding: 10px;
    }
    
    .refresh-orders-btn {
        padding: 15px;
        justify-content: center;
        width: 100%;
    }
}

/* Order Filters Premium Redesign */
.order-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 204, 0, 0.1);
    border-radius: 12px;
    padding: 15px 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filter-label {
    color: var(--gold-color);
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    background: rgba(0,0,0,0.3);
    padding: 5px;
    border-radius: 8px;
    border: 1px solid rgba(255, 204, 0, 0.1);
}

.filter-btn {
    background: transparent;
    border: none;
    color: #aaa;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.filter-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active-filter {
    background: linear-gradient(135deg, var(--gold-color), #cc9900);
    color: #000;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.3);
    font-weight: 500;
}

.date-picker-container {
    position: relative;
    display: flex;
    align-items: center;
}

.date-icon {
    position: absolute;
    left: 15px;
    color: var(--gold-color);
    z-index: 1;
    pointer-events: none;
}

.premium-date-input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 204, 0, 0.3);
    color: #fff;
    padding: 10px 15px 10px 45px;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    width: 200px;
    cursor: pointer;
}

.premium-date-input:focus {
    border-color: var(--gold-color);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

.premium-date-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Flatpickr Customization Override */
.flatpickr-calendar {
    background: rgba(20, 20, 20, 0.95) !important;
    border: 1px solid var(--gold-color) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8) !important;
    backdrop-filter: blur(10px) !important;
}

.flatpickr-day.selected {
    background: var(--gold-color) !important;
    border-color: var(--gold-color) !important;
    color: #000 !important;
}

@media (max-width: 768px) {
    .order-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 15px;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .filter-buttons {
        display: flex;
        justify-content: space-between;
    }
    
    .filter-btn {
        flex: 1;
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .premium-date-input {
        width: 100%;
    }
}

/* Premium Order Card Styles */
.order-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(15, 15, 15, 0.98));
    border: 1px solid rgba(255, 204, 0, 0.2);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold-color), #cc9900);
    box-shadow: 2px 0 15px rgba(255, 204, 0, 0.3);
}

.order-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 204, 0, 0.1);
    border-color: rgba(255, 204, 0, 0.4);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.order-id-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-id {
    font-family: 'Oswald', sans-serif;
    color: var(--gold-color);
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.order-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.badge-delivery {
    background: linear-gradient(135deg, #FFC107, #FF9800);
    color: #000;
}

.badge-pickup {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: #fff;
}

.order-date {
    font-family: 'Rajdhani', sans-serif;
    color: #888;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.customer-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.detail-icon {
    color: var(--gold-color);
    font-size: 1rem;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.detail-value {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.4;
}

.order-items-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 5px;
}

.order-items-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.order-item-row:last-child {
    border-bottom: none;
}

.order-item-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.item-name {
    color: #eee;
    font-weight: 500;
}

.item-qty {
    color: var(--gold-color);
    font-weight: bold;
    margin-right: 8px;
}

.item-price {
    color: #ccc;
    font-family: 'Rajdhani', sans-serif;
}

.order-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(255, 204, 0, 0.1);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    color: #aaa;
    font-size: 0.9rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    color: var(--gold-color);
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.order-actions-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status-select-wrapper {
    position: relative;
    min-width: 220px;
}

.status-select {
    width: 100%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
    color: #fff;
    border: 1px solid rgba(255, 204, 0, 0.3);
    padding: 12px 20px 12px 20px;
    border-radius: 30px; /* Pill shape */
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.status-select:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.3));
    border-color: var(--gold-color);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.15), inset 0 2px 5px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.status-select:focus {
    outline: none;
    border-color: var(--gold-color);
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

.status-select option {
    background-color: #1a1a1a;
    color: #fff;
    padding: 15px;
    font-weight: 500;
}

.status-select-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-color);
    pointer-events: none;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
}

.status-select-wrapper:hover .status-select-arrow {
    transform: translateY(-50%) scale(1.1);
}

.delete-order-btn {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #ff6b6b;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.delete-order-btn:hover {
    background: rgba(244, 67, 54, 0.2);
    border-color: #ff6b6b;
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.2);
}

/* Order Card Quick Actions */
.quick-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.call-btn {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.call-btn:hover {
    background: #4CAF50;
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.qr-btn {
    background: rgba(255, 204, 0, 0.15);
    color: var(--gold-color);
    border: 1px solid rgba(255, 204, 0, 0.3);
}

.qr-btn:hover {
    background: var(--gold-color);
    color: black;
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3);
}

@media (max-width: 768px) {
    .order-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
    }
    
    .order-actions-footer {
        flex-direction: column-reverse;
        gap: 15px;
        align-items: stretch;
    }
    
    .status-select-wrapper {
        width: 100%;
    }
    
    .delete-order-btn {
        justify-content: center;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #141414);
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 20px;
    padding: 35px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(255, 204, 0, 0.1);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 85vh;
    overflow-y: auto;
}

/* Modal Header Design */
.modal h2 {
    color: var(--gold-color);
    font-family: 'Oswald', sans-serif;
    margin-bottom: 25px;
    font-size: 2.2rem;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
    position: relative;
    padding-bottom: 15px;
}

.modal h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-color);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.6);
    border-radius: 2px;
}

@keyframes modalSlideIn {
    from { transform: translateY(30px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #666;
    font-size: 24px;
    background: rgba(255,255,255,0.05);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.close-modal:hover {
    color: var(--gold-color);
    background: rgba(255, 204, 0, 0.1);
    border-color: rgba(255, 204, 0, 0.3);
    transform: rotate(90deg);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-color);
    background: rgba(255, 204, 0, 0.05);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.1);
}

/* Custom File Input */
input[type="file"].form-input {
    padding: 10px;
    cursor: pointer;
}

input[type="file"]::file-selector-button {
    margin-right: 15px;
    background: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    transition: all 0.3s;
}

input[type="file"]::file-selector-button:hover {
    background: var(--gold-color);
    color: #000;
    border-color: var(--gold-color);
}

/* Toggle Switch Enhancements */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border: 1px solid #555;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

input:checked + .slider {
    background-color: #4CAF50; /* Green for active */
    border-color: #4CAF50;
}

/* Specific Gold Switch for special toggles if needed */
.gold-switch input:checked + .slider {
    background-color: var(--gold-color);
    border-color: var(--gold-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.modal-price {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 25px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: #333;
    color: white;
    border: 1px solid #555;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: var(--gold-color);
    color: black;
    border-color: var(--gold-color);
}

#order-quantity {
    width: 50px;
    text-align: center;
    background: #111;
    border: 1px solid #444;
    color: white;
    height: 35px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
}

#order-address, #order-notes {
    width: 100%;
    padding: 10px;
    background: #111;
    border: 1px solid #444;
    border-radius: 4px;
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.95rem;
    resize: vertical;
}

#order-address:focus, #order-notes:focus {
    border-color: var(--gold-color);
    outline: none;
}

.full-width {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.form-group label {
    display: block;
    color: #aaa;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.tab-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        flex: 1 1 auto; /* Allow buttons to grow and fill rows */
        text-align: center;
        min-width: fit-content;
    }

/* Terms & Conditions Page Styles */
.terms-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 204, 0, 0.1);
    color: #ddd;
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.6;
}

.terms-content h2 {
    font-family: 'Oswald', sans-serif;
    color: var(--gold-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 204, 0, 0.2);
    padding-bottom: 10px;
}

.terms-content p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.terms-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.terms-content li {
    margin-bottom: 10px;
    list-style-type: square;
    color: #ccc;
}

.terms-content strong {
    color: #fff;
}

/* Mock Data Warning */
.mock-data-warning {
    color: var(--gold-color);
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8;
}

.last-updated {
    font-style: italic;
    color: #888;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-left: 1px solid #333;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 5px;
    border: 2px solid #1a1a1a;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-color);
}

/* Security Log Table */
.log-container {
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.log-table {
    width: 100%;
    border-collapse: collapse;
    color: #ddd;
    font-family: 'Roboto Condensed', sans-serif;
    min-width: 600px;
}

.log-table th {
    text-align: left;
    padding: 15px;
    background: rgba(255, 204, 0, 0.1);
    color: var(--gold-color);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 204, 0, 0.2);
    white-space: nowrap;
}

.log-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
    font-size: 0.95rem;
    line-height: 1.4;
}

.log-table tr:last-child td {
    border-bottom: none;
}

.log-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Specific Column widths */
.log-table th:nth-child(1) { width: 22%; } /* Time */
.log-table th:nth-child(2) { width: 15%; } /* Action */
.log-table th:nth-child(3) { width: 45%; } /* Details */
.log-table th:nth-child(4) { width: 18%; } /* IP */

/* Status Colors in Logs */
.log-table td:nth-child(2) {
    font-weight: bold;
    color: #fff;
}

/* Specific Action Colors */
.log-action-LOGIN_SUCCESS {
    color: #4CAF50 !important; /* Green */
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.log-action-LOGIN_FAILED {
    color: #F44336 !important; /* Red */
    text-shadow: 0 0 5px rgba(244, 67, 54, 0.3);
}

.log-action-MENU_UPDATE {
    color: var(--gold-color) !important; /* Gold */
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.3);
}

.log-action-STATUS_CHANGE {
    color: #00E5FF !important; /* Cyan */
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.3);
}
/* --- Cart System Styles --- */

/* Floating Action Button - Wide Bar Design */
.cart-fab {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 600px;
    background: linear-gradient(135deg, #4CAF50, #45a049); /* Green as requested, or switch to Gold if needed. Sticking to Gold theme but user showed Green. Let's make it Gold/Black for Brand Consistency unless user insists on Green. Actually, user said 'change to THIS styling', usually implies structure. I'll stick to Gold Theme to avoid ugly clash, but use the wide structure. */
    /* Update: I will use the Gold Theme because Green looks bad on Black/Gold. */
    background: linear-gradient(135deg, #ffcc00, #b8860b);
    color: #000;
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.3);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    animation: slideUpFade 0.5s ease-out;
}

@keyframes slideUpFade {
    from { transform: translate(-50%, 100px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

.cart-fab:hover {
    transform: translate(-50%, -5px);
    box-shadow: 0 15px 40px rgba(255, 204, 0, 0.5);
}

.cart-fab.hidden-cart {
    transform: translate(-50%, 150px);
    opacity: 0;
    pointer-events: none;
}

.cart-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    color: #000;
}

.fab-count-text {
    font-weight: 700;
}

.fab-divider {
    opacity: 0.5;
}

.cart-action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.cart-action i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.cart-fab:hover .cart-action i {
    transform: translateX(5px);
}

/* Remove old FAB styles */
.fab-icon, #fab-count, #fab-total {
    /* Resetting/Overriding if any specific styles linger, but we changed structure so mostly fine */
}



/* --- Heavily Redesigned Cart Modal --- */

/* Inherit Glassmorphism from Order Modal (already applied to #order-modal .modal-content, but we need it here too) */
#cart-modal .modal-content {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 204, 0, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 204, 0, 0.1);
    border-radius: 24px;
    padding: 30px;
    width: 95%;
    max-width: 500px;
    position: relative;
    overflow-y: auto;
    max-height: 85vh;
    animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#cart-modal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #b8860b, #ffd700, #b8860b);
}

@keyframes modalSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Scrollbar for cart modal content */
#cart-modal .modal-content::-webkit-scrollbar { width: 6px; }
#cart-modal .modal-content::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 3px; }
#cart-modal .modal-content::-webkit-scrollbar-thumb { background: rgba(255, 204, 0, 0.3); border-radius: 3px; }
#cart-modal .modal-content::-webkit-scrollbar-thumb:hover { background: rgba(255, 204, 0, 0.6); }

/* Cart Title */
.cart-title {
    color: var(--gold-color);
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 204, 0, 0.2);
    padding-bottom: 15px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Cart Items Container */
.cart-items-container {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 25px;
    padding-right: 5px;
}

/* Cart Item Row - Card Style */
.cart-item-row {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.cart-item-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 204, 0, 0.4);
    transform: translateX(5px);
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-right: 15px;
}

.cart-item-name {
    display: block;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.cart-item-meta {
    display: block;
    font-size: 0.85rem;
    color: #888;
}

.cart-item-price {
    font-family: 'Oswald', sans-serif;
    color: var(--gold-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 20px;
}

/* Remove Button */
.remove-item-btn {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.2);
    color: #ff5252;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.remove-item-btn:hover {
    background: #ff5252;
    color: #fff;
    border-color: #ff5252;
    transform: rotate(90deg);
    box-shadow: 0 0 10px rgba(255, 82, 82, 0.4);
}

/* Coupon Section */
.coupon-section {
    margin-bottom: 25px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.coupon-section input {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    transition: border-color 0.3s;
}

.coupon-section input:focus {
    border-color: var(--gold-color) !important;
    outline: none;
}

#apply-coupon-btn {
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
}

#apply-coupon-btn:hover {
    background: var(--gold-color);
    color: #000;
}

/* Cart Summary */
.cart-summary {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#cart-final-total {
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

/* Form Inputs */
#cart-form .form-group label {
    font-family: 'Oswald', sans-serif;
    color: #ccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

#cart-form .form-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s;
}

#cart-form .form-input:focus {
    border-color: var(--gold-color) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.1);
    outline: none;
}

/* Order Type Toggle */
.order-type-options {
    background: rgba(0,0,0,0.3);
    padding: 5px;
    border-radius: 12px;
}

.order-option .option-content {
    background: transparent;
    border: none;
    color: #888;
    padding: 12px;
}

.order-option input:checked + .option-content {
    background: var(--gold-color);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
    font-weight: 700;
}


@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* --- User Management & Responsive Beautification --- */

/* Header Area */
.user-management-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 204, 0, 0.2);
}

.section-title-large {
    color: var(--gold-color);
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.add-user-btn {
    width: auto !important; /* Override default full width */
    padding: 10px 30px;
    font-size: 1rem;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Enhanced Table Styles */
.log-container {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow-x: auto; /* Enable horizontal scroll on small screens */
}

.log-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px; /* Gap between rows */
}

.log-table th {
    background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
    color: var(--gold-color);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    padding: 20px 15px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
}

.log-table th:first-child {
    border-top-left-radius: 12px;
}

.log-table th:last-child {
    border-top-right-radius: 12px;
}

/* Loading Message Style */
.loading-message {
    text-align: center;
    padding: 50px !important; /* Override default td padding */
    color: #ccc;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    background: transparent !important; /* Remove row hover bg */
    box-shadow: none !important;
}

.loading-message i {
    color: var(--gold-color);
    margin-right: 15px;
    font-size: 1.5rem;
    vertical-align: middle;
}

.log-table td {
    background: rgba(30, 30, 30, 0.8);
    padding: 15px;
    color: #fff;
    vertical-align: middle;
    transition: transform 0.2s, background 0.2s;
}

.log-table td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    font-weight: bold;
    color: var(--gold-color);
}

.log-table td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.log-table tr:hover td {
    background: rgba(50, 50, 50, 0.9);
    transform: scale(1.01);
}

/* Action Buttons in Table */
.log-table .small-btn {
    padding: 6px 12px;
    margin: 0 2px;
    border-radius: 6px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

/* Permissions Badges */
.perm-badge {
    display: inline-block;
    background: rgba(255, 204, 0, 0.15);
    color: var(--gold-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin: 2px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

/* Role Badges */
.role-badge {
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.role-superadmin {
    background: linear-gradient(135deg, #FFD700 0%, #FDB931 50%, #B8860B 100%);
    color: #000;
    border: 1px solid #FFE57F;
    text-shadow: none;
}

.role-superadmin::before {
    content: '\f521'; /* Crown Icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.role-superadmin:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.role-admin {
    background: linear-gradient(135deg, #E0E0E0 0%, #B0B0B0 100%);
    color: #000;
    border: 1px solid #FFF;
}

.role-admin::before {
    content: '\f502'; /* User Shield Icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.role-admin:hover {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Status Badges */
.status-badge {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.status-active {
    background-color: #4CAF50;
    box-shadow: 0 0 10px #4CAF50;
}

.status-blocked {
    background-color: #ff4444;
    box-shadow: 0 0 10px #ff4444;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .user-management-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-title-large {
        font-size: 1.8rem;
    }

    .add-user-btn {
        width: 100% !important;
        justify-content: center;
    }

    .log-container {
        padding: 10px;
        margin: -10px; /* Slight overflow correction */
        width: calc(100% + 20px);
        border-radius: 0;
    }

    .log-table th, .log-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    .perm-badge {
        font-size: 0.7rem;
        padding: 1px 6px;
    }
}

.stock-badge {
    display: inline-block;
    background-color: #ff4444;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: bold;
    vertical-align: middle;
    text-decoration: none !important;
    opacity: 1 !important;
}

/* --- Premium Modal Styling (User Management & Others) --- */

/* Modal Content Overlay */
.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid var(--gold-color);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
    border-radius: 15px; /* Softer corners */
    padding: 30px;
}

/* Modal Title */
.modal-content .section-title {
    font-size: 2rem;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
    border-bottom: 1px solid rgba(255, 204, 0, 0.1);
    padding-bottom: 15px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

/* Labels */
.form-label {
    display: block;
    margin-bottom: 8px;
    color: #bbb;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.form-group:focus-within .form-label {
    color: var(--gold-color);
}

/* Inputs */
.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-color);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

/* Permissions Grid Container */
#user-permissions-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px !important;
    margin-top: 10px;
}

/* Custom Permission Checkboxes (Cards) */
.checkbox-label {
    position: relative;
    cursor: pointer;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    user-select: none;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #ccc;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.5);
    color: #fff;
}

/* Hide default checkbox but keep it accessible/functional */
.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #666;
    border-radius: 4px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: transparent;
    flex-shrink: 0;
}

/* Checked State for Checkbox Input */
.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--gold-color);
    border-color: var(--gold-color);
    box-shadow: 0 0 8px var(--gold-color);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '\f00c'; /* FontAwesome Check */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 10px;
    color: #000;
}

/* Active State for the Card Label */
/* Using :has selector for modern browsers to highlight parent label */
.checkbox-label:has(input:checked) {
    border-color: var(--gold-color);
    background: rgba(255, 215, 0, 0.08);
    color: var(--gold-color);
    box-shadow: inset 0 0 15px rgba(255, 215, 0, 0.05);
}

/* Fallback for older browsers (styling span next to checked input) */
.checkbox-label input:checked + span {
    color: var(--gold-color);
    font-weight: bold;
}

/* Helper Text */
.form-group small {
    font-size: 0.75rem;
    color: #666 !important;
    font-style: italic;
    margin-top: 6px;
    display: block;
}

/* Toggle Switch Enhancement */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.slider {
    background-color: #222;
    border: 1px solid #444;
}

.slider:before {
    background-color: #666;
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
}

input:checked + .slider {
    background-color: rgba(255, 215, 0, 0.2);
    border-color: var(--gold-color);
}

input:checked + .slider:before {
    background-color: var(--gold-color);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* Submit Button */
button[type="submit"].gold-btn {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #ffd700, #b8860b);
    color: #000;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

button[type="submit"].gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffe44d, #d4a017);
}

button[type="submit"].gold-btn:active {
    transform: translateY(0);
}

/* Close Button Premium */
.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    color: var(--gold-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    z-index: 10;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    line-height: 1; /* Reset line-height for centering */
}

.close-modal:hover {
    background: var(--gold-color);
    color: #000;
    border-color: var(--gold-color);
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.close-modal:active {
    transform: rotate(180deg) scale(0.95);
}

/* Order Type Toggle Styling */
.order-type-options {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.order-option {
    flex: 1;
    cursor: pointer;
    position: relative;
}

.order-option input {
    display: none;
}

.order-option .option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #444;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #aaa;
}

.order-option input:checked + .option-content {
    background: rgba(255, 204, 0, 0.1);
    border-color: var(--gold-color);
    color: var(--gold-color);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.15);
}

.order-option:hover .option-content {
    border-color: #666;
    background: rgba(255, 255, 255, 0.08);
}


/* --- Heavily Beautified Item Detail Modal --- */

#order-modal .modal-content {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 204, 0, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 204, 0, 0.1);
    border-radius: 24px;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    position: relative;
    overflow-y: auto; /* Enable vertical scrolling */
    max-height: 85vh; /* Limit height to viewport */
    animation: modalPopUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Custom Scrollbar for Modal */
#order-modal .modal-content::-webkit-scrollbar {
    width: 6px;
}
#order-modal .modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}
#order-modal .modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 204, 0, 0.3);
    border-radius: 3px;
}
#order-modal .modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 204, 0, 0.6);
}

#order-modal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #b8860b, #ffd700, #b8860b);
}

@keyframes modalPopUp {
    0% { transform: scale(0.8) translateY(20px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

#modal-item-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none; /* Hidden by default, JS toggles it */
}

/* Ensure image shows when src is valid (JS usually handles display, but adding helper class support just in case) */
#modal-item-image[src]:not([src=""]) {
    display: block;
}

#modal-item-name {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    margin: 0 0 5px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    line-height: 1.1;
}

#modal-item-price {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: var(--gold-color);
    margin: 0 0 25px 0;
    font-weight: 500;
    display: inline-block;
    border-bottom: 2px solid rgba(255, 204, 0, 0.3);
    padding-bottom: 5px;
}

/* Form Labels */
#order-form label {
    display: block;
    font-family: 'Oswald', sans-serif;
    color: #aaa;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 12px;
    width: fit-content;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: #333;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--gold-color);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.3);
}

.qty-btn:active {
    transform: translateY(0);
}

#order-quantity {
    width: 50px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    font-family: 'Oswald', sans-serif;
    text-align: center;
    font-weight: bold;
}

/* Item Customization Input */
#order-notes {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 15px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
    margin-bottom: 25px;
}

#order-notes:focus {
    outline: none;
    border-color: var(--gold-color);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.15);
}

#order-notes::placeholder {
    color: #666;
    font-style: italic;
}

/* Buttons Container */
#order-form button {
    margin-top: 15px;
    height: 55px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    border-radius: 12px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Add to Cart Button (Outline) */
#add-to-cart-btn {
    width: 100%;
    background: transparent;
    border: 2px solid var(--gold-color);
    color: var(--gold-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#add-to-cart-btn:hover {
    background: rgba(255, 204, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.2);
    transform: translateY(-2px);
}

/* Buy Now Button (Solid) */
#buy-now-btn {
    width: 100%;
    background: linear-gradient(135deg, #ffd700, #b8860b);
    border: none;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#buy-now-btn:hover {
    background: linear-gradient(135deg, #ffe44d, #d4a017);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
    transform: translateY(-2px);
}

/* Close Button Position Adjustment for this specific modal */
#order-modal .close-modal {
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.6);
    border-color: rgba(255,255,255,0.1);
    color: #fff;
}

#order-modal .close-modal:hover {
    background: var(--gold-color);
    color: #000;
    border-color: var(--gold-color);
}

.header-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    margin: 20px 0 25px 0;
    padding: 0 5px;
}

.info-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    border: 1px solid #2a2a2a;
    position: relative;
    overflow: hidden;
    min-height: 80px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.packaging-card .info-icon {
    color: #ffcc00;
}

.delivery-card .info-icon {
    color: #4CAF50;
}
.info-icon {
    font-size: 1.8rem;
    min-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.1));
}

.info-text {
    display: flex;
    flex-direction: column;
    font-family: 'Oswald', sans-serif;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-text span:nth-child(1) {
    font-size: 0.9rem;
    color: #aaa;
    font-weight: 500;
}

.info-text span:nth-child(2) {
    font-size: 1.1rem;
    color: #fff;
    font-weight: bold;
}

.info-text span:nth-child(3) {
    font-size: 0.8rem;
    color: var(--gold-color);
    margin-top: 2px;
}

/* Truck Bounce Animation */
@keyframes truckBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.delivery-card:hover .info-icon {
    animation: truckBounce 0.8s ease infinite;
}

/* Box Pulse Animation */
@keyframes boxPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.packaging-card:hover .info-icon {
    animation: boxPulse 1s ease infinite;
}
.order-option .option-content i {
    font-size: 1.2rem;
}

/* --- Menu Dashboard Action Cards --- */
.menu-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Override .admin-actions flex display for this specific element if necessary */
.admin-actions.menu-dashboard-grid {
    display: grid;
    justify-content: unset; /* Reset flex alignment */
}

.menu-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    min-height: 200px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.menu-action-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.menu-action-card:active {
    transform: translateY(2px);
}

.menu-action-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.menu-action-card span {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* 1. Add New Item (Yellow) */
.action-add-item {
    background: #FFCC00;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.2);
}

.action-add-item:hover {
    background: #FFD700;
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.4);
}

/* 2. Add New Category (Black with Yellow Border) */
.action-add-category {
    background: rgba(0, 0, 0, 0.8);
    color: #FFCC00;
    border: 2px solid #FFCC00;
}

.action-add-category:hover {
    background: rgba(20, 20, 20, 0.9);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.15), inset 0 0 10px rgba(255, 204, 0, 0.1);
}

/* 3. Reset to Default (Red) */
.action-reset {
    background: linear-gradient(135deg, #ff4444, #d32f2f);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.2);
}

.action-reset:hover {
    background: linear-gradient(135deg, #ff5555, #e53935);
    box-shadow: 0 0 30px rgba(255, 68, 68, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
    .menu-dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-reset {
        grid-column: span 2; /* Make reset full width on tablet */
    }
}

@media (max-width: 600px) {
    .menu-dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .action-reset {
        grid-column: span 1;
    }

    .menu-action-card {
        min-height: 120px;
        flex-direction: row; /* Horizontal on mobile to save space */
        gap: 20px;
        padding: 20px;
        text-align: left;
        justify-content: flex-start;
    }

    .menu-action-card i {
        margin-bottom: 0;
        font-size: 2rem;
    }
    
    .menu-action-card span {
        font-size: 1.2rem;
    }
    
    .menu-action-card span br {
        display: none;
    }
    
    .menu-action-card span::after {
        content: " ";
    }
}

/* Additional Log Action Colors */
.log-action-ORDER_DELETE, .log-action-USER_DELETE, .log-action-DISCOUNT_DELETE {
    color: #F44336 !important; /* Red */
    text-shadow: 0 0 5px rgba(244, 67, 54, 0.3);
}

.log-action-ORDER_STATUS_UPDATE {
    color: #03A9F4 !important; /* Light Blue */
    text-shadow: 0 0 5px rgba(3, 169, 244, 0.3);
}

.log-action-USER_CREATE, .log-action-DISCOUNT_CREATE {
    color: #4CAF50 !important; /* Green */
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.log-action-USER_UPDATE, .log-action-DISCOUNT_UPDATE {
    color: #FF9800 !important; /* Orange */
    text-shadow: 0 0 5px rgba(255, 152, 0, 0.3);
}

.log-action-MAINTENANCE_TOGGLE {
    color: #E91E63 !important; /* Pink */
    text-shadow: 0 0 5px rgba(233, 30, 99, 0.3);
}

.order-option input:checked:hover + .option-content {
    border-color: var(--gold-color);
    background: rgba(255, 204, 0, 0.15);
}

/* --- Track Page Status Tags --- */
.status-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.status-pending { background-color: #ffcc00; color: #000; }
.status-preparing { background-color: #ff9800; color: #000; }
.status-onway, .status-ready { background-color: #2196F3; color: #fff; }
.status-delivered, .status-picked { background-color: #4CAF50; color: #fff; }
.status-cancelled { background-color: #f44336; color: #fff; }
/* Premium Info Cards (Packaging & Delivery) */

.header-info-cards {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    width: 100%;

    margin: 20px 0 25px 0;

    padding: 0 5px;

}



.info-card {

    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);

    border-radius: 12px;

    padding: 15px;

    display: flex;

    align-items: center;

    justify-content: flex-start; /* Changed to start to align icon left */

    gap: 15px;

    border: 1px solid #2a2a2a;

    position: relative;

    overflow: hidden;

    min-height: 80px;

    transition: transform 0.3s ease;

}



.info-card:hover {

    transform: translateY(-2px);

}



.packaging-card {

    /* Subtle glow for packaging */

    box-shadow: 0 4px 15px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,0,0,0.5);

}



.delivery-card {

    /* Gold accent for delivery as per screenshot */

    border: 1px solid rgba(255, 204, 0, 0.3);

    box-shadow: 0 0 15px rgba(255, 204, 0, 0.1), inset 0 0 20px rgba(0,0,0,0.5);

}



.info-card .info-icon {

    font-size: 1.8rem;

    color: var(--gold-color);

    filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.4));

    flex-shrink: 0;

}



/* Add subtle animation to icons */

.delivery-card .info-icon {

    animation: truckBounce 2s ease-in-out infinite;

}



.packaging-card .info-icon {

    animation: boxPulse 3s ease-in-out infinite;

}



@keyframes truckBounce {

    0%, 100% { transform: translateX(0); }

    50% { transform: translateX(3px); }

}



@keyframes boxPulse {

    0%, 100% { transform: scale(1); }

    50% { transform: scale(1.05); }

}



.info-text {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    font-family: 'Oswald', sans-serif;

    line-height: 1.1;

    text-transform: uppercase;

    letter-spacing: 1px;

    font-size: 0.85rem;

    color: #eee;

    font-weight: 500;

}



.info-text span {

    display: block;

}



.info-text span:last-child {

    font-weight: 700;

    color: #fff;

    margin-top: 2px;

}



/* Responsive adjustments */

@media (max-width: 360px) {

    .header-info-cards {

        grid-template-columns: 1fr; /* Stack on very small screens */

        gap: 10px;

    }

    

    .info-card {

        justify-content: center;

    }

}


/* Admin Section Header Fixes - Beautiful V2 */
.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-left: 5px solid var(--gold-color);
    border-radius: 0 8px 8px 0;
    gap: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* Force override of default section-title styles inside this header */
.admin-section-header .section-title {
    margin-bottom: 0 !important;
    width: auto !important;
    flex-grow: 1;
    text-align: left !important;
    border: none !important; /* Removes the top/bottom gold lines */
    padding: 0 !important;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    display: block !important;
    letter-spacing: 2px;
}

.section-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
    align-items: center;
}

.small-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}

.small-btn:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.small-btn.gold-outline-btn {
    color: var(--gold-color);
    border-color: rgba(255, 204, 0, 0.2);
}

.small-btn.gold-outline-btn:hover {
    background: var(--gold-color);
    color: #000;
    border-color: var(--gold-color);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
}

.small-btn.danger-btn {
    color: #ff4444;
    border-color: rgba(255, 68, 68, 0.2);
}

.small-btn.danger-btn:hover {
    background: #ff4444;
    color: #fff;
    border-color: #ff4444;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.4);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .admin-section-header {
        padding: 15px;
        margin-bottom: 20px;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    
    .admin-section-header .section-title {
        font-size: 1.5rem;
    }
    
    .small-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* Quick Action Buttons */
.quick-actions {
    display: flex;
    gap: 10px;
    margin: 10px 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #eee;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.call-btn {
    border-color: rgba(76, 175, 80, 0.3);
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.call-btn:hover {
    background: rgba(76, 175, 80, 0.15);
    border-color: #4CAF50;
    color: #fff;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.2);
}

.qr-btn {
    border-color: rgba(255, 204, 0, 0.3);
    color: var(--gold-color);
    background: rgba(255, 204, 0, 0.05);
}

.qr-btn:hover {
    background: rgba(255, 204, 0, 0.15);
    border-color: var(--gold-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.2);
}

@media (max-width: 768px) {
    .quick-actions {
        flex-direction: row; /* Keep them side-by-side on mobile */
        margin: 10px 0;
    }
}


/* --- Admin Premium Section Headers (Added by Trae) --- */

.admin-section-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;

    padding: 15px 25px;

    background: rgba(255, 255, 255, 0.03);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 215, 0, 0.1);

    border-radius: 16px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

    position: relative;

    overflow: hidden;

    transition: all 0.3s ease;

}



.admin-section-header:hover {

    border-color: rgba(255, 215, 0, 0.3);

    background: rgba(255, 255, 255, 0.05);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);

}



.admin-section-header::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 4px;

    height: 100%;

    background: linear-gradient(to bottom, #FFD700, #FFA000);

    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);

}



.admin-section-title {

    font-family: 'Oswald', sans-serif;

    color: var(--gold-color);

    font-size: 1.6rem;

    text-transform: uppercase;

    letter-spacing: 2px;

    margin: 0;

    display: flex;

    align-items: center;

    gap: 15px;

    text-shadow: 0 2px 10px rgba(0,0,0,0.5);

}



.admin-section-title i {

    font-size: 1.4rem;

    opacity: 0.9;

    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));

}



.admin-section-actions {

    display: flex;

    gap: 12px;

}



.admin-icon-btn {

    width: 42px;

    height: 42px;

    border-radius: 10px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    background: rgba(0, 0, 0, 0.4);

    color: #ccc;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    font-size: 1.1rem;

    backdrop-filter: blur(5px);

}



.admin-icon-btn:hover {

    transform: translateY(-3px);

    color: #fff;

    box-shadow: 0 5px 15px rgba(0,0,0,0.4);

}



.admin-icon-btn.edit:hover {

    background: rgba(255, 215, 0, 0.15);

    border-color: var(--gold-color);

    color: var(--gold-color);

    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);

}



.admin-icon-btn.delete:hover {

    background: rgba(244, 67, 54, 0.15);

    border-color: #f44336;

    color: #f44336;

    box-shadow: 0 0 15px rgba(244, 67, 54, 0.2);

}



/* --- ORDER CARD PREMIUM STYLES --- */
.admin-order-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 204, 0, 0.15);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: #e0e0e0;
}

.admin-order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 204, 0, 0.3);
}

.admin-order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
    opacity: 0.5;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-id-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.order-id {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: var(--gold-color);
    letter-spacing: 0.5px;
}

.order-type-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}



.order-date {
    font-size: 0.85rem;
    color: #888;
}

.customer-details {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.customer-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.customer-label {
    color: #888;
}

.customer-value {
    color: #ddd;
    font-weight: 500;
    text-align: right;
}

.order-items-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 15px;
}

.order-items-title {
    font-family: 'Oswald', sans-serif;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.order-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.item-qty-name {
    display: flex;
    gap: 8px;
    align-items: center;
}

.item-qty {
    background: var(--gold-color);
    color: #000;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.item-name {
    color: #eee;
}

.item-price {
    color: var(--gold-color);
    font-family: 'Oswald', sans-serif;
}

.order-summary {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #aaa;
}

.summary-row.total {
    font-size: 1.1rem;
    color: #fff;
    font-weight: bold;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.order-actions-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 5px;
}

.delete-btn-icon {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.delete-btn-icon:hover {
    background: #f44336;
    color: white;
}

.status-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-label {
    color: #888;
    font-size: 0.85rem;
    white-space: nowrap;
}

.status-select {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--gold-color);
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    outline: none;
}

.status-select option {
    background: #222;
    color: #fff;
}

.action-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-glass {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-glass.call {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border-color: rgba(76, 175, 80, 0.2);
}

.btn-glass.call:hover {
    background: rgba(76, 175, 80, 0.2);
    color: #fff;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.2);
    transform: translateY(-2px);
}

.btn-glass.pay {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
    border-color: rgba(155, 89, 182, 0.2);
}

.btn-glass.pay:hover {
    background: rgba(155, 89, 182, 0.2);
    color: #fff;
    box-shadow: 0 0 15px rgba(155, 89, 182, 0.2);
    transform: translateY(-2px);
}

/* Helper classes */
.order-dimmed {
    opacity: 0.7;
    filter: grayscale(0.6);
    transition: all 0.3s ease;
}

.order-dimmed:hover {
    opacity: 1;
    filter: grayscale(0);
}

.no-orders-message {
    color: #ccc;
    text-align: center;
    padding: 20px;
    font-size: 1.1rem;
    font-style: italic;
}

/* --- ADMIN MENU MANAGEMENT STYLES --- */
.menu-section {
    margin-bottom: 40px;
    animation: fadeIn 0.5s ease-out;
}

.admin-section-header {
    background: rgba(20, 20, 20, 0.6);
    border-left: 4px solid var(--gold-color);
    padding: 15px 25px;
    border-radius: 0 8px 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-section-title i {
    color: var(--gold-color);
    filter: drop-shadow(0 0 5px rgba(255, 204, 0, 0.5));
}

.admin-section-actions {
    display: flex;
    gap: 12px;
}

.admin-icon-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-icon-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.admin-icon-btn.edit:hover {
    background: rgba(33, 150, 243, 0.2);
    border-color: #2196F3;
    color: #2196F3;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.3);
}

.admin-icon-btn.delete:hover {
    background: rgba(244, 67, 54, 0.2);
    border-color: #f44336;
    color: #f44336;
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.3);
}

.admin-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* Ensure item cards inside grid behave well */
.admin-items-grid .admin-item-card {
    height: 100%;
}

.admin-items-grid .admin-item-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-items-grid .edit-btn,
.admin-items-grid .delete-btn {
    flex: 1;
    padding: 8px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.admin-items-grid .edit-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admin-items-grid .edit-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.admin-items-grid .delete-btn {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.admin-items-grid .delete-btn:hover {
    background: rgba(244, 67, 54, 0.2);
}

/* Mobile Responsiveness for Admin Menu */
@media (max-width: 768px) {
    .admin-section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        text-align: left;
    }
    
    .admin-section-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .admin-items-grid {
        grid-template-columns: 1fr;
    }
}



/* --- Ultra Premium "Gold & Glass" Order Card Redesign --- */

.admin-order-card {
    background: linear-gradient(165deg, #1a1a1a 0%, #0d0d0d 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 204, 0, 0.15);
    border-top: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 24px;
    margin-bottom: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.8), 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(0,0,0,0.5);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.admin-order-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(255, 204, 0, 0.5);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.9), 
        0 0 30px rgba(255, 204, 0, 0.15),
        inset 0 0 20px rgba(255, 204, 0, 0.05);
    z-index: 10;
}

/* Luxury Shine Effect */
.admin-order-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 204, 0, 0.05), 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 204, 0, 0.05), 
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.7s;
    pointer-events: none;
}

.admin-order-card:hover::after {
    left: 200%;
    transition: 0.7s ease-in-out;
}

/* Dimmed state */
.admin-order-card.order-dimmed {
    opacity: 0.5;
    filter: grayscale(1) blur(1px);
    transform: scale(0.95);
    box-shadow: none;
}

.admin-order-card.order-dimmed:hover {
    opacity: 1;
    filter: grayscale(0) blur(0);
    transform: scale(1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

/* --- Header Section --- */
.order-header {
    padding: 15px 20px;
    background: linear-gradient(180deg, rgba(255, 204, 0, 0.05), transparent);
    border-bottom: 1px solid rgba(255, 204, 0, 0.1);
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.order-id-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px;
    flex: none;
    text-align: left !important;
    width: 100% !important;
}

.order-id {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    background: linear-gradient(180deg, #fff 20%, #ffcc00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    font-weight: 800;
    filter: drop-shadow(0 0 5px rgba(255, 204, 0, 0.3));
    white-space: nowrap;
    text-align: left !important;
}

.order-type-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    margin-top: 0;
}

.order-type-pickup {
    background: #2196F3; /* Solid Blue */
    color: #fff;
}

.order-type-delivery {
    background: #4CAF50; /* Solid Green */
    color: #000 !important;
}

.order-date {
    color: #aaa;
    font-size: 0.8rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    background: rgba(0,0,0,0.6);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
    margin: 10px auto 0 auto;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.time-ago {
    color: var(--gold-color);
    font-weight: 700;
    margin-left: 5px;
}

/* --- Section Labels --- */
.section-label {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 15px 0 5px 20px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
    font-family: 'Orbitron', sans-serif;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::after {
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(255, 204, 0, 0.3), transparent);
    margin-right: 20px;
}

/* --- Customer Details Grid --- */
.order-customer {
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    position: relative;
    z-index: 1;
}

.customer-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    color: #e0e0e0;
    font-size: 0.85rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.customer-row span {
    text-align: left;
    flex: 1;
}

.customer-row:last-child:nth-child(odd) {
    grid-column: span 2;
}

.customer-row:hover {
    background: linear-gradient(145deg, rgba(255, 204, 0, 0.1), rgba(255, 204, 0, 0.02));
    transform: translateY(-2px);
    border-color: rgba(255, 204, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.customer-row i {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(255, 204, 0, 0.2), rgba(0,0,0,0.5));
    color: var(--gold-color);
    border-radius: 50%;
    border: 1px solid rgba(255, 204, 0, 0.4);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.1);
    font-size: 0.9rem;
}

/* --- Order Items List --- */
.order-items-list {
    padding: 0 15px;
    z-index: 1;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    margin-bottom: 12px;
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.95), rgba(10, 10, 10, 0.98));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.order-item-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold-color);
    opacity: 0.3;
    transition: all 0.3s;
}

.order-item-row:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, rgba(35, 35, 35, 0.95), rgba(15, 15, 15, 0.98));
    border-color: rgba(255, 204, 0, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.order-item-row:hover::before {
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.item-name {
    color: #f5f5f5;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    flex: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.item-quantity {
    color: var(--gold-color);
    background: rgba(255, 204, 0, 0.08);
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    border: 1px solid rgba(255, 204, 0, 0.25);
    box-shadow: inset 0 0 10px rgba(255, 204, 0, 0.02);
}

.item-price {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* --- Order Summary Box --- */
.order-summary {
    margin: 15px 15px 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.1), rgba(0, 0, 0, 0.6));
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 204, 0, 0.05);
}

.order-summary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,204,0,0.15) 0%, transparent 60%);
    animation: pulseGlow 3s infinite alternate;
}

.summary-label {
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.7rem;
    font-weight: 700;
}

.summary-total {
    color: #ffcc00;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
}

/* --- Action Footer --- */
.order-actions {
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 204, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: start;
    z-index: 1;
    border-radius: 0 0 24px 24px;
}

.order-status-select {
    grid-column: span 2;
    background: #0f0f0f;
    border: 1px solid #333;
    color: #eee;
    padding: 12px 20px;
    border-radius: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffcc00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.8);
    transition: all 0.3s;
}

.order-status-select:hover, .order-status-select:focus {
    border-color: var(--gold-color);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.15), inset 0 2px 5px rgba(0,0,0,0.5);
    background-color: #1a1a1a;
    outline: none;
}

/* --- Buttons --- */
.btn-glass {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-glass i {
    font-size: 0.85rem;
}

.btn-glass:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
}

.btn-glass:active {
    transform: translateY(-1px);
}

.btn-call {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.btn-call:hover {
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-pay {
    grid-column: span 2;
    background: linear-gradient(135deg, #ffcc00, #ffaa00);
    border: 1px solid #ffeebb;
    color: #000;
    box-shadow: 
        0 5px 20px rgba(255, 170, 0, 0.4), 
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-pay:hover {
    background: linear-gradient(135deg, #ffdb4d, #ffcc00);
    box-shadow: 
        0 10px 30px rgba(255, 170, 0, 0.6), 
        0 0 20px rgba(255, 204, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-delete {
    grid-column: span 2;
    background: rgba(20, 0, 0, 0.5);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
    margin-top: 5px;
    font-size: 0.75rem;
    padding: 8px;
    opacity: 0.7;
    transition: all 0.3s;
}

.btn-delete:hover {
    background: rgba(255, 68, 68, 0.1);
    border-color: #ff4444;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.2);
    opacity: 1;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .order-customer {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .customer-row:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .order-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 8px;
    }

    .order-id-wrapper {
        width: auto;
        justify-content: flex-start;
    }

    .order-date {
        margin-left: 0;
        width: auto;
        text-align: left;
        margin-top: 5px;
    }

    .order-actions {
        padding: 12px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .order-actions {
        grid-template-columns: 1fr;
    }
    
    .order-status-select, .btn-delete {
        grid-column: span 1;
    }

    .order-summary {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

/* --- Simple Premium Order Card Redesign --- */

.admin-order-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    padding: 0;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.admin-order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 215, 0, 0.4);
}

/* Status Indicator Strip */
.admin-order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold-color);
    opacity: 0.5;
}

.admin-order-card.order-dimmed {
    opacity: 0.6;
    filter: grayscale(0.8);
}

/* --- Header --- */
.order-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.01);
}

.order-id-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.order-id {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--gold-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.order-type-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-type-delivery {
    background: #4CAF50; /* Solid Green */
    color: #fff;
    border: none;
}

.order-type-pickup {
    background: #2196F3; /* Solid Blue */
    color: #fff;
    border: none;
}

.order-date {
    font-size: 0.85rem;
    color: #888;
    font-family: 'Rajdhani', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-date::before {
    content: '\f017'; /* fa-clock */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #666;
}

/* --- Content Sections --- */
.section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #fff; /* White */
    letter-spacing: 1.5px;
    margin: 20px 24px 8px;
    font-weight: 600;
}

.order-customer {
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.customer-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ddd;
    font-size: 0.95rem;
}

.customer-row i {
    color: var(--gold-color);
    width: 24px;
    text-align: center;
    opacity: 0.8;
}

/* --- Items List --- */
.order-items-list {
    margin: 0 24px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: none;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
    border-left: none;
    border-right: none;
    border-top: none;
}

.order-item-row::before {
    display: none;
}

.order-item-row:hover {
    transform: none;
    background: none;
    box-shadow: none;
}

.order-item-row:last-child {
    border-bottom: none;
}

.item-name {
    color: #eee;
    font-size: 0.95rem;
}

.item-quantity {
    color: var(--gold-color);
    background: rgba(255, 204, 0, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    margin-right: 8px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.item-price {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

/* --- Summary --- */
.order-summary {
    margin: 20px 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

.summary-total {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* --- Actions --- */
.order-actions {
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
}

.order-status-select {
    background: #000;
    border: 1px solid #333;
    color: #ddd;
    padding: 10px 16px;
    border-radius: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.order-status-select:focus {
    border-color: var(--gold-color);
    outline: none;
}

.btn-glass {
    background: transparent;
    border: 1px solid #333;
    color: #ddd;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #555;
    transform: translateY(-2px);
}

.btn-call:hover {
    border-color: #4cd137;
    color: #4cd137;
    background: rgba(76, 209, 55, 0.05);
}

.btn-pay:hover {
    border-color: var(--gold-color);
    color: var(--gold-color);
    background: rgba(255, 215, 0, 0.05);
}

.btn-delete {
    grid-column: span 3;
    margin-top: 8px;
    border-color: #331111;
    color: #aa4444;
}

.btn-delete:hover {
    border-color: #ff4444;
    color: #ff4444;
    background: rgba(255, 68, 68, 0.05);
}

/* Mobile */
@media (max-width: 768px) {
    .order-customer {
        grid-template-columns: 1fr;
    }
    .order-actions {
        grid-template-columns: 1fr;
    }
    .btn-glass {
        justify-content: center;
    }
    .btn-delete {
        grid-column: span 1;
    }
}

/* --- Premium QR Modal --- */

.qr-modal-backdrop {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.qr-modal-content {
    background: linear-gradient(165deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 204, 0, 0.2);
    border-top: 1px solid rgba(255, 204, 0, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0;
    width: 90%;
    max-width: 420px;
    position: relative;
    overflow: hidden;
    animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.qr-modal-content .close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 28px;
    transition: 0.3s;
    z-index: 10;
    text-shadow: none;
}

.qr-modal-content .close-modal:hover {
    color: var(--gold-color);
    transform: rotate(90deg);
}

.qr-header {
    padding: 30px 20px 10px;
    background: linear-gradient(180deg, rgba(255, 204, 0, 0.05), transparent);
    border-bottom: 1px solid rgba(255, 204, 0, 0.05);
}

.qr-header .section-title {
    margin: 0;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
    letter-spacing: 2px;
}

.qr-total-amount {
    color: var(--gold-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0 0;
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
}

.qr-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Sci-fi background grid for the modal body */
.qr-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 204, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 204, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
    pointer-events: none;
}

.qr-frame {
    position: relative;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.qr-frame:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 204, 0, 0.1);
}

.qr-image {
    width: 220px;
    height: 220px;
    object-fit: contain;
    display: block;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

/* Tech Corners */
.qr-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--gold-color);
    border-style: solid;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.qr-frame:hover .qr-corner {
    width: 25px;
    height: 25px;
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.qr-corner-tl {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
    border-top-left-radius: 10px;
}

.qr-corner-tr {
    top: -1px;
    right: -1px;
    border-width: 2px 2px 0 0;
    border-top-right-radius: 10px;
}

.qr-corner-bl {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 2px 2px;
    border-bottom-left-radius: 10px;
}

.qr-corner-br {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
    border-bottom-right-radius: 10px;
}

/* Scanning line animation */
.qr-frame::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--gold-color);
    box-shadow: 0 0 10px var(--gold-color), 0 0 20px var(--gold-color);
    opacity: 0.5;
    animation: scanLine 2s infinite linear;
    pointer-events: none;
    z-index: 5;
}

@keyframes scanLine {
    0% { top: 15px; opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { top: calc(100% - 15px); opacity: 0; }
}

.qr-instruction {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.qr-instruction::before, .qr-instruction::after {
    content: '—';
    color: var(--gold-color);
    margin: 0 10px;
    opacity: 0.5;
}

/* --- Refined Premium Controls for Order Card --- */

.order-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 0 20px 20px;
}

.order-status-select {
    grid-column: span 2;
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(0, 0, 0, 0.9));
    color: #fff;
    border: 1px solid rgba(255, 204, 0, 0.3);
    padding: 14px 20px;
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ffcc00'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-status-select:hover, .order-status-select:focus {
    border-color: #ffcc00;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.2), inset 0 2px 10px rgba(0,0,0,0.8);
    background-color: rgba(30, 30, 30, 0.95);
}

.order-status-select option {
    background-color: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.btn-glass {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-call {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.1), rgba(0, 100, 40, 0.3));
    border: 1px solid rgba(0, 230, 118, 0.4);
    color: #00e676;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-call:hover {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.25), rgba(0, 100, 40, 0.5));
    border-color: #00e676;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
    transform: translateY(-2px) scale(1.02);
}

.btn-pay {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.15), rgba(180, 140, 0, 0.3));
    border: 1px solid rgba(255, 204, 0, 0.4);
    color: #ffcc00;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-pay:hover {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.3), rgba(180, 140, 0, 0.5));
    border-color: #ffcc00;
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.5);
    transform: translateY(-2px) scale(1.02);
}

.btn-delete {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.1), rgba(100, 0, 0, 0.3));
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
    margin-top: 8px;
    opacity: 0.9;
}

.btn-delete:hover {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.25), rgba(150, 0, 0, 0.4));
    border-color: #ff4444;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.3);
    opacity: 1;
    transform: translateY(-2px) scale(1.02);
}

.summary-total {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(180deg, #fff 20%, #ffcc00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(255, 204, 0, 0.6));
}

/* Input Fields */
.input-field {
    width: 100%;
    background: #111;
    border: 1px solid #444;
    color: #fff;
    padding: 12px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    border-radius: 8px;
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.2);
}

.input-field::placeholder {
    color: #666;
}


