/* =====================================================
   FOOD MUNCH - GLOBAL STYLES
===================================================== */

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


/* =====================================================
   CSS RESET
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1f2937;
    background-color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}


/* =====================================================
   COMMON CONTAINER
===================================================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =====================================================
   NAVBAR
===================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar {
    min-height: 58px;
}

.navbar-container {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}


/* Logo */

.logo {
    color: #f97316;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}


/* Navigation */

.nav-menu {
    list-style: none;

    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: nowrap;
    min-width: 0;
}

.nav-menu > .nav-item {
    flex-shrink: 0;
}

.nav-link {
    color: #374151;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;

    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #f97316;
}


/* Mobile Menu Button */

.menu-button {
    display: none;

    border: none;
    background: transparent;

    font-size: 1.5rem;
    color: #374151;
}


/* =====================================================
   HERO SECTION
===================================================== */

.hero-section {
    min-height: 650px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1600&q=80");

    background-size: cover;
    background-position: center;
}

.hero-container {
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    color: #ffffff;
}

.hero-small-text {
    margin-bottom: 10px;

    color: #fb923c;
    font-size: 1rem;
    font-weight: 600;
}

.hero-title {
    margin-bottom: 20px;

    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
}

.hero-title span {
    display: block;
    color: #fb923c;
}

.hero-description {
    max-width: 600px;
    margin-bottom: 30px;

    color: #e5e7eb;
    font-size: 1.05rem;
}


/* Hero Buttons */

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 25px;

    border-radius: 8px;

    font-size: 0.95rem;
    font-weight: 600;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease;
}

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

.primary-btn {
    background-color: #f97316;
    color: #ffffff;
}

.primary-btn:hover {
    background-color: #ea580c;
}

.secondary-btn {
    background-color: #ffffff;
    color: #f97316;
}

.secondary-btn:hover {
    background-color: #fff7ed;
}


/* =====================================================
   COMMON SECTION STYLES
===================================================== */

.why-section,
.menu-section,
.delivery-section,
.follow-section {
    padding: 90px 0;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 50px;

    text-align: center;
}

.section-subtitle {
    margin-bottom: 5px;

    color: #f97316;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-title {
    margin-bottom: 12px;

    color: #111827;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
    font-weight: 700;
}

.section-description {
    color: #6b7280;
    font-size: 1rem;
}


/* =====================================================
   WHY CHOOSE US
===================================================== */

.why-section {
    background-color: #fff7ed;
}

.features-container {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.feature-card {
    padding: 35px 25px;

    background-color: #ffffff;

    border: 1px solid #fed7aa;
    border-radius: 15px;

    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: #fff7ed;

    font-size: 2rem;
}

.feature-title {
    margin-bottom: 10px;

    color: #111827;
    font-size: 1.2rem;
}

.feature-description {
    color: #6b7280;
    font-size: 0.9rem;
}


/* =====================================================
   EXPLORE MENU
===================================================== */

.menu-section {
    background-color: #ffffff;
}


/* Search */

.menu-search {
    max-width: 600px;
    margin: 0 auto 25px;
}

.menu-search label {
    display: block;
    margin-bottom: 8px;

    color: #374151;
    font-size: 0.9rem;
    font-weight: 600;
}

.menu-search input {
    width: 100%;
    height: 50px;

    padding: 0 18px;

    border: 1px solid #d1d5db;
    border-radius: 8px;

    outline: none;

    color: #111827;
    background-color: #ffffff;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.menu-search input:focus {
    border-color: #f97316;

    box-shadow:
        0 0 0 3px rgba(249, 115, 22, 0.12);
}


/* Category Buttons */

.category-buttons {
    margin-bottom: 40px;

    display: flex;
    justify-content: center;
    gap: 10px;

    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;

    border: 1px solid #fed7aa;
    border-radius: 30px;

    background-color: #ffffff;
    color: #f97316;

    font-size: 0.9rem;
    font-weight: 600;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background-color: #f97316;
    color: #ffffff;
}


/* Food Container */

.food-container {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}


/*
    Food cards will be created
    dynamically using JavaScript.
*/

.food-card {
    overflow: hidden;

    background-color: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 15px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.food-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.1);
}

.food-image {
    width: 100%;
    height: 200px;

    object-fit: cover;
}

.food-content {
    padding: 20px;
}

.food-title {
    margin-bottom: 5px;

    color: #111827;
    font-size: 1.1rem;
    font-weight: 600;
}

.food-description {
    margin-bottom: 12px;

    color: #6b7280;
    font-size: 0.85rem;
}

