:root {
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    --accent-1: #8b5cf6;
    --accent-2: #ec4899;
    --accent-3: #f59e0b;

    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.dark {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    transition: background 0.3s ease, color 0.3s ease;
    line-height: 1.6;
    min-height: 100vh;
    animation: fadeIn 0.5s ease-out;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    background: var(--bg-secondary);
}

.has-bg body {
    background: transparent !important;
}

.dark body {
    background: #0a0f1a;
}

nav {
    padding-left: 15px;
    padding-right: 15px;
}

.navbar {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
    animation: slideIn 0.4s ease-out;
    transition: all 0.3s ease;
}

.dark .navbar {
    background: rgba(15, 23, 42, 0.75);
    border-bottom-color: rgba(51, 65, 85, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.navbar-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 4.5rem;
    padding: 0 1.5rem;
    position: relative;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.navbar-logo {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-left h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    margin: 0;
    transition: all 0.3s ease;
}

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

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-btn {
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    border: 1.5px solid var(--border-color);
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 500;
    font-size: 0.875rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    min-height: 2.75rem;
    white-space: nowrap;
}

.navbar-btn .icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.navbar-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-500);
    opacity: 0.1;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.navbar-btn:hover::before {
    width: 300px;
    height: 300px;
}

.navbar-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-300);
    color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.navbar-btn:hover .icon {
    transform: scale(1.1);
}

.dark .navbar-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.dark .navbar-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-400);
    color: var(--primary-300);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.navbar-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.language-btn {
    font-weight: 600;
    min-width: 3rem;
}

.dark-mode-btn {
    padding: 0.625rem;
    min-width: 2.75rem;
}

.menu-btn-text {
    display: inline;
}

@media screen and (max-width: 640px) {
    .menu-btn-text {
        /* display: none; */
    }
}

/* Mobile Menu (Always Visible) */
.mobile-menu {
    display: none;
}

.login-btn {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
}

.profile-img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--primary-500);
    box-shadow: 0 0 0 2px var(--bg-primary), 0 4px 12px rgba(59, 130, 246, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-btn:hover .profile-img {
    transform: scale(1.08);
    box-shadow: 0 0 0 2px var(--bg-primary), 0 0 24px rgba(59, 130, 246, 0.4);
    border-color: var(--primary-400);
}

.profile-name {
    font-weight: 500;
}

.profile-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.75rem);
    width: 14rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1.5px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 0.5rem;
    z-index: 102;
    animation: fadeIn 0.2s ease-out;
    overflow: hidden;
}

.dark .dropdown-menu {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .dropdown-menu {
    right: auto;
    left: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: right;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.625rem;
    position: relative;
}

[dir="ltr"] .dropdown-item {
    text-align: left;
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-700);
    transform: translateX(-2px);
}

[dir="rtl"] .dropdown-item:hover {
    transform: translateX(2px);
}

.dark .dropdown-item:hover {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary-300);
}

.logout-item {
    color: #ef4444;
}

.logout-item:hover {
    background-color: rgba(239, 68, 68, 0.1) !important;
    color: #dc2626 !important;
    transform: translateX(-2px);
}

[dir="rtl"] .logout-item:hover {
    transform: translateX(2px);
}

.dark .logout-item {
    color: #f87171;
}

