/* ============================================
   RESTAURANTOS - PREMIUM PRODUCTION CSS
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0F172A;
    --primary-light: #1E293B;
    --primary-lighter: #334155;
    --secondary: #3B82F6;
    --secondary-light: #60A5FA;
    --secondary-dark: #1E40AF;
    --success: #10B981;
    --success-light: #34D399;
    --danger: #EF4444;
    --danger-light: #F87171;
    --warning: #F59E0B;
    --warning-light: #FBBF24;
    --light: #F8FAFC;
    --light-gray: #F1F5F9;
    --gray: #CBD5E1;
    --dark-gray: #64748B;
    --border: #E2E8F0;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.16);
    --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.15);
    --shadow-xl: 0 20px 50px rgba(15, 23, 42, 0.20);
    --shadow-2xl: 0 25px 60px rgba(15, 23, 42, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --gradient-primary: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-secondary: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-warning: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

#app {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { color: var(--text-secondary); }

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-light);
}

/* ============================================
   ADVANCED CARD STYLING
   ============================================ */

.variant-card, .addon-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.variant-card:hover, .addon-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.variant-info, .addon-info {
    flex: 1;
}

.variant-info h4, .addon-info h4 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.variant-actions, .addon-actions {
    display: flex;
    gap: 8px;
    margin-left: 20px;
}

.multi-select {
    background: var(--light-gray);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    max-height: 200px;
    overflow-y: auto;
}

.multi-select label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.multi-select label:hover {
    background: rgba(59, 130, 246, 0.1);
}

.multi-select input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--secondary);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: var(--danger-light);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn.full-width {
    width: 100%;
    display: flex;
    box-sizing: border-box;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: var(--light-gray);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.icon-btn:hover {
    background: var(--border);
    transform: scale(1.05);
}

/* ============================================
   FORMS
   ============================================ */

.input, textarea, select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
    background: var(--bg-primary);
}

.input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: white;
}

.input:hover:not(:focus), textarea:hover:not(:focus), select:hover:not(:focus) {
    border-color: var(--secondary-light);
}

.input::placeholder {
    color: var(--text-secondary);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23334155' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.form-grid .form-group.full {
    grid-column: 1 / -1;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    cursor: pointer;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--secondary);
}



.footer {
    background: var(--primary);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   AUTHENTICATION
   ============================================ */

.auth-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 400px;
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
}

.auth-card h2 {
    margin-bottom: 8px;
}

.auth-card p {
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.auth-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    cursor: pointer;
    color: var(--secondary);
    font-weight: 500;
}

/* ============================================
   PREMIUM AUTHENTICATION
   ============================================ */

.premium-auth {
    position: relative;
    overflow: hidden;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.auth-bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.auth-bg-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.auth-bg-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--success);
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite 1s;
}

.auth-bg-shape-3 {
    width: 250px;
    height: 250px;
    background: var(--warning);
    top: 50%;
    left: 10%;
    animation: float 7s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

.premium-auth-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
    animation: slideInCard 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInCard {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.auth-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.auth-logo-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.auth-logo-text h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.auth-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 4px 0 0 0 !important;
}

.auth-content {
    padding: 40px 30px;
}

.auth-greeting {
    text-align: center;
    margin-bottom: 30px;
}

.auth-greeting h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.auth-greeting p {
    color: var(--text-secondary);
    margin: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form-group {
    position: relative;
}

.auth-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 12px;
    font-size: 1.2rem;
    pointer-events: none;
}

.premium-input {
    padding-left: 45px !important;
    border: 2px solid var(--border) !important;
    background: var(--bg-secondary) !important;
    font-size: 1rem;
}

.premium-input:focus {
    border-color: var(--secondary) !important;
    background: white !important;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    font-size: 0.9rem;
}

.remember-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.remember-check input {
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: var(--secondary);
}

.remember-check:hover {
    color: var(--text-primary);
}

.forgot-password {
    color: var(--secondary);
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.forgot-password:hover {
    color: var(--secondary-light);
    text-decoration: underline;
}

.auth-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 10px;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.auth-submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.btn-outline {
    background: white !important;
    border: 2px solid var(--border) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
    transition: var(--transition) !important;
}

.btn-outline:hover {
    border-color: var(--secondary) !important;
    background: var(--bg-secondary) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15) !important;
}

.auth-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
}

.google-icon {
    font-size: 1.2rem;
}

.auth-footer-section {
    padding: 20px 30px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.auth-footer-section p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.signup-link {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.signup-link:hover {
    color: var(--secondary-light);
    text-decoration: underline;
}

.auth-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    padding: 20px 30px;
    border-top: 1px solid var(--border);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.feature-icon {
    font-size: 1.8rem;
}

.feature-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   ONBOARDING
   ============================================ */

.onboarding-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 40px 20px;
}

.onboarding-container {
    max-width: 600px;
    margin: 0 auto;
}

.onboarding-progress {
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--light-gray);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: var(--secondary);
    transition: width 0.3s ease;
    width: 20%;
}

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.onboarding-step {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    display: none;
    animation: slideIn 0.3s ease;
}

.onboarding-step.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.onboarding-step h2 {
    margin-bottom: 30px;
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.button-group .btn {
    flex: 1;
}

.image-preview {
    margin-top: 10px;
    max-width: 200px;
    max-height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.payment-info {
    text-align: center;
}

.pricing-box {
    background: var(--light-gray);
    padding: 20px;
    border-radius: var(--radius);
    margin: 20px 0;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.pricing-item:last-child {
    border-bottom: none;
}

.pricing-item strong {
    color: var(--secondary);
    font-size: 1.1rem;
}

.info-text {
    margin: 20px 0;
    color: var(--text-secondary);
}

.payment-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ============================================
   DASHBOARD
   ============================================ */

.dashboard-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    height: 100vh;
    background: var(--bg-secondary);
}

.sidebar {
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    color: white;
    padding: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    position: sticky;
    top: 0;
    height: 100vh;
    box-shadow: 4px 0 16px rgba(15, 23, 42, 0.15);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 40px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.sidebar-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
    position: relative;
}

.nav-item:hover {
    background: rgba(59, 130, 246, 0.2);
    color: white;
    border-left-color: #3B82F6;
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(30, 64, 175, 0.3) 100%);
    color: white;
    border-left-color: #3B82F6;
    font-weight: 600;
}

.nav-icon {
    font-size: 1.2rem;
}

.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.logout-btn:hover {
    background: var(--danger);
}

.main-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-bottom: 2px solid #E5E7EB;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.topbar-left h1 {
    font-size: 2rem;
    margin: 0;
    font-weight: 800;
    background: linear-gradient(135deg, #0F172A, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    object-fit: cover;
    border: 2px solid white;
}

.page-content {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F0F5FA 100%);
}

.page {
    display: none;
    animation: fadeIn 0.3s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   METRICS & CARDS
   ============================================ */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.metric-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.metric-icon {
    font-size: 2.5rem;
}

.metric-info {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.section-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.section-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 20px;
}

.section-header h3 {
    margin: 0 0 8px 0;
    color: #0F172A;
    font-size: 1.3rem;
}

.section-header p {
    margin: 0;
    color: #64748B;
    font-size: 0.9rem;
}

/* ============================================
   QUICK ACTIONS
   ============================================ */

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: var(--light-gray);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-primary);
}

.action-btn:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

.action-btn span:first-child {
    font-size: 2rem;
}

/* ============================================
   MENU MANAGEMENT
   ============================================ */

.menu-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    border-bottom: 3px solid #E5E7EB;
    padding: 12px 0;
    flex-wrap: wrap;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.02), rgba(99, 102, 241, 0.02));
    border-radius: 8px 8px 0 0;
    padding: 12px 16px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: #64748B;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px 6px 0 0;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6, #1E40AF);
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #3B82F6;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.05));
}

.tab-btn.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.tab-btn:hover {
    color: #0F172A;
    background: rgba(59, 130, 246, 0.05);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.foods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 20px 0;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.foods-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px 0;
}

.food-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: 1px solid #E5E7EB;
    position: relative;
    height: 100%;
    min-width: 0;
}

.food-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #10B981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.food-card:hover {
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25);
    transform: translateY(-12px);
    border-color: #3B82F6;
}

.food-card:hover::before {
    opacity: 1;
}

.food-image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.food-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.food-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.food-card:hover .food-image::after {
    opacity: 1;
}

.food-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #D1D5DB;
}

.food-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.food-info h4 {
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #0F172A;
    font-size: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.food-price {
    color: #10B981;
    font-weight: 800;
    font-size: 1.15rem;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #F0F1F3;
    display: flex;
    gap: 8px;
    align-items: center;
}

.original-price {
    color: #9CA3AF;
    font-size: 0.9rem;
    text-decoration: line-through;
    font-weight: 500;
}

.food-category {
    font-size: 0.75rem;
    color: #6B7280;
    margin: 4px 0;
    text-transform: capitalize;
    font-weight: 500;
}

.food-description {
    font-size: 0.8rem;
    color: #6B7280;
    margin: 4px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prep-time {
    font-size: 0.75rem;
    color: #6B7280;
    margin-top: 4px;
    font-weight: 500;
}

.food-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}

.badge-veg, .badge-nonveg, .badge-bestseller, .badge-recommended, .badge-special, .badge-today, .badge-outofstock, .badge-soon, .badge-seasonal, .badge-archived {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-veg {
    background: #DCFCE7;
    color: #166534;
}

.badge-nonveg {
    background: #FEE2E2;
    color: #991B1B;
}

.badge-bestseller {
    background: #FEF08A;
    color: #854D0E;
}

.badge-recommended {
    background: #E0E7FF;
    color: #3730A3;
}

.badge-special {
    background: #FCE7F3;
    color: #831843;
}

.badge-today {
    background: #D1E7DD;
    color: #0F5132;
}

.badge-outofstock {
    background: #FEE2E2;
    color: #991B1B;
}

.badge-soon {
    background: #FEF3C7;
    color: #854D0E;
}

.badge-seasonal {
    background: #DBEAFE;
    color: #0C4A6E;
}

.badge-archived {
    background: #F3F4F6;
    color: #4B5563;
}

.food-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 16px;
    border-top: 1px solid #E5E7EB;
    background: #FAFAFA;
}

.food-actions button {
    flex: 1;
    min-width: 70px;
    padding: 8px 10px;
    font-size: 0.8rem;
    border-radius: 6px;
    border: 1px solid #D1D5DB;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.food-actions button:hover {
    background: #F3F4F6;
    border-color: #9CA3AF;
}

/* Out of stock styles */
.food-card.out-of-stock {
    opacity: 0.6;
    cursor: not-allowed;
}

.stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.badge-veg {
    background: #D1FAE5;
    color: #065F46;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-nonveg {
    background: #FEE2E2;
    color: #7F1D1D;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-bestseller {
    background: #DBEAFE;
    color: #0C4A6E;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-recommended {
    background: #FCD34D;
    color: #78350F;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-special {
    background: #F3E8FF;
    color: #581C87;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-today {
    background: #FCE7F3;
    color: #831843;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-outofstock {
    background: #FEE2E2;
    color: #991B1B;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    animation: pulse 2s infinite;
}

.categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.category-card {
    background: white;
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-info h4 {
    margin: 0 0 4px 0;
}

.category-info p {
    margin: 0;
    font-size: 0.85rem;
}

.category-actions {
    display: flex;
    gap: 8px;
}

/* ============================================
   ORDERS LIST
   ============================================ */

.order-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: white;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.filter-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.orders-list {
    display: grid;
    gap: 15px;
}

.order-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary);
    transition: var(--transition);
    animation: fadeIn 0.3s ease-in;
}

