:root {
    /* Premium Palette - Dark Slate & Indigo */
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.25);
    --primary-light: rgba(99, 102, 241, 0.1);
    
    --accent-color: #10b981;
    --accent-hover: #059669;
    
    /* Neutral / Dark Nuances */
    --bg-body: #f1f5f9;
    --bg-white: #ffffff;
    --sidebar-bg: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.9);
    
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    
    --border-color: #e2e8f0;
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Elevation & Shadows */
    --shadow-soft: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
    
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 2rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-body);
    color: var(--text-dark);
    overflow: hidden;
    height: 100vh;
}

.app-container {
    display: flex;
    height: 100vh;
}

.hamburger-btn,
#close-sidebar-btn {
    display: none;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    flex-shrink: 0;
    overflow-y: auto;
    z-index: 50;
    transition: var(--transition);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.5rem;
    margin-bottom: 2.5rem;
}

.brand i {
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), #a855f7);
    padding: 0.6rem;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 15px rgba(99, 102, 241, 0.3);
}

.brand span {
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
}

.nav-links {
    list-style: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.nav-links li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.nav-links li i {
    font-size: 1.1rem;
}

.nav-links li:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.nav-links li.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.user-profile img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-body);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info .name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.user-info .role {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    padding: 2.5rem 3rem;
    overflow-y: auto;
    background-color: var(--bg-body);
    position: relative;
    transition: var(--transition);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    background: transparent;
}

h1#page-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

/* Dashboard Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.stat-info .value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
}

.stat-info .trend {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.trend.up { color: var(--accent-color); }
.trend.down { color: #ef4444; }

/* Settings Cards Modernization */
.settings-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.settings-card:hover {
    box-shadow: var(--shadow-hover);
}

.settings-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.settings-card h3 i {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(79, 70, 229, 0.3);
}

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

.btn-secondary {
    background-color: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--bg-body);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

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

/* Secondary outline button for specific actions */
.btn-secondary-outline {
    background-color: transparent;
    color: var(--text-medium);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-secondary-outline:hover {
    border-color: var(--text-medium);
    color: var(--text-dark);
}

.btn-ai {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.btn-ai:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.35);
    filter: brightness(1.1);
}

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

.btn-ai i {
    font-size: 1rem;
}

/* AI Loader Animation */
.ai-loader {
    width: 48px;
    height: 48px;
    border: 5px solid #6366f1;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin: 1rem auto;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Tab Contents */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

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

/* Controls (Search & Filter) */
.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.search-bar {
    background: var(--bg-body);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border-color);
    flex-grow: 1;
    max-width: 450px;
    transition: all 0.2s ease;
}

.search-bar:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: white;
}

.search-bar i {
    color: var(--text-light);
    font-size: 1.1rem;
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.search-bar input::placeholder {
    color: var(--text-light);
}

.filter-dropdown select {
    padding: 0.75rem 2.5rem 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.filter-dropdown select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
    background-color: white;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-glow);
}

.product-image {
    height: 180px;
    width: 100%;
    object-fit: cover;
    background-color: var(--bg-body);
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
    position: relative;
    z-index: 1;
}

.product-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    letter-spacing: 0.05em;
    font-weight: 800;
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-self: flex-start;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
}

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

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-medium);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
}

.action-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.action-btn.delete:hover {
    background-color: #fee2e2;
    color: var(--danger-color);
    border-color: #fecaca;
}

/* Category Management */
.category-list {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item:hover {
    background-color: var(--bg-body);
}

.cat-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cat-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: transform 0.2s;
}

.category-item:hover .cat-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Prices Table */
.prices-table-container {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.prices-table th,
.prices-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.prices-table th {
    background-color: var(--bg-body);
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.prices-table td {
    font-size: 0.95rem;
    color: var(--text-dark);
    vertical-align: middle;
}

.prices-table tbody tr:last-child td {
    border-bottom: none;
}

.prices-table tbody tr:hover {
    background-color: #f8fafc;
}

.prices-table .price-input {
    width: 120px;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
}

.prices-table .price-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Settings & Design Grid */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.settings-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.settings-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.settings-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.color-input-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--bg-body);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.color-input-group input[type="color"] {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: none;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.qr-preview {
    text-align: center;
    background: var(--bg-body);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
    border: 1px dashed var(--border-color);
}

.qr-preview i {
    font-size: 8rem;
    color: var(--text-light);
}

/* Nested Settings Tabs */
.settings-tabs-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
    /* Firefox */
}

.settings-tabs-nav::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.settings-tab-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-tab-btn:hover {
    background: var(--bg-body);
    color: var(--text-dark);
}

.settings-tab-btn.active {
    background: var(--primary-light);
    color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.1);
}

