@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --secondary: #2ec4b6;
    --accent: #ffd166;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-muted: #b2bec3;
    --border-color: #e9ecef;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --gradient-secondary: linear-gradient(135deg, #2ec4b6, #20a39e);
    --nav-bg: rgba(255,255,255,0.95);
    --card-border: 1px solid var(--border-color);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
    --radius-sm: 8px;
}

[data-theme="dark"] {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a2e;
    --bg-card: #16213e;
    --text-primary: #eef0f2;
    --text-secondary: #a0a4a8;
    --text-muted: #6c7080;
    --border-color: #2a2a4a;
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.5);
    --nav-bg: rgba(15,15,15,0.95);
    --card-border: 1px solid var(--border-color);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img { max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
}

.nav-brand .brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-brand i {
    color: var(--primary);
}

.nav-brand .site-logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
}

.nav-links a i {
    margin-right: 6px;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Dark Mode Toggle */
.theme-toggle {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: var(--transition);
    font-family: inherit;
}

.theme-toggle:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.theme-toggle .toggle-icon {
    font-size: 1.1rem;
    transition: var(--transition);
}

.theme-toggle .toggle-text {
    font-weight: 500;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        transform: translateY(-150%);
        transition: var(--transition);
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }
    .nav-links.active { transform: translateY(0); }
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-3deg); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.hero-image {
    animation: fadeInRight 1s ease;
    position: relative;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
}

.hero-image .floating-card {
    position: absolute;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
}

.hero-image .floating-card:nth-child(2) {
    top: 20%;
    right: -10%;
    animation-delay: 0.5s;
}

.hero-image .floating-card:nth-child(3) {
    bottom: 20%;
    left: -10%;
    animation-delay: 1s;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.floating-card span {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
    .hero-content h1 { font-size: 2.5rem; }
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: var(--card-border);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.category-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.category-card:hover .icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(10deg);
}

.category-card h4 {
    font-size: 1rem;
    font-weight: 600;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.menu-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: var(--card-border);
    box-shadow: var(--shadow);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-card:nth-child(1) { animation-delay: 0.1s; }
.menu-card:nth-child(2) { animation-delay: 0.2s; }
.menu-card:nth-child(3) { animation-delay: 0.3s; }
.menu-card:nth-child(4) { animation-delay: 0.4s; }
.menu-card:nth-child(5) { animation-delay: 0.5s; }
.menu-card:nth-child(6) { animation-delay: 0.6s; }

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

.menu-card-image {
    height: 200px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-card-image .featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.menu-card-body {
    padding: 20px;
}

.menu-card-body .category-tag {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(46, 196, 182, 0.1);
    color: var(--secondary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.menu-card-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.menu-card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.menu-card-footer .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.menu-card-footer .price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.menu-card-footer .regular-price {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 6px;
}

.menu-card-footer .sale-price {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 700;
}

/* Card Carousel */
.card-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 200px;
    background: var(--bg-secondary);
}

.card-carousel .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.card-carousel .carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.card-carousel .carousel-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
    background: rgba(0,0,0,0.3);
    padding: 3px 10px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.card-carousel .carousel-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
    display: block;
}

.card-carousel .carousel-dots .dot.active {
    background: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 6px rgba(255,255,255,0.5);
}

.card-carousel:hover .carousel-dots {
    background: rgba(0,0,0,0.5);
}

/* Ensure all menu card images use carousel height */
.menu-card-image.card-carousel {
    height: 200px;
}

.menu-card-image.card-carousel .carousel-slide {
    height: 100%;
    width: 100%;
}

@media (max-width: 768px) {
    .card-carousel, .menu-card-image.card-carousel {
        height: 180px;
    }
}

.menu-card-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.menu-card-image-link:hover .card-carousel .carousel-dots {
    background: rgba(0,0,0,0.5);
}

.item-price-lg .regular-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 400;
    margin-right: 10px;
}

.item-price-lg .sale-price {
    color: var(--primary);
}

/* Product Image Gallery */
.item-detail-images {
    flex: 1;
    min-width: 300px;
}

.item-main-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-secondary);
    margin-bottom: 12px;
}

.item-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.item-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.item-thumbnails .thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    background: var(--bg-secondary);
}

.item-thumbnails .thumb:hover {
    border-color: var(--primary-light);
}

.item-thumbnails .thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
}

.item-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .item-main-image {
        height: 280px;
    }
    .item-thumbnails .thumb {
        width: 60px;
        height: 60px;
    }
}

/* Image Upload Area */
.image-upload-area {
    padding: 15px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
}

.image-upload-area input[type="file"] {
    font-size: 0.85rem;
}

.add-to-cart-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.feature-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(180deg);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-col .social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-col .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-col .social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Auth Pages */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.auth-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.05;
    top: -10%;
    right: -5%;
}

