:root {
    --bg-base: #34421c;
    --bg-surface: #2b3617;
    --text-main: #c0c235;
    --text-muted: #67724a;
    --brand-primary: #f5f5c9;
    --brand-primary-dark: #e0e0b3;
    --glass-bg: rgba(52, 66, 28, 0.7);
    --glass-border: rgba(192, 194, 53, 0.2);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.4);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --nav-height: 70px;
    --bottom-nav-height: 65px;
}

body.dark-mode {
    --bg-base: #34421c;
    --bg-surface: #253013;
    --text-main: #c0c235;
    --text-muted: #67724a;
    --glass-bg: rgba(37, 48, 19, 0.7);
    --glass-border: rgba(192, 194, 53, 0.1);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

[dir="rtl"] * {
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

/* Suppress blue tap flash on Android/iOS for all interactive elements */
button,
a,
[role="button"],
input,
select,
textarea,
label {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    /* Removes 300ms tap delay */
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at top right, rgba(192, 194, 53, 0.1) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(245, 245, 201, 0.05) 0%, transparent 40%);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 100;
}

@media (max-width: 480px) {
    .top-nav {
        padding: 0 4%;
    }
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-primary);
    cursor: pointer;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.icon-btn {
    position: relative;
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.icon-btn:hover {
    background: rgba(128, 128, 128, 0.1);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--brand-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(25%, -25%);
    border: 2px solid var(--bg-surface);
}

[dir="rtl"] .badge {
    right: auto;
    left: 0;
    transform: translate(-25%, -25%);
}

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
    }

    .spacer {
        height: calc(var(--bottom-nav-height) + 20px);
    }
}

.bottom-nav-item {
    background: none;
    border: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: color 0.3s;
}

.bottom-nav-item.active {
    color: var(--brand-primary);
}

#app-container {
    min-height: 100vh;
    padding-top: var(--nav-height);
}

.spacer {
    height: 40px;
}

.view-enter {
    animation: fadeInUp 0.4s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    min-height: 400px;
    padding: 4rem 5%;
    display: flex;
    align-items: center;
    background: url('https://htndnewfpakhbicrmfyd.supabase.co/storage/v1/object/public/menu/green_gourmet55395.jpg?v=1.1') center/cover;
    position: relative;
    border-radius: 0 0 30px 30px;
    margin-top: calc(-1 * var(--nav-height));
    padding-top: calc(var(--nav-height) + 4rem);
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0 0 30px 30px;
    background: linear-gradient(135deg, rgba(52, 66, 28, 0.8) 0%, rgba(52, 66, 28, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero .highlight {
    color: var(--brand-primary);
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.glass-input {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    gap: 10px;
}

.glass-input input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    width: 100%;
    font-size: 1rem;
}

.glass-input input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.categories-section {
    padding: 3rem 5%;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-card {
    height: 160px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
    background: #000;
}

@media (hover: hover) {
    .category-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
    }
}

@media (hover: hover) {
    .category-card:hover img {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    opacity: 0.7;
}

.category-card:hover img {
    transform: scale(1.1);
    opacity: 0.9;
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.category-info {
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    position: relative;
}

.category-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.category-hero {
    height: 280px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 2rem 5%;
    margin-top: calc(-1 * var(--nav-height));
    border-radius: 0 0 30px 30px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    z-index: 1;
}

.category-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
    z-index: 2;
}

.category-title-overlay {
    position: relative;
    z-index: 3;
    color: white;
    margin-bottom: 1rem;
}

.category-title-overlay h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 700;
}

.back-btn {
    position: absolute;
    top: calc(var(--nav-height) + 1.5rem);
    left: 5%;
    z-index: 10;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

[dir="rtl"] .back-btn {
    left: auto;
    right: 5%;
}

[dir="rtl"] .back-btn svg {
    transform: rotate(180deg);
}

.menu-filters {
    padding: 1.5rem 5%;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.menu-filters::-webkit-scrollbar {
    display: none;
}

.filter-chips {
    display: flex;
    gap: 0.75rem;
}

@media (max-width: 480px) {
    .filter-chips {
        gap: 0.5rem;
    }
}

.chip {
    padding: 8px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    background: var(--bg-surface);
    color: var(--text-main);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: var(--shadow-soft);
}

.chip.active {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

.menu-grid {
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.menu-item-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
}

@media (hover: hover) {
    .menu-item-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-hover);
    }
}

.menu-item-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.menu-item-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 10px;
}

.item-title {
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
}

.item-price {
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 1.1rem;
}

.item-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    flex: 1;
    line-height: 1.5;
}

.add-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(192, 194, 53, 0.1);
    color: var(--brand-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.add-btn:hover {
    background: var(--brand-primary);
    color: white;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 1;
    transition: opacity 0.3s;
}

.overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    background: var(--bg-surface);
    z-index: 201;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    transform: translateX(0);
    transition: transform 0.4s ease;
}

.cart-panel.hidden {
    transform: translateX(100%);
}

[dir="rtl"] .cart-panel {
    left: 0;
    right: auto;
    transform: translateX(0);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.2);
}

[dir="rtl"] .cart-panel.hidden {
    transform: translateX(-100%);
}

.cart-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.empty-cart {
    text-align: center;
    color: var(--text-muted);
    margin-top: 3rem;
}

.empty-cart svg {
    width: 64px;
    height: 64px;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    animation: fadeInUp 0.3s ease;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(128, 128, 128, 0.1);
    border-radius: var(--radius-full);
    padding: 2px 6px;
    width: fit-content;
}

.qty-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-main);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s;
}