.settings-tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.settings-tab-pane.active {
    display: block;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    width: 100%;
    max-width: 550px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-overlay.open .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.modal-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.close-modal {
    background: var(--bg-body);
    border: none;
    font-size: 1.25rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s;
    width: 80px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--danger-color);
    background: #fee2e2;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.25rem;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="number"],
input[type="url"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
    background: var(--bg-body);
    font-weight: 500;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
    background: white;
}

/* Image Upload Styling */
.image-preview {
    width: 100%;
    height: 200px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: all 0.2s;
}

.image-preview:hover {
    border-color: var(--primary-color);
    background-color: var(--secondary-color);
}

.image-preview input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.image-preview i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.image-preview.has-image i,
.image-preview.has-image p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    color: white;
    z-index: 2;
}

.image-preview.has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background-color: var(--secondary-color);
}

/* =========================================
   CUSTOMER MENU STYLES (Mobile First)
   ========================================= */

.menu-body {
    background-color: #f8f9fa;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-y: auto;
    min-height: 100vh;
}

/* Header */
.menu-header {
    height: 220px;
    position: relative;
    color: white;
}

.menu-cover {
    background-color: var(--primary-color, #1e293b);
    /* Varsayılan arka plan (eğer admin görsel yüklemezse bu görünür) */
    background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.menu-cover .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 60%);
}

.restaurant-info {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    width: 100%;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    font-size: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.75rem;
}

.restaurant-info h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}

.tagline {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.info-badges {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
}

.info-badges span {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Sticky Category Nav */
.category-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    padding: 0.5rem 0;
    /* Padding'i biraz daralttık */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 60px;
    /* Sabit yükseklik kitlemek için en garantisidir */
    display: flex;
    align-items: center;
}

.category-scroll {
    display: flex;
    align-items: center;
    /* Elemanları tam ortaya mühürle */
    overflow-x: auto;
    gap: 0.75rem;
    padding: 0 1.5rem;
    list-style: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    width: 100%;
}

.category-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome */
}

.cat-tab {
    padding: 0.6rem 1.2rem;
    background: #f1f5f9;
    color: var(--text-medium);
    border-radius: 2rem;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    /* Transformu buradan çıkardık */
    border: none;
    /* Border'ı tamamen kaldırıyoruz */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    /* Dikey oynamayı bitiren kritik satır */
    line-height: 1.2;
    box-shadow: inset 0 0 0 1px transparent;
}

.cat-tab i {
    font-size: 1rem;
}

.cat-tab.active {
    background: var(--text-dark);
    color: white;
    /* Scale yerine gölge kullanarak büyüme hissi veriyoruz (oynama yapmaz) */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15), inset 0 0 0 1px var(--text-dark);
    transform: none;
    /* Zıplamaya neden olan temel etken buydu */
}

/* Menu Content */
.menu-content {
    padding: 1.5rem;
    background: var(--bg-body);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.25rem;
}

.section-title h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.section-title .count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Default mobile 1 column */
    gap: 1.25rem;
}

/* Landscape/Tablet */
@media (min-width: 600px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.menu-item-card {
    background: white;
    border-radius: 1.25rem;
    /* More rounded */
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    /* Softer shadow */
    display: flex;
    flex-direction: row;
    height: 95%;
    /* Slightly taller */
    align-items: stretch;
    transition: transform 0.2s;
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.menu-item-card:active {
    transform: scale(0.98);
}

.menu-item-img {
    width: 120px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    cursor: zoom-in;
    /* Indicate clickable */
}

.product-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    border-radius: 4px;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    animation: flashBadge 2s infinite;
}

@keyframes flashBadge {

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

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.badge-discount {
    background-color: #ef4444;
}

/* Red */
.badge-special {
    background-color: #f59e0b;
}

/* Orange */
.badge-new {
    background-color: #3b82f6;
}

/* Blue */
.badge-popular {
    background-color: #10b981;
}

/* Green */

.menu-item-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

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

.item-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0;
}

.item-desc {
    font-size: 0.85rem;
    color: var(--text-medium);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

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

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

.btn-add {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--text-dark);
    /* Darker button for contrast */
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
}

.btn-add:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Lightbox Styles - CENTER POPUP MODAL */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Dark backdrop */
    backdrop-filter: blur(8px);
    z-index: 6000;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Center horizontally and vertically */
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
    padding: 1.5rem;
}

