/* 
  MeoowZMart Premium CSS Design System
  Vibrant dark/glassmorphic look with modern HSL color tokens
*/

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

:root {
    --bg-dark: #0f111a;
    --bg-card: rgba(30, 41, 59, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary: #c084fc; /* soft purple */
    --primary-hover: #a855f7;
    --accent: #22d3ee; /* light cyan */
    --accent-hover: #06b6d4;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --success: #34d399;
    --danger: #f87171;
    --font-outfit: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-outfit);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Main Container Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(192, 132, 252, 0.3);
    box-shadow: 0 12px 40px 0 rgba(192, 132, 252, 0.15);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    font-family: var(--font-outfit);
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #ffffff;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
}

/* Grid Systems */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Product Card Styling */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.02);
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0.5rem 0;
}

/* Header & Navbar Styling */
.navbar {
    background: rgba(15, 17, 26, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 2rem;
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link.active {
    color: var(--primary);
}

/* Badges */
.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(52, 211, 153, 0.1);
    color: var(--success);
}

.badge-warning {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

/* Dashboard Sidebar & Core Grid */
.dashboard-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    gap: 0.75rem;
}

.sidebar-link:hover, .sidebar-link.active {
    background: rgba(192, 132, 252, 0.1);
    color: var(--primary);
}

/* Light / Bright Mode Styles */
body.light-mode {
    --bg-dark: #f1f5f9; /* Warm clean slate gray */
    --bg-card: #ffffff; /* Solid premium white card */
    --border-color: rgba(15, 23, 42, 0.08); /* Soft slate border */
    --primary: #6d28d9; /* Deep royal purple */
    --primary-hover: #5b21b6;
    --accent: #0891b2; /* High contrast cyan */
    --accent-hover: #0e7490;
    --text-main: #0f172a; /* Slate 900 text */
    --text-muted: #475569; /* Slate 600 text */
    --success: #059669;
    --danger: #dc2626;
}

/* Enforce dark text color for structural headings/text inside light mode (overrides inline white colors) */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6,
body.light-mode label,
body.light-mode p,
body.light-mode .product-title,
body.light-mode .modal-content h3,
body.light-mode .modal-content h4,
body.light-mode #chat-directory-column span,
body.light-mode #active-friend-name-1,
body.light-mode #active-friend-name-2 {
    color: #0f172a !important;
}

/* Force solid card backgrounds for cards and modals in light mode */
body.light-mode .glass-card,
body.light-mode .modal-content,
body.light-mode div[id$="-modal"] > div {
    background: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

/* Warning Banner top bar in light mode */
body.light-mode div[style*="background: linear-gradient(135deg, #581c87, #3b0764)"] {
    background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
    border-bottom-color: rgba(15, 23, 42, 0.06) !important;
}

/* Nav Links hover in light mode */
body.light-mode .nav-link:hover {
    color: #0f172a !important;
}

body.light-mode .badge-warning {
    background: rgba(217, 119, 6, 0.12) !important;
    color: #b45309 !important;
}

body.light-mode .badge-success {
    background: rgba(5, 150, 105, 0.1) !important;
    color: #059669 !important;
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}

/* Forms & Inputs in Light Mode */
body.light-mode input,
body.light-mode textarea,
body.light-mode select {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

body.light-mode input::placeholder,
body.light-mode textarea::placeholder {
    color: #94a3b8 !important;
}

body.light-mode input:focus,
body.light-mode textarea:focus,
body.light-mode select:focus {
    border-color: #7c3aed !important;
    outline: none !important;
}

body.light-mode select {
    background-color: #f8fafc !important;
}

body.light-mode .btn-secondary {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

body.light-mode .btn-secondary:hover {
    background: #cbd5e1 !important;
}

body.light-mode #lang-dropdown-menu {
    background: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
}

body.light-mode .lang-opt {
    color: #0f172a !important;
}

body.light-mode .lang-opt:hover {
    background: #f1f5f9 !important;
}

/* Tables in Light Mode */
body.light-mode table {
    background: #ffffff !important;
}

body.light-mode th {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    border-bottom: 2px solid #cbd5e1 !important;
}

body.light-mode td {
    color: #334155 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

body.light-mode tr:hover {
    background-color: #f8fafc !important;
}

/* Chat page Received and Sent Bubbles in Light Mode */
body.light-mode .chat-bubble.received {
    background: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

body.light-mode .chat-bubble.sent {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
}

body.light-mode .chat-panel-card {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}

body.light-mode .chat-panel-header {
    background: #f1f5f9 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

body.light-mode #active-friend-online-1,
body.light-mode #active-friend-online-2 {
    border-color: #ffffff !important;
}

/* Chat widget footer box in Light Mode */
body.light-mode #faq-chat-box {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15) !important;
}

body.light-mode #faq-chat-box div[style*="background: linear-gradient"] strong {
    color: #ffffff !important; /* Keep header text white since its background is dark gradient */
}

body.light-mode #chat-verify-alert {
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: #059669 !important;
    color: #065f46 !important;
}

body.light-mode #chat-verify-alert span {
    color: #065f46 !important;
}

