/* assets/css/style.css - ROLLED BACK TO STABLE VERSION + CENTER LOGO */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
    --primary: #000000;
    --secondary: #dcdcdc;
    /* Badge Color */
    --accent: #2fb344;
    --bg-color: #ffffff;
    --text-color: #333333;
    --header-bg: #1a1a1a;
}

body.dark-mode {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --header-bg: #000000;
    --secondary: #333333;
}

body.dark-mode .info-bar {
    background: linear-gradient(to bottom, #1a1a1a, #121212);
}

body.dark-mode .restaurant-name {
    color: #ffffff !important;
}

body.dark-mode .showcase-label {
    color: #aaaaaa !important;
}

body.dark-mode .rotating-category {
    color: #ffffff !important;
}

body.dark-mode .cat-card {
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
}

body.dark-mode .cat-name {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

body.dark-mode .language-btn {
    background: #333;
    color: #fff;
    border-color: #444;
}

body.dark-mode .search-input {
    background: #1e1e1e;
    color: white;
    border-color: #333;
}

body.dark-mode .search-results {
    background: #1e1e1e;
    border-color: #333;
}

body.dark-mode .search-result-item:hover {
    background: #333;
}

body.dark-mode .sr-name {
    color: #fff;
}

body.dark-mode .amenity-item {
    border-color: #333;
}

body.dark-mode .amenity-item span {
    color: #ccc;
}

body.dark-mode .amenity-item:hover {
    background: #1e1e1e;
}

body.dark-mode .btn-action {
    background: #1e1e1e;
    border-color: #333;
    color: #fff;
}

body.dark-mode .hours-table tr {
    border-color: #333;
}

body.dark-mode .hours-table tr.today {
    background: #2d2d2d;
    color: #fff;
}

/* Dark mode toggle btn styling */
.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Logo Switching */
body.dark-mode .logo-light {
    display: none !important;
}

body.dark-mode .logo-dark {
    display: block !important;
}

/* GLOBAL DARK MODE OVERRIDES */
body.dark-mode .premium-footer {
    background: linear-gradient(to bottom, #121212, #000000);
    border-top-color: #333;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

body.dark-mode .footer-text {
    color: #aaa;
}

body.dark-mode .footer-update-info {
    background: rgba(255, 255, 255, 0.05);
    color: #888;
}

body.dark-mode .social-btn {
    background: #1e1e1e;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

body.dark-mode .premium-footer button {
    color: #ffffff !important;
}

body.dark-mode .social-btn:hover {
    background: var(--primary) !important;
    color: white !important;
}

/* Modals */
body.dark-mode .modal-content,
body.dark-mode #feedbackModal>div {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border: 1px solid #333;
}

body.dark-mode .close-m-btn {
    color: #fff;
}

body.dark-mode input,
body.dark-mode textarea {
    background-color: #2d2d2d !important;
    border-color: #444 !important;
    color: #fff !important;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #888;
}

/* Product Cards */
body.dark-mode .p-card {
    background: #1e1e1e;
    border: 1px solid #333;
}

body.dark-mode .p-name {
    color: #fff;
}

body.dark-mode .p-desc {
    color: #aaa;
}

body.dark-mode .price-tag {
    color: var(--primary);
}

/* Headings & Misc */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #fff !important;
}

body.dark-mode .section-title {
    color: #fff;
    border-bottom-color: #333;
}

body.dark-mode .tab-item {
    color: #666;
}

body.dark-mode .tab-item.active {
    color: #fff;
    border-bottom-color: #fff;
}

/* Icons */
body.dark-mode i {
    opacity: 0.9;
}

/* Force White Icons in Dark Mode for specific elements */
body.dark-mode .language-btn i,
body.dark-mode .language-btn span,
body.dark-mode .btn-action i {
    color: #ffffff !important;
}

/* Language Dropdown Dark Mode - Dark BG with White Hover */
body.dark-mode .language-dropdown {
    background: #1e1e1e;
    border: 1px solid #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

body.dark-mode .language-option {
    color: #ccc;
}

body.dark-mode .language-option:hover {
    background: #ffffff;
    /* White hover as requested */
    color: #000;
}

body.dark-mode .language-option.active {
    background: #ffffff;
    /* White active as requested */
    color: #000;
    font-weight: 700;
}

html {
    height: 100%;
    overflow-y: scroll;
    /* Always show scrollbar on viewport */
    -webkit-overflow-scrolling: touch;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    /* Changed from 100% */
    position: relative;
    font-family: 'Outfit', sans-serif;
    background-color: #f0f2f5;
    /* Background for desktop surroundings */
    color: var(--text-color);
    overflow-x: hidden;
}

/* Centered Layout Container */
.app-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--bg-color);
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

body.dark-mode .app-container {
    background-color: var(--bg-color);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

/* TOP BAR (HEADER) - CENTERED LOGO KEPT */
.top-bar {
    display: flex;
    justify-content: center;
    /* Centered */
    align-items: center;
    padding: 0 1.5rem;
    height: var(--header-height, 80px);
    background-color: var(--header-bg);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}

.brand-logo-img {
    /* max-height: calc(var(--header-height, 80px) - 20px); REMOVED to prevent distortion */
    width: var(--logo-width, 150px);
    height: auto;
    /* Maintains aspect ratio */
    display: block;
    margin: 0 auto;
}

/* HERO SLIDER */
.swiper {
    width: 100%;
    height: 260px;
    background: #f0f0f0;
}

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.slider-title {
    color: white;
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.swiper-slide-active .slider-title {
    opacity: 1;
    transform: translateY(0);
}

.slider-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

/* STATUS BADGE */
.status-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.status-badge.open {
    background: var(--secondary);
    color: black;
}

.status-badge.closed {
    background: #ef4444;
    color: white;
}

.status-badge.soon-open {
    background: #fde047;
    color: black;
}

.status-badge.soon-close {
    background: #fb923c;
    color: white;
}

/* INFO BAR */
.info-bar {
    text-align: center;
    padding: 1.75rem 1rem 1.25rem;
    background: linear-gradient(to bottom, #fafafa, white);
}

.restaurant-header-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.restaurant-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
    color: #1a1a1a;
    line-height: 1.2;
}

.category-showcase {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #666;
}

.showcase-label {
    font-weight: 400;
    font-style: italic;
}

.rotating-category {
    font-weight: 600;
    color: var(--primary);
    min-width: 120px;
    text-align: left;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.status-badge {
    font-size: 0.7rem;
    padding: 6px 16px;
    border-radius: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

.update-date {
    color: #888;
    font-size: 0.9rem;
}

/* TABS */
.main-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-top: 1rem;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 1rem;
    font-weight: 500;
    color: #aaa;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.tab-item.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 700;
}

/* CATEGORY GRID - RESTORED TO ORIGINAL STABLE VERSION */
.cat-title-row {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cat-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile: 1 Column (Restored) */
    gap: 15px;
    padding: 15px;
}

/* Tablet/Desktop */
@media (min-width: 600px) {
    .category-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.cat-card {
    position: relative;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cat-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.cat-card:hover .cat-bg {
    transform: scale(1.05);
}

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

.cat-name {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
}

.app-footer {
    text-align: center;
    padding: 2rem;
    background: #f9f9f9;
    color: #666;
    margin-top: 2rem;
}

/* PREMIUM FOOTER */
.premium-footer {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 50px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.03);
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 1 !important;
}

.social-btn:visited,
.social-btn:active,
.social-btn:focus,
.social-btn:link {
    color: var(--primary) !important;
    opacity: 1 !important;
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
    background: var(--primary-color) !important;
    /* Fallback/Var match */
    background: var(--primary) !important;
    color: white !important;
    opacity: 1 !important;
}

.footer-text {
    font-family: var(--header-font);
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.footer-update-info {
    color: #94a3b8;
    background: rgba(0, 0, 0, 0.03);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
}

/* SEARCH BAR STYLES */
.search-container {
    padding: 15px 20px;
    background: var(--bg-color);
    position: sticky;
    top: var(--header-height);
    z-index: 990;
    /* Below header, above content */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    background: #f8fafc;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: var(--font-body);
}

.search-input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
    pointer-events: none;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    /* Always white for readability */
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
    max-height: 400px;
    /* limits height */
    overflow-y: auto;
    z-index: 1000;
    display: none;
    /* hidden by default */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

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

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

.sr-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
    background: #eee;
}

.sr-info {
    flex: 1;
}

.sr-name {
    font-weight: 600;
    color: #334155;
    margin-bottom: 2px;
    display: block;
}

.sr-cat {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 500;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

.sr-price {
    font-weight: 700;
    color: var(--primary);
}

/* WHATSAPP ORDERING UI STYLES */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    /* Adjust for mobile centering */
    left: 50%;
    transform: translateX(calc(-50% + 200px));
    /* Shift right relative to center */
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
    will-change: transform;
}

/* Response adjustment for smaller screens */
@media (max-width: 500px) {
    .floating-cart-btn {
        right: 20px;
        left: auto;
        transform: none;
    }
}

.floating-cart-btn:hover {
    transform: translateX(calc(-50% + 200px)) scale(1.08);
    /* Reduced scale slightly for stability */
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

@media (max-width: 500px) {
    .floating-cart-btn:hover {
        transform: scale(1.1);
    }
}

/* Floating Survey Button */
.floating-survey-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(calc(-50% - 200px));
    /* Positioned on the left side */
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #f8fafc;
}

.floating-survey-btn:hover {
    transform: translateX(calc(-50% - 200px)) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 500px) {
    .floating-survey-btn {
        left: 20px;
        bottom: 30px;
        transform: none;
    }

    .floating-survey-btn:hover {
        transform: scale(1.1);
    }
}

.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff3b30;
    color: white;
    font-size: 12px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Cart Modal */
/* Cart Modal Overlay */
.cart-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 10000;
    display: none !important;
    align-items: flex-end !important;
    justify-content: center !important;
}

.cart-modal-overlay.active {
    display: flex !important;
}

.cart-modal {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 24px 24px 0 0;
    padding: 20px;
    padding-top: 10px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

.cart-modal-handle {
    width: 40px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin: 0 auto 15px auto;
    flex-shrink: 0;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

body.dark-mode .cart-modal {
    background: #1e1e1e;
    color: white;
}

.cart-modal-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    min-height: 40px;
}

body.dark-mode .cart-modal-header {
    border-bottom-color: #333;
}

.cart-items-list {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

body.dark-mode .cart-item {
    border-bottom-color: #2d2d2d;
}

.cart-item-info h4 {
    margin: 0;
    font-size: 1rem;
}

.cart-item-info p {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: #666;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cart-footer {
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Notification Toast */
.cart-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    z-index: 11000;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
}

.cart-notification.show {
    opacity: 1;
    top: 30px;
}

/* Cart Modal Components */
.empty-cart-btn {
    background: rgba(255, 0, 0, 0.05);
    color: #ef4444 !important;
    border: 1px solid #fee2e2;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    flex-shrink: 0 !important;
}

.empty-cart-btn:hover {
    background: #fee2e2;
}

.close-modal-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.5;
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    align-items: center;
}

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

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

.cart-item-name {
    font-weight: 700;
    margin-bottom: 2px;
}

.cart-item-variant {
    font-size: 0.85rem;
    opacity: 0.7;
    color: var(--primary);
}

.cart-item-price {
    font-weight: 700;
    margin-top: 5px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-text {
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.cart-modal-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: #f8fafc;
}

body.dark-mode .cart-modal-footer {
    background: #1e293b;
}

/* Order Form */
.order-form {
    margin-top: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.order-form .form-group {
    margin-bottom: 12px;
}

.order-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    opacity: 0.8;
}

.order-form input,
.order-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
}

body.dark-mode .order-form input,
body.dark-mode .order-form textarea {
    background: #0f172a;
    border-color: #334155;
    color: white;
}

.order-submit-btn {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin-top: 10px;
}

.continue-shopping-btn {
    width: 100%;
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.continue-shopping-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.order-notice {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 10px;
    opacity: 0.6;
    line-height: 1.3;
}

/* Confirmation Modal */
.confirm-modal {
    background: white;
    width: 90%;
    max-width: 320px;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: 90vh;
    overflow-y: auto;
}

.confirm-btn-cancel {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
}

.confirm-btn-confirm {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #ef4444;
    color: white;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

/* Survey Modal Styles */
.survey-modal {
    background: white;
    width: 95%;
    max-width: 420px;
    border-radius: 20px;
    padding: 20px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body.dark-mode .survey-modal {
    background: #1e1e1e;
    color: white;
}

.survey-header {
    text-align: center;
    margin-bottom: 14px;
}

.survey-header h3 {
    margin: 0;
    font-family: var(--font-restaurant);
    color: var(--primary);
    font-size: 1.4rem;
}

.survey-group {
    margin-bottom: 12px;
}

.survey-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #475569;
    font-size: 0.85rem;
}

body.dark-mode .survey-group label {
    color: #cbd5e1;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 6px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 1.6rem;
    color: #e2e8f0;
    cursor: pointer;
    transition: color 0.2s;
    margin: 0;
}

body.dark-mode .star-rating label {
    color: #334155;
}

.star-rating label:hover,
.star-rating label:hover~label,
.star-rating input:checked~label {
    color: #fbbf24;
}

.survey-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    min-height: 60px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    box-sizing: border-box;
}

body.dark-mode .survey-textarea {
    background: #0f172a;
    border-color: #334155;
    color: white;
}

.survey-submit-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}

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

/* Toast Styles */
.toast {
    background: white;
    color: #1e293b;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    animation: toastIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 5px solid var(--primary);
    pointer-events: auto;
}

body.dark-mode .toast {
    background: #1e293b;
    color: white;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

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

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

    to {
        opacity: 0;
        transform: scale(0.8);
    }
}