.qty-btn:hover {
    background: rgba(128, 128, 128, 0.15);
}

.cart-footer {
    padding: 1.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--glass-border);
    background: var(--bg-surface);
}

.cart-summary {
    margin-bottom: 1.5rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.cart-summary-row.cart-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--glass-border);
    margin-top: 0.5rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    min-height: 52px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--brand-primary);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.ripple-btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: rgba(255, 255, 255, 0.3);
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes pop {
    0% {
        transform: translate(25%, -25%) scale(1);
    }

    50% {
        transform: translate(25%, -25%) scale(1.4);
    }

    100% {
        transform: translate(25%, -25%) scale(1);
    }
}

.badge.pop {
    animation: pop 0.4s ease;
}

/* Landing Page Styles */
.landing-page {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: radial-gradient(circle at center, rgba(52, 66, 28, 0.9) 0%, #1a220e 100%),
        url('https://htndnewfpakhbicrmfyd.supabase.co/storage/v1/object/public/menu/green_gourmet55395.jpg?v=1.1') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-page.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Hide navigation when landing is active */
body.landing-active .top-nav,
body.landing-active .bottom-nav {
    display: none !important;
}

.landing-page.fade-out {
    transform: scale(1.1);
    opacity: 0;
}

.landing-content {
    width: 100%;
    max-width: 600px;
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.landing-logo {
    margin-bottom: 3rem;
}

.landing-logo .logo-text {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.landing-logo .logo-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.landing-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.branch-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.branch-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

[dir="rtl"] .branch-card {
    text-align: right;
}

.branch-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
    border-color: var(--brand-primary);
}

.branch-closed {
    opacity: 0.6;
    filter: grayscale(100%);
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.05);
}

.branch-closed:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
}

.branch-closed-label {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 3px 8px;
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.branch-open-label {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 3px 8px;
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.branch-info h3 {
    color: var(--brand-primary);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.branch-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.branch-actions {
    display: flex;
    gap: 0.75rem;
}

.branch-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
    text-decoration: none;
}

.branch-action-btn:hover {
    background: var(--brand-primary);
    color: var(--bg-base);
    transform: translateY(-3px);
}

.branch-action-btn.whatsapp:hover {
    background: #25D366;
    color: white;
}

.landing-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.landing-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}



/* Table Selection Grid */
.table-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    padding: 0.25rem;
}

.table-back-btn {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.table-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--brand-primary);
}

[dir="rtl"] .table-back-btn svg {
    transform: rotate(180deg);
}