/* Ensure SweetAlert2 is above our lightbox modals */
.swal2-container {
    z-index: 10000 !important;
}

/* Modal Konteynırı */
.swal2-popup {
    border-radius: 20px !important;
    padding: 2rem !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    box-shadow: var(--shadow) !important;
}

/* Başlık Modernizasyonu */
.swal2-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--text-main) !important;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem !important;
}

/* Form Elemanları (Input, Select, Textarea) */
.swal2-input,
.swal2-select,
.swal2-textarea {
    border: 1.5px solid var(--border-color) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    font-size: 0.95rem !important;
    color: var(--text-main) !important;
    background-color: white !important;
}

.swal2-input:focus,
.swal2-select:focus,
.swal2-textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}



/* Puan Kartı Alanı */
#swal2-html-container div[style*="background: #f8fafc"] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 14px !important;
    padding: 1.25rem !important;
}

/* Butonlar */
.swal2-actions {
    margin-top: 2rem !important;
    gap: 12px;
}

.swal2-confirm {
    background-color: var(--primary-color) !important;
    border-radius: 12px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    transition: transform 0.1s active !important;
}

.swal2-confirm:hover {
    background-color: var(--primary-hover) !important;
}

.swal2-cancel {
    border-radius: 12px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    background-color: #fee2e2 !important;
    color: #ef4444 !important;
}

/* PWA Yükleme Butonu */
#pwa-install-container button {
    transition: all 0.3s ease;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
}

#pwa-install-container button:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}


/*  */


/* */
.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    background: #fff;
    width: 100%;
    max-width: 400px;
    /* Limit width */
    border-radius: 1.5rem;
    /* Full rounding */
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.2s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.lightbox.open .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border-radius: 50%;
    border: none;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
}

#lightbox-img {
    width: 100%;
    height: 300px;
    /* Square-ish aspect for popup */
    object-fit: cover;
    display: block;
}

.lightbox-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    /* Center text for popup style */
    align-items: center;
}

#lightbox-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

#lightbox-desc {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.5;
}

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

.btn-add-large {
    width: 100%;
    padding: 0.9rem;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: transform 0.1s;
}

.btn-add-large:active {
    transform: scale(0.98);
}


/* Bottom Bar */
.bottom-bar {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.5rem 0.6rem;
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    z-index: 1000;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow-x: auto;
}

/* Floating Profile Button */
.btn-floating-profile {
    position: fixed;
    bottom: 9.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: white;
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 2000;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}