.food-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.food-price {
    color: #f97316;
    font-size: 1.1rem;
    font-weight: 700;
}

.food-image {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.add-cart-btn {
    padding: 10px 16px;

    border: none;
    border-radius: 8px;

    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #ffffff;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;

    box-shadow: 0 8px 18px rgba(249, 115, 22, 0.22);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.add-cart-btn:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(234, 88, 12, 0.28);
}

.cart-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 9px;

    border: 1px solid #fed7aa;
    border-radius: 999px;

    background: #fff7ed;
    color: #c2410c;

    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.cart-button span {
    min-width: 24px;
    height: 24px;
    padding: 0 6px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f97316;
    color: #ffffff;

    font-size: 0.72rem;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1500;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100%);
    height: 100vh;
    padding: 20px 18px 16px;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(17, 24, 39, 0.12);
    transform: translateX(110%);
    transition: transform 0.3s ease;
    z-index: 1600;
    overflow-y: auto;
}

.cart-panel.active,
.cart-panel.open {
    transform: translateX(0);
}

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

.cart-header h2 {
    color: #111827;
    font-size: 1.5rem;
}

.close-cart {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #fff7ed;
    color: #c2410c;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
    padding-right: 4px;
}

.cart-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    background: #fffaf5;
}

.cart-item-image {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

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

.cart-item-content h3 {
    font-size: 0.96rem;
    margin-bottom: 4px;
    color: #111827;
}

.cart-item-price {
    color: #f97316;
    font-weight: 700;
    margin-bottom: 8px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: #fed7aa;
    color: #9a4d10;
    font-weight: 700;
    cursor: pointer;
}

.remove-item {
    border: none;
    background: transparent;
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.empty-cart {
    display: none;
    text-align: center;
    padding: 26px 16px;
    color: #6b7280;
}

.empty-cart-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.empty-cart h3 {
    color: #111827;
    margin-bottom: 8px;
}

.cart-summary {
    display: none;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: #374151;
}

.summary-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 12px 0;
}

.summary-row.total-row {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}

.checkout-btn,
.clear-cart-btn {
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.checkout-btn {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #ffffff;
    margin-top: 14px;
}

.clear-cart-btn {
    margin-top: 10px;
    background: #fff1f2;
    color: #be123c;
}

.checkout-btn:hover,
.clear-cart-btn:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}


/* =====================================================
   HEALTHY FOOD SECTION
===================================================== */

.healthy-section {
    min-height: 450px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url("https://images.unsplash.com/photo-1490645935967-10de6ba17061?auto=format&fit=crop&w=1600&q=80");

    background-size: cover;
    background-position: center;
}

.healthy-container {
    display: flex;
    justify-content: flex-end;
}

.healthy-content {
    max-width: 550px;
    padding: 45px;

    border-radius: 15px;

    background-color: rgba(255, 255, 255, 0.95);
}

.healthy-content .section-title {
    margin-top: 5px;
}


/* =====================================================
   DELIVERY & PAYMENT
===================================================== */

.delivery-section {
    background-color: #f9fafb;
}

.delivery-container {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.delivery-card {
    padding: 35px 25px;

    background-color: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 15px;

    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.delivery-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.08);
}

.delivery-icon {
    margin-bottom: 15px;

    font-size: 2.5rem;
}

.delivery-card h3 {
    margin-bottom: 10px;

    color: #111827;
}

.delivery-card p {
    color: #6b7280;
    font-size: 0.9rem;
}


/* =====================================================
   FOLLOW US
===================================================== */

.follow-section {
    background-color: #fff7ed;
}

.social-container {
    display: flex;
    justify-content: center;
    gap: 15px;

    flex-wrap: wrap;
}

.social-link {
    min-width: 120px;
    padding: 12px 20px;

    border: 1px solid #fed7aa;
    border-radius: 8px;

    background-color: #ffffff;
    color: #f97316;

    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.social-link:hover {
    background-color: #f97316;
    color: #ffffff;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background-color: #111827;
    color: #ffffff;
}

.footer-container {
    padding: 60px 0;

    display: grid;

    grid-template-columns:
        2fr 1fr 1.5fr;

    gap: 50px;
}

.footer-logo {
    margin-bottom: 10px;

    color: #fb923c;
}

.footer-content p,
.footer-contact p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9ca3af;

    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fb923c;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-bottom {
    padding: 20px;

    border-top: 1px solid #374151;

    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.8rem;
}


/* =====================================================
   RESPONSIVE DESIGN
===================================================== */


/* Tablet */

@media (max-width: 1100px) and (min-width: 769px) {

    .logo {
        font-size: 1.5rem;
    }

    .nav-menu {
        gap: 7px;
    }

    .nav-link {
        font-size: 0.84rem;
    }

    .cart-button {
        padding: 4px 6px;
    }

    .nav-user {
        padding: 0;
    }

    .logout-button {
        padding: 3px 6px;
    }
}

@media (max-width: 992px) {

    .nav-menu {
        gap: 5px;
    }

    .nav-link {
        font-size: 0.74rem;
    }

    .cart-button {
        gap: 4px;
        padding: 7px 9px;
        font-size: 0.75rem;
    }

    .nav-user {
        padding: 6px;
        font-size: 0.8rem;
    }

    .logout-button {
        padding: 6px 8px;
        font-size: 0.75rem;
    }

    .food-container {
        grid-template-columns:
            repeat(3, 1fr);
    }

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


/* Mobile */

@media (max-width: 768px) {

    /* Navbar */

    .nav-menu {
        display: none;
    }

    .menu-button {
        display: block;
    }


    /* Hero */

    .hero-section {
        min-height: 600px;
    }

    .hero-title {
        font-size: 2.8rem;
    }


    /* Features */

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


    /* Food */

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


    /* Healthy */

    .healthy-container {
        justify-content: center;
    }

    .healthy-content {
        padding: 30px;
    }


    /* Delivery */

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


    /* Footer */

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* Small Mobile */

@media (max-width: 480px) {

    .container {
        width: 92%;
    }

    .hero-section {
        min-height: 550px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .why-section,
    .menu-section,
    .delivery-section,
    .follow-section {
        padding: 65px 0;
    }

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

    .category-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
    }

    .category-btn {
        flex-shrink: 0;
    }

    .healthy-content {
        padding: 25px;
    }
}
/* =====================================================
   FOOD RATING
===================================================== */

.food-rating {
    margin-bottom: 15px;

    color: #f59e0b;
    font-size: 0.85rem;
    font-weight: 600;
}


/* =====================================================
   NO FOOD MESSAGE
===================================================== */

.no-food {
    grid-column: 1 / -1;

    padding: 50px 20px;

    text-align: center;

    border-radius: 12px;

    background-color: #f9fafb;
}

.no-food h3 {
    margin-bottom: 8px;

    color: #111827;
}

.no-food p {
    color: #6b7280;
}
/* =====================================================
   AUTHENTICATION
===================================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: #f8f9fa;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 10px;
    color: #d35400;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 10px;
}

.auth-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.form-group input:focus {
    border-color: #d35400;
}

.auth-button {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 8px;
    background: #d35400;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.auth-button:hover {
    opacity: 0.9;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: #666;
}

.auth-footer a {
    color: #d35400;
    font-weight: 600;
    text-decoration: none;
}
/* =====================================================
   USER AUTHENTICATION NAVBAR
===================================================== */

.nav-user {
    display: inline-block;
    padding: 4px 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #d35400;
    white-space: nowrap;
}

.logout-button {
    border: none;
    background: #d35400;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.logout-button:hover {
    opacity: 0.9;
}
/* =====================================================
   CHECKOUT PAGE
===================================================== */

.checkout-page {
    min-height: 100vh;
    padding: 80px 0;
    background: #f8f9fa;
}

.checkout-container {
    width: 100%;
}

.back-to-menu {
    text-decoration: none;
    color: #d35400;
    font-weight: 600;
}

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

.checkout-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.checkout-card h2 {
    margin-bottom: 25px;
    color: #333333;
}

.checkout-card textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    font-size: 15px;
    resize: vertical;
    font-family: inherit;
    outline: none;
}

.checkout-card textarea:focus {
    border-color: #d35400;
}

.checkout-card select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    font-size: 15px;
    background: #ffffff;
    outline: none;
}

.checkout-card select:focus {
    border-color: #d35400;
}

.checkout-place-order-btn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    background: #d35400;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.checkout-place-order-btn:hover {
    opacity: 0.9;
}


/* =====================================================
   CHECKOUT ITEMS
===================================================== */

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

.checkout-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
}