.dark .logout-item:hover {
    background-color: rgba(248, 113, 113, 0.1) !important;
    color: #fca5a5 !important;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.dropdown-toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.dropdown-toggle-item:hover {
    background: transparent !important;
    transform: none !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

[dir="rtl"] .dropdown-toggle-item:hover {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
}

.toggle-switch input:checked+.toggle-slider {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    border-color: var(--primary-600);
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(24px);
    background-color: white;
}

/* RTL toggle switch handled by default transform */

.toggle-switch input:focus+.toggle-slider {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.toggle-switch:hover .toggle-slider {
    border-color: var(--primary-400);
}

.toggle-switch:hover input:checked+.toggle-slider {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.store-info {
    max-width: 1280px;
    margin: 0 auto 2rem auto;
    padding: 0;
    animation: fadeIn 0.6s ease-out 0.1s both;
}

.store-hero-v2 {
    width: 100%;
    height: 40vh;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.hero-image-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-v2-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 60%, var(--bg-secondary) 100%);
}

.store-info-box-container {
    max-width: 1200px;
    margin: -5rem auto 3rem auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.store-info-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 2rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .store-info-box {
        flex-direction: row;
        align-items: flex-end;
        padding: 2.5rem 3.5rem;
        text-align: left;
    }
    
    [dir="rtl"] .store-info-box {
        text-align: right;
    }
}

.logo-wrapper {
    width: 9rem;
    height: 9rem;
    background: white;
    border-radius: 2rem;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: -4rem;
}

@media (min-width: 768px) {
    .logo-wrapper {
        margin-top: -6rem;
    }
}

.info-box-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info-box-right {
    flex: 1;
}

.dark .store-info-box {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.dark .logo-wrapper {
    background: #1e293b;
}

.store-info-box .store-status {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .store-info-box .store-status {
        justify-content: center;
    }
}

.page-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    pointer-events: none;
    overflow: hidden;
    background: var(--bg-secondary);
}

.page-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(30px) brightness(0.6);
    transform: scale(1.15);
    opacity: 0;
    transition: opacity 1.5s ease;
}

.page-bg-image.loaded {
    opacity: 0.8;
}

.dark .page-bg-image {
    filter: blur(40px) brightness(0.3);
}

.page-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

.store-card-container {
    display: none;
}

.store-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.store-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.dark .store-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e1b4b 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.store-content {
    display: flex;
    flex-direction: column;
}


.store-image {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.store-card:hover .store-image {
    transform: scale(1.05);
}


.store-details {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.store-details::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 0;
    pointer-events: none;
}

.dark .store-details::after {
    background: rgba(0, 0, 0, 0.5);
}

.store-details>* {
    position: relative;
    z-index: 1;
}

.store-name {
    font-size: 1.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.dark .store-name {
    background: linear-gradient(135deg, #f1f5f9, var(--primary-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.store-slogan {
    font-size: 1.375rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
    opacity: 0.9;
}

.store-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-content .store-status {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .hero-content .store-status {
        justify-content: center;
    }
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
    animation: pulse 2s infinite;
}

.status-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    font-weight: 500;
}

.time-icon {
    font-size: 1.1rem;
}

.status-open {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.status-open:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.dark .status-open {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(5, 150, 105, 0.3));
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-closed {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.status-closed:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

.dark .status-closed {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.3));
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.loyalty-info {
    max-width: 1280px;
    margin: 1.5rem auto;
    padding: 0 1rem;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.loyalty-title {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

.loyalty-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.loyalty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0.5;
}

.loyalty-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.loyalty-card:hover::before {
    animation: shimmer 2s infinite;
}

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

.loyalty-card-label {
    font-weight: 500;
    font-size: 0.875rem;
}

.loyalty-card-value {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-top: 0.5rem;
}

.loyalty-card-balance {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    border-color: #3b82f6;
    color: white;
}

.dark .loyalty-card-balance {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(59, 130, 246, 0.3) 50%, rgba(29, 78, 216, 0.3) 100%);
    border-color: #3b82f6;
    color: #bfdbfe;
}

.loyalty-card-used {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    border-color: #8b5cf6;
    color: white;
}

.dark .loyalty-card-used {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(124, 58, 237, 0.3) 50%, rgba(109, 40, 217, 0.3) 100%);
    border-color: #8b5cf6;
    color: #ddd6fe;
}

.loyalty-card-cash {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    border-color: #10b981;
    color: white;
}

.dark .loyalty-card-cash {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(5, 150, 105, 0.3) 50%, rgba(4, 120, 87, 0.3) 100%);
    border-color: #10b981;
    color: #a7f3d0;
}

.waiting-list-section {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 0 1rem;
    animation: fadeIn 0.6s ease-out 0.3s both;
}

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

.waiting-list-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    font-size: 0.9375rem;
}

.refresh-btn:hover {
    background: var(--bg-primary);
    border-color: var(--primary-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.refresh-btn:active {
    transform: translateY(0);
}

.refresh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.refresh-icon {
    font-size: 1.125rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.refresh-btn:hover:not(:disabled) .refresh-icon {
    transform: rotate(90deg);
}

.refresh-text {
    font-weight: 600;
}

@media (max-width: 640px) {
    .refresh-text {
        display: none;
    }

    .refresh-btn {
        padding: 0.75rem;
        min-width: 44px;
        justify-content: center;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes refreshSuccess {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.waiting-list-title {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.request-turn-btn {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-1));
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.request-turn-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.request-turn-btn:hover::before {
    width: 400px;
    height: 400px;
}

.request-turn-btn:hover {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.request-turn-btn:active {
    transform: translateY(-1px);
}

.google-icon {
    flex-shrink: 0;
    display: inline-block;
}

.waiting-list-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: auto;
}

.dark .waiting-list-table {
    background: rgba(15, 23, 42, 0.9);
}

.waiting-list-table:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.waiting-list-table table {
    width: 100%;
    border-collapse: collapse;
}

.waiting-list-table thead {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.waiting-list-table th {
    padding: 1.25rem 1rem;
    text-align: right;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

[dir="ltr"] .waiting-list-table th {
    text-align: left;
}

.waiting-list-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.waiting-list-table tr:last-child td {
    border-bottom: none;
}

.waiting-list-table tbody tr {
    transition: all 0.2s ease;
}

.waiting-list-table tbody tr:hover {
    background: linear-gradient(90deg, var(--primary-50), var(--bg-secondary));
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dark .waiting-list-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), var(--bg-secondary));
}

.status-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    min-width: max-content;
}

.status-tag:hover {
    transform: scale(1.05);
}

.status-waiting-slot {
    background-color: #dbeafe;
    color: #1e40af;
}

.dark .status-waiting-slot {
    background-color: rgba(37, 99, 235, 0.2);
    color: #93c5fd;
}

.status-waiting-client {
    background-color: #fef3c7;
    color: #92400e;
}

.dark .status-waiting-client {
    background-color: rgba(217, 119, 6, 0.2);
    color: #fcd34d;
}

.status-no-show {
    background-color: #fee2e2;
    color: #991b1b;
}

.dark .status-no-show {
    background-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

/* Waiting List Card Styles */
.waiting-list-card {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .waiting-list-card {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

.waiting-list-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.waiting-list-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.waiting-list-card .card-title {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.waiting-list-card .refresh-btn-small {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

.waiting-list-card .refresh-btn-small:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(180deg);
}

.waiting-list-card .refresh-btn-small:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.waiting-list-card .card-body {
    padding: 2rem;
}

.waiting-list-card.client-on-list .status-section {
    margin-bottom: 1.5rem;
}

.waiting-list-card .status-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    animation: fadeIn 0.5s ease-out;
}

.waiting-list-card .status-message-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.waiting-list-card .status-message-text {
    flex: 1;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.waiting-list-card .status-message-urgent {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 2px solid #fbbf24;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.dark .waiting-list-card .status-message-urgent {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.3), rgba(217, 119, 6, 0.2));
    color: #fcd34d;
    border-color: rgba(217, 119, 6, 0.5);
}

.waiting-list-card .status-message-priority {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    border: 2px solid #60a5fa;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.dark .waiting-list-card .status-message-priority {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(37, 99, 235, 0.2));
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.5);
}

.waiting-list-card .status-message-info {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #374151;
    border: 2px solid #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dark .waiting-list-card .status-message-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: #d1d5db;
    border-color: rgba(255, 255, 255, 0.2);
}

.waiting-list-card .status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.waiting-list-card .status-badge.status-active {
    background-color: #fef3c7;
    color: #92400e;
}

.dark .waiting-list-card .status-badge.status-active {
    background-color: rgba(217, 119, 6, 0.2);
    color: #fcd34d;
}

.waiting-list-card .status-badge.status-waiting {
    background-color: #dbeafe;
    color: #1e40af;
}

.dark .waiting-list-card .status-badge.status-waiting {
    background-color: rgba(37, 99, 235, 0.2);
    color: #93c5fd;
}

.waiting-list-card .position-info {
    margin-bottom: 1.5rem;
    text-align: center;
}

.waiting-list-card .position-number {
    margin-bottom: 0.5rem;
}

.waiting-list-card .your-turn-indicator {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-600);
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border-radius: 9999px;
    box-shadow: var(--shadow-md);
}

.dark .waiting-list-card .your-turn-indicator {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    color: #93c5fd;
}

.waiting-list-card .position-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.waiting-list-card .position-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-600);
    display: inline-block;
}

.dark .waiting-list-card .position-value {
    color: #93c5fd;
}

.waiting-list-card .total-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.waiting-list-card .registration-info {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.dark .waiting-list-card .registration-info {
    background: rgba(255, 255, 255, 0.05);
}

.waiting-list-card .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.waiting-list-card .info-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.waiting-list-card .info-value {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 600;
}

.waiting-list-card .whatsapp-notification-enabled,
.waiting-list-card .whatsapp-notification-disabled {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.dark .waiting-list-card .whatsapp-notification-enabled,
.dark .waiting-list-card .whatsapp-notification-disabled {
    background: rgba(255, 255, 255, 0.05);
}

.waiting-list-card .whatsapp-icon {
    font-size: 1.25rem;
}

.waiting-list-card .notification-text {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.waiting-list-card .change-number-btn,
.waiting-list-card .enable-whatsapp-btn {
    padding: 0.5rem 1rem;
    background: var(--primary-600);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.waiting-list-card .change-number-btn:hover,
.waiting-list-card .enable-whatsapp-btn:hover {
    background: var(--primary-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.waiting-list-card .card-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.waiting-list-card .cancel-turn-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark .waiting-list-card .cancel-turn-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

.waiting-list-card .cancel-turn-btn:hover {
    background: #fecaca;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.dark .waiting-list-card .cancel-turn-btn:hover {
    background: rgba(239, 68, 68, 0.3);
}

.waiting-list-card.client-not-on-list .total-count-display {
    text-align: center;
    padding: 2rem;
}

.waiting-list-card .count-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.waiting-list-card .count-value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-600);
    line-height: 1;
}

.dark .waiting-list-card .count-value {
    color: #93c5fd;
}

.waiting-list-card.client-not-on-list .request-turn-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.waiting-list-card.client-not-on-list .request-turn-btn:hover {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.waiting-list-card.client-not-on-list .request-turn-btn .google-icon {
    width: 18px;
    height: 18px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .waiting-list-card .card-header {
        padding: 1rem;
    }

    .waiting-list-card .card-title {
        font-size: 1.25rem;
    }

    .waiting-list-card .card-body {
        padding: 1.5rem;
    }

    .waiting-list-card .position-value {
        font-size: 1.5rem;
    }

    .waiting-list-card .count-value {
        font-size: 2rem;
    }

    .waiting-list-card .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: fadeIn 0.3s ease-out;
}

.popup-overlay.hidden {
    display: none;
}

.popup {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.3s ease-out, slideIn 0.3s ease-out;
}

.popup-menu {
    max-width: 90%;
    width: 90%;
    max-width: 1200px;
    padding: 0;
}

.popup-body-menu {
    padding: 0;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

.dark .popup {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

.popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

.popup-close:hover {
    color: var(--text-primary);
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-label {
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), var(--shadow);
    transform: translateY(-2px);
    background-color: var(--bg-primary);
}

.form-error {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* intl-tel-input styling */
.iti {
    width: 100%;
}

.iti__flag-container {
    border-radius: 0.75rem 0 0 0.75rem;
}

.iti__selected-flag {
    border-radius: 0.75rem 0 0 0.75rem;
    padding: 0 0.75rem;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-right: none;
}

.dark .iti__selected-flag {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.iti__selected-flag:focus {
    outline: none;
}

.iti__selected-flag:hover {
    background-color: var(--bg-tertiary);
}

.dark .iti__selected-flag:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.iti__selected-dial-code {
    color: var(--text-primary);
    font-weight: 500;
}

.iti__arrow {
    border-top-color: var(--text-primary);
}

.iti__country-list {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: 0.75rem;
    max-height: 300px;
}

.dark .iti__country-list {
    background-color: rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.iti__country {
    color: var(--text-primary);
}

.iti__country:hover,
.iti__country.iti__highlight {
    background-color: var(--primary-100);
}

.dark .iti__country:hover,
.dark .iti__country.iti__highlight {
    background-color: rgba(59, 130, 246, 0.2);
}

.iti__country-name {
    color: var(--text-primary);
}

.iti__dial-code {
    color: var(--text-secondary);
}

#new-mobile {
    border-radius: 0 0.75rem 0.75rem 0;
    border-left: none;
}

#new-mobile:focus {
    border-left: none;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-end;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--primary-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-danger:active {
    transform: translateY(0);
}

.dark .btn-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.9));
}

.dark .btn-danger:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(185, 28, 28, 0.9));
}

.hidden {
    display: none !important;
}

/* Menu Popup Styles */
.menu-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-categories-nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 2.5rem;
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dark .menu-categories-nav {
    background: rgba(15, 23, 42, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.menu-category-btn {
    padding: 0.625rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.menu-category-btn:hover {
    background: var(--primary-100);
    border-color: var(--primary-300);
    color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dark .menu-category-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .menu-category-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-400);
    color: var(--primary-300);
}

.menu-content {
    padding: 2.5rem;
    flex: 1;
}

.menu-category-section {
    margin-bottom: 3rem;
    scroll-margin-top: 80px;
}

.menu-category-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.dark .menu-category-title {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

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

.menu-item {
    background: var(--bg-secondary);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-300);
}

.dark .menu-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.menu-item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-tertiary);
}

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

.menu-item-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.menu-item-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.menu-item-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.menu-item-price-old {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.menu-item-price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-600);
}

.dark .menu-item-price-current {
    color: var(--primary-400);
}

@media (max-width: 768px) {
    .popup-menu {
        width: 95%;
        max-width: 95%;
    }

    .menu-categories-nav {
        padding: 0.75rem 1rem;
    }

    .menu-content {
        padding: 1.5rem;
    }

    .menu-items-grid {
        grid-template-columns: 1fr;
    }

    .menu-category-title {
        font-size: 1.5rem;
    }
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
}

#error-container {
    display: none;
    min-height: 100vh;
    animation: fadeIn 0.5s ease-out;
}

.error-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.dark .error-container {
    background: linear-gradient(135deg, #0a0f1a 0%, #1a1f2e 100%);
}

.error-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

.dark .error-content {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-500);
    animation: pulse 2s infinite;
}

.error-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2.5;
}

.error-title {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.error-message {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.error-details {
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.error-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.error-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-url {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.875rem;
    color: var(--text-primary);
    word-break: break-all;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .error-content {
        padding: 2rem 1.5rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-icon {
        width: 60px;
        height: 60px;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .btn {
        width: 100%;
    }
}

.footer {
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 6rem;
    padding: 4rem 1.5rem;
    position: relative;
    z-index: 1;
}

.dark .footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.footer-main {
    width: 100%;
}

.footer-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.footer-year {
    font-weight: 700;
    color: var(--primary-600);
    font-size: 1rem;
}

.footer-store-name {
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
}

.footer-divider {
    color: var(--text-secondary);
    font-weight: 300;
    opacity: 0.6;
    margin: 0 0.25rem;
}

.footer-brand {
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-link {
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--accent-1));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.footer-link:hover::before {
    width: 100%;
}

.footer-link-primary {
    color: var(--primary-600);
}

.dark .footer-link-primary {
    color: var(--primary-400);
}

.footer-link-primary:hover {
    color: var(--primary-700);
    transform: translateY(-2px);
}

.footer-link-secondary {
    color: var(--accent-1);
}

.dark .footer-link-secondary {
    color: var(--accent-1);
}

.footer-link-secondary:hover {
    color: var(--accent-2);
    transform: translateY(-2px);
}

.footer-link-text {
    position: relative;
    z-index: 1;
}

.footer-connector {
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0 0.25rem;
}

.footer-slogan {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-style: italic;
    opacity: 0.8;
    font-weight: 400;
}

.footer-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}

.footer-cta-wrapper {
    position: relative;
    padding: 3px;
    background: linear-gradient(135deg, var(--primary-500), var(--accent-1), var(--accent-2));
    border-radius: 1rem;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: calc(1rem - 3px);
    font-weight: 800;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: none;
    cursor: pointer;
    min-width: 280px;
}

.dark .footer-cta-button {
    background: var(--bg-primary);
}

.footer-cta-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.footer-cta-icon {
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.6));
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: scale(1.2) rotate(15deg);
        opacity: 0.8;
    }
}

.footer-cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
    line-height: 1.2;
}

.footer-cta-main {
    font-size: 1.125rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.footer-cta-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-cta-arrow {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
    display: inline-block;
}

.footer-cta-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.footer-cta-button:hover .footer-cta-shine {
    left: 100%;
}

.footer-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3);
}

.footer-cta-button:hover .footer-cta-arrow {
    transform: translateX(4px);
}

.footer-cta-button:hover .footer-cta-wrapper {
    animation-duration: 1.5s;
}

.footer-cta-button:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 1rem 1.5rem;
        margin-top: 3rem;
    }

    .footer-text {
        font-size: 0.875rem;
        gap: 0.375rem 0.5rem;
        flex-direction: column;
        line-height: 1.6;
    }

    .footer-cta-button {
        padding: 1rem 2rem;
        min-width: 260px;
    }

    .footer-cta-main {
        font-size: 1rem;
    }

    .footer-cta-sub {
        font-size: 0.6875rem;
    }

    .footer-cta-icon {
        font-size: 1.25rem;
    }

    .footer-cta-arrow {
        font-size: 1.25rem;
    }

    .footer-divider,
    .footer-connector {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-text {
        font-size: 0.8125rem;
    }

    .footer-cta-button {
        padding: 0.875rem 1.5rem;
        min-width: 240px;
    }

    .footer-cta-main {
        font-size: 0.9375rem;
    }

    .footer-cta-content {
        gap: 0.75rem;
    }
}


/* Applies to Chrome, Edge, and Safari */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Scrollbar track */
::-webkit-scrollbar-track {
    background: transparent;
    /* or #f1f1f1 for light */
}

/* Scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #888, #555);
    border-radius: 8px;
    transition: background 0.3s ease;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #666, #333);
}

/* Optional: dark mode tweak */
@media (prefers-color-scheme: dark) {
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #444, #222);
    }

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #666, #444);
    }

    ::-webkit-scrollbar-track {
        background: transparent;
    }
}

/* Optional: make inside modals or tables smaller */
.scrollable-element::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

tr.me {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.25) 100%);
    border-left: 4px solid var(--primary-600);
    position: relative;
    animation: highlightPulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3), inset 0 0 30px rgba(59, 130, 246, 0.1);
}