.btn-floating-profile:active {
    transform: scale(0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bottom-bar::-webkit-scrollbar {
    display: none;
}

.btn-track-bottom {
    background: white;
    color: var(--text-dark);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0.7rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.btn-track-bottom:active {
    transform: scale(0.98);
}

.cart-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-icon {
    position: relative;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.badge {
    top: -4px;
    right: -6px;
    background: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    background: #ffffff00 !important;
}

.cart-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.btn-checkout {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    /* Uses static indigo for now, can be updated dynamically if needed */
    transition: transform 0.2s;
    white-space: nowrap;
}

.btn-checkout:active {
    transform: scale(0.96);
}

/* Floating Waiter Button */
.btn-floating-waiter {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: white;
    color: var(--danger-color);
    font-size: 1.5rem;
    display: none;
    /* Hide by default, show via JS if table present */
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 2000;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}

.btn-floating-waiter:active {
    transform: scale(0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-floating-waiter i {
    position: relative;
    top: -1px;
}

/* =========================================
   RESPONSIVE ADMIN PANEL STYLES
   ========================================= */

@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }

    /* Transform Sidebar to Slide-in for Mobile */
    .app-container .sidebar {
        width: 280px;
        height: 100vh;
        position: fixed;
        bottom: auto;
        top: 0;
        left: -280px;
        /* Hidden by default */
        z-index: 1001;
        flex-direction: column;
        padding: 2rem 1.5rem;
        border-right: 1px solid var(--border-color);
        border-top: none;
        background: white;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
        justify-content: flex-start;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .app-container .sidebar.open {
        left: 0;
    }

    /* Sidebar Overlay */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(4px);
        z-index: 1000;
        display: none;
        opacity: 0;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar-overlay.show {
        display: block;
        opacity: 1;
    }

    .app-container .brand,
    .app-container .user-profile {
        display: flex;
        /* Show brand on mobile sidebar */
        margin-bottom: 2rem;
    }

    .app-container .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        margin-top: 1rem;
    }

    .app-container .nav-links li {
        flex-direction: row;
        gap: 0.875rem;
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        border-radius: var(--radius-md);
        color: var(--text-medium);
        margin-bottom: 0.25rem;
        width: 100%;
    }

    .app-container .nav-links li i {
        font-size: 1.1rem;
        margin-bottom: 0;
        width: 20px;
        text-align: center;
    }

    .app-container .nav-links li.active {
        background: var(--primary-light) !important;
        color: var(--primary-color) !important;
        box-shadow: none;
    }

    .app-container .nav-links li.active i {
        color: var(--primary-color) !important;
    }

    /* Adjust Main Content */
    .app-container .main-content {
        padding: 1.5rem 1rem;
        padding-bottom: 90px;
        /* Space for bottom nav */
        width: 100%;
    }

    .app-container .top-bar {
        flex-direction: row;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
        align-items: center;
        padding: 0.5rem 0;
    }

    /* Hamburger Menu Button */
    .hamburger-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: white;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        color: var(--text-dark);
        font-size: 1.25rem;
        cursor: pointer;
        z-index: 100;
        box-shadow: var(--shadow-sm);
        transition: all 0.2s;
    }

    .hamburger-btn:active {
        transform: scale(0.95);
        background: var(--bg-body);
    }

    #close-sidebar-btn {
        display: block !important;
    }

    .app-container .top-bar h1#page-title {
        font-size: 1.25rem;
        flex: 1;
        margin: 0;
    }

    /* Controls */
    .app-container .controls {
        flex-direction: column;
        gap: 0.75rem;
    }

    .app-container .search-bar,
    .app-container .filter-dropdown,
    .app-container .filter-dropdown select {
        max-width: 100%;
        width: 100%;
    }

    /* Grid */
    .app-container .products-grid {
        grid-template-columns: 1fr;
        /* Single column */
        gap: 1rem;
    }

    .app-container .settings-grid {
        grid-template-columns: 1fr;
    }

    /* Modal responsive */
    .modal {
        width: 95%;
        max-height: 85vh;
        margin: 0 auto;
    }

    .modal-body {
        padding: 1.5rem;
    }
}

/* Language Switcher */
.lang-switcher {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    display: flex;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 0.25rem;
    border-radius: 20px;
}

.lang-switcher button {
    background: transparent;
    border: none;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-switcher button.active {
    background: white;
    color: var(--text-dark);
}

/* Print Mode Styles */
@media print {
    body {
        background: #fff;
        color: #000;
        margin: 0;
        padding: 0;
    }

    .menu-header,
    .category-nav-wrapper {
        display: none !important;
    }

    .menu-content {
        padding: 0 !important;
        background: #fff !important;
    }

    .menu-grid {
        display: block !important;
    }

    .print-card {
        page-break-inside: avoid;
        box-shadow: none !important;
        border: none !important;
        border-bottom: 1px dotted #ccc !important;
        border-radius: 0 !important;
        height: auto !important;
        padding: 1rem 0;
        margin-bottom: 0 !important;
    }

    .print-img {
        width: 80px !important;
        height: 80px !important;
        border-radius: 8px !important;
    }

    .print-info {
        padding: 0 0 0 1rem !important;
    }

    .print-desc {
        color: #555 !important;
        -webkit-line-clamp: 4 !important;
        line-clamp: 4 !important;
    }
}

/* =========================================
   FLY TO CART ANIMATION
   ========================================= */
.fly-to-cart-elem {
    position: fixed;
    z-index: 9999;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    /* easeOutExpo */
}

/* =========================================
   DELIVERY TABS
   ========================================= */
.delivery-type-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: #f1f5f9;
    padding: 0.4rem;
    border-radius: 12px;
}

.delivery-tab {
    flex: 1;
    padding: 0.6rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-medium);
    transition: all 0.2s ease;
}