.auth-box {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 50px 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow);
    border: var(--card-border);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease;
}

.auth-box h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-box .subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-footer a {
    color: var(--primary);
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-success {
    background: rgba(46, 196, 182, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(46, 196, 182, 0.3);
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Cart Page */
.cart-section {
    padding: 120px 0 60px;
    min-height: 80vh;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    align-items: center;
}

.cart-item:hover {
    box-shadow: var(--shadow-hover);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.cart-item-details h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-details .item-price {
    color: var(--primary);
    font-weight: 600;
}

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

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.qty-input {
    width: 40px;
    text-align: center;
    font-weight: 600;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 1rem;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    padding: 5px;
}

.remove-btn:hover {
    color: #e74c3c;
    transform: scale(1.2);
}

.cart-summary {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    padding-top: 15px;
    margin-top: 15px;
    border-top: 2px solid var(--border-color);
}

.summary-row.total .amount {
    color: var(--primary);
}

.cart-summary .btn {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

/* Menu Page */
.menu-section {
    padding: 120px 0 60px;
}

.menu-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

/* Orders Page */
.orders-section {
    padding: 120px 0 60px;
    min-height: 80vh;
}

.order-card {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.order-id {
    font-weight: 700;
    font-size: 1.1rem;
}

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

.order-status {
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending { background: rgba(255, 209, 102, 0.2); color: #f39c12; }
.status-confirmed { background: rgba(46, 196, 182, 0.1); color: var(--secondary); }
.status-preparing { background: rgba(52, 152, 219, 0.1); color: #3498db; }
.status-out_for_delivery { background: rgba(155, 89, 182, 0.1); color: #9b59b6; }
.status-delivered { background: rgba(46, 204, 113, 0.1); color: #2ecc71; }
.status-cancelled { background: rgba(231, 76, 60, 0.1); color: #e74c3c; }

.order-items {
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 0.9rem;
}

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

/* Checkout Page */
.checkout-section {
    padding: 120px 0 60px;
    min-height: 80vh;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.checkout-form {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.checkout-form h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
}

/* Admin Styles */
.admin-section {
    padding: 120px 0 60px;
    min-height: 80vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: var(--card-border);
}

.admin-table thead {
    background: var(--bg-secondary);
}

.admin-table th,
.admin-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.admin-table th {
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.admin-table tr:hover td {
    background: rgba(var(--primary-rgb), 0.02);
}

.action-btn {
    padding: 6px 14px;
    border-radius: 50px;
    border: none;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    margin: 0 3px;
}

.action-btn.edit {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.action-btn.edit:hover {
    background: #3498db;
    color: white;
}

.action-btn.delete {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.action-btn.delete:hover {
    background: #e74c3c;
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius-sm);
    padding: 16px 24px;
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 350px;
}

.toast.show {
    transform: translateX(0);
}

.toast i {
    font-size: 1.3rem;
}

.toast.success i { color: #2ecc71; }
.toast.error i { color: #e74c3c; }

.toast span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .cart-summary {
        position: static;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .auth-box {
        padding: 30px 20px;
    }
    .admin-table {
        font-size: 0.8rem;
    }
    .admin-table th,
    .admin-table td {
        padding: 10px 12px;
    }
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 500px;
    width: 100%;
}

.search-bar input {
    flex: 1;
    padding: 10px 18px;
    border: 2px solid var(--border-color);
    border-right: none;
    border-radius: 50px 0 0 50px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.search-bar input:focus {
    border-color: var(--primary);
}

.search-bar button {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-left: none;
    border-radius: 0 50px 50px 0;
    background: var(--gradient-primary);
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.search-bar button:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .search-bar {
        max-width: 100%;
        order: -1;
        margin-bottom: 10px;
    }
}

/* Item Detail Page */
.item-detail-section {
    padding: 120px 0 60px;
}

.item-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.item-detail-images {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-secondary);
    min-height: 300px;
}

.item-detail-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-detail-info h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.item-detail-info .item-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.item-detail-info .item-meta span {
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.item-detail-info .item-price-lg {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.item-detail-info .item-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.item-detail-info .item-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Reviews Section */
.reviews-section {
    margin-top: 60px;
}

.reviews-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.review-card {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-user {
    font-weight: 600;
    font-size: 0.95rem;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.review-stars {
    color: #f1c40f;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.review-comment {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
    justify-content: flex-end;
}

.rating-input input {
    display: none;
}

.rating-input label {
    font-size: 1.8rem;
    color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

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

/* Profile Page */
.profile-section {
    padding: 120px 0 60px;
    min-height: 80vh;
}

.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

.profile-sidebar {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2.5rem;
    color: white;
    font-weight: 700;
}

.profile-sidebar h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-sidebar .profile-email {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}

.profile-menu a {
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-menu a:hover,
.profile-menu a.active {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.profile-content {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.profile-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.password-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.password-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
    .item-detail {
        grid-template-columns: 1fr;
    }
}

/* About Page */
.about-section {
    padding: 120px 0 60px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-content h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.about-stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Page */
.contact-section {
    padding: 120px 0 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info > p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius-sm);
}

.contact-detail i {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-detail h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-detail p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Order Tracking Timeline */
.tracking-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 25px 0;
    padding: 20px 0;
    position: relative;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--border-color);
    z-index: 0;
}

.tracking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
}

.tracking-step .step-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.tracking-step.completed .step-icon {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.tracking-step.active .step-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    animation: pulse 1.5s infinite;
}

.tracking-step .step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    max-width: 80px;
}

.tracking-step.completed .step-label {
    color: var(--secondary);
}

.tracking-step.active .step-label {
    color: var(--primary);
}

/* Invoice Page */
.invoice-section {
    padding: 120px 0 60px;
}

.invoice {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius);
    padding: 50px;
    box-shadow: var(--shadow);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.invoice-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.invoice-title {
    text-align: right;
}

.invoice-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.invoice-title p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.invoice-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.invoice-address h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.invoice-address p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.invoice-table th,
.invoice-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.invoice-table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.invoice-table tfoot td {
    border-bottom: none;
    padding-top: 15px;
}

.invoice-table .total-row td {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    border-top: 2px solid var(--border-color);
    padding-top: 15px;
}

.invoice-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Coupon */
.coupon-section {
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 15px;
}

.coupon-input-group {
    display: flex;
    gap: 8px;
}

.coupon-input-group input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    text-transform: uppercase;
    transition: var(--transition);
}

.coupon-input-group input:focus {
    border-color: var(--primary);
}

.coupon-input-group .btn-sm {
    white-space: nowrap;
}

.coupon-applied {
    background: rgba(46, 196, 182, 0.1);
    color: var(--secondary);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
}

.coupon-applied button {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 1rem;
}

.coupon-discount {
    color: var(--secondary) !important;
    font-weight: 600;
}

/* Favorites */
.fav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
}

.fav-btn:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.fav-btn.active {
    border-color: #e74c3c;
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

/* Reservation */
.reservation-section {
    padding: 120px 0 60px;
    min-height: 80vh;
}

.reservation-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.reservation-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.reservation-info h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reservation-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.reservation-info .info-card {
    padding: 20px;
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.reservation-info .info-card i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reservation-info .info-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.reservation-info .info-card p {
    margin-bottom: 0;
    font-size: 0.85rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.15;
    font-weight: 800;
    line-height: 1;
}

.testimonial-card .stars {
    color: #f1c40f;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .user-info .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-card .user-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-card .user-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .about-grid,
    .contact-grid,
    .reservation-layout {
        grid-template-columns: 1fr;
    }
    .about-stats {
        grid-template-columns: 1fr;
    }
    .tracking-timeline {
        flex-wrap: wrap;
        gap: 10px;
    }
    .tracking-timeline::before {
        display: none;
    }
    .invoice-addresses {
        grid-template-columns: 1fr;
    }
}

/* Forgot Password */
.forgot-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
}

/* Password strength indicator */
.password-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 8px;
    background: var(--border-color);
    transition: var(--transition);
}

.password-strength.weak { background: #e74c3c; width: 33%; }
.password-strength.medium { background: #f39c12; width: 66%; }
.password-strength.strong { background: #2ecc71; width: 100%; }

/* Page Hero */
.page-hero {
    padding: 140px 0 60px;
    background: var(--bg-secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.05;
    top: -50%;
    left: -10%;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Favorites Grid */
.fav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.fav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius-sm);
    padding: 15px;
    transition: var(--transition);
}

.fav-item:hover {
    box-shadow: var(--shadow);
}

.fav-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.fav-item-info {
    flex: 1;
    min-width: 0;
}

.fav-item-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fav-item-info .fav-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.fav-item .fav-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 5px;
}

.fav-item .fav-remove:hover {
    color: #e74c3c;
}

/* ==================== ADMIN PORTAL ==================== */

.admin-body {
    background: var(--bg-secondary);
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
    padding-top: 0;
}

/* Admin Sidebar */
.admin-sidebar {
    width: 260px;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: var(--transition);
}

.admin-sidebar-brand {
    padding: 25px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-sidebar-brand i {
    -webkit-text-fill-color: initial;
    color: var(--primary);
    font-size: 1.5rem;
}

.admin-sidebar-user {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-sidebar-user .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.admin-sidebar-user .info h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

.admin-sidebar-user .info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.admin-sidebar-nav {
    flex: 1;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.admin-sidebar-nav .nav-label {
    padding: 10px 12px 5px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.admin-sidebar-nav a {
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-sidebar-nav a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.admin-sidebar-nav a:hover {
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--primary);
}

.admin-sidebar-nav a:hover i {
    color: var(--primary);
}

.admin-sidebar-nav a.active {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-weight: 600;
}

.admin-sidebar-nav a.active i {
    color: var(--primary);
}

.admin-sidebar-footer {
    padding: 15px 10px;
    border-top: 1px solid var(--border-color);
}

.admin-sidebar-footer a {
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-sidebar-footer a:hover {
    background: rgba(231, 76, 60, 0.06);
    color: #e74c3c;
}

/* Admin Main Content */
.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 30px 35px;
    min-height: 100vh;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-topbar h1 {
    font-size: 1.6rem;
    font-weight: 700;
}

.admin-topbar h1 small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 10px;
}

.admin-topbar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Admin Stats Cards */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.admin-stat-card {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius);
    padding: 24px 22px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.admin-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.06;
    transform: translate(30%, -30%);
}

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

.admin-stat-card .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: white;
}

.admin-stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.2;
}

.admin-stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.admin-stat-card .stat-change {
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 8px;
}

/* Stat card color variants */
.stat-orders .stat-icon { background: linear-gradient(135deg, #667eea, #764ba2); }
.stat-orders::after { background: #667eea; }

.stat-pending .stat-icon { background: linear-gradient(135deg, #f093fb, #f5576c); }
.stat-pending::after { background: #f5576c; }

.stat-revenue .stat-icon { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.stat-revenue::after { background: #4facfe; }

.stat-users .stat-icon { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.stat-users::after { background: #43e97b; }

.stat-items .stat-icon { background: linear-gradient(135deg, #fa709a, #fee140); }
.stat-items::after { background: #fa709a; }

.stat-reservations .stat-icon { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.stat-reservations::after { background: #a18cd1; }

.stat-coupons .stat-icon { background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.stat-coupons::after { background: #fcb69f; }

/* Admin Cards */
.admin-card {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    transition: var(--transition);
}

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

.admin-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.admin-card-body {
    padding: 24px;
}

.admin-card-body.no-padding {
    padding: 0;
}

/* Enhanced Admin Tables */
.admin-table-enhanced {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table-enhanced thead th {
    padding: 14px 20px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.admin-table-enhanced thead th:first-child {
    border-radius: 0;
}

.admin-table-enhanced tbody tr {
    transition: var(--transition);
}

.admin-table-enhanced tbody tr:hover {
    background: rgba(var(--primary-rgb), 0.03);
}

.admin-table-enhanced tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    vertical-align: middle;
}

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

.admin-table-enhanced .cell-highlight {
    font-weight: 600;
}

.table-actions {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
}

.table-actions .btn-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.table-actions .btn-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.table-actions .btn-icon.danger:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.table-actions .btn-icon.success:hover {
    border-color: #2ecc71;
    color: #2ecc71;
}

/* Admin Status Badges */
.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.admin-badge i {
    font-size: 0.65rem;
}

.admin-badge-success { background: rgba(46, 204, 113, 0.12); color: #2ecc71; }
.admin-badge-warning { background: rgba(243, 156, 18, 0.12); color: #f39c12; }
.admin-badge-danger { background: rgba(231, 76, 60, 0.12); color: #e74c3c; }
.admin-badge-info { background: rgba(52, 152, 219, 0.12); color: #3498db; }
.admin-badge-purple { background: rgba(155, 89, 182, 0.12); color: #9b59b6; }
.admin-badge-secondary { background: rgba(149, 165, 166, 0.12); color: #95a5a6; }

/* Admin Form Card */
.admin-form-card {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    overflow: hidden;
}

.admin-form-card-header {
    padding: 18px 24px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-form-card-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.admin-form-card-body {
    padding: 24px;
}

/* Admin Filter Tabs */
.admin-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    padding: 4px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.admin-tab {
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    background: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-family: inherit;
}

.admin-tab:hover {
    color: var(--text-primary);
}

.admin-tab.active {
    background: var(--bg-card);
    color: var(--primary);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Quick Actions Grid */
.admin-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.quick-action-card {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--radius-sm);
    padding: 22px 18px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    display: block;
    color: var(--text-primary);
}

.quick-action-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
    color: var(--primary);
}

.quick-action-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.quick-action-card span {
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
}

/* Mobile responsive admin */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        width: 260px;
    }
    .admin-sidebar.open {
        transform: translateX(0);
    }
    .admin-main {
        margin-left: 0;
        padding: 20px;
    }
    .admin-stats {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    .admin-stat-card .stat-value {
        font-size: 1.4rem;
    }
    .admin-sidebar-toggle {
        display: block !important;
        background: none;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        font-size: 1.2rem;
        color: var(--text-primary);
        cursor: pointer;
    }
}

@media (min-width: 769px) {
    .admin-sidebar-toggle { display: none !important; }
}