/* Dynamically styled chatbot bubbles in Light Mode */
body.light-mode .chat-widget-bubble.sender-bot,
body.light-mode #chat-messages > div[style*="background: rgba(255,255,255,0.06)"] {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

body.light-mode .chat-widget-bubble.sender-agent,
body.light-mode #chat-messages > div[style*="background: rgba(168,85,247,0.1)"] {
    background: rgba(124, 58, 237, 0.08) !important;
    color: #0f172a !important;
    border: 1px solid rgba(124, 58, 237, 0.3) !important;
}

body.light-mode .chat-widget-bubble.sender-user,
body.light-mode #chat-messages > div[style*="background: var(--primary)"] {
    background: #6d28d9 !important;
    color: #ffffff !important;
}

body.light-mode .chat-widget-bubble.sender-user span,
body.light-mode #chat-messages > div[style*="background: var(--primary)"] span {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Dropdown Select Option Styling for Contrast & Readability */
select option {
    background-color: #1e293b !important;
    color: #f8fafc !important;
}

body.light-mode select option {
    background-color: #ffffff !important;
    color: #0f111a !important;
}

/* ==========================================================================
   Responsive Design System (Mobile, Tablet, and Desktop Adaptations)
   ========================================================================== */

/* Tablet & Mobile Devices (Screens under 992px) */
@media (max-width: 992px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 1rem;
    }

    .sidebar-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.85rem;
    }
}

/* Small Screens (Screens under 768px) */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    /* Navbar wrap */
    .navbar {
        padding: 1rem;
    }

    .navbar-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.85rem;
    }

    /* Restructure typography for compact layout */
    h1 {
        font-size: 2.25rem !important;
        line-height: 1.3 !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    .glass-card {
        padding: 1.5rem;
    }

    /* Overflow safety for tables on small screens */
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Flex grids alignment */
    .dashboard-layout {
        margin-top: 1rem;
    }
}

/* Very Small Mobile Screens (under 480px) */
@media (max-width: 480px) {
    h1 {
        font-size: 1.85rem !important;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1rem;
    }
}

/* Hide Google Translate top banner & keep premium layout static */
.goog-te-banner-frame,
.goog-te-banner,
iframe.goog-te-banner-frame,
.skiptranslate:not(#google_translate_element) {
    display: none !important;
}
body {
    top: 0 !important;
    position: static !important;
}
.goog-logo-link {
    display: none !important;
}
.goog-te-gadget {
    color: transparent !important;
}

/* ==========================================================================
   MeoowZChat Running LED Edge Light & Dual-Interface Styling
   ========================================================================== */

@keyframes led-chase-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes led-pulse-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(251, 191, 36, 0.6), 0 0 16px rgba(59, 130, 246, 0.5); }
    50% { box-shadow: 0 0 16px rgba(59, 130, 246, 0.8), 0 0 24px rgba(251, 191, 36, 0.7); }
}

/* MeoowZChat LED Header Link */
.meoowzchat-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px; /* LED Border gap */
    border-radius: 30px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: led-pulse-glow 2.5s infinite ease-in-out;
}

.meoowzchat-nav-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        #fbbf24 15%,
        #3b82f6 35%,
        #00d2ff 50%,
        transparent 65%,
        #fbbf24 85%,
        #3b82f6 100%
    );
    animation: led-chase-spin 3s linear infinite;
    z-index: 1;
}

.meoowzchat-nav-inner {
    position: relative;
    z-index: 2;
    background: rgba(15, 17, 26, 0.95);
    padding: 0.45rem 1rem;
    border-radius: 28px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
}