.order-card:hover {
    box-shadow: var(--shadow-lg);
    border-left-color: #10B981;
}

.order-card.pending {
    border-left-color: #EF4444;
}

.order-card.preparing {
    border-left-color: #3B82F6;
}

.order-card.ready {
    border-left-color: #F59E0B;
}

.order-card.completed {
    border-left-color: #10B981;
    opacity: 0.8;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.order-number {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.order-status.pending {
    background: #FEF3C7;
    color: #92400E;
}

.order-status.preparing {
    background: #DBEAFE;
    color: #1E40AF;
}

.order-status.ready {
    background: #DCFCE7;
    color: #15803D;
}

.order-status.completed {
    background: #E0E7FF;
    color: #3730A3;
}

.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}

.order-detail {
    font-size: 0.8rem;
}

.order-detail span {
    color: var(--text-secondary);
    display: block;
    font-size: 0.7rem;
    margin-bottom: 1px;
}

.order-detail strong {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.order-items {
    background: var(--light-gray);
    padding: 12px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.order-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.order-actions button {
    flex: 1;
    min-width: 100px;
    padding: 10px 16px;
    font-size: 0.9rem;
}

/* ============================================
   KITCHEN DISPLAY SYSTEM - PREMIUM
   ============================================ */

.kitchen-display {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    animation: fadeIn 0.3s ease-in;
    padding: 0;
}

@media (max-width: 1200px) {
    .kitchen-display {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .kitchen-display {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 480px) {
    .kitchen-display {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-border {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
}

.kitchen-order {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    border-left: 6px solid var(--warning);
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease-out;
    transition: var(--transition);
    position: relative;
}

.kitchen-order::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--warning), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kitchen-order:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    transform: translateY(-6px);
}

.kitchen-order.pending {
    border-left-color: #F59E0B;
}

.kitchen-order.preparing {
    border-left-color: #3B82F6;
}

.kitchen-order.ready {
    border-left-color: #10B981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15), 0 0 20px rgba(16, 185, 129, 0.08);
}

.kitchen-order.ready::after {
    opacity: 1;
    background: linear-gradient(90deg, #10B981, transparent);
}

.kitchen-header {
    padding: 20px 16px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.kitchen-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 150px;
}

.kitchen-table {
    font-weight: 700;
    font-size: 2rem;
    color: white;
    min-width: 70px;
    text-align: center;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.kitchen-time-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kitchen-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.kitchen-elapsed {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.kitchen-status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.kitchen-status-badge.pending {
    background: #FEF3C7;
    color: #92400E;
}

.kitchen-status-badge.preparing {
    background: #DBEAFE;
    color: #0C4A6E;
    animation: pulse-subtle 2s ease-in-out infinite;
}

.kitchen-status-badge.ready {
    background: #DCFCE7;
    color: #166534;
}

@keyframes pulse-subtle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.kitchen-items {
    padding: 20px 16px;
    flex: 1;
    overflow-y: auto;
    max-height: 280px;
}

.kitchen-item {
    padding: 14px 0;
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.kitchen-item:last-child {
    border-bottom: none;
}

.item-qty-badge {
    min-width: 32px;
    width: 32px;
    height: 32px;
    background: var(--secondary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.item-meta {
    display: flex;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.item-notes {
    font-size: 0.8rem;
    color: var(--danger);
    font-weight: 500;
    margin-top: 8px;
    padding: 8px 10px;
    background: #FEE2E2;
    border-left: 3px solid var(--danger);
    border-radius: 4px;
}

.kitchen-footer {
    padding: 16px;
    border-top: 1px solid #E2E8F0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: #FAFBFC;
}

.kitchen-footer button {
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.kitchen-footer .btn-primary {
    background: var(--success);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.kitchen-footer .btn-primary:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.kitchen-footer .btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid #E2E8F0;
}

.kitchen-footer .btn-secondary:hover {
    background: #F8FAFC;
    border-color: var(--secondary);
}

/* ============================================
   ANALYTICS
   ============================================ */

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.chart-container {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
}

.chart-container h3 {
    margin-bottom: 20px;
}

.chart-container canvas {
    max-height: 300px;
}

/* ============================================
   REVIEWS
   ============================================ */

.reviews-list {
    display: grid;
    gap: 15px;
}

.review-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: 600;
    color: var(--primary);
}

.review-rating {
    color: var(--warning);
    font-weight: 600;
}

.review-text {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ============================================
   SETTINGS
   ============================================ */

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.settings-grid .section-card {
    grid-column: span 1;
}

.subscription-info p {
    padding: 10px;
    background: var(--light-gray);
    border-radius: var(--radius);
    margin: 8px 0;
}

/* ============================================
   CUSTOMER EXPERIENCE
   ============================================ */

.customer-wrapper {
    min-height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.customer-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 12px 16px;
    border-bottom: 3px solid rgba(255, 215, 0, 0.3);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

.header-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.restaurant-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.4), 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 3px solid white;
    overflow: hidden;
    animation: subtle-pop 0.6s ease-out;
}

@keyframes subtle-pop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.restaurant-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.restaurant-info h1 {
    color: white;
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.restaurant-rating {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}

#refresh-menu-btn {
    transition: all 0.3s ease !important;
}

#refresh-menu-btn:hover {
    background: rgba(255,255,255,0.3) !important;
    transform: rotate(20deg);
}

#refresh-menu-btn:active {
    transform: rotate(360deg);
}

#refresh-menu-btn.refreshing {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.customer-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px 14px 320px 14px;
    margin: 0;
    gap: 14px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 30%, #F3F4F6 60%, #EEF2F5 100%);
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.menu-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

#customer-offers-section {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.premium-offers-container {
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ============================================
   FOOD-THEMED PREMIUM OFFER CARDS
   ============================================ */

.premium-offer-card {
    position: relative;
    border-radius: 20px;
    padding: 0;
    color: #1F2937;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    min-height: 180px;
}

.food-themed-card {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFA62E 100%);
}

.premium-offer-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.03) 100px,
            rgba(255, 255, 255, 0.03) 200px
        );
    z-index: 1;
    pointer-events: none;
    animation: foodPatternFloat 20s linear infinite;
}

@keyframes foodPatternFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.premium-offer-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle at 100% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.premium-offer-card:hover::after {
    opacity: 1;
}

.premium-offer-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.offer-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 28px 32px;
    gap: 24px;
    min-height: 180px;
}

.offer-details {
    flex: 1;
    min-width: 0;
}

.offer-title {
    font-weight: 950;
    font-size: 1.55rem;
    margin-bottom: 8px;
    letter-spacing: -0.6px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    line-height: 1.15;
    color: #1F2937;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.offer-description {
    font-size: 0.98rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    color: #374151;
}

.offer-icon-wrapper {
    font-size: 5rem;
    text-align: center;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.18));
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: foodIconBounce 3.5s ease-in-out infinite;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 16px;
    backdrop-filter: blur(10px);
}

@keyframes foodIconBounce {
    0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
    50% { transform: translateY(-16px) scale(1.08) rotate(5deg); }
}

.premium-offer-card:hover .offer-icon-wrapper {
    transform: scale(1.35) rotate(15deg);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
}

/* ============================================
   PROFESSIONAL FOOD-THEMED DISCOUNT BADGE
   ============================================ */

.offer-discount-badge {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F9F9F9 100%);
    color: #DC2626;
    padding: 14px 22px;
    border-radius: 18px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    min-width: 110px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 900;
    letter-spacing: -0.8px;
}

.offer-discount-badge:hover {
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 16px 40px rgba(220, 38, 38, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFFBFB 100%);
}

.discount-value {
    font-size: 3rem;
    line-height: 0.9;
    color: #DC2626;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    font-weight: 950;
}

.discount-symbol {
    font-size: 1.4rem;
    color: #DC2626;
    font-weight: 900;
    margin-top: -4px;
}

.discount-label {
    font-size: 0.75rem;
    letter-spacing: 1.2px;
    color: #374151;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ============================================
   PROFESSIONAL COUPON CODE BADGE
   ============================================ */

.coupon-code-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFFAF0 100%);
    color: #1F2937;
    padding: 14px 22px;
    border-radius: 16px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-bottom: 8px;
}

.coupon-code-badge:hover {
    transform: scale(1.12) translateY(-4px);
    border-style: solid;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32), inset 0 1px 2px rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, #FFFEF9 0%, #FFFBF0 100%);
}

.code-text {
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 1.15rem;
    font-weight: 950;
    letter-spacing: 2px;
    color: #DC2626;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.coupon-discount-banner {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 3;
    font-size: 1rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FFFFFF 0%, #FDF2F8 100%);
    color: #10B981;
    padding: 12px 18px;
    border-radius: 14px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    text-align: center;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(0);
}

