body { font-family: 'Inter', sans-serif; }
.page-decor {
    background-image:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.10), transparent 0, transparent 32%),
        radial-gradient(circle at top left, rgba(239, 68, 68, 0.10), transparent 0, transparent 28%);
}
.pac-container { z-index: 1050 !important; }
@media (min-width: 1024px) { .sticky-sidebar { position: sticky; top: 2rem; } }

.hero-stat-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.section-shell {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e5e7eb;
    border-radius: 1.5rem;
    padding: 1.25rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.info-mini-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.10);
}

.sidebar-glow {
    position: relative;
    overflow: hidden;
}

.sidebar-glow::before {
    content: '';
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 70%);
    pointer-events: none;
}

.tab-btn {
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-in-out;
    padding: 0.75rem 0.25rem;
    font-size: 1.125rem;
    color: #6b7280; /* gray-500 */
}
.tab-btn:hover {
    border-bottom-color: #9ca3af; /* gray-400 */
    color: #374151; /* gray-700 */
}
.tab-btn.active {
    border-bottom-color: #3b82f6; /* blue-500 */
    color: #3b82f6;
    font-weight: 600;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.charge-btn {
    padding: 8px 16px;
    border: 1px solid #d1d5db; /* gray-300 */
    border-radius: 8px;
    background-color: white;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}
.charge-btn:hover {
    background-color: #f3f4f6; /* gray-100 */
    border-color: #9ca3af; /* gray-400 */
}
.charge-btn.active {
    background-color: #3b82f6; /* blue-500 */
    color: white;
    border-color: #3b82f6; /* blue-500 */
    font-weight: 600;
}
.product-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.order-card-delivered {
    background-color: #f9fafb; /* gray-50 */
    opacity: 0.8;
    transition: background-color 0.3s, opacity 0.3s;
}

/* Scrollbar styling for management grids */
#existingProductsList::-webkit-scrollbar,
#existingSuppliersList::-webkit-scrollbar,
#existingDeliveryBoysList::-webkit-scrollbar {
    width: 6px;
}
#existingProductsList::-webkit-scrollbar-thumb,
#existingSuppliersList::-webkit-scrollbar-thumb,
#existingDeliveryBoysList::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}
#existingProductsList::-webkit-scrollbar-thumb:hover,
#existingSuppliersList::-webkit-scrollbar-thumb:hover,
#existingDeliveryBoysList::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

/* Admin Tabs */
.admin-tab-btn {
    border-bottom: 2px solid transparent;
    color: #6b7280; /* gray-500 */
    transition: all 0.2s;
}
.admin-tab-btn:hover {
    border-color: #d1d5db; /* gray-300 */
    color: #111827; /* gray-900 */
}
.admin-tab-btn.active {
    border-color: #3b82f6; /* blue-500 */
    color: #3b82f6;
}
.admin-tab-content {
    display: none;
}
.admin-tab-content.active {
    display: block;
}

/* Featured Products Marquee */
.featured-marquee {
    display: flex;
    gap: 1.5rem;
    animation: scroll 40s linear infinite;
    width: calc(200px * var(--item-count, 8) + 1.5rem * (var(--item-count, 8) - 1));
}

.featured-marquee:hover {
    animation-play-state: paused;
}

.featured-marquee-item {
    flex-shrink: 0;
    width: 200px;
}

/* Responsive marquee for smaller screens */
@media (max-width: 640px) {
    .featured-marquee {
        gap: 1rem;
        width: calc(160px * var(--item-count, 8) + 1rem * (var(--item-count, 8) - 1));
        animation-duration: 25s;
    }
    .featured-marquee-item {
        width: 160px;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Print Styles */
@media print {
    body {
        background-color: white;
    }
    header, nav, #content-register, #content-details, #content-admin, #generateReportBtn, .container > div:nth-child(2), #toast, #whatsappModal {
        display: none !important;
    }
    #content-reports, #content-reports.active {
        display: block !important;
    }
    #content-reports .bg-white {
        box-shadow: none !important;
        padding: 0 !important;
    }
    #reportSummary {
        margin-bottom: 20px;
    }
    #reportTableBody tr {
        page-break-inside: avoid;
    }
    .container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    button, select, input {
        display: none !important;
    }
    /* Show summary and table */
    #reportSummary, #reportTableContainer, table {
        display: table !important; /* Ensure table structure is kept */
        width: 100% !important;
    }
    #reportSummary {
        display: grid !important; /* Keep grid for summary */
    }
    /* Hide filters but keep the report title if desired, or hide everything above report */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hotel-card:hover img {
    transform: scale(1.05);
}

.product-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.best-seller-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.6rem;
    border-radius: 9999px;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.28);
    z-index: 1;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.6rem;
    border-radius: 9999px;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.28);
    z-index: 1;
}

.hotel-logo-shell {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}