.checkout-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.checkout-item-details {
    flex: 1;
}

.checkout-item-details h3 {
    margin-bottom: 5px;
    font-size: 16px;
}

.checkout-item-details p {
    margin-bottom: 5px;
    color: #666666;
}

.checkout-item-details strong {
    color: #d35400;
}


/* =====================================================
   CHECKOUT SUMMARY
===================================================== */

.checkout-summary {
    margin-top: 25px;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.checkout-summary-divider {
    height: 1px;
    background: #eeeeee;
    margin: 20px 0;
}

.checkout-total-row {
    font-size: 20px;
    font-weight: 700;
    color: #d35400;
}


/* =====================================================
   CHECKOUT RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .checkout-page {
        padding: 50px 0;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-card {
        padding: 25px;
    }

    .back-to-menu {
        font-size: 14px;
    }

}

@media (max-width: 480px) {

    .checkout-card {
        padding: 20px;
    }

    .checkout-item-image {
        width: 65px;
        height: 65px;
    }

    .checkout-item-details h3 {
        font-size: 14px;
    }

}
/* =====================================================
   ORDER HISTORY
===================================================== */

.order-history-page {
    min-height: 100vh;
    padding: 80px 0;
    background: #f8f9fa;
}


/* =====================================================
   USER CARD
===================================================== */

.order-user-card {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.order-user-card div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-user-card span {
    color: #777777;
    font-size: 14px;
}

.order-user-card strong {
    color: #333333;
}


/* =====================================================
   ORDERS CONTAINER
===================================================== */

.orders-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}


/* =====================================================
   ORDER CARD
===================================================== */

.order-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}