[dir="rtl"] tr.me {
    border-left: none;
    border-right: 4px solid var(--primary-600);
}

.dark tr.me {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(37, 99, 235, 0.35) 100%);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4), inset 0 0 40px rgba(59, 130, 246, 0.15);
}

tr.me td {
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
}

tr.me:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(37, 99, 235, 0.35) 100%);
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4), inset 0 0 40px rgba(59, 130, 246, 0.2);
}

.dark tr.me:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.35) 0%, rgba(37, 99, 235, 0.45) 100%);
}

@keyframes highlightPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3), inset 0 0 30px rgba(59, 130, 246, 0.1);
    }

    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.5), inset 0 0 40px rgba(59, 130, 246, 0.2);
    }
}

.your-turn-badge {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 1.25rem;
    animation: starSpin 3s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.8));
}

[dir="rtl"] .your-turn-badge {
    margin-left: 0;
    margin-right: 0.5rem;
}

.whatsapp-btn-small {
    background: #25D366;
    border: none;
    color: white;
    padding: 0.375rem 0.625rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 0.5rem;
    vertical-align: middle;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn-small:hover {
    background: #20BA5A;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn-small:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(37, 211, 102, 0.2);
}

[dir="rtl"] .whatsapp-btn-small {
    margin-right: 0;
    margin-left: 0.5rem;
}

@keyframes starSpin {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }

    25% {
        transform: rotate(-15deg) scale(1.2);
        opacity: 0.9;
    }

    50% {
        transform: rotate(0deg) scale(1.1);
        opacity: 1;
    }

    75% {
        transform: rotate(15deg) scale(1.2);
        opacity: 0.9;
    }
}