.table-card {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
}

.table-card:hover {
    background: rgba(192, 194, 53, 0.15);
    border-color: var(--brand-primary);
    transform: scale(1.05);
    color: var(--brand-primary);
    box-shadow: 0 0 20px rgba(192, 194, 53, 0.15);
}

.table-card .table-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1;
}

.table-card .table-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.table-card:hover .table-label {
    opacity: 1;
}

@media (max-width: 480px) {
    .landing-logo .logo-text {
        font-size: 2.5rem;
    }

    .branch-card {
        padding: 1.25rem;
    }

    .branch-info h3 {
        font-size: 1.1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ADMIN DASHBOARD STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Login Page */
.admin-login-page {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: radial-gradient(circle at center, rgba(52, 66, 28, 0.9) 0%, #1a220e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.admin-login-page.hidden {
    display: none;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: 360px;
    margin: 1.5rem auto 0;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-form-group label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-form-group select,
.admin-form-group input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    color: var(--brand-primary);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.admin-form-group select:focus,
.admin-form-group input:focus {
    border-color: var(--brand-primary);
}

.admin-form-group select option {
    background: var(--bg-base);
    color: var(--text-main);
}

.admin-login-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.lang-toggle-btn {
    position: absolute !important;
    top: 2rem !important;
    left: 2rem !important;
    color: var(--text-muted);
    transition: all 0.2s;
    z-index: 1001;
}

[dir="rtl"] .lang-toggle-btn {
    left: auto !important;
    right: 2rem !important;
}

.lang-toggle-btn:hover {
    color: var(--brand-primary);
    transform: rotate(30deg);
}

.admin-login-btn {
    background: var(--brand-primary);
    color: var(--bg-base);
    border: none;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.admin-login-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.admin-error {
    color: #ff6b6b;
    font-size: 0.9rem;
    text-align: center;
    padding: 0.75rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: var(--radius-sm);
}

/* Dashboard Layout */
.admin-dashboard {
    min-height: 100vh;
    padding-top: 80px;
}

.admin-dashboard.hidden {
    display: none;
}

/* Admin Header */
.admin-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    z-index: 100;
}

.admin-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-branch-badge {
    display: inline-block;
    margin-left: 0.75rem;
    background: rgba(192, 194, 53, 0.15);
    color: var(--brand-primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

[dir="rtl"] .admin-branch-badge {
    margin-left: 0;
    margin-right: 0.75rem;
}

.admin-header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Status Toggle Switch */
.admin-toggle-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    min-width: 90px;
    justify-content: space-between;
}

@media (max-width: 480px) {
    .admin-toggle-switch {
        min-width: 0;
        padding: 6px 10px;
        font-size: 0;
        /* Hide label text, keep toggle track */
        gap: 0;
    }

    .admin-toggle-switch .toggle-track {
        margin: 0;
    }
}

.admin-toggle-switch:hover {
    background: rgba(255, 255, 255, 0.1);
}

.toggle-track {
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.toggle-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s;
    background: #95a5a6;
    transform: translate3d(0, 0, 0);
}

[dir="rtl"] .toggle-thumb {
    left: auto;
    right: 3px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s;
}

.admin-toggle-switch.open .toggle-track {
    background: rgba(46, 204, 113, 0.3);
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.admin-toggle-switch.open .toggle-thumb {
    background: #2ecc71;
    left: 19px;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

[dir="rtl"] .admin-toggle-switch.open .toggle-thumb {
    left: auto;
    right: 19px;
}

.admin-toggle-switch.closed .toggle-track {
    background: rgba(255, 107, 107, 0.3);
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.admin-toggle-switch.closed .toggle-thumb {
    background: #ff6b6b;
    left: 3px;
}

[dir="rtl"] .admin-toggle-switch.closed .toggle-thumb {
    left: auto;
    right: 3px;
}

/* Logout Button */
.admin-logout-btn {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.admin-logout-btn:hover {
    background: rgba(255, 107, 107, 0.2);
}

/* Stats Cards */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    animation: fadeInUp 0.4s ease both;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stat-pending .stat-number {
    color: #f39c12;
}

.stat-accepted .stat-number {
    color: #2ecc71;
}

.stat-active .stat-number {
    color: #3498db;
}

.stat-completed .stat-number {
    color: #9b59b6;
}

.stat-refused .stat-number {
    color: #ff6b6b;
}

/* Orders Section */
.admin-orders-section {
    padding: 0 1.5rem 2rem;
    animation: fadeInUp 0.4s ease both;
    animation-delay: 0.1s;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-section-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
}

.admin-filter-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-empty {
    color: var(--text-muted);
    text-align: center;
    padding: 3rem 1rem;
    font-size: 1rem;
}

/* Order Cards */
.admin-orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-order-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: all 0.3s;
    animation: fadeInUp 0.3s ease both;
}

.admin-order-card.order-status-pending {
    border-left: 4px solid #f39c12;
}

.admin-order-card.order-status-accepted {
    border-left: 4px solid #2ecc71;
    opacity: 0.8;
}

.admin-order-card.order-status-active {
    border-left: 4px solid #3498db;
}

.admin-order-card.order-status-completed {
    border-left: 4px solid #9b59b6;
    opacity: 0.5;
}

.admin-order-card.order-status-refused {
    border-left: 4px solid #ff6b6b;
    opacity: 0.6;
}

[dir="rtl"] .admin-order-card.order-status-pending {
    border-left: none;
    border-right: 4px solid #f39c12;
}

[dir="rtl"] .admin-order-card.order-status-accepted {
    border-left: none;
    border-right: 4px solid #2ecc71;
}

[dir="rtl"] .admin-order-card.order-status-active {
    border-left: none;
    border-right: 4px solid #3498db;
}

[dir="rtl"] .admin-order-card.order-status-completed {
    border-left: none;
    border-right: 4px solid #9b59b6;
}

[dir="rtl"] .admin-order-card.order-status-refused {
    border-left: none;
    border-right: 4px solid #ff6b6b;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.order-table-badge {
    background: rgba(192, 194, 53, 0.15);
    color: var(--brand-primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.order-time {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.order-status-badge {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status-badge.pending {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
}

.order-status-badge.accepted {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.order-status-badge.active {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
}

.order-status-badge.completed {
    background: rgba(155, 89, 182, 0.15);
    color: #9b59b6;
}

.order-status-badge.refused {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.order-items-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.order-item-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-main);
}

.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.order-actions {
    display: flex;
    gap: 0.5rem;
}

.order-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    min-height: 44px;
    border-radius: var(--radius-sm);
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.order-action-btn.accept {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.order-action-btn.accept:hover {
    background: #2ecc71;
    color: white;
}

.order-action-btn.refuse {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.order-action-btn.refuse:hover {
    background: #ff6b6b;
    color: white;
}

.order-action-btn.active-state {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
}

.order-action-btn.active-state:hover {
    background: #3498db;
    color: white;
}

.order-action-btn.complete {
    background: rgba(155, 89, 182, 0.15);
    color: #9b59b6;
}

.order-action-btn.complete:hover {
    background: #9b59b6;
    color: white;
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-header {
        padding: 0 1rem;
    }

    .admin-branch-badge {
        display: none;
    }

    .order-actions {
        flex-direction: column;
        width: 100%;
    }

    .order-action-btn {
        justify-content: center;
    }

    .order-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .admin-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .admin-logout-btn span {
        display: none;
    }
}

/* Embedded Admin Login (inside SPA container) */
.embedded-admin-login {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.embedded-admin-login .landing-content {
    width: 100%;
    max-width: 420px;
}

/* Daily Report Modal */
.report-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 450px;
    background: rgba(26, 31, 22, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    z-index: 2000;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: #f5f5c9;
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.report-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #c0c235;
}

.report-date {
    font-size: 0.85rem;
    color: rgba(245, 245, 201, 0.6);
}

.report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.report-stat {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.report-stat.highlight {
    background: rgba(192, 194, 53, 0.1);
    border: 1px solid rgba(192, 194, 53, 0.2);
}

.report-stat-label {
    font-size: 0.7rem;
    color: rgba(245, 245, 201, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.report-stat-value {
    font-size: 1.15rem;
    font-weight: 700;
}

.report-breakdown {
    margin-bottom: 24px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 8px 16px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breakdown-row:last-child {
    border-bottom: none;
}

.breakdown-label {
    font-size: 0.9rem;
    color: rgba(245, 245, 201, 0.8);
}

.breakdown-count {
    font-weight: 600;
    color: #c0c235;
}

.close-modal-btn {
    width: 100%;
    padding: 16px;
    background: #c0c235;
    color: #1a1f16;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(192, 194, 53, 0.2);
}

.close-modal-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(192, 194, 53, 0.3);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}


/* ═══════════════════════════════════════════════════════════════
   LANGUAGE TOGGLE BUTTON — Red Pill Style
   Applies to .lang-toggle-btn in the TOP NAV context only.
   The admin login page uses the same class positioned absolutely
   — we scope these styles to avoid breaking that layout.
   ═══════════════════════════════════════════════════════════════ */

.top-nav .lang-toggle-btn,
.nav-actions .lang-toggle-btn {
    position: static !important;
    /* Override the admin absolute positioning */
    top: auto !important;
    left: auto !important;
    right: auto !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    min-height: 44px;
    /* Touch-friendly */
    border-radius: 50px;
    border: none;
    cursor: pointer;

    background: #8b1a1a;
    color: #ffffff;

    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 2px 8px rgba(139, 26, 26, 0.4);

    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
}

/* Globe symbol — only if there's no img/svg already inside */
.top-nav .lang-toggle-btn:not(:has(img)):not(:has(svg))::before,
.nav-actions .lang-toggle-btn:not(:has(img)):not(:has(svg))::before {
    content: "⊕";
    font-size: 1rem;
    line-height: 1;
}

@media (hover: hover) {

    .top-nav .lang-toggle-btn:hover,
    .nav-actions .lang-toggle-btn:hover {
        background: #a31f1f;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.22),
            0 4px 14px rgba(139, 26, 26, 0.5);
        transform: translateY(-1px);
    }
}

.top-nav .lang-toggle-btn:active,
.nav-actions .lang-toggle-btn:active {
    background: #7a1515;
    transform: translateY(0);
}

/* Shrink label text on very small screens, keep button touchable */
@media (max-width: 360px) {

    .top-nav .lang-toggle-btn,
    .nav-actions .lang-toggle-btn {
        padding: 8px 10px;
        font-size: 0.75rem;
    }
}

[dir="rtl"] .top-nav .lang-toggle-btn,
[dir="rtl"] .nav-actions .lang-toggle-btn {
    flex-direction: row-reverse;
}


/* ═══════════════════════════════════════════════════════════════
   LIGHT MODE — White Background with Harmonious Brand Colors
   Activated by: body.light-mode  (add/remove via JS toggle)
   ═══════════════════════════════════════════════════════════════ */

body.light-mode {
    /* ── Core backgrounds ── */
    --bg-base: #ffffff;
    --bg-surface: #f6f8f2;
    /* Cards, panels — barely-there green warmth */
    --bg-tertiary: #ecf0e5;
    /* Hover states, subtle wells */

    /* ── Glass effects (light version) ── */
    --glass-bg: rgba(255, 255, 255, 0.82);
    --glass-border: rgba(52, 66, 28, 0.12);

    /* ── Text hierarchy ── */
    --text-main: #1a2415;
    /* Body & headings — dark green-tinted */
    --text-muted: #5a6b4a;
    /* Labels, secondary text */

    /* ── Brand preserved (same as dark mode) ── */
    --brand-primary: #34421c;
    /* Dark Green — CTA buttons, prices */
    --brand-primary-dark: #2a3615;

    /* ── Shadows — green-tinted, very soft ── */
    --shadow-soft: 0 4px 20px rgba(52, 66, 28, 0.08);
    --shadow-hover: 0 10px 30px rgba(52, 66, 28, 0.15);
}

/* Body background and color */
body.light-mode {
    background-color: var(--bg-base);
    color: var(--text-main);
}

/* Particle background — subtle light version */
body.light-mode #particles-background {
    background:
        radial-gradient(circle at top right, rgba(192, 194, 53, 0.06) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(52, 66, 28, 0.04) 0%, transparent 40%);
}

/* ── Navigation ── */
body.light-mode .top-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(52, 66, 28, 0.1);
    box-shadow: 0 1px 8px rgba(52, 66, 28, 0.06);
}

body.light-mode .bottom-nav {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(52, 66, 28, 0.1);
    box-shadow: 0 -2px 12px rgba(52, 66, 28, 0.06);
}

/* ── Cards ── */
body.light-mode .menu-item-card,
body.light-mode .stat-card,
body.light-mode .admin-order-card {
    background: var(--bg-surface);
    border-color: rgba(52, 66, 28, 0.1);
}

/* ── Filter chips ── */
body.light-mode .chip {
    background: #f6f8f2;
    border-color: rgba(52, 66, 28, 0.15);
    color: var(--text-main);
}

body.light-mode .chip.active {
    background: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
}

/* ── Calorie badge ── */
body.light-mode .calorie-badge {
    background: #ecf0e5;
    color: #5a6b4a;
    border: 1px solid rgba(52, 66, 28, 0.12);
}

/* ── Cart panel ── */
body.light-mode .cart-panel {
    background: #ffffff;
    box-shadow: -5px 0 30px rgba(52, 66, 28, 0.12);
}

body.light-mode .cart-header,
body.light-mode .cart-footer {
    border-color: rgba(52, 66, 28, 0.1);
    background: #ffffff;
}

body.light-mode .cart-item-controls {
    background: rgba(52, 66, 28, 0.06);
}

/* ── Add to cart button ── */
body.light-mode .add-btn {
    background: rgba(52, 66, 28, 0.07);
    color: var(--brand-primary);
}

body.light-mode .add-btn:hover {
    background: var(--brand-primary);
    color: white;
}

/* ── Overlay ── */
body.light-mode .overlay {
    background: rgba(26, 36, 21, 0.4);
}

/* ── Admin dashboard ── */
body.light-mode .admin-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(52, 66, 28, 0.1);
}

body.light-mode .admin-toggle-switch {
    border-color: rgba(52, 66, 28, 0.2);
    background: rgba(52, 66, 28, 0.05);
}

body.light-mode .admin-form-group input,
body.light-mode .admin-form-group select {
    background: #f6f8f2;
    border-color: rgba(52, 66, 28, 0.2);
    color: var(--text-main);
}

body.light-mode .admin-form-group input:focus,
body.light-mode .admin-form-group select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(52, 66, 28, 0.1);
}

/* ── Order item pills (light) ── */
body.light-mode .order-item-pill {
    background: rgba(52, 66, 28, 0.05);
    border-color: rgba(52, 66, 28, 0.1);
    color: var(--text-main);
}

/* ── Report modal (light) ── */
body.light-mode .report-modal {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(52, 66, 28, 0.12);
    color: var(--text-main);
}

body.light-mode .report-header h2 {
    color: var(--brand-primary);
}

body.light-mode .report-date {
    color: var(--text-muted);
}

body.light-mode .report-stat {
    background: rgba(52, 66, 28, 0.04);
}

body.light-mode .report-stat.highlight {
    background: rgba(52, 66, 28, 0.08);
    border-color: rgba(52, 66, 28, 0.15);
}

body.light-mode .report-stat-label {
    color: var(--text-muted);
}

body.light-mode .report-breakdown {
    background: rgba(52, 66, 28, 0.03);
}

body.light-mode .breakdown-row {
    border-bottom-color: rgba(52, 66, 28, 0.08);
}

body.light-mode .breakdown-label {
    color: var(--text-main);
}

body.light-mode .modal-overlay {
    background: rgba(26, 36, 21, 0.5);
}