.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
}


.order-label {
    margin-bottom: 5px;
    color: #777777;
    font-size: 13px;
}


.order-card-header h3 {
    color: #333333;
    font-size: 18px;
}


.order-status {
    padding: 8px 14px;
    border-radius: 20px;
    background: #e8f8f0;
    color: #168a4a;
    font-size: 13px;
    font-weight: 600;
}


/* =====================================================
   ORDER DATE
===================================================== */

.order-date {
    display: flex;
    gap: 8px;
    padding: 15px 0;
    color: #666666;
    font-size: 14px;
}


/* =====================================================
   ORDER ITEMS
===================================================== */

.order-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
}


.order-item {
    display: flex;
    align-items: center;
    gap: 15px;
}


.order-item-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}


.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}


.order-item-details {
    flex: 1;
}


.order-item-details h4 {
    margin-bottom: 5px;
    color: #333333;
}


.order-item-details p {
    color: #777777;
    font-size: 14px;
}


.order-item-total {
    color: #d35400;
}


/* =====================================================
   DELIVERY INFORMATION
===================================================== */

.order-delivery-info {
    padding: 20px 0;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}


.order-delivery-info h3 {
    margin-bottom: 12px;
    color: #333333;
}


.order-delivery-info p {
    margin-bottom: 8px;
    color: #666666;
    line-height: 1.5;
}


/* =====================================================
   ORDER TOTAL
===================================================== */

.order-total-section {
    padding-top: 20px;
}


.order-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #555555;
}


.order-total-divider {
    height: 1px;
    margin: 15px 0;
    background: #eeeeee;
}


.order-total-row.final {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
}


.order-total-row.final strong {
    color: #d35400;
}


/* =====================================================
   NO ORDERS
===================================================== */

.no-orders {
    display: none;
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}


.no-orders-icon {
    margin-bottom: 15px;
    font-size: 55px;
}


.no-orders h2 {
    margin-bottom: 10px;
    color: #333333;
}


.no-orders p {
    margin-bottom: 25px;
    color: #777777;
}


/* =====================================================
   ORDER HISTORY RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .order-history-page {
        padding: 50px 0;
    }


    .order-user-card {
        flex-direction: column;
    }


    .order-card {
        padding: 20px;
    }


    .order-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 480px) {

    .order-item-image {
        width: 55px;
        height: 55px;
    }


    .order-item-details h4 {
        font-size: 14px;
    }


    .order-item-total {
        font-size: 14px;
    }


    .order-total-row.final {
        font-size: 18px;
    }

}
/* =====================================================
   DARK MODE
===================================================== */

.theme-button {
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
}


.dark-mode {
    background: #121212;
    color: #ffffff;
}


.dark-mode .header {
    background: #1e1e1e;
}


.dark-mode .navbar {
    background: #1e1e1e;
}


.dark-mode .nav-link {
    color: #ffffff;
}


.dark-mode .section-title,
.dark-mode .section-description,
.dark-mode .feature-title,
.dark-mode .feature-description {
    color: #ffffff;
}


.dark-mode .feature-card,
.dark-mode .food-card,
.dark-mode .delivery-card {
    background: #1e1e1e;
    color: #ffffff;
}


.dark-mode .food-title {
    color: #ffffff;
}


.dark-mode .food-price {
    color: #ff8c42;
}


.dark-mode .menu-search input,
.dark-mode .menu-sort select {
    background: #1e1e1e;
    color: #ffffff;
    border-color: #444444;
}


.dark-mode .footer {
    background: #0d0d0d;
}
/* =====================================================
   FAVORITE BUTTON
===================================================== */