.your-turn-label {
    display: inline-block;
    margin-left: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    color: white;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
    animation: labelPulse 2s ease-in-out infinite;
}

[dir="rtl"] .your-turn-label {
    margin-left: 0;
    margin-right: 0.75rem;
}

@keyframes labelPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.6);
    }
}

/* tr.me::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-500), var(--primary-600), var(--primary-500));
    animation: borderGlow 2s ease-in-out infinite;
}

[dir="rtl"] tr.me::before {
    left: auto;
    right: 0;
} */

@keyframes borderGlow {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.9);
    }
}

.navbar-logo {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.store-details {
    background-size: cover;
}

@media screen and (max-width: 768px) {
    .popup {
        padding: 15px !important;
    }
    
    .waiting-list-header {
        flex-direction: column;
    }

    /* Mobile Navbar Styles */
    .desktop-menu {
        display: none !important;
    }

    .mobile-menu {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        width: 100%;
    }

    .mobile-install-row {
        width: 100%;
    }

    .mobile-install-row .install-app-btn {
        width: 100%;
    }

    .mobile-menu-buttons {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: space-around;
        width: 100%;
    }

    .navbar-content {
        min-height: 4rem;
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .navbar-left {
        flex: 1;
        min-width: 0;
    }

    .navbar-left h1 {
        font-size: 1.125rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .navbar-logo {
        width: 2rem;
        height: 2rem;
        flex-shrink: 0;
    }

    .mobile-menu .navbar-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
        min-height: 2.5rem;
    }

    .mobile-menu .menu-btn-text {
        /* display: none; */
    }

    .mobile-menu .profile-name {
        display: inline;
        font-size: 0.8125rem;
    }

    .mobile-menu .profile-btn {
        padding: 0.375rem;
        gap: 0.5rem;
    }

    .mobile-menu .profile-img {
        width: 2rem;
        height: 2rem;
    }
}

.popup-header {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.menu-category-title {
    display: flex;
    gap: 10px;
}

.menu-category-btn {
    display: flex;
    justify-items: center;
    align-items: center;
    gap: 10px;
}

.menu-category-btn .category-icon {
    width: 25px;
    height: 25px;
}

.google-icon {
    background-color: white;
    border-radius: 50%;
    padding: 5px;
    width: 25px;
    height: 25px;
}

.store-name {
    line-height: 70px;
}

.store-slogan {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 10px;
}

.iti__selected-country {
    padding-bottom: 3px !important;
}

#new-mobile {
    max-width: 100%;
}

.pwa-install-content {
    max-height: 90vh;
    overflow: auto;
}

tr.me td:nth-child(2) {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
    width: max-content;
    min-width: max-content;
}

td span {
    width: max-content;
    min-width: max-content;
    display: inline-block;
}

.navbar-left h1, .store-name {
    text-transform: capitalize;
}

/* Alert Component Styles */
#alert-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 420px;
    width: calc(100% - 2rem);
    pointer-events: none;
}

#alert-container.hidden {
    display: none;
}