.delivery-tab.active {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

input#swal2-input {
    width: 83%;
}

/* =========================================
   SETTINGS & QR MANAGEMENT PREMIUM UI
   ========================================= */

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.settings-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.settings-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.card-header-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-header-icon i {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.25rem;
}

.card-header-icon h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.settings-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0 1.5rem;
    color: var(--text-medium);
    font-size: 0.85rem;
    font-weight: 600;
}

.settings-divider::before,
.settings-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.settings-divider span {
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* QR Management Specifics */
.qr-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    min-height: 200px;
}

.qr-placeholder {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    height: 200px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
}

.qr-placeholder i {
    margin-bottom: 1rem;
    opacity: 0.3;
}

.qr-item-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: fadeIn 0.3s ease forwards;
}

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

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

.qr-code-src canvas,
.qr-code-src img {
    max-width: 150px;
    height: auto !important;
    border-radius: 8px;
    background: white;
    padding: 5px;
}

.qr-item-info strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.qr-item-info span {
    font-size: 0.75rem;
    color: var(--text-medium);
}

.qr-item-actions {
    margin-top: auto;
    width: 100%;
}

.qr-item-actions button {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.2s;
}

.qr-item-actions button:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

/* Payment Methods Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.payment-item {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.payment-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.payment-item label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.payment-item select {
    width: 100%;
    padding: 0.4rem;
    font-size: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.whatsapp-notify-box {
    background: #ecfdf5;
    border: 1px solid #10b981;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.whatsapp-notify-box i {
    color: #10b981;
}

/* Design Tab Specifics */
.color-input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.color-input-group input[type="color"] {
    width: 45px;
    height: 45px;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
}

.color-input-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

/* Modal Overlay Update */
.modal-overlay {
    backdrop-filter: blur(8px);
    background: rgba(15, 23, 42, 0.4);
}

/* Prices Table Update */
.prices-table th {
    background: #f8fafc;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.prices-table td {
    padding: 1.2rem 1rem;
}

.price-input {
    width: 100px;
    padding: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    text-align: right;
}

.price-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Mobile Overrides for New Grid */
@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr;
    }

    .qr-result-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   PROGRESS BAR ANIMATION
   ========================================= */