.food-image-container {
    position: relative;
}


.favorite-button {
    position: absolute;
    top: 12px;
    right: 12px;

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: #ffffff;

    font-size: 24px;

    cursor: pointer;

    box-shadow:
        0 3px 10px
        rgba(0, 0, 0, 0.15);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.favorite-button:hover {
    transform: scale(1.1);
}


.favorite-button.active {
    color: #e74c3c;
}
/* =====================================================
   MENU CONTROLS
===================================================== */

.menu-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}


.menu-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}


.menu-sort label {
    font-weight: 600;
}


.menu-sort select {
    padding: 10px 14px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background: #ffffff;
    font-size: 14px;
    cursor: pointer;
}


@media (min-width: 768px) {

    .menu-controls {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: end;
    }

}
/* =====================================================
   ORDER ACTIONS
===================================================== */

.order-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}


.track-order-button,
.reorder-button,
.cancel-order-button {
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}


.track-order-button {
    border: 1px solid #0ea5e9;
    background: #e0f2fe;
    color: #0369a1;
}


.track-order-button:hover {
    background: #bae6fd;
    transform: translateY(-1px);
}


.reorder-button {
    border: none;
    background: #d35400;
    color: #ffffff;
}


.cancel-order-button {
    border: 1px solid #e74c3c;
    background: #ffffff;
    color: #e74c3c;
}


.reorder-button:hover,
.cancel-order-button:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}
/* =====================================================
   ORDER ACTIONS
===================================================== */

.order-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
}


/* =====================================================
   REORDER BUTTON
===================================================== */

.reorder-button {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    background: #d35400;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reorder-button:hover {
    background: #b94700;
    transform: translateY(-1px);
}


/* =====================================================
   CANCEL ORDER BUTTON
===================================================== */

.cancel-order-button {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #e74c3c;
    border-radius: 8px;
    background: #ffffff;
    color: #e74c3c;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cancel-order-button:hover {
    background: #e74c3c;
    color: #ffffff;
    transform: translateY(-1px);
}


/* =====================================================
   ORDER STATUS
===================================================== */

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    background: #e8f8f0;
    color: #198754;
}

.order-status-order-placed {
    background: #e0f2fe;
    color: #0369a1;
}

.order-status-preparing {
    background: #fff7ed;
    color: #c2410c;
}

.order-status-out-for-delivery {
    background: #fef3c7;
    color: #b45309;
}

.order-status-delivered {
    background: #dcfce7;
    color: #15803d;
}

.order-status-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}


/* =====================================================
   CANCELLED ORDER STATUS
===================================================== */

.order-card:has(
    .order-status
) {
    position: relative;
}


/* =====================================================
   MOBILE RESPONSIVE
===================================================== */

@media (max-width: 600px) {

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

    .reorder-button,
    .cancel-order-button {
        width: 100%;
    }

}
/* =====================================================
   ORDER TIMELINE
===================================================== */

.order-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}


/* =====================================================
   TIMELINE STEP
===================================================== */

.timeline-step {
    position: relative;
    text-align: center;
}


/* =====================================================
   TIMELINE ICON
===================================================== */

.timeline-icon {
    width: 38px;
    height: 38px;
    margin: 0 auto 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #dddddd;
    color: #777777;

    font-size: 16px;
    font-weight: 700;
}


/* =====================================================
   COMPLETED
===================================================== */

.timeline-step.completed .timeline-icon {
    background: #198754;
    color: #ffffff;
}


/* =====================================================
   ACTIVE
===================================================== */

.timeline-step.active .timeline-icon {
    background: #d35400;
    color: #ffffff;
}


/* =====================================================
   TIMELINE CONTENT
===================================================== */

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


.timeline-content strong {
    font-size: 14px;
}


.timeline-content span {
    font-size: 12px;
    color: #777777;
}


/* =====================================================
   CANCELLED
===================================================== */

.cancelled-timeline {
    display: block;
}


.timeline-step.cancelled {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}


.timeline-step.cancelled .timeline-icon {
    margin: 0;
    background: #e74c3c;
    color: #ffffff;
}


/* =====================================================
   DARK MODE
===================================================== */

.dark-mode .order-timeline {
    background: #1e1e1e;
}


.dark-mode .timeline-content strong {
    color: #ffffff;
}


.dark-mode .timeline-content span {
    color: #bbbbbb;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .order-timeline {
        grid-template-columns: 1fr;
        gap: 15px;
    }


    .timeline-step {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }


    .timeline-icon {
        margin: 0;
        flex-shrink: 0;
    }

}
/* =====================================================
   TRACK ORDER PAGE
===================================================== */