.meoowzchat-nav-text {
    background: linear-gradient(135deg, #fbbf24 0%, #3b82f6 60%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}

.meoowzchat-nav-link:hover {
    transform: translateY(-2px) scale(1.03);
}

/* Dual Interface Panels */
.meoowzchat-dual-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 900px) {
    .meoowzchat-dual-container {
        grid-template-columns: 1fr;
    }
}

.chat-panel-card {
    background: rgba(20, 26, 42, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    height: 580px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.chat-panel-header {
    padding: 0.9rem 1.25rem;
    background: rgba(15, 19, 32, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.chat-bubble {
    max-width: 82%;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.45;
    position: relative;
    word-break: break-word;
}

.chat-bubble.sent {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(37, 99, 235, 0.4));
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #f8fafc;
    border-bottom-right-radius: 2px;
}

.chat-bubble.received {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    border-bottom-left-radius: 2px;
}

.chat-bubble .lang-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 4px;
    display: inline-block;
}

.chat-bubble.sent .lang-tag {
    background: rgba(251, 191, 36, 0.25);
    color: #fbbf24;
}

.chat-bubble.received .lang-tag {
    background: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}

/* ==========================================================================
   PWA & UNIVERSAL FLUID RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Layout Grids */
.home-layout-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Desktop & Ultra-wide (>= 1200px) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
}

/* Tablet & Mobile Screens (<= 992px) */
@media (max-width: 992px) {
    .home-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .home-layout-grid > div:first-child {
        position: static !important;
    }
    .dashboard-layout {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    .sidebar {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        gap: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .sidebar-link {
        flex-shrink: 0;
        padding: 0.55rem 0.85rem !important;
        font-size: 0.82rem !important;
    }
}

/* Medium Mobile & Small Tablets (<= 768px) */
@media (max-width: 768px) {
    .container {
        width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Fluid Typography */
    h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
    }
    h2 {
        font-size: clamp(1.4rem, 5vw, 2rem) !important;
    }

    /* Glass Cards & Containers */
    .glass-card {
        padding: 1.15rem !important;
        border-radius: 16px !important;
    }

    /* Modals & Dialogs */
    div[id$="-modal"] > div,
    .modal-content {
        max-width: 95vw !important;
        padding: 1.25rem !important;
        margin: 0 auto !important;
    }

    /* Form Fields & Touch Targets */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important; /* Prevents iOS auto-zoom on focus */
    }

    /* Navigation Bar */
    .nav-container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    /* Chat Dual Container */
    #chat-main-grid,
    .meoowzchat-dual-container {
        grid-template-columns: 1fr !important;
        height: auto !important;
    }
    #chat-directory-column {
        max-height: 280px !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
    }
}

/* Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
    body {
        padding-bottom: 75px; /* Safe space for mobile web app nav */
    }

    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    /* Form grid stacked */
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* Safe area for notched devices (PWA display standalone) */
@supports (padding: max(0px)) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

/* Custom Keyframes for Pulsing Blink Animation */
@keyframes pickerIconBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 5px rgba(192, 132, 252, 0.4);
    }
    50% {
        opacity: 0.65;
        transform: scale(0.96);
        box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
    }
}

/* Beautiful & Bright themed Calendar & Clock Picker Icons (Includes datetime-local) */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    display: inline-block !important;
    width: 32px !important;
    height: 32px !important;
    padding: 6px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    border: 1px solid var(--accent) !important;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.8)) !important;
    animation: pickerIconBlink 2s infinite ease-in-out !important;
    transition: all 0.25s ease-in-out !important;
}

/* Custom realistic Calendar & Clock SVG for Date & Datetime Inputs */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="%23fbbf24"><path d="M152 64H296V24c0-13.3 10.7-24 24-24s24 10.7 24 24V64h40c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H40c-35.3 0-64-28.7-64-64V128c0-35.3 28.7-64 64-64H80V24c0-13.3 10.7-24 24-24s24 10.7 24 24V64h24zM432 160H16v288c0 8.8 7.2 16 16 16H416c8.8 0 16-7.2 16-16V160zM112 240c0-8.8 7.2-16 16-16H208c8.8 0 16 7.2 16 16V320c0 8.8-7.2 16-16 16H128c-8.8 0-16-7.2-16-16V240z"/></svg>') !important;
    background-color: rgba(251, 191, 36, 0.2) !important;
}