.premium-offer-card:hover .coupon-discount-banner {
    background: linear-gradient(135deg, #FFFBFE 0%, #FFFBF8 100%);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FOOD-THEMED GRADIENT COLORS
   ============================================ */

.premium-offer-card.gradient-crimson {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 50%, #FCA5A5 100%) !important;
}

.premium-offer-card.gradient-golden {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 50%, #FCD34D 100%) !important;
}

.premium-offer-card.gradient-emerald {
    background: linear-gradient(135deg, #059669 0%, #10B981 50%, #6EE7B7 100%) !important;
}

.premium-offer-card.gradient-sapphire {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 50%, #93C5FD 100%) !important;
}

.premium-offer-card.gradient-sunset {
    background: linear-gradient(135deg, #EA580C 0%, #F97316 50%, #FDBA74 100%) !important;
}

.premium-offer-card.gradient-purple {
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 50%, #DDD6FE 100%) !important;
}

.premium-offer-card.gradient-pink {
    background: linear-gradient(135deg, #BE185D 0%, #EC4899 50%, #F472B6 100%) !important;
}
    display: inline-block;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.search-bar {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    background: white;
    border: 1.8px solid #E5E7EB;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.search-input-wrapper:focus-within {
    border-color: #3B82F6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    left: 14px;
    font-size: 1.2rem;
    z-index: 2;
    color: #94A3B8;
}

.search-input-field {
    width: 100%;
    padding: 14px 18px 14px 48px;
    font-size: 15px;
    border: none;
    background: transparent;
    color: #0F172A;
    font-weight: 500;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.search-input-field::placeholder {
    color: #94A3B8;
    font-weight: 500;
}

.search-input-field:focus {
    outline: none;
}

.search-input-field::placeholder {
    color: #CBD5E1;
    font-weight: 400;
}

.search-hint {
    display: none;
}

.categories-scroll {
    overflow-x: auto;
    width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    margin: 0;
    overflow-y: hidden;
}

.categories-scroll .categories-list {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    padding: 0 0;
    margin: 0;
}

.categories-scroll .category-card {
    min-width: 90px;
    padding: 8px 12px;
    font-size: 0.75rem;
    border-radius: var(--radius);
    flex-shrink: 0;
    white-space: nowrap;
}

.foods-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 4px 0 20px 0;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    display: grid;
    min-height: auto;
}

.customer-cart {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 280px;
    background: #FFFFFF;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #E5E7EB;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 100;
}

.categories-scroll .category-card {
    flex-shrink: 0;
    min-width: 160px;
    text-align: center;
    padding: 20px 16px;
    cursor: pointer;
    border: 1.5px solid #F0F4F8;
    border-radius: 24px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: white;
    font-weight: 800;
    color: #475569;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.09);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.2px;
}

.categories-scroll .category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.7s ease;
    pointer-events: none;
}

.categories-scroll .category-card:hover::before {
    left: 100%;
}

.categories-scroll .category-card .category-icon {
    font-size: 2.4rem;
    line-height: 1;
    display: block;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.categories-scroll .category-card .category-name {
    display: block;
    text-align: center;
    width: 100%;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.categories-scroll .category-card.premium-category-card {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E72 50%, #FFB380 100%);
    color: white;
    box-shadow: 0 12px 32px rgba(255, 107, 107, 0.28);
    border-color: rgba(255, 255, 255, 0.35);
}

.categories-scroll .category-card.active {
    transform: scale(1.12) translateY(-6px);
    box-shadow: 0 20px 56px rgba(59, 130, 246, 0.32);
    border-color: #BFDBFE;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 50%, #1D4ED8 100%);
    color: white;
}

.categories-scroll .category-card.active .category-icon {
    transform: scale(1.25) rotate(0deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.categories-scroll .category-card:hover .category-icon {
    transform: scale(1.15) rotate(8deg);
}


.food-item-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border: 1.5px solid #F3F4F6;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.food-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B6B 0%, #FFB84D 25%, #4ECDC4 50%, #6C5CE7 75%, #FF6B6B 100%);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.food-item-card:hover {
    box-shadow: 0 28px 70px rgba(59, 130, 246, 0.28), 0 10px 28px rgba(15, 23, 42, 0.14);
    transform: translateY(-14px);
    border-color: #DBEAFE;
}

.food-item-card:hover::before {
    opacity: 1;
    animation: gradientShift 0.6s ease;
}

@keyframes gradientShift {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: 0% 0; }
}

.food-item-card:active {
    transform: translateY(-6px);
}

.food-item-card.unavailable {
    opacity: 0.50;
    filter: grayscale(0.5);
}

.food-item-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

.food-item-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    transition: background 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.food-item-card:hover .food-item-image::after {
    background: rgba(59, 130, 246, 0.08);
}

.food-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.food-item-card:hover .food-item-image img {
    transform: scale(1.12);
}

.food-badge {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin: 7px;
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
    border: 1.2px solid rgba(255, 255, 255, 0.35);
    display: inline-block;
    transition: all 0.3s ease;
}

.food-item-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(to bottom, #FFFFFF 0%, #FAFBFC 100%);
}

.food-item-name {
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 6px;
    font-size: 1.2rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.4px;
}

.food-item-category {
    font-size: 0.68rem;
    color: #94A3B8;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.food-item-price {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1.5px solid #F0F4F8;
}

.food-item-price .current {
    color: #10B981;
    font-weight: 950;
    font-size: 1.5rem;
    line-height: 1;
}

.food-item-price .original {
    color: #CBD5E1;
    text-decoration: line-through;
    font-size: 0.8rem;
    font-weight: 700;
}

.food-item-time {
    font-size: 0.78rem;
    color: #64748B;
    margin-top: 10px;
    font-weight: 700;
    letter-spacing: -0.1px;
}
}

.customer-cart {
    background: linear-gradient(to top, #FFFFFF, #FAFBFC);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border-top: 2px solid #E5E7EB;
    overflow-y: auto;
    z-index: 100;
}

.cart-header {
    padding: 16px 18px;
    border-bottom: 1.5px solid #F0F4F8;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 101;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.3px;
}

.badge {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    letter-spacing: 0.3px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    max-height: 50px;
}

.cart-item {
    padding: 12px;
    background: white;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    border: 1px solid #F0F4F8;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    border-color: #DBEAFE;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cart-item-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: #0F172A;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #EF4444;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    transform: scale(1.2);
}

.cart-item-price {
    color: #10B981;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F8FAFC;
    border-radius: 8px;
    width: fit-content;
    border: 1.5px solid #E5E7EB;
}

.cart-item-qty button {
    background: none;
    border: none;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.8rem;
}

.cart-item-qty span {
    min-width: 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
}

.cart-summary {
    padding: 16px 18px;
    background: linear-gradient(to top, #FFFFFF, #FAFBFC);
    width: 100%;
    box-sizing: border-box;
    position: sticky;
    bottom: 0;
    border-top: 2px solid #F0F4F8;
}

.summary-divider {
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #E5E7EB, transparent);
    margin-bottom: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.95rem;
    width: 100%;
    color: #64748B;
}

.summary-row.total {
    font-weight: 800;
    font-size: 1.2rem;
    color: #0F172A;
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.total-label {
    flex: 1;
    white-space: nowrap;
    letter-spacing: -0.3px;
}

.total-price {
    font-size: 1.3rem;
    color: #10B981;
    font-weight: 900;
    white-space: nowrap;
    min-width: 80px;
    text-align: right;
}

.cart-summary button {
    margin-top: 14px;
}

/* ============================================
   MODALS
   ============================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
    padding: 20px;
}

.modal {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal.wide-modal {
    max-width: 800px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: var(--primary);
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary);
    background: var(--light-gray);
    border-radius: var(--radius);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-footer button {
    min-width: 100px;
}

.qr-display {
    text-align: center;
    padding: 20px;
}

.qr-code-box {
    display: inline-block;
    padding: 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 20px 0;
}

.qr-code-box canvas {
    display: block;
}

/* ============================================
   NOTIFICATIONS
   ============================================ */

#notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
    max-width: 400px;
}

.notification {
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    animation: slideInRight 0.3s ease;
    margin-bottom: 10px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification.success {
    border-left: 4px solid var(--success);
}

.notification.error {
    border-left: 4px solid var(--danger);
}

.notification.warning {
    border-left: 4px solid var(--warning);
}

.notification.info {
    border-left: 4px solid var(--secondary);
}

.notification-content {
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.notification-close:hover {
    color: var(--primary);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .customer-wrapper {
        min-height: 100vh;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }

    .customer-header {
        padding: 10px 12px;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
        background-size: cover;
        background-position: center;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        flex-shrink: 0;
        position: relative;
        min-height: 130px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-attachment: scroll;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
        border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    }

    .header-banner-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.88) 0%, rgba(22, 33, 62, 0.88) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .header-content {
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 2;
    }

    .restaurant-logo {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        flex-shrink: 0;
        background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
        border: 3px solid white;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(255, 215, 0, 0.35);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .restaurant-info {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .restaurant-info h1 {
        font-size: 1.1rem;
        margin: 0 0 6px 0;
        word-break: break-word;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 700;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }

    .restaurant-rating {
        gap: 12px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .customer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        padding: 12px 10px;
        padding-bottom: 480px;
        margin: 0;
        box-sizing: border-box;
        overflow-x: hidden;
        flex: 1;
        overflow-y: auto;
        background: linear-gradient(to bottom, #FFFFFF 0%, #FAFBFC 50%, #F5F7FA 100%);
    }

    .menu-section {
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }

    #customer-offers-section {
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .search-bar {
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        padding: 0;
        margin: 0;
    }

    .search-input-wrapper {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        background: #FFFFFF;
        border: 1.5px solid #E5E7EB;
        border-radius: 10px;
        transition: all 0.3s ease;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
        overflow: hidden;
    }

    .search-input-wrapper:focus-within {
        border-color: #3B82F6;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    }

    .search-icon {
        position: absolute;
        left: 12px;
        font-size: 1.1rem;
        z-index: 2;
        color: #94A3B8;
    }

    .search-input-field {
        width: 100%;
        padding: 11px 14px 11px 40px;
        font-size: 13px;
        border: none;
        background: transparent;
        color: #0F172A;
        font-weight: 400;
        box-sizing: border-box;
    }

    .search-input-field:focus {
        outline: none;
    }

    .search-input-field::placeholder {
        color: #CBD5E1;
        font-weight: 400;
    }

    .search-hint {
        display: none;
    }

    .categories-scroll {
        overflow-x: auto;
        width: 100%;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
        padding: 0;
        margin: 0;
    }

    .categories-scroll .categories-list {
        gap: 8px;
        padding: 0 4px;
        margin: 0;
    }

    .categories-scroll .category-card {
        min-width: 110px;
        padding: 12px 10px;
        font-size: 0.8rem;
        border-radius: 14px;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        position: relative;
        overflow: hidden;
    }

    .categories-scroll .category-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
        pointer-events: none;
    }
    
    .categories-scroll .category-card .category-icon {
        font-size: 1.6rem;
        line-height: 1;
        display: block;
        transition: transform 0.3s ease;
    }

    .categories-scroll .category-card .category-name {
        font-size: 0.75rem;
    }
    
    .categories-scroll .category-card.active {
        transform: scale(1.05) translateY(-2px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
    }

    .categories-scroll .category-card.active .category-icon {
        transform: scale(1.15) rotate(-10deg);
    }

    .categories-scroll .category-card:hover .category-icon {
        transform: scale(1.1) rotate(5deg);
    }

    .foods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 12px 0;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        display: grid;
    }

    .foods-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 12px 0;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        display: grid;
    }

    .food-card {
        border-radius: 8px;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
    }

    .food-image-container {
        aspect-ratio: 1 / 1 !important;
        font-size: 2rem;
        width: 100%;
    }

    .food-info {
        padding: 10px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .food-info h4 {
        font-size: 0.8rem;
        margin: 0 0 3px 0;
        font-weight: 600;
    }

    .food-category {
        font-size: 0.7rem;
        margin: 2px 0;
    }

    .food-description {
        font-size: 0.7rem;
        margin: 2px 0;
        display: none;
    }

    .food-price {
        font-size: 0.85rem;
        margin-top: auto;
        padding-top: 6px;
        border-top: 1px solid #F0F1F3;
    }

    .food-actions {
        display: none;
    }

    .customer-cart {
        width: 100%;
        max-width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 280px;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 0;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        z-index: 100;
        border-top: 1px solid var(--border);
    }

    .cart-header {
        padding: 11px 12px;
        width: 100%;
        box-sizing: border-box;
        background: white;
        border-bottom: 1px solid #E5E7EB;
        position: sticky;
        top: 0;
        z-index: 101;
    }

    .cart-header h3 {
        font-size: 0.9rem;
        margin: 0;
        font-weight: 600;
    }

    .cart-items {
        padding: 6px 8px;
        max-height: 50px;
        width: 100%;
        box-sizing: border-box;
        overflow-y: auto;
        flex: 1;
    }

    .cart-item {
        padding: 6px;
        margin-bottom: 4px;
        width: 100%;
        box-sizing: border-box;
        font-size: 0.75rem;
        background: #F8FAFC;
        border-radius: 4px;
    }

    .cart-item-header {
        font-size: 0.75rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .cart-item-price {
        font-size: 0.7rem;
    }

    .cart-summary {
        padding: 10px 12px;
        width: 100%;
        box-sizing: border-box;
        background: white;
        position: sticky;
        bottom: 0;
    }

    .summary-divider {
        height: 1px;
        background: #E5E7EB;
        margin-bottom: 8px;
    }

    .summary-row {
        padding: 3px 0;
        font-size: 0.7rem;
        width: 100%;
        box-sizing: border-box;
        display: none;
    }

    .summary-row.total {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        font-size: 0.85rem;
        font-weight: 700;
        padding: 6px 0;
        gap: 8px;
    }

    .total-label {
        white-space: nowrap;
        flex: 1;
        min-width: 0;
    }

    .total-price {
        font-size: 0.95rem;
        color: var(--secondary);
        font-weight: 800;
        white-space: nowrap;
        min-width: 50px;
        text-align: right;
    }

    .customer-content .btn {
        width: 100%;
        padding: 10px;
        font-size: 0.85rem;
        margin: 4px 0;
        box-sizing: border-box;
        min-height: 40px;
        border: none;
        border-radius: var(--radius);
    }

    .customer-content .btn-primary {
        background: var(--gradient-secondary);
        color: white;
    }

    .customer-content .btn-secondary {
        background: white;
        border: 1px solid var(--border);
        color: var(--text-primary);
    }
}

/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ============================================
   LOADING STATES & SKELETONS
   ============================================ */

.skeleton {
    background: linear-gradient(90deg, var(--light-gray) 25%, var(--border) 50%, var(--light-gray) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.skeleton-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}

.skeleton-text {
    height: 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-text:last-child {
    margin-bottom: 0;
}

.skeleton-title {
    height: 20px;
    border-radius: 4px;
    margin-bottom: 15px;
    width: 60%;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F0F4F8 100%);
    border-radius: 24px;
    border: 2px dashed #E5E7EB;
    transition: all 0.4s ease;
}

.empty-state:hover {
    border-color: #CBD5E1;
    background: linear-gradient(135deg, #F0F4F8 0%, #E8EEF5 100%);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.empty-state p {
    color: #64748B;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 600;
}

/* ============================================
   DASHBOARD ENHANCEMENTS
   ============================================ */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    border: 2px solid #E5E7EB;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6 0%, #1E40AF 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: #3B82F6;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748B;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0F172A;
    display: block;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #3B82F6, #0F172A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-change {
    font-size: 0.85rem;
    font-weight: 500;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--danger);
}

/* Animate FAQ item elements */
.faq-item {
    animation: slideUp 0.4s ease-out;
}

.faq-item:nth-child(2) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(5) {
    animation-delay: 0.4s;
}

.faq-item:nth-child(6) {
    animation-delay: 0.5s;
}

/* Animate step cards */
.step-card:nth-child(1) {
    animation-delay: 0s;
}

.step-card:nth-child(2) {
    animation-delay: 0.1s;
}

.step-card:nth-child(3) {
    animation-delay: 0.2s;
}

.step-card:nth-child(4) {
    animation-delay: 0.3s;
}

.step-card:nth-child(5) {
    animation-delay: 0.4s;
}

.step-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* Animate testimonial cards */
.testimonial-card:nth-child(1) {
    animation-delay: 0s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.15s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

.notification {
    animation: slideInRight 0.3s ease-out;
}

.modal {
    animation: scaleIn 0.3s ease-out;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    .nav-links {
        display: none;
    }

    .landing-nav {
        padding: 12px 0;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .topbar {
        padding: 16px 20px;
        flex-wrap: wrap;
    }

    .topbar-left h1 {
        font-size: 1.3rem;
    }

    .page-content {
        padding: 20px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .foods-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .kitchen-display {
        grid-template-columns: 1fr;
    }

    .modal {
        width: 95%;
        max-height: 95vh;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .categories-scroll .categories-list {
        padding: 0 10px;
    }

    .section-card {
        padding: 16px;
    }

    /* Mobile responsive for new sections */
    .steps-grid,
    .testimonials-grid,
    .features-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .step-card,
    .testimonial-card,
    .feature-card,
    .faq-item {
        padding: 20px 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .how-it-works-section,
    .testimonials-section,
    .faq-section {
        padding: 50px 20px;
    }

    .how-it-works-section h2,
    .testimonials-section h2,
    .faq-section h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    /* Staff and offers responsive */
    .staff-item,
    .offer-item {
        flex-direction: column;
        gap: 15px;
    }

    .staff-actions,
    .offer-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .restaurant-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-value {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 13px;
    }

    .nav-logo span {
        display: none;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .button-group {
        flex-direction: column;
    }

    .button-group .btn {
        width: 100%;
    }

    .foods-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .order-details {
        grid-template-columns: 1fr;
    }

    .kitchen-footer {
        grid-template-columns: 1fr;
    }

    .modal {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-header {
        padding: 16px;
    }

    .modal-body {
        padding: 16px;
    }

    .modal-footer {
        padding: 12px 16px;
        flex-direction: column;
    }

    .modal-footer button {
        width: 100%;
    }

    .customer-header {
        padding: 10px 12px;
        background-size: cover;
        background-position: center;
        position: relative;
        min-height: 105px;
        background-attachment: scroll;
    }

    .header-banner-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.86) 0%, rgba(15, 23, 42, 0.76) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .header-content {
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 2;
    }

    .restaurant-logo {
        width: 58px;
        height: 58px;
        font-size: 1.4rem;
        flex-shrink: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
        border: 2px solid white;
    }

    .restaurant-info {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .restaurant-info h1 {
        font-size: 0.85rem;
        margin: 0 0 2px 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .restaurant-rating {
        gap: 6px;
        font-size: 0.7rem;
    }

    .search-bar input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .categories-scroll .category-card {
        min-width: 80px;
        padding: 7px 8px;
        font-size: 0.7rem;
    }

    .foods-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        display: grid !important;
    }

    .foods-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        display: grid !important;
    }

    .food-card {
        border-radius: 8px;
        overflow: hidden;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .food-image-container {
        aspect-ratio: 1 / 1 !important;
        font-size: 2rem !important;
        width: 100% !important;
        height: auto !important;
    }

    .food-info {
        padding: 8px !important;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .food-info h4 {
        font-size: 0.75rem;
        margin: 0 0 2px 0;
        font-weight: 600;
        line-height: 1.2;
    }

    .food-category {
        font-size: 0.65rem;
        margin: 1px 0;
    }

    .food-description {
        display: none !important;
    }

    .food-price {
        font-size: 0.8rem;
        margin-top: auto;
        padding-top: 4px;
        border-top: 1px solid #F0F1F3;
    }

    .prep-time {
        display: none !important;
    }

    .food-actions {
        display: none !important;
    }

    .cart-header h3 {
        font-size: 0.85rem;
    }

    .summary-row.total {
        font-size: 0.9rem;
    }

    .customer-content .btn {
        padding: 9px;
        font-size: 0.85rem;
        min-height: 40px;
    }
}





/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: 80px 20px;
    background: var(--bg-secondary);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.2rem;
    color: var(--text-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    animation: slideUp 0.5s ease-out forwards;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    transition: var(--transition);
    user-select: none;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: bold;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--bg-secondary);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 20px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   SETTINGS PAGE
   ============================================ */

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    max-width: 1200px;
}

.subscription-info {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

/* ============================================
   STAFF MANAGEMENT
   ============================================ */

.staff-list {
    display: grid;
    gap: 15px;
}

.staff-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary);
}

.staff-info h3 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.staff-info p {
    margin: 2px 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.staff-actions {
    display: flex;
    gap: 10px;
}

.staff-actions button {
    padding: 6px 12px;
    font-size: 0.85rem;
}

/* ============================================
   OFFERS & COUPONS
   ============================================ */

.offers-list {
    display: grid;
    gap: 15px;
}

.offer-item {
    padding: 20px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--success);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-details h3 {
    margin: 0 0 5px 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.offer-badge {
    display: inline-block;
    padding: 5px 10px;
    background: var(--success);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 5px 0 0 0;
}

.offer-meta {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 8px 0;
}

.offer-actions {
    display: flex;
    gap: 10px;
}

/* ============================================
   ADMIN DASHBOARD
   ============================================ */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-card:hover::before {
    top: -50%;
    right: -50%;
}

.stat-card h3 {
    margin: 0 0 15px 0;
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.restaurants-table {
    overflow-x: auto;
}

.restaurant-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 150px;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.restaurant-row:hover {
    background: var(--bg-secondary);
}

.restaurant-row:first-child {
    font-weight: 600;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border);
}

.restaurant-row .row-actions {
    display: flex;
    gap: 8px;
}

/* ============================================
   PREMIUM CARD STYLES
   ============================================ */

.premium-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.premium-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.category-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.category-info h3 {
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.category-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.category-stats {
    display: flex;
    gap: 20px;
    margin: 15px 0 15px 0;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.category-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Food Cards */
.food-card {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    align-items: flex-start;
}

.food-image-container {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    overflow: hidden;
}

.food-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.food-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    font-size: 3rem;
}

.food-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--secondary);
    color: white;
    white-space: nowrap;
}

.badge-success { background: var(--success); }
.badge-danger { background: var(--danger); }
.badge-warning { background: var(--warning); }
.badge-veg { background: #22C55E; }
.badge-nonveg { background: #EF4444; }
.badge-bestseller { background: #F59E0B; }
.badge-recommended { background: #8B5CF6; }

.food-info h4 {
    margin: 0 0 5px 0;
    color: var(--text-primary);
}

.food-category {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 5px 0;
}

.food-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.food-pricing {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 5px;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
}

.original-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.prep-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.food-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 100px;
}

/* Variant Cards */
.variant-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.variant-info h4 {
    margin: 0;
    color: var(--text-primary);
}

/* Addon Cards */
.addon-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
}

.addon-info h4 {
    margin: 0 0 5px 0;
}

/* Order Cards */
.order-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: flex-start;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.order-number {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.order-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.order-status.pending { background: #F59E0B; }
.order-status.accepted { background: #3B82F6; }
.order-status.preparing { background: #8B5CF6; }
.order-status.ready { background: #10B981; }
.order-status.completed { background: #6B7280; }
.order-status.cancelled { background: #EF4444; }

.order-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
    margin: 15px 0;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-item span:first-child {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.meta-item strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Offer Cards */
.offer-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: flex-start;
}

.offer-card h4 {
    margin: 0 0 8px 0;
}

.offer-details {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.offer-card .badge {
    font-size: 0.8rem;
}

.offer-card small {
    display: block;
    margin-top: 8px;
    color: var(--text-secondary);
}

/* Coupon Cards */
.coupon-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
}

.coupon-code {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--secondary);
    background: var(--bg-secondary);
    padding: 12px 16px;
    border-radius: var(--radius);
    text-align: center;
    min-width: 120px;
}

.coupon-info {
    flex: 1;
}

.coupon-details {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    margin: 10px 0;
    color: var(--text-secondary);
}

.coupon-actions {
    display: flex;
    gap: 8px;
}

/* Review Cards */
.review-card {
    display: block;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.reviewer-info h4 {
    margin: 0;
    color: var(--text-primary);
}

.rating {
    margin-top: 4px;
    font-size: 1rem;
}

.review-text {
    margin: 12px 0;
    line-height: 1.6;
    color: var(--text-primary);
}

.review-reply {
    background: var(--bg-secondary);
    padding: 12px;
    border-radius: var(--radius);
    margin-top: 12px;
    border-left: 3px solid var(--secondary);
}

.review-reply strong {
    color: var(--text-primary);
}

.review-reply p {
    margin: 8px 0 0 0;
    color: var(--text-primary);
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.profile-section {
    margin-bottom: 30px;
}

.profile-section h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.profile-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.image-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.image-upload:hover {
    border-color: var(--secondary);
    background: rgba(59, 130, 246, 0.05);
}

.upload-area {
    text-align: center;
    font-size: 2rem;
}

/* Sidebar Nav Sections */
.nav-section-title {
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    padding: 20px 16px 12px 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-state p {
    margin: 0 0 15px 0;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.section-header h3 {
    margin: 0;
    color: var(--text-primary);
}

/* Grid Layouts */
.foods-grid,
.categories-list,
.variants-list,
.addons-list,
.offers-list,
.coupons-list,
.reviews-list,
.orders-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.profile-container {
    max-width: 800px;
}

.profile-actions {
    margin-top: 30px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

/* ============================================ */
/* PREMIUM SECTION STYLING - Restaurant Theme */
/* ============================================ */

.premium-section {
    margin-top: 60px;
    position: relative;
    padding: 50px 30px;
    background: linear-gradient(135deg, #1a1410 0%, #2d2420 50%, #1a1410 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(217, 119, 6, 0.3);
}

.premium-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(217, 119, 6, 0.15), transparent);
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

.premium-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.premium-title {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(217, 119, 6, 0.2);
}

/* Premium Card Styling */
.premium-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid rgba(217, 119, 6, 0.4);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    display: flex;
    gap: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.6), transparent);
}

.premium-card:hover {
    border-color: rgba(217, 119, 6, 0.7);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 0 15px 40px rgba(217, 119, 6, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    line-height: 1;
    min-width: 80px;
    text-align: center;
    filter: drop-shadow(0 4px 8px rgba(217, 119, 6, 0.2));
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
}

.card-description {
    color: var(--text-secondary);
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Methods Styling */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    background: rgba(217, 119, 6, 0.08);
    border-left: 4px solid rgba(217, 119, 6, 0.5);
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(217, 119, 6, 0.15);
    border-left-color: rgba(217, 119, 6, 0.8);
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary);
    gap: 12px;
}

.contact-icon {
    font-size: 1.3rem;
}

/* Payment Options Styling */
.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.payment-option {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.5) 0%, rgba(30, 41, 59, 0.5) 100%);
    border: 2px solid rgba(217, 119, 6, 0.3);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.payment-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.8), transparent);
}

.payment-option:hover {
    border-color: rgba(217, 119, 6, 0.6);
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.7) 0%, rgba(30, 41, 59, 0.7) 100%);
    transform: translateY(-3px);
}

.region-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.2), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(217, 119, 6, 0.4);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
}

.payment-details {
    margin: 0;
}

.payment-details p {
    margin: 0 0 5px 0;
    color: var(--text-secondary);
}

.amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary) !important;
    margin: 0 !important;
}

.amount .period {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-left: 5px;
}

.method {
    font-size: 0.9rem;
    color: var(--text-secondary) !important;
}

.btn-small {
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
    width: 100%;
}

/* Policy Links Styling */
.policy-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.policy-link-btn {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.15), rgba(245, 158, 11, 0.05));
    border: 2px solid rgba(217, 119, 6, 0.3);
    border-radius: 12px;
    padding: 18px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
}

.policy-link-btn:hover {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.25), rgba(245, 158, 11, 0.12));
    border-color: rgba(217, 119, 6, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.2);
}

.policy-icon {
    font-size: 1.8rem;
}

.policy-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* Premium Footer */
.premium-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(217, 119, 6, 0.2);
}

.version-text {
    font-size: 0.9rem;
    color: rgba(217, 119, 6, 0.6);
    margin: 0;
    letter-spacing: 1px;
}

/* Policy Modal Styling */
.policy-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.policy-modal {
    background: var(--bg-primary);
    border: 2px solid rgba(217, 119, 6, 0.4);
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

.policy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(245, 158, 11, 0.05));
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
    position: sticky;
    top: 0;
}

.modal-title-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-icon {
    font-size: 2rem;
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-close-btn {
    background: rgba(217, 119, 6, 0.15);
    border: 2px solid rgba(217, 119, 6, 0.3);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.modal-close-btn:hover {
    background: rgba(217, 119, 6, 0.3);
    border-color: rgba(217, 119, 6, 0.6);
    transform: scale(1.1);
}

.policy-modal-body {
    padding: 30px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.policy-modal-body h4 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    margin-top: 0;
}

.policy-modal-body h5 {
    color: var(--primary);
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
    font-weight: 700;
}

.policy-modal-body p {
    margin: 10px 0;
}

.policy-modal-footer {
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.05), rgba(245, 158, 11, 0.02));
    border-top: 1px solid rgba(217, 119, 6, 0.2);
    display: flex;
    justify-content: flex-end;
    position: sticky;
    bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .premium-section {
        padding: 30px 20px;
        margin-top: 40px;
    }

    .premium-title {
        font-size: 1.8rem;
    }

    .premium-card {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .card-icon {
        font-size: 2.5rem;
        min-width: auto;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

    .policy-links {
        grid-template-columns: 1fr;
    }

    .policy-modal {
        width: 95%;
        max-height: 90vh;
    }

    .policy-modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .modal-close-btn {
        align-self: flex-end;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .food-card,
    .order-card,
    .category-card,
    .addon-card,
    .offer-card,
    .coupon-card {
        grid-template-columns: 1fr;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .food-actions {
        flex-direction: row;
    }

    .order-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .profile-images {
        grid-template-columns: 1fr;
    }

    .meta-item {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Print Styles */
@media print {
    .nav-section-title {
        display: none;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .topbar,
    .sidebar,
    .modal-footer,
    button,
    .action-btn {
        display: none !important;
    }

    .qr-code-box {
        border: 1px solid #000;
        padding: 20px;
    }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ============================================ */

/* Tablets (768px to 1024px) */
@media (max-width: 1024px) {
    .dashboard-wrapper {
        grid-template-columns: 200px 1fr;
    }

    .sidebar {
        width: 200px;
    }

    .page-content {
        padding: 20px;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .foods-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .analytics-grid {
        grid-template-columns: 1fr;
    }

    .auth-container {
        max-width: 450px;
    }
}

/* Small Tablets and Large Phones (640px to 768px) */
@media (max-width: 768px) {
    :root {
        --radius: 10px;
        --radius-lg: 14px;
        --radius-xl: 18px;
    }

    body {
        font-size: 15px;
    }

    .dashboard-wrapper {
        grid-template-columns: 1fr;
        height: auto;
    }

    .sidebar {
        position: fixed;
        left: -250px;
        top: 0;
        height: 100vh;
        z-index: 1000;
        width: 250px;
        transition: left 0.3s ease;
    }

    .sidebar.active {
        left: 0;
    }

    .main-content {
        width: 100%;
    }

    .topbar {
        padding: 16px 20px;
    }

    .topbar-left h1 {
        font-size: 1.4rem;
    }

    .page-content {
        padding: 16px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .metric-card {
        flex-direction: row;
        gap: 16px;
    }

    .foods-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .food-card {
        border-radius: 12px;
    }

    .food-image {
        height: 140px;
        font-size: 3rem;
    }

    .food-info {
        padding: 12px;
    }

    .food-name {
        font-size: 0.9rem;
    }

    .food-price {
        font-size: 1rem;
    }

    .kitchen-display {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
    }

    .kitchen-order {
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .kitchen-header {
        padding: 16px 12px;
        gap: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .kitchen-status-badges {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        order: -1;
        width: 100%;
        margin-bottom: 8px;
    }

    .kitchen-status-badge {
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        white-space: nowrap;
        flex: 1;
        min-width: 80px;
        text-align: center;
    }

    .kitchen-table {
        font-size: 1.6rem;
        min-width: 60px;
        padding: 8px 12px;
    }

    .kitchen-items {
        padding: 16px 12px;
        max-height: 300px;
        overflow-y: auto;
    }

    .kitchen-item {
        padding: 10px 0;
    }

    .kitchen-footer {
        padding: 12px;
        gap: 6px;
        display: grid;
        grid-template-columns: 1fr;
        margin-top: auto;
    }

    .kitchen-footer button {
        padding: 10px 12px;
        font-size: 0.85rem;
        width: 100%;
    }

    .order-card {
        grid-template-columns: 1fr;
    }

    .order-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .auth-container {
        max-width: 100%;
        padding: 16px;
        height: auto;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .premium-auth-card {
        border-radius: 16px;
        width: 100%;
        max-width: 500px;
    }

    .auth-card-header {
        padding: 24px 20px;
    }

    .auth-logo-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }

    .auth-logo-text h1 {
        font-size: 1.4rem;
    }

    .auth-tagline {
        font-size: 0.85rem;
    }

    .auth-content {
        padding: 24px 20px;
    }

    .auth-greeting h2 {
        font-size: 1.4rem;
    }

    .auth-greeting p {
        font-size: 0.9rem;
    }

    .auth-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-item {
        padding: 12px 0;
    }

    .auth-form-group {
        margin-bottom: 16px;
    }

    .auth-form-group label {
        font-size: 0.9rem;
    }

    .input[type="email"], 
    .input[type="password"], 
    .input[type="text"] {
        font-size: 16px;
        padding: 12px 14px;
    }

    .auth-submit-btn {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    .section-container > h2 {
        font-size: 1.4rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .profile-images {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        max-width: 100%;
    }

    .chart-container {
        min-height: 300px;
    }

    table {
        font-size: 0.9rem;
    }

    .modal {
        width: calc(100% - 20px);
        max-height: 90vh;
    }

    .modal-content {
        max-height: calc(90vh - 140px);
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .input, textarea, select {
        font-size: 16px;
        padding: 12px 14px;
    }
}

/* Mobile Phones (480px to 640px) */
@media (max-width: 640px) {
    .customer-header {
        padding: 10px 12px;
        width: 100%;
        box-sizing: border-box;
        background-size: cover;
        background-position: center;
        position: relative;
        min-height: 130px;
        background-attachment: scroll;
    }

    .header-banner-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.74) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .header-content {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        z-index: 2;
    }

    .restaurant-logo {
        width: 62px;
        height: 62px;
        font-size: 1.8rem;
        flex-shrink: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
        border: 2px solid white;
    }

    .restaurant-info h1 {
        font-size: 1rem;
        margin: 0 0 4px 0;
        word-break: break-word;
    }

    .restaurant-rating {
        gap: 8px;
        font-size: 0.8rem;
    }

    .customer-content {
        width: 100%;
        padding: 10px 10px 320px 10px;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .search-bar {
        width: 100%;
        box-sizing: border-box;
    }

    .search-bar input {
        width: 100%;
        padding: 10px 12px;
        font-size: 16px;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .categories-scroll {
        width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .categories-scroll .categories-list {
        gap: 6px;
        padding: 0 10px;
    }

    .categories-scroll .category-card {
        min-width: 90px;
        padding: 8px 10px;
        font-size: 0.75rem;
        flex-shrink: 0;
    }

    .foods-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .food-item-image {
        aspect-ratio: 1 / 1;
        font-size: 2.2rem;
    }

    .food-item-info {
        padding: 8px;
    }

    .food-item-name {
        font-size: 0.8rem;
        margin-bottom: 3px;
    }

    .food-item-category {
        font-size: 0.7rem;
        margin-bottom: 6px;
    }

    .food-item-price .current {
        font-size: 1rem;
    }

    .cart-items {
        max-height: 250px;
    }

    .customer-cart {
        width: 100%;
        box-sizing: border-box;
    }

    .customer-content .btn {
        width: 100%;
        padding: 10px;
        font-size: 0.9rem;
        margin-bottom: 6px;
        box-sizing: border-box;
        min-height: 48px;
    }
}

/* Extra Small Devices (Below 480px) */
@media (max-width: 480px) {
    .customer-wrapper {
        width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    .customer-header {
        padding: 8px 12px;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        min-height: 110px;
        background-attachment: scroll;
    }

    .header-banner-overlay {
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.75) 100%);
    }

    .restaurant-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        flex-shrink: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .restaurant-info h1 {
        font-size: 0.95rem;
        word-break: break-word;
    }

    .customer-content {
        width: 100%;
        gap: 12px;
        padding: 10px 10px 320px 10px;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .search-bar {
        width: 100%;
        box-sizing: border-box;
    }

    .search-bar input {
        width: 100%;
        padding: 10px 12px;
        font-size: 16px;
        box-sizing: border-box;
    }

    .categories-scroll {
        width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .categories-scroll .categories-list {
        gap: 6px;
        padding: 0 10px;
    }

    .categories-scroll .category-card {
        min-width: 80px;
        padding: 6px 8px;
        font-size: 0.7rem;
        flex-shrink: 0;
    }

    .foods-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .food-item-image {
        aspect-ratio: 1 / 1;
        font-size: 2rem;
    }

    .food-item-info {
        padding: 6px;
    }

    .food-item-name {
        font-size: 0.75rem;
        margin-bottom: 2px;
    }

    .food-item-category {
        font-size: 0.65rem;
        margin-bottom: 4px;
    }

    .food-item-price {
        padding-top: 4px;
        font-size: 0.9rem;
    }

    .food-item-price .current {
        font-size: 0.9rem;
    }

    .cart-header h3 {
        font-size: 0.9rem;
    }

    .cart-items {
        max-height: 200px;
        width: 100%;
        box-sizing: border-box;
    }

    .cart-item {
        padding: 8px;
        margin-bottom: 6px;
        width: 100%;
        box-sizing: border-box;
    }

    .customer-cart {
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .customer-content .btn {
        width: 100%;
        padding: 10px;
        font-size: 0.9rem;
        margin-bottom: 6px;
        box-sizing: border-box;
        min-height: 48px;
    }

    .badge {
        padding: 2px 6px;
        font-size: 0.7rem;
    }
}

    .nav-links {
        gap: 10px;
        font-size: 0.9rem;
    }

    .nav-btn {
        padding: 8px 16px;
    }

    .hero-section {
        padding: 60px 16px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .section-container {
        padding: 0 16px;
    }

    .features-section,
    .pricing-section {
        padding: 40px 16px;
    }

    .features-grid,
    .pricing-grid {
        gap: 16px;
    }

    .feature-card {
        padding: 20px;
    }

    .pricing-card {
        padding: 24px 16px;
    }

    .kitchen-display {
        gap: 12px;
    }

    .kitchen-order {
        border-radius: 10px;
    }

    .kitchen-header {
        padding: 12px 10px;
        gap: 6px;
    }

    .kitchen-table {
        font-size: 1.4rem;
        min-width: 50px;
        padding: 6px 10px;
    }

    .kitchen-items {
        padding: 12px 10px;
    }

    .item-qty-badge {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .item-name {
        font-size: 0.9rem;
    }

    .item-notes {
        font-size: 0.75rem;
        padding: 6px 8px;
    }

    .kitchen-footer {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .kitchen-footer button {
        width: 100%;
        padding: 10px;
        font-size: 0.85rem;
    }

    .foods-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .food-card {
        border-radius: 10px;
    }

    .food-image {
        height: 120px;
        font-size: 2.5rem;
    }

    .food-info {
        padding: 10px;
    }

    .food-name {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

    .food-price {
        font-size: 0.95rem;
    }

    .food-category {
        font-size: 0.8rem;
    }

    .food-actions {
        padding: 8px 10px;
        gap: 4px;
    }

    .food-actions button {
        padding: 6px;
        font-size: 0.75rem;
    }

    .form-grid {
        gap: 16px;
    }

    .input, textarea, select {
        font-size: 16px;
        padding: 11px 12px;
    }

    .btn {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .auth-container {
        padding: 16px;
    }

    .premium-auth-card {
        border-radius: 14px;
    }

    .auth-card-header {
        padding: 24px 16px;
    }

    .auth-logo-icon {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }

    .auth-logo-text h1 {
        font-size: 1.3rem;
    }

    .auth-content {
        padding: 24px 16px;
    }

    .auth-greeting h2 {
        font-size: 1.3rem;
    }

    .auth-submit-btn {
        height: 44px;
        font-size: 1rem;
    }

    .auth-features {
        padding: 16px;
        gap: 12px;
    }

    .feature-text {
        font-size: 0.75rem;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1rem; }
    h4 { font-size: 0.95rem; }

    .topbar-left h1 {
        font-size: 1.2rem;
    }

    .page-content {
        padding: 12px;
    }

    .metric-card {
        padding: 16px;
        gap: 12px;
    }

    .metric-label {
        font-size: 0.75rem;
    }

    .metric-value {
        font-size: 1.4rem;
    }

    .modal {
        width: calc(100% - 20px);
        margin: 8px;
    }

    .modal-header {
        padding: 16px;
    }

    .modal-content {
        padding: 16px;
    }

    .categories-scroll {
        padding: 0 12px;
    }

    .categories-scroll .categories-list {
        padding: 0;
        gap: 8px;
    }

    .categories-scroll .category-card {
        min-width: 110px;
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

/* Extra Small Devices (Below 480px) */
@media (max-width: 480px) {
    .landing-nav {
        padding: 10px 0;
    }

    .nav-container {
        padding: 0 12px;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .nav-links {
        gap: 8px;
        font-size: 0.8rem;
    }

    .nav-link {
        display: none;
    }

    .nav-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .hero-section {
        padding: 40px 12px;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

    .kitchen-order {
        margin-bottom: 12px;
    }

    .kitchen-table {
        font-size: 1.2rem;
    }

    .food-card {
        border-radius: 8px;
    }

    .food-image {
        height: 100px;
        font-size: 2rem;
    }

    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.1rem; }
    h3 { font-size: 0.95rem; }

    .step-card {
        padding: 16px;
    }

    .auth-container {
        padding: 12px;
    }

    .premium-auth-card {
        border-radius: 12px;
    }

    .auth-card-header {
        padding: 20px 14px;
    }

    .auth-logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .auth-logo-text h1 {
        font-size: 1.2rem;
    }

    .auth-content {
        padding: 20px 14px;
    }

    .auth-greeting h2 {
        font-size: 1.2rem;
    }

    .auth-greeting p {
        font-size: 0.85rem;
    }

    .feature-item {
        padding: 8px 0;
    }

    .feature-icon {
        font-size: 1.4rem;
    }

    .feature-text {
        font-size: 0.7rem;
    }
}

/* Landscape Mode Adjustments */
@media (max-height: 500px) {
    .hero-section {
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* iOS Specific Adjustments */
@supports (-webkit-touch-callout: none) {
    input, textarea, select {
        font-size: 16px !important;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto !important;
    }

    .btn {
        -webkit-appearance: none;
        border-radius: var(--radius);
    }

    .input {
        -webkit-appearance: none;
        -webkit-border-radius: var(--radius);
    }

    .kitchen-order {
        -webkit-box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    }
}

/* Android Chrome Specific */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Resolution Displays */
@media (min-device-pixel-ratio: 2) {
    .kitchen-order,
    .food-card,
    .metric-card {
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
    }
}

/* ============================================
   FILE UPLOAD STYLES
   ============================================ */

.image-upload {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.upload-area {
    width: 100%;
    padding: 30px 20px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-secondary);
    font-weight: 500;
    color: var(--text-primary);
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.upload-area:hover {
    border-color: var(--secondary);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: var(--shadow);
}

.upload-area.dragover {
    border-color: var(--secondary);
    background: rgba(59, 130, 246, 0.1);
    box-shadow: var(--shadow-lg);
}

.upload-area input[type="file"] {
    display: none;
}

.image-preview {
    width: 100%;
    max-width: 300px;
    max-height: 300px;
    margin-top: 10px;
    border-radius: var(--radius);
    object-fit: cover;
    border: 1px solid var(--border);
}

.profile-section {
    margin-bottom: 30px;
}

.profile-section h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-input {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-input:hover:not(:focus) {
    border-color: var(--secondary-light);
}

.profile-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* Mobile responsive adjustments for uploads */
@media (max-width: 768px) {
    .image-upload {
        margin-bottom: 16px;
    }

    .upload-area {
        padding: 20px;
        min-height: 100px;
        font-size: 0.9rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .profile-section {
        margin-bottom: 24px;
    }

    .form-input {
        font-size: 16px;
        padding: 12px 14px;
    }

    .profile-actions {
        flex-direction: column;
        gap: 10px;
    }

    .profile-actions .btn {
        width: 100%;
    }
}

/* Tablet Landscape */
@media (max-height: 600px) and (orientation: landscape) {
    .page-content {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .topbar {
        padding: 12px 20px;
    }
}

@media (max-width: 1024px) {
    .foods-list, .foods-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 14px;
    }

    .food-card {
        min-height: auto;
    }
}



/* Full Screen / Desktop Display Optimization */
@media (min-width: 1920px) {
    .dashboard-wrapper {
        grid-template-columns: 280px 1fr;
    }

    .sidebar {
        width: 280px;
    }

    .page-content {
        padding: 40px;
    }

    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .kitchen-display {
        grid-template-columns: repeat(4, 1fr);
    }

    .foods-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .foods-list {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
}
/* ============================================
   PREMIUM SUBSCRIPTION CARD
   ============================================ */

.premium-subscription-card {
    border: 2px solid #E5E7EB;
    background: linear-gradient(to bottom right, #FFFFFF 0%, #F8FAFC 100%);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255,255,255,0.8);
}

.premium-subscription-card .card-header {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
    padding: 24px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.premium-subscription-card .card-header h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.premium-body {
    padding: 32px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
}

.premium-plan-container {
    margin-bottom: 24px;
}

.plan-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.feature-item {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    border-color: #3B82F6;
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6 0%, #10B981 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-details {
    flex: 1;
}

.feature-details h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
}

.feature-price {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: #3B82F6;
}

.price-tag {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-desc {
    margin: 0;
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.5;
}

.included-features {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.included-features h4 {
    margin: 0 0 16px 0;
    color: #0F172A;
    font-weight: 700;
    font-size: 1.1rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: #0F172A;
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
}

.subscription-status {
    margin-top: 20px;
    padding: 16px;
    background: #F8FAFC;
    border-radius: 8px;
    border-left: 4px solid #3B82F6;
}

.subscription-status p {
    margin: 0;
    color: #0F172A;
    font-weight: 500;
}

/* ============================================
   MOBILE PREMIUM SUBSCRIPTION
   ============================================ */

@media (max-width: 768px) {
    .premium-subscription-card .card-header {
        padding: 20px;
    }

    .premium-subscription-card .card-header h3 {
        font-size: 1.2rem;
    }

    .premium-body {
        padding: 20px;
    }

    .plan-feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-item {
        padding: 20px;
        gap: 12px;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .feature-row {
        padding: 8px 0;
        font-size: 0.9rem;
    }
}

/* ============================================
   PREMIUM DASHBOARD ELEMENTS
   ============================================ */

.dashboard-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 30px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

.dashboard-hero h2 {
    margin: 0 0 12px 0;
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.dashboard-hero p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
}

.premium-metric {
    background: linear-gradient(to bottom right, #FFFFFF 0%, #F8FAFC 100%);
    border: 2px solid #E5E7EB;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.premium-metric:hover {
    border-color: #3B82F6;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.15);
}

.premium-section {
    background: linear-gradient(to bottom right, #FFFFFF 0%, #F8FAFC 100%);
    border: 2px solid #E5E7EB;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.premium-section h3 {
    color: #0F172A;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.premium-action {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 2px solid #E5E7EB;
    transition: all 0.3s ease;
    font-weight: 600;
}

.premium-action:hover {
    border-color: #3B82F6;
    background: linear-gradient(135deg, #F8FAFC 0%, #F0F5FA 100%);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.premium-action:active {
    transform: translateY(0);
}

/* ============================================
   MOBILE DASHBOARD
   ============================================ */

@media (max-width: 768px) {
    .dashboard-hero {
        padding: 24px;
        margin-bottom: 20px;
    }

    .dashboard-hero h2 {
        font-size: 1.5rem;
    }

    .dashboard-hero p {
        font-size: 0.9rem;
    }
}

/* ============================================
   PREMIUM HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 25%, #0F4C75 50%, #3B82F6 100%);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: slideDown 0.8s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.2;
    animation: slideUp 0.8s ease-out 0.1s both;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.3s both;
}

.hero-buttons .btn {
    min-width: 200px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FCD34D;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #0F172A;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   STEPS GRID WITH ICONS
   ============================================ */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.step-card {
    position: relative;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 40px 24px 30px 24px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    border-color: #3B82F6;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: 70px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 12px;
}

.step-number {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-card h3 {
    margin: 16px 0 12px 0;
    color: #0F172A;
    font-size: 1.3rem;
}

.step-card p {
    margin: 0;
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============================================
   TESTIMONIALS PREMIUM
   ============================================ */

.testimonials-section {
    background: linear-gradient(135deg, #F8FAFC 0%, #F0F5FA 100%);
    padding: 80px 20px;
}

.testimonial-card {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    border-color: #3B82F6;
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.verified-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.testimonial-text {
    font-size: 1.05rem;
    color: #0F172A;
    margin-bottom: 24px;
    line-height: 1.6;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.author-name {
    margin: 0;
    color: #0F172A;
    font-weight: 600;
    font-size: 1rem;
}

.author-role {
    margin: 4px 0 0 0;
    color: #64748B;
    font-size: 0.9rem;
}

/* ============================================
   HERO SECTION MOBILE
   ============================================ */

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        gap: 12px;
        margin-bottom: 40px;
    }

    .hero-buttons .btn {
        min-width: 160px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-card {
        padding: 30px 20px 20px 20px;
    }

    .step-icon {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ENHANCED FOOD CARDS & MENU MANAGEMENT
   ============================================ */

.foods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    width: 100%;
}

.food-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.food-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.food-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.food-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.food-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--light-gray) 100%);
}

.food-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.food-badges .badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.badge-veg { background: #D1FAE5 !important; color: #065F46 !important; }
.badge-nonveg { background: #FEE2E2 !important; color: #7F1D1D !important; }
.badge-bestseller { background: #FEF3C7 !important; color: #92400E !important; }
.badge-recommended { background: #E9D5FF !important; color: #5B21B6 !important; }
.badge-special { background: #C7D2FE !important; color: #312E81 !important; }
.badge-today { background: #F3E8FF !important; color: #6B21A8 !important; }
.badge-outofstock { background: #FBCFE8 !important; color: #831843 !important; }
.badge-soon { background: #FED7AA !important; color: #7C2D12 !important; }
.badge-seasonal { background: #BBECF1 !important; color: #164E63 !important; }
.badge-archived { background: #E5E7EB !important; color: #374151 !important; }

.food-info {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.food-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
}

.food-category {
    margin: 0;
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
}

.food-description {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.food-pricing {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

.food-pricing .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.food-pricing .original-price {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.prep-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

.food-actions {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.food-actions .btn {
    flex: 1;
    min-width: 80px;
    padding: 8px 10px;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* ============================================
   PROFESSIONAL MODALS - RESPONSIVE
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
    padding: 20px;
    overflow-y: auto;
}

.modal {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.modal-header h2 {
    margin: 0;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: var(--bg-secondary);
}

.modal-footer .btn {
    min-width: 120px;
}

/* Mobile Modal Improvements */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 16px;
    }

    .modal {
        max-height: 85vh;
        border-radius: var(--radius);
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 16px 20px;
        flex-direction: column-reverse;
    }

    .modal-footer .btn {
        width: 100%;
    }

    .foods-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 16px;
    }

    .food-actions {
        flex-direction: column;
    }

    .food-actions .btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .modal-header h2 {
        font-size: 1.1rem;
    }

    .foods-grid {
        grid-template-columns: 1fr;
    }

    .food-image-container {
        height: 180px;
    }

    .modal-header {
        padding: 16px;
    }

    .modal-body {
        padding: 16px;
    }

    .food-info {
        padding: 12px;
    }

    .food-actions {
        padding: 10px 12px;
    }
}

/* ============================================
   FORM IMPROVEMENTS
   ============================================ */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-grid .form-group.full {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.form-group .input {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group .input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

@media (min-width: 769px) and (max-width: 1024px) {
    .foods-grid,
    .foods-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   RESTAURANTOS - PREMIUM ENTERPRISE CSS
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0F172A;
    --primary-light: #1E293B;
    --primary-lighter: #334155;
    --secondary: #DC2626;
    --secondary-light: #EF4444;
    --secondary-dark: #991B1B;
    --accent-orange: #F97316;
    --accent-amber: #F59E0B;
    --success: #10B981;
    --success-light: #34D399;
    --danger: #EF4444;
    --danger-light: #F87171;
    --warning: #F59E0B;
    --warning-light: #FBBF24;
    --light: #F8FAFC;
    --light-gray: #F1F5F9;
    --gray: #CBD5E1;
    --dark-gray: #64748B;
    --border: #E2E8F0;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.16);
    --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.15);
    --shadow-xl: 0 20px 50px rgba(15, 23, 42, 0.20);
    --shadow-2xl: 0 25px 60px rgba(15, 23, 42, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --gradient-primary: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-secondary: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
    --gradient-accent: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-warning: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

#app {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

h1 { font-size: 3.5rem; font-weight: 800; }
h2 { font-size: 2.5rem; font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 700; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p { color: var(--text-secondary); font-size: 1.05rem; }

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-light);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(220, 38, 38, 0.2);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--text-primary);
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: white;
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-text {
    background: transparent;
    color: var(--secondary);
    padding: 12px 0;
}

.btn-text:hover {
    color: var(--secondary-light);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-hero {
    font-size: 1.1rem;
    padding: 16px 40px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.full-width {
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */

.landing-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    background: var(--gradient-secondary);
    color: white;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
    transition: var(--transition);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    background: var(--gradient-primary);
    padding: 100px 20px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-gradient-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.hero-gradient-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, transparent 20%, rgba(255, 255, 255, 0.03) 50%),
        radial-gradient(circle at 80% 80%, transparent 20%, rgba(255, 255, 255, 0.03) 50%);
    background-size: 100% 100%;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: slideInDown 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInDown 0.8s ease-out;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 800;
    line-height: 1.1;
    animation: slideInDown 0.8s ease-out 0.1s both;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    animation: slideInUp 0.8s ease-out 0.2s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.hero-buttons .btn-primary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works-section {
    padding: 100px 20px;
    background: white;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step-card {
    position: relative;
    padding: 40px 30px;
    background: var(--light-gray);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover::before {
    opacity: 1;
}

.step-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--secondary);
}

.step-number {
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 15px;
    opacity: 0.3;
}

.step-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.step-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, white 0%, var(--light-gray) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    background: white;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
}

.feature-card:hover::before {
    right: -5%;
    top: -5%;
}

.feature-card:hover {
    background: white;
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px);
    border-color: var(--secondary);
}

.feature-icon-box {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.feature-card p {
    margin: 0;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-section {
    padding: 100px 20px;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    padding: 40px 30px;
    background: white;
    border-radius: var(--radius-xl);
    border: 2px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--secondary);
    border-width: 2px;
    box-shadow: 0 20px 50px rgba(220, 38, 38, 0.15);
}

.pricing-card.featured:hover {
    box-shadow: 0 30px 70px rgba(220, 38, 38, 0.2);
    transform: translateY(-8px);
}

.pricing-card .badge {
    display: inline-block;
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card-featured {
    border-color: var(--secondary);
    border-width: 2px;
    box-shadow: 0 20px 50px rgba(220, 38, 38, 0.15);
    transform: scale(1.05);
}

.pricing-card-featured:hover {
    box-shadow: 0 30px 70px rgba(220, 38, 38, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.pricing-card-header h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.pricing-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.pricing-details {
    text-align: center;
    margin: 30px 0;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.pricing-details .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 10px 0;
    line-height: 1.2;
}

.pricing-details .price span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: block;
}

.price-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin: 8px 0 0 0;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 20px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 100px 20px;
    background: var(--gradient-secondary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, transparent 20%, rgba(255, 255, 255, 0.05) 50%),
        radial-gradient(circle at 80% 80%, transparent 20%, rgba(255, 255, 255, 0.05) 50%);
    background-size: 100% 100%;
    z-index: 0;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: white;
    animation: slideInDown 0.8s ease-out;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    animation: slideInUp 0.8s ease-out 0.1s both;
}

.cta-content .btn {
    animation: slideInUp 0.8s ease-out 0.2s both;
    background: white;
    color: var(--secondary);
    font-weight: 800;
    padding: 16px 48px;
}

.cta-content .btn:hover {
    background: var(--light-gray);
    color: var(--secondary-dark);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary);
    color: white;
    padding: 80px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-weight: 800;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ============================================
   AUTHENTICATION
   ============================================ */

.auth-wrapper {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.auth-gradient-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.2) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.auth-gradient-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 50px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: slideInUp 0.6s ease-out;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.auth-card h2 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.auth-card p {
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   FORMS
   ============================================ */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    text-align: left;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.input::placeholder {
    color: var(--text-secondary);
}

/* ============================================
   CARDS & LAYOUT
   ============================================ */

.card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 30px;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.card-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.card-body {
    color: var(--text-secondary);
}

/* ============================================
   VARIANTS & ADD-ONS
   ============================================ */

.variant-card, .addon-card {
    background: var(--light-gray);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.variant-card:hover, .addon-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
    background: white;
}

.variant-info, .addon-info {
    flex: 1;
}

.variant-info h4, .addon-info h4 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.variant-actions, .addon-actions {
    display: flex;
    gap: 8px;
    margin-left: 20px;
}

.multi-select {
    background: var(--light-gray);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    max-height: 200px;
    overflow-y: auto;
}

.multi-select label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.multi-select label:hover {
    background: rgba(220, 38, 38, 0.1);
}

.multi-select input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
}

/* ============================================
   MODALS & OVERLAYS
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
    animation: scaleIn 0.3s ease;
}

.modal h2 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--light-gray);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--border);
    color: var(--text-primary);
}

/* ============================================
   NOTIFICATIONS
   ============================================ */

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-width: 300px;
    animation: slideInUp 0.3s ease-out;
    z-index: 2000;
}

.notification-content {
    color: var(--text-primary);
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.notification-close:hover {
    color: var(--text-primary);
}

/* ============================================
   DASHBOARD
   ============================================ */

.page-wrapper {
    display: flex;
    height: 100vh;
    background: var(--light-gray);
}

.page-sidebar {
    width: 260px;
    background: white;
    border-right: 1px solid var(--border);
    padding: 30px 20px;
    overflow-y: auto;
    box-shadow: var(--shadow-md);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    font-weight: 600;
}

.nav-item:hover {
    background: var(--light-gray);
    color: var(--text-primary);
}

.nav-item.active {
    background: var(--gradient-secondary);
    color: white;
}

.nav-icon {
    font-size: 1.3rem;
}

.nav-logout {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--danger);
}

.nav-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-light);
}

.page-main {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.stat-card h3 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.dashboard-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-hero {
        width: 100%;
    }
    
    .nav-links {
        display: none;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-featured {
        transform: scale(1);
    }
    
    .page-wrapper {
        flex-direction: column;
    }
    
    .page-sidebar {
        width: 100%;
        display: flex;
        gap: 20px;
        overflow-x: auto;
        padding: 15px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    
    .sidebar-nav {
        flex-direction: row;
        gap: 12px;
    }
    
    .page-main {
        padding: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.3rem; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .modal {
        padding: 25px;
        width: 90%;
    }
    
    .notification {
        min-width: auto;
        width: 90%;
        right: 5%;
        left: 5%;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .pricing-details .price {
        font-size: 2rem;
    }
    
    .pricing-features li {
        padding: 10px 0;
        font-size: 0.9rem;
    }
}