.track-order-page {
    min-height: 100vh;
    padding: 50px 20px;
    background: #f8f9fa;
}


.track-order-container {
    max-width: 900px;
    margin: 0 auto;
}


.tracking-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}


/* =====================================================
   TRACKING HEADER
===================================================== */

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}


.tracking-header p {
    margin-bottom: 5px;
    color: #777777;
}


.tracking-header h1 {
    margin: 0;
    color: #d35400;
}


/* =====================================================
   TRACKING DATE
===================================================== */

.tracking-date {
    margin-top: 15px;
    color: #666666;
}


/* =====================================================
   TRACKING TIMELINE
===================================================== */

.tracking-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 35px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}


.tracking-step {
    text-align: center;
}


.tracking-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #dddddd;
    color: #777777;

    font-weight: 700;
}


.tracking-step.completed .tracking-icon {
    background: #198754;
    color: #ffffff;
}


.tracking-step.active .tracking-icon {
    background: #d35400;
    color: #ffffff;
}


.tracking-step-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.tracking-step-content span {
    font-size: 12px;
    color: #777777;
}


/* =====================================================
   CANCELLED
===================================================== */

.tracking-cancelled {
    margin: 30px 0;
    padding: 30px;
    text-align: center;
    background: #fff5f5;
    border-radius: 12px;
}


.tracking-cancelled-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e74c3c;
    color: #ffffff;

    font-size: 22px;
    font-weight: 700;
}


/* =====================================================
   TRACKING SECTIONS
===================================================== */

.tracking-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eeeeee;
}


.tracking-section h2 {
    margin-bottom: 20px;
}


.tracking-section p {
    margin-bottom: 10px;
}


/* =====================================================
   TRACKING ITEMS
===================================================== */

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


.tracking-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
}


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


.tracking-item h4 {
    margin-bottom: 5px;
}


.tracking-item p {
    margin: 0;
    color: #666666;
}


/* =====================================================
   TOTAL
===================================================== */

.tracking-total {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 30px;
    padding-top: 20px;

    border-top: 2px solid #eeeeee;

    font-size: 18px;
}


.tracking-total strong {
    color: #d35400;
    font-size: 22px;
}


/* =====================================================
   BACK BUTTON
===================================================== */

.tracking-actions {
    margin-top: 30px;
}


.tracking-back-button {
    display: inline-block;
    padding: 12px 20px;

    border-radius: 8px;

    background: #d35400;
    color: #ffffff;

    text-decoration: none;
    font-weight: 600;
}


.tracking-back-button:hover {
    opacity: 0.9;
}


/* =====================================================
   DARK MODE
===================================================== */

.dark-mode .track-order-page {
    background: #121212;
}


.dark-mode .tracking-card {
    background: #1e1e1e;
    color: #ffffff;
}


.dark-mode .tracking-timeline,
.dark-mode .tracking-item {
    background: #252525;
}


.dark-mode .tracking-section {
    border-color: #444444;
}


.dark-mode .tracking-item p,
.dark-mode .tracking-date {
    color: #bbbbbb;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .tracking-card {
        padding: 20px;
    }


    .tracking-header {
        flex-direction: column;
        align-items: flex-start;
    }


    .tracking-timeline {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .tracking-step {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }


    .tracking-icon {
        margin: 0;
        flex-shrink: 0;
    }

}
/* =====================================================
   ORDER SEARCH & FILTER
===================================================== */

.order-controls {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}


.order-search,
.order-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.order-search label,
.order-filter label {
    font-weight: 600;
    font-size: 14px;
}


.order-search input,
.order-filter select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background: #ffffff;
    font-size: 14px;
    outline: none;
}


.order-search input:focus,
.order-filter select:focus {
    border-color: #d35400;
}


/* =====================================================
   NO SEARCH RESULTS
===================================================== */

.no-search-results {
    padding: 40px 20px;
    text-align: center;
    color: #777777;
}


.no-search-results h3 {
    margin-bottom: 8px;
}


/* =====================================================
   DARK MODE
===================================================== */

.dark-mode .order-controls {
    background: #1e1e1e;
}


.dark-mode .order-search input,
.dark-mode .order-filter select {
    background: #252525;
    color: #ffffff;
    border-color: #444444;
}