.alert {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.alert.alert-visible {
    opacity: 1;
    transform: translateX(0);
}

.alert-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.alert-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-message {
    flex: 1;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--text-primary);
    word-wrap: break-word;
}

.alert-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    border-radius: 6px;
    width: 24px;
    height: 24px;
    margin-top: -2px;
    margin-right: -4px;
}

.alert-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.dark .alert-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Alert Types */
.alert-info {
    border-left: 4px solid var(--primary-500);
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.alert-info .alert-icon {
    color: var(--primary-500);
}

.dark .alert-info {
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(59, 130, 246, 0.15) 100%);
}

.alert-success {
    border-left: 4px solid #10b981;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.alert-success .alert-icon {
    color: #10b981;
}

.dark .alert-success {
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(16, 185, 129, 0.15) 100%);
}

.alert-warning {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.alert-warning .alert-icon {
    color: #f59e0b;
}

.dark .alert-warning {
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(245, 158, 11, 0.15) 100%);
}

.alert-error {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.alert-error .alert-icon {
    color: #ef4444;
}

.dark .alert-error {
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(239, 68, 68, 0.15) 100%);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Responsive */
@media (max-width: 640px) {
    #alert-container {
        top: 0.75rem;
        right: 0.75rem;
        left: 0.75rem;
        max-width: none;
        width: auto;
    }

    .alert {
        padding: 0.875rem 1rem;
    }

    .alert-message {
        font-size: 0.875rem;
    }
}

.pwa-install-btn {
    transition: all 0.2s ease;
}

.pwa-install-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#waiting-list-container {
    margin-top: 25px;
}

#page-bg-container {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-attachment: scroll !important;
    background-blend-mode: overlay;
}