/* Custom realistic Clock SVG for Time Input */
input[type="time"]::-webkit-calendar-picker-indicator {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%2322d3ee"><path d="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zm0 448c-106.1 0-192-85.9-192-192S149.9 64 256 64s192 85.9 192 192s-85.9 192-192 192zm24-304v132.1l97 97c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-104-104c-4.5-4.5-7-10.6-7-17V144c0-13.3 10.7-24 24-24s24 10.7 24 24z"/></svg>') !important;
    background-color: rgba(34, 211, 238, 0.2) !important;
}

/* Enhanced Pulsing Glow & Blink Animation for ALL Calendar & Clock Icons across Customer & Kitchen portals */
@keyframes iconGlowBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.95)) drop-shadow(0 0 14px rgba(34, 211, 238, 0.9));
        color: #fbbf24 !important;
    }
    50% {
        opacity: 0.65;
        transform: scale(1.18);
        filter: drop-shadow(0 0 14px rgba(34, 211, 238, 1)) drop-shadow(0 0 24px rgba(251, 191, 36, 0.95));
        color: #22d3ee !important;
    }
}

/* Universal selector for ALL FontAwesome Calendar and Clock icons */
i[class*="fa-calendar"],
i[class*="fa-clock"],
i[class*="fa-stopwatch"],
i[class*="fa-hourglass"] {
    font-size: 1.3em !important;
    display: inline-block !important;
    margin-right: 0.35rem !important;
    vertical-align: -0.1em !important;
    color: #fbbf24 !important;
    animation: iconGlowBlink 2.2s infinite ease-in-out !important;
    transition: transform 0.3s ease, filter 0.3s ease !important;
}

/* Hover States */
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    background-color: rgba(192, 132, 252, 0.3) !important;
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.8) !important;
    transform: scale(1.15) !important;
}

input[type="time"]::-webkit-calendar-picker-indicator:hover {
    background-color: rgba(34, 211, 238, 0.35) !important;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.8) !important;
    transform: scale(1.15) !important;
}

/* ==========================================================================
   100% RESPONSIVE PWA & AUTO-ADJUSTING SCREEN LAYOUTS (Mobile, Tablet, Desktop)
   ========================================================================== */

/* Universal Box Sizing & Fluid Container */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    padding-bottom: env(safe-area-inset-bottom);
}

/* Fluid Media & Images */
img, video, iframe, canvas, svg {
    max-width: 100%;
    height: auto;
}

/* Tablet & Smaller Desktop Screens (<= 992px) */
@media (max-width: 992px) {
    .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    div[style*="display: flex; gap: 3rem;"],
    div[style*="display: grid; grid-template-columns: 3fr 2fr;"] {
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
    }

    div[style*="width: 240px"],
    div[style*="width: 250px"] {
        width: 100% !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
    }

    .navbar-container {
        padding: 0.75rem 1rem !important;
    }
}

/* Mobile Phones & Foldable Screens (<= 768px) */
@media (max-width: 768px) {
    html {
        font-size: 95%;
    }

    .container {
        margin-top: 1.5rem !important;
        margin-bottom: 3rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Navbar Responsiveness */
    .navbar-container {
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
        justify-content: space-between !important;
    }

    .nav-links {
        width: 100% !important;
        justify-content: space-around !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }

    /* Dashboard Sidebars -> Scrollable Horizontal Navigation Pills */
    div[style*="width: 240px"],
    div[style*="width: 250px"] {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        padding-bottom: 0.5rem !important;
        width: 100% !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
    }

    div[style*="width: 240px"] a,
    div[style*="width: 250px"] a {
        flex-shrink: 0 !important;
        font-size: 0.82rem !important;
        padding: 0.6rem 0.9rem !important;
    }

    /* Product & Kitchen Grids */
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
        gap: 1rem !important;
    }

    .glass-card {
        padding: 1.25rem !important;
        border-radius: 14px !important;
    }

    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.35rem !important;
    }

    /* Touch Targets for Mobile Ordering */
    .btn {
        padding: 0.7rem 1.2rem !important;
    }
}

/* Small Smartphone Displays (<= 480px) */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr !important;
    }

    div[style*="display: flex; justify-content: space-between;"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    #globe-lang-trigger {
        padding: 0.35rem 0.65rem !important;
        font-size: 0.8rem !important;
    }
}