.dark-mode .order-search label,
.dark-mode .order-filter label {
    color: #ffffff;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .order-controls {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   ADMIN DASHBOARD
========================================================= */

.admin-page {
    min-height: 100vh;
    padding: 50px 20px;
    background: #f8f9fa;
}

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


/* =========================================================
   ADMIN HEADER
========================================================= */

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

.admin-welcome {
    margin-bottom: 5px;
    color: #777777;
    font-size: 14px;
    font-weight: 500;
}

.admin-header h1 {
    margin-bottom: 8px;
    color: #d35400;
    font-size: 32px;
}

.admin-subtitle {
    color: #666666;
    font-size: 15px;
}


/* =========================================================
   STATISTICS CARDS
========================================================= */

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px 20px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.admin-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}

.admin-stat-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #fff2e8;

    font-size: 26px;

    flex-shrink: 0;
}

.admin-stat-card p {
    margin-bottom: 5px;
    color: #777777;
    font-size: 14px;
}

.admin-stat-card h2 {
    margin: 0;
    color: #222222;
    font-size: 26px;
}


/* =========================================================
   ORDER MANAGEMENT SECTION
========================================================= */

.admin-orders-section {
    margin-bottom: 40px;
}

.admin-section-header {
    margin-bottom: 20px;
}

.admin-section-header h2 {
    margin-bottom: 5px;
    font-size: 24px;
}

.admin-section-header p {
    color: #777777;
    font-size: 14px;
}


/* =========================================================
   SEARCH + FILTER
========================================================= */

.admin-controls {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 20px;

    margin-bottom: 25px;
    padding: 20px;

    background: #ffffff;

    border-radius: 12px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.admin-search,
.admin-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-search label,
.admin-filter label {
    font-size: 14px;
    font-weight: 600;
}

.admin-search input,
.admin-filter select {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid #dddddd;
    border-radius: 8px;

    background: #ffffff;

    font-size: 14px;

    outline: none;

    transition: border-color 0.2s ease;
}

.admin-search input:focus,
.admin-filter select:focus {
    border-color: #d35400;
}


/* =========================================================
   ORDERS CONTAINER
========================================================= */

.admin-orders-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* =========================================================
   ORDER CARD
========================================================= */

.admin-order-card {
    padding: 25px;

    background: #ffffff;

    border-radius: 14px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);

    transition: box-shadow 0.2s ease;
}

.admin-order-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   ORDER HEADER
========================================================= */

.admin-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;

    padding-bottom: 18px;

    border-bottom: 1px solid #eeeeee;
}

.admin-order-id {
    margin-bottom: 5px;

    color: #d35400;

    font-size: 18px;
    font-weight: 700;
}

.admin-order-date {
    color: #777777;
    font-size: 13px;
}


/* =========================================================
   STATUS BADGES
========================================================= */

.admin-status-badge {
    display: inline-block;

    padding: 7px 13px;

    border-radius: 20px;

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;
}


/* Order Placed */

.admin-status-placed {
    background: #fff3cd;
    color: #856404;
}


/* Preparing */

.admin-status-preparing {
    background: #cfe2ff;
    color: #084298;
}


/* Out for Delivery */

.admin-status-delivery {
    background: #d1e7dd;
    color: #0f5132;
}


/* Delivered */

.admin-status-delivered {
    background: #d1e7dd;
    color: #146c43;
}


/* Cancelled */

.admin-status-cancelled {
    background: #f8d7da;
    color: #842029;
}


/* =========================================================
   CUSTOMER DETAILS
========================================================= */

.admin-customer-details {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;

    margin: 20px 0;

    padding: 18px;

    background: #f8f9fa;

    border-radius: 10px;
}

.admin-customer-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-customer-item span {
    color: #777777;
    font-size: 12px;
}

.admin-customer-item strong {
    color: #333333;
    font-size: 14px;
}


/* =========================================================
   ORDER ITEMS
========================================================= */

.admin-order-items {
    margin-top: 20px;
}

.admin-order-items h3 {
    margin-bottom: 15px;

    font-size: 16px;
}

.admin-order-item {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 12px 0;

    border-bottom: 1px solid #eeeeee;
}

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

.admin-order-item img {
    width: 60px;
    height: 60px;

    object-fit: cover;

    border-radius: 8px;

    flex-shrink: 0;
}

.admin-order-item-details {
    flex: 1;
}

.admin-order-item-details h4 {
    margin-bottom: 4px;

    font-size: 14px;
}

.admin-order-item-details p {
    margin: 0;

    color: #777777;

    font-size: 13px;
}


/* =========================================================
   ORDER TOTAL
========================================================= */

.admin-order-total {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 20px;

    padding-top: 20px;

    border-top: 2px solid #eeeeee;
}

.admin-order-total span {
    color: #666666;

    font-size: 15px;
}

.admin-order-total strong {
    color: #d35400;

    font-size: 22px;
}