.progress-bar-animated {
    background: linear-gradient(90deg,
            #10b981 0%,
            #34d399 50%,
            #10b981 100%);
    background-size: 200% 100%;
    animation: progress-shine 2s infinite linear;
    position: relative;
}

@keyframes progress-shine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes progress-fill {
    from {
        width: 0;
    }
}

/* =========================================
   REVIEWS & ORDER HISTORY STYLES
   ========================================= */

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

.badge-status {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.badge-status.status-NEW {
    background: #dcfce7;
    color: #166534;
}

.badge-status.status-PREPARING {
    background: #fef9c3;
    color: #854d0e;
}

.badge-status.status-COMPLETED {
    background: #dbeafe;
    color: #1e40af;
}

.badge-status.status-CANCELLED {
    background: #fee2e2;
    color: #991b1b;
}

.modal-overlay.open {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* =========================================
   THEME 2: ELEGANT (CLASSIC & CLEAN)
   ========================================= */
body.theme-elegant {
    background-color: #ffffff !important;
    --primary-color: #1a1a1a;
    --bg-body: #ffffff;
}

.theme-elegant .menu-header {
    height: 180px;
    background: #fdfdfd;
}

.theme-elegant .menu-cover {
    background-image: none !important;
    background: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
}

.theme-elegant .menu-cover .overlay {
    background: transparent !important;
}

.theme-elegant .restaurant-info {
    text-align: center;
    padding: 2rem;
}

.theme-elegant .logo-circle {
    margin: 0 auto 1rem auto;
    border: 1px solid #ddd;
    box-shadow: none;
}

.theme-elegant .restaurant-info h1 {
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.theme-elegant .tagline {
    color: #666;
}

.theme-elegant .info-badges span {
    background: #f5f5f5;
    color: #444;
    border: 1px solid #eee;
    backdrop-filter: none;
}

.theme-elegant .lang-switcher {
    background: rgba(0, 0, 0, 0.05);
}

.theme-elegant .lang-switcher button {
    color: #1a1a1a;
}

.theme-elegant .lang-switcher button.active {
    background: #1a1a1a;
    color: #fff;
}

.theme-elegant .category-nav-wrapper {
    background: #fff;
    border-bottom: 2px solid #1a1a1a;
}

.theme-elegant .category-item {
    border-radius: 0;
    border-bottom: 2px solid transparent;
    background: transparent !important;
    color: #999 !important;
    padding: 0.5rem 0.2rem;
}

.theme-elegant .category-item.active {
    color: #1a1a1a !important;
    border-bottom: 2px solid #1a1a1a;
    box-shadow: none !important;
}

.theme-elegant .menu-item-card {
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #eee;
    background: #fff;
    margin-bottom: 0;
    height: auto;
    padding: 1rem 0;
}

.theme-elegant .menu-item-img {
    border-radius: 0;
    width: 100px;
    height: 100px;
}

.theme-elegant .btn-add {
    border-radius: 0;
    background: #1a1a1a;
}

/* =========================================
   THEME 3: VIBRANT DARK (NEON)
   ========================================= */
body.theme-vibrant {
    background-color: #050505 !important;
    color: #000;
    --bg-body: #050505;
}

.theme-vibrant .menu-body {
    background-color: #050505;
}

.theme-vibrant .menu-header {
    height: 250px;
}

.theme-vibrant .menu-cover .overlay {
    background: linear-gradient(to top, #050505 0%, rgba(5, 5, 5, 0.4) 100%);
}

body.theme-vibrant .menu-body {
    background-color: #050505 !important;
}

.theme-vibrant .restaurant-info h1 {
    font-size: 2rem;
    text-shadow: 0 0 10px var(--primary-color);
    letter-spacing: -1px;
}

.theme-vibrant .tagline {
    color: #ccc;
}

.theme-vibrant .info-badges span {
    background: rgba(255, 255, 255, 0.1);
    color: #eee;
}

.theme-vibrant .category-nav-wrapper {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-vibrant .category-item {
    background: #111 !important;
    color: #888 !important;
    border: 1px solid #222;
}

.theme-vibrant .category-item.active {
    background: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 0 15px var(--primary-color);
    border-color: var(--primary-color);
}

.theme-vibrant .menu-item-card {
    background: #111;
    border: 1px solid #222;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.theme-vibrant .menu-item-info h3 {
    color: #fff;
}

.theme-vibrant .item-desc {
    color: #aaa;
}

.theme-vibrant .item-price {
    color: #fff;
    text-shadow: 0 0 5px var(--primary-color);
}

.theme-vibrant .btn-add {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.theme-vibrant .bottom-bar {
    background: rgba(20, 20, 20, 0.95) !important;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.theme-vibrant .bottom-bar .cart-icon,
.theme-vibrant .bottom-bar .cart-text {
    color: #fff;
}

.theme-vibrant .bottom-bar .total-amount {
    color: var(--primary-color);

    /* Admin Suggestion Search UI */
    .suggestion-search-container {
        position: relative;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 0.5rem;
        background: #fff;
    }

    .selected-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .tag {
        background: var(--primary-color);
        color: white;
        padding: 0.25rem 0.6rem;
        border-radius: 4px;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .tag i {
        cursor: pointer;
        opacity: 0.8;
    }

    .tag i:hover {
        opacity: 1;
    }

    #suggestion-search-input {
        border: none !important;
        padding: 0.5rem !important;
        width: 100% !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .search-results-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 1px solid var(--border-color);
        border-top: none;
        border-radius: 0 0 8px 8px;
        max-height: 200px;
        overflow-y: auto;
        z-index: 1000;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .search-result-item {
        padding: 0.75rem 1rem;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f1f5f9;
    }

    .search-result-item:hover {
        background: #f8fafc;
    }

    .search-result-item .category-badge {
        font-size: 0.7rem;
        background: #e2e8f0;
        padding: 0.1rem 0.4rem;
        border-radius: 4px;
        color: #64748b;
    }

    text-shadow: 0 0 8px var(--primary-color);
}

.theme-vibrant .btn-checkout {
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

.theme-vibrant .btn-floating-waiter,
.theme-vibrant .btn-floating-profile {
    background: #222;
    color: #fff;
    border: 1px solid #333;
}

.theme-vibrant .section-title h2 {
    color: #fff;
}

.theme-vibrant .section-title .count {
    color: #888;
}

/* Modal Dark Mode for Vibrant */
.theme-vibrant .modal {
    background: #0a0a0a !important;
    color: #eee !important;
    border: 1px solid #222;
}

.theme-vibrant .modal-header {
    border-bottom: 1px solid #222;
}

.theme-vibrant .modal-header h2,
.theme-vibrant .modal-header h3 {
    color: #fff !important;
}

.theme-vibrant .cart-item {
    border-bottom: 1px solid #222;
}

.theme-vibrant .cart-item-info h4 {
    color: #fff !important;
}

.theme-vibrant .quantity-control {
    background: #1a1a1a !important;
    border: 1px solid #333;
}

.theme-vibrant .quantity-control button {
    color: #fff !important;
}

.theme-vibrant .quantity-control span {
    color: #fff !important;
}

.theme-vibrant .tip-option {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: #ccc !important;
}

.theme-vibrant .tip-option.active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.theme-vibrant .summary-row {
    color: #aaa !important;
}

.theme-vibrant .summary-row.total {
    color: #fff !important;
    border-top: 1px solid #222;
}

.theme-vibrant .close-modal {
    background: #222 !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Suggestion Modal Styles */
.suggestion-content {
    background: white;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.suggestion-item:hover {
    transform: translateY(-2px);
}

.suggestion-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.suggestion-item-info {
    flex-grow: 1;
}

.suggestion-item-info h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.suggestion-item-info .price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

/* Theme Overrides for Suggestions */
.theme-elegant .suggestion-content {
    border-radius: 0 !important;
}

.theme-elegant .suggestion-item {
    border-radius: 0;
    border-bottom: 1px solid #eee;
    box-shadow: none;
}

.theme-elegant .suggestion-header h3 {
    font-family: 'Playfair Display', serif;
}

.theme-vibrant .suggestion-content {
    background: #0a0a0a !important;
    border: 1px solid #222;
}

.theme-vibrant .suggestion-header {
    border-bottom-color: #222 !important;
}

.theme-vibrant .suggestion-header h3 {
    color: #fff !important;
}

.theme-vibrant .suggestion-item {
    background: #111 !important;
    border: 1px solid #222;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-vibrant .suggestion-item-info h4 {
    color: #fff !important;
}

.theme-vibrant .suggestion-item-info .price {
    text-shadow: 0 0 5px var(--primary-color);
}

.suggestion-content {
    max-height: 80vh;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.suggestion-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggestion-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.suggestion-grid {
    padding: 1rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.suggestion-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
    text-align: center;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .menu-header .lang-switcher {
    left: 1.5rem;
    right: auto;
}

[dir="rtl"] .info-badges {
    justify-content: flex-start;
}

[dir="rtl"] .category-scroll {
    flex-direction: row-reverse;
}

[dir="rtl"] .product-card .price {
    flex-direction: row-reverse;
}

[dir="rtl"] .fa-arrow-right {
    transform: scaleX(-1);
}

[dir="rtl"] .fa-chevron-right {
    transform: scaleX(-1);
}

[dir="rtl"] .lightbox-details {
    text-align: right;
}

[dir="rtl"] .cart-preview {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn-checkout i {
    margin-left: 0;
    margin-right: 0.5rem;
    transform: scaleX(-1);
}

[dir="rtl"] .order-step-num {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
[dir="rtl"] .form-group textarea {
    text-align: right;
}

[dir="rtl"] .lightbox-close {
    left: 1.5rem;
    right: auto;
}

[dir="rtl"] .btn-floating-profile,
[dir="rtl"] .btn-floating-waiter {
    left: 1.5rem;
    right: auto;
}

[dir="rtl"] .suggestion-footer {
    flex-direction: row-reverse;
}

/* Theme specific RTL fixes */
.rtl.theme-vibrant .product-card {
    border-left: none !important;
    border-right: 3px solid var(--primary-color) !important;
}

/* Customer Redesign Extra Styles */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

#customers .admin-table tbody tr:hover {
    background-color: #f8fafc !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modal-overlay.open {
    display: flex !important;
    backdrop-filter: blur(8px);
    background: rgba(15, 23, 42, 0.6);
}

#customer-detail-modal .modal {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#customer-detail-modal.open .modal {
    transform: translateY(0);
    opacity: 1;
}

/* Scrollbar for detail modal */
#detail-recent-orders {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

#detail-recent-orders::-webkit-scrollbar {
    width: 6px;
}

#detail-recent-orders::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

/* Cart Upsell Styles */
#cart-upsell-items::-webkit-scrollbar {
    height: 4px;
}

#cart-upsell-items::-webkit-scrollbar-track {
    background: #f8fafc;
}

#cart-upsell-items::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.cart-upsell-container {
    display: none;
    padding: 0.75rem 1rem;
    border-top: 1px solid #f1f5f9;
    background: #fff;
    flex-shrink: 0;
}

.upsell-title {
    margin: 0 0 0.6rem 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.cart-upsell-items {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem !important;
    overflow-x: auto !important;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.upsell-card {
    flex: 0 0 200px !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.4rem;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.6rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.upsell-card:hover {
    border-color: var(--primary-color);
    background: #fff;
    transform: translateY(-1px);
}

.upsell-card img {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    object-fit: cover !important;
    border-radius: 8px;
    flex-shrink: 0 !important;
}

.upsell-card .info {
    flex-grow: 1;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px;
    overflow: hidden;
}

.upsell-card h6 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upsell-card .price {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.upsell-card button {
    padding: 0.3rem 0.6rem;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.2rem;
    transition: all 0.2s;
}

.upsell-card button:active {
    transform: scale(0.95);
}

/* Waiter/Admin Table Grid Styles */
.table-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

/* Dietary Filters */
.dietary-filters-bar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.dietary-filters-bar::-webkit-scrollbar {
    display: none;
}

.diet-filter-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.diet-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px var(--border-color);
}

.diet-filter-btn.active {
    box-shadow: 0 4px 12px -2px rgba(99, 102, 241, 0.4) !important;
}

.allergen-icons span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}

.allergen-icons span:hover {
    transform: scale(1.2);
    z-index: 5;
    cursor: pointer;
}

.diet-info-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
}

/* Thermal Printer (80mm/58mm) Print Styles */
@media print {
    body * {
        visibility: hidden;
    }

    #print-section,
    #print-section * {
        visibility: visible;
        display: block !important;
    }

    #print-section {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 80mm;
        /* Standard Thermal Size */
        margin: 0;
        padding: 5px;
        background: white;
        color: black;
        font-family: 'Courier New', Courier, monospace;
        /* Monospaced for alignment */
        font-size: 12px;
    }

    .receipt-header {
        text-align: center;
        margin-bottom: 5px;
    }

    .receipt-header h2 {
        margin: 0;
        font-size: 16px;
    }

    .receipt-divider {
        border-top: 1px dashed black;
        margin: 5px 0;
    }

    .receipt-item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 2px;
    }

    .receipt-total {
        text-align: right;
        font-weight: bold;
        margin-top: 5px;
        font-size: 14px;
    }

    .receipt-footer {
        text-align: center;
        margin-top: 10px;
        font-size: 10px;
    }
}

/* Hidden by default in UI */
#print-section {
    display: none;
}

.btn-floating-bill {
    position: fixed;
    bottom: 230px;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #10b981;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-floating-bill:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.6);
}

.bill-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px dashed #eee;
}

.bill-item:last-child {
    border-bottom: none;
}

.bill-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

/* Settings Tabs */
.settings-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.settings-tabs::-webkit-scrollbar {
    display: none;
}

.settings-tab-btn {
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    border: none;
    background: transparent;
    color: var(--text-medium);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.settings-tab-btn i {
    font-size: 1.1rem;
}

.settings-tab-btn:hover {
    color: var(--primary-color);
    background: var(--secondary-color);
}

.settings-tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.settings-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.settings-pane.active {
    display: block;
}

.settings-grid.single-col {
    grid-template-columns: 1fr;
    max-width: 800px;
}

/* Reporting Quick Filters */
.quick-filters button.active {
    background: #6366f1 !important;
    color: white !important;
    border-color: #6366f1 !important;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.report-controls .btn-secondary {
    transition: all 0.2s;
    cursor: pointer;
}

.report-controls .btn-secondary:hover:not(.active) {
    background: #f1f5f9;
    border-color: #cbd5e1;
}