/* =========================================================
   ADMIN ACTIONS
========================================================= */

.admin-order-actions {
    display: flex;

    gap: 12px;

    margin-top: 20px;

    padding-top: 20px;

    border-top: 1px solid #eeeeee;
}

.admin-status-select {
    flex: 1;

    padding: 11px 13px;

    border: 1px solid #dddddd;

    border-radius: 8px;

    background: #ffffff;

    font-size: 14px;

    cursor: pointer;

    outline: none;
}

.admin-status-select:focus {
    border-color: #d35400;
}


.admin-update-button {
    padding: 11px 18px;

    border: none;

    border-radius: 8px;

    background: #198754;

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
}

.admin-update-button:hover {
    background: #157347;

    transform: translateY(-1px);
}


.admin-cancel-button {
    padding: 11px 18px;

    border: 1px solid #e74c3c;

    border-radius: 8px;

    background: #ffffff;

    color: #e74c3c;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
}

.admin-cancel-button:hover {
    background: #e74c3c;

    color: #ffffff;

    transform: translateY(-1px);
}


/* =========================================================
   NO ORDERS
========================================================= */

.admin-no-orders {
    display: none;

    padding: 50px 20px;

    text-align: center;

    background: #ffffff;

    border-radius: 14px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.admin-no-orders.show {
    display: block;
}

.admin-no-orders .no-orders-icon {
    margin-bottom: 15px;

    font-size: 45px;
}

.admin-no-orders h3 {
    margin-bottom: 8px;

    font-size: 20px;
}

.admin-no-orders p {
    color: #777777;

    font-size: 14px;
}


/* =========================================================
   DARK MODE
========================================================= */

.dark-mode .admin-page {
    background: #121212;
}

.dark-mode .admin-header h1 {
    color: #ff8c42;
}

.dark-mode .admin-welcome,
.dark-mode .admin-subtitle {
    color: #bbbbbb;
}

.dark-mode .admin-stat-card,
.dark-mode .admin-controls,
.dark-mode .admin-order-card,
.dark-mode .admin-no-orders {
    background: #1e1e1e;
    color: #ffffff;
}

.dark-mode .admin-stat-card p {
    color: #bbbbbb;
}

.dark-mode .admin-stat-card h2 {
    color: #ffffff;
}

.dark-mode .admin-stat-icon {
    background: #30251f;
}

.dark-mode .admin-section-header p {
    color: #bbbbbb;
}

.dark-mode .admin-order-header,
.dark-mode .admin-order-actions {
    border-color: #444444;
}

.dark-mode .admin-order-date {
    color: #bbbbbb;
}

.dark-mode .admin-customer-details {
    background: #252525;
}

.dark-mode .admin-customer-item span {
    color: #bbbbbb;
}

.dark-mode .admin-customer-item strong {
    color: #ffffff;
}

.dark-mode .admin-order-item {
    border-color: #444444;
}

.dark-mode .admin-order-item-details h4 {
    color: #ffffff;
}

.dark-mode .admin-order-item-details p {
    color: #bbbbbb;
}

.dark-mode .admin-order-total {
    border-color: #444444;
}

.dark-mode .admin-order-total span {
    color: #bbbbbb;
}

.dark-mode .admin-search input,
.dark-mode .admin-filter select,
.dark-mode .admin-status-select {
    background: #252525;

    color: #ffffff;

    border-color: #444444;
}

.dark-mode .admin-search label,
.dark-mode .admin-filter label {
    color: #ffffff;
}

.dark-mode .admin-no-orders p {
    color: #bbbbbb;
}


/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media (max-width: 992px) {

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

    .admin-customer-details {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .admin-page {
        padding: 35px 15px;
    }


    .admin-header {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }


    .admin-header h1 {
        font-size: 27px;
    }


    .admin-stats {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .admin-controls {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .admin-order-header {
        flex-direction: column;

        align-items: flex-start;
    }


    .admin-customer-details {
        grid-template-columns: 1fr;
    }


    .admin-order-actions {
        flex-direction: column;
    }


    .admin-status-select,
    .admin-update-button,
    .admin-cancel-button {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .admin-page {
        padding: 25px 12px;
    }


    .admin-stat-card {
        padding: 20px 15px;
    }


    .admin-stat-icon {
        width: 48px;
        height: 48px;

        font-size: 22px;
    }


    .admin-stat-card h2 {
        font-size: 22px;
    }


    .admin-order-card {
        padding: 18px;
    }


    .admin-order-item img {
        width: 50px;
        height: 50px;
    }


    .admin-order-total strong {
        font-size: 19px;
    }

}