/* ============================================================
   HOTEL DE FAST FOOD CITY
   MAIN STYLES
============================================================ */


/* ============================================================
   ROOT VARIABLES
============================================================ */

:root {

    --primary: #d96b27;
    --primary-dark: #b84f16;
    --secondary: #f3b23c;

    --background: #fffaf5;
    --surface: #ffffff;
    --surface-alt: #f7f2ed;

    --text: #202020;
    --text-light: #6f6f6f;

    --border: #e8dfd6;

    --success: #278a50;

    --shadow:
        0 10px 35px rgba(0, 0, 0, 0.08);

    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;

    --container: 1180px;

    --transition:
        0.25s ease;
}


/* ============================================================
   DARK MODE
============================================================ */

[data-theme="dark"] {

    --background: #151515;
    --surface: #202020;
    --surface-alt: #292929;

    --text: #f5f5f5;
    --text-light: #b8b8b8;

    --border: #363636;

    --shadow:
        0 10px 35px rgba(0, 0, 0, 0.35);
}


/* ============================================================
   RESET
============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.6;

    transition:
        background var(--transition),
        color var(--transition);
}


img {
    display: block;

    width: 100%;

    max-width: 100%;
}


a {
    color: inherit;

    text-decoration: none;
}


button,
input {

    font: inherit;
}


button {
    cursor: pointer;
}


/* ============================================================
   CONTAINER
============================================================ */

.container {

    width: min(
        calc(100% - 32px),
        var(--container)
    );

    margin-inline: auto;
}


/* ============================================================
   HEADER
============================================================ */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        color-mix(
            in srgb,
            var(--surface) 94%,
            transparent
        );

    backdrop-filter: blur(15px);

    border-bottom:
        1px solid var(--border);
}


.header-container {

    min-height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.logo {

    display: flex;

    align-items: center;

    gap: 10px;
}


.logo-icon {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: var(--primary);

    color: white;

    font-size: 20px;
}


.logo strong {

    display: block;

    font-size: 15px;
}


.logo small {

    display: block;

    color: var(--text-light);

    font-size: 11px;
}


.desktop-nav {

    display: none;

    align-items: center;

    gap: 28px;
}


.desktop-nav a {

    font-size: 14px;

    color: var(--text-light);

    transition: color var(--transition);
}


.desktop-nav a:hover {

    color: var(--primary);
}


.header-actions {

    display: flex;

    align-items: center;

    gap: 8px;
}


.icon-button,
.cart-button,
.mobile-menu-button {

    width: 42px;

    height: 42px;

    border: 0;

    border-radius: 50%;

    background: var(--surface-alt);

    color: var(--text);

    display: grid;

    place-items: center;

    transition: var(--transition);
}


.icon-button:hover,
.cart-button:hover,
.mobile-menu-button:hover {

    background: var(--primary);

    color: white;
}


.cart-button {

    position: relative;
}


.cart-count {

    position: absolute;

    top: -3px;

    right: -3px;

    width: 18px;

    height: 18px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--primary);

    color: white;

    font-size: 10px;

    font-weight: bold;
}


.login-button {

    border: 1px solid var(--border);

    background: transparent;

    color: var(--text);

    padding: 10px 16px;

    border-radius: 30px;

    transition: var(--transition);
}


.login-button:hover {

    background: var(--primary);

    border-color: var(--primary);

    color: white;
}


.mobile-menu {

    display: none;

    padding: 15px 16px 20px;

    border-top:
        1px solid var(--border);

    background: var(--surface);
}


.mobile-menu.active {

    display: grid;

    gap: 5px;
}


.mobile-menu a {

    padding: 13px;

    border-radius: 10px;

    color: var(--text-light);
}


.mobile-menu a:hover {

    background: var(--surface-alt);

    color: var(--primary);
}


/* ============================================================
   HERO
============================================================ */

.hero {

    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    background-image:
        url("../assets/images/hero/hero-food.jpg");

    background-size: cover;

    background-position: center;
}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.30)
        );
}


.hero-content {

    position: relative;

    z-index: 2;

    color: white;

    padding-block: 100px;
}


.hero-label,
.section-label {

    display: inline-block;

    margin-bottom: 12px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


.hero-label {

    color: #ffd29d;
}


.hero h1 {

    max-width: 750px;

    font-size:
        clamp(42px, 8vw, 76px);

    line-height: 1.02;

    letter-spacing: -2px;

    margin-bottom: 22px;
}


.hero p {

    max-width: 550px;

    color: #eee;

    font-size: 18px;

    margin-bottom: 32px;
}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


/* ============================================================
   BUTTONS
============================================================ */

.btn {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    min-height: 48px;

    padding:
        12px 22px;

    border-radius: 10px;

    border: 1px solid transparent;

    font-weight: 700;

    transition: var(--transition);
}


.btn-primary {

    background: var(--primary);

    color: white;
}


.btn-primary:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);
}


.btn-outline {

    border-color: rgba(255,255,255,0.7);

    color: white;

    background:
        rgba(255,255,255,0.08);
}


.btn-outline:hover {

    background: white;

    color: #222;
}


.btn-dark {

    background: var(--text);

    color: var(--background);
}


.full-width {

    width: 100%;
}

/* =========================================================
   AUTH MODAL PRIMARY BUTTONS
   Matches the existing .btn-primary styling
========================================================= */

.primary-button {
    padding: 13px 20px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

.primary-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.primary-button:active {
    transform: translateY(0);
}

.primary-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
#loginForm .primary-button,
#registerForm .primary-button {
    width: 100%;
}
/* ============================================================
   SECTIONS
============================================================ */

.section {

    padding-block: 80px;
}


.section-heading {

    margin-bottom: 42px;
}


.section-heading h2 {

    font-size:
        clamp(30px, 5vw, 44px);

    line-height: 1.15;

    letter-spacing: -1px;

    margin-bottom: 10px;
}


.section-heading p {

    max-width: 600px;

    color: var(--text-light);
}


.heading-row {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;
}


.text-link {

    color: var(--primary);

    font-weight: 700;

    white-space: nowrap;
}


/* ============================================================
   CATEGORY GRID
============================================================ */

.category-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;
}


.category-card {

    position: relative;

    min-height: 170px;

    overflow: hidden;

    border-radius: var(--radius);

    background: var(--surface);

    box-shadow: var(--shadow);
}


.category-card img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.category-card:hover img {

    transform: scale(1.08);
}


.category-card::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 25%,
            rgba(0,0,0,0.78)
        );
}


.category-card-content {

    position: absolute;

    z-index: 2;

    bottom: 18px;

    left: 18px;

    color: white;
}


.category-card-content h3 {

    font-size: 18px;
}


/* ============================================================
   FOOD CARDS
============================================================ */

.food-grid {

    display: grid;

    grid-template-columns:
        1fr;

    gap: 22px;
}


.food-card {

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background: var(--surface);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.food-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow);
}


.food-image {

    position: relative;

    aspect-ratio: 4 / 3;

    overflow: hidden;
}


.food-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.food-card:hover .food-image img {

    transform: scale(1.05);
}


.food-content {

    padding: 18px;
}


.food-category {

    font-size: 11px;

    color: var(--primary);

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.food-content h3 {

    margin-top: 5px;

    margin-bottom: 7px;

    font-size: 20px;
}


.food-description {

    color: var(--text-light);

    font-size: 14px;

    min-height: 45px;

    margin-bottom: 18px;
}


.food-bottom {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;
}


.food-price {

    font-size: 19px;

    font-weight: 800;
}


.add-food {

    border: 0;

    background: var(--primary);

    color: white;

    border-radius: 9px;

    padding: 9px 13px;

    font-weight: 700;
}


/* ============================================================
   CATERING
============================================================ */

.catering-section {

    min-height: 480px;

    display: flex;

    align-items: center;

    background-image:
        linear-gradient(
            rgba(0,0,0,0.6),
            rgba(0,0,0,0.6)
        ),
        url("../assets/images/catering/catering-banner.jpg");

    background-size: cover;

    background-position: center;

    color: white;
}


.catering-content {

    max-width: 650px;

    padding-block: 80px;
}


.catering-content h2 {

    font-size:
        clamp(35px, 6vw, 55px);

    line-height: 1.1;

    margin-bottom: 18px;
}


.catering-content p {

    color: #eee;

    font-size: 17px;

    margin-bottom: 28px;
}


/* ============================================================
   ABOUT
============================================================ */

.about-grid {

    display: grid;

    gap: 40px;

    align-items: center;
}


.about-image {

    overflow: hidden;

    border-radius: var(--radius-lg);
}


.about-image img {

    aspect-ratio: 4 / 3;

    object-fit: cover;
}


.about-content h2 {

    font-size:
        clamp(30px, 5vw, 45px);

    line-height: 1.1;

    margin-bottom: 18px;
}


.about-content p {

    color: var(--text-light);

    margin-bottom: 15px;
}


/* ============================================================
   GALLERY
============================================================ */

.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;
}


.gallery-item {

    overflow: hidden;

    border-radius: 12px;

    min-height: 150px;
}


.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.gallery-item:hover img {

    transform: scale(1.08);
}


.gallery-large {

    grid-column:
        span 2;

    min-height: 250px;
}


/* ============================================================
   TESTIMONIALS
============================================================ */

.testimonials-section {

    background: var(--surface-alt);
}


.testimonial-grid {

    display: grid;

    gap: 18px;
}


.testimonial-card {

    padding: 26px;

    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: var(--radius);
}


.stars {

    color: var(--secondary);

    letter-spacing: 3px;

    margin-bottom: 14px;
}


.testimonial-card p {

    color: var(--text-light);

    margin-bottom: 20px;
}


/* ============================================================
   CONTACT
============================================================ */

.contact-section {

    background: var(--surface);
}


.contact-grid {

    display: grid;

    gap: 40px;
}


.contact-grid h2 {

    font-size:
        clamp(32px, 5vw, 48px);

    line-height: 1.1;

    margin-bottom: 15px;
}


.contact-grid > div:first-child p {

    color: var(--text-light);

    max-width: 500px;
}


.contact-details {

    display: grid;

    gap: 20px;
}


.contact-item {

    display: flex;

    gap: 14px;

    align-items: flex-start;
}


.contact-item > span {

    width: 42px;

    height: 42px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--surface-alt);
}


.contact-item small {

    color: var(--primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}


.contact-item p {

    color: var(--text-light);

    margin-top: 2px;
}


/* ============================================================
   FOOTER
============================================================ */

.site-footer {

    background: #171717;

    color: white;

    padding-top: 55px;
}


.footer-grid {

    display: grid;

    gap: 35px;
}


.footer-logo {

    margin-bottom: 15px;
}


.footer-grid p {

    color: #aaa;

    font-size: 14px;
}


.footer-grid h4 {

    margin-bottom: 15px;
}


.footer-grid > div:not(:first-child) a {

    display: block;

    color: #aaa;

    margin-bottom: 8px;

    font-size: 14px;
}


.footer-grid a:hover {

    color: var(--primary);
}


.social-links {

    display: grid;

    gap: 5px;
}


.footer-bottom {

    margin-top: 45px;

    padding-block: 20px;

    border-top:
        1px solid #333;
}


.footer-bottom p {

    color: #777;

    font-size: 12px;
}


/* ============================================================
   CART
============================================================ */

.overlay {

    position: fixed;

    inset: 0;

    z-index: 2000;

    background:
        rgba(0,0,0,0.55);

    opacity: 0;

    pointer-events: none;

    transition: opacity var(--transition);
}


.overlay.active {

    opacity: 1;

    pointer-events: auto;
}


.cart-panel {

    position: fixed;

    top: 0;

    right: 0;

    z-index: 2100;

    width: min(
        100%,
        420px
    );

    height: 100vh;

    display: flex;

    flex-direction: column;

    background: var(--surface);

    transform:
        translateX(100%);

    transition:
        transform 0.3s ease;
}


.cart-panel.active {

    transform:
        translateX(0);
}


.cart-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px;

    border-bottom:
        1px solid var(--border);
}


.close-button,
.cart-close,
.modal-close {

    width: 36px;

    height: 36px;

    border: 0;

    border-radius: 50%;

    background: var(--surface-alt);

    color: var(--text);

    font-size: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}


.cart-close:hover,
.close-button:hover,
.modal-close:hover {

    background: var(--primary);

    color: #ffffff;

    transform: scale(1.05);
}


.cart-items {

    flex: 1;

    overflow-y: auto;

    padding: 20px;
}


.empty-cart {

    text-align: center;

    padding-top: 100px;

    color: var(--text-light);
}


.empty-cart div {

    font-size: 45px;

    margin-bottom: 15px;
}


.cart-footer {

    padding: 20px;

    border-top:
        1px solid var(--border);
}


.cart-total {

    display: flex;

    justify-content: space-between;

    font-size: 18px;

    margin-bottom: 15px;
}


.cart-item {

    display: grid;

    grid-template-columns: 65px 1fr auto;

    gap: 12px;

    align-items: center;

    margin-bottom: 15px;
}


.cart-item img {

    width: 65px;

    height: 65px;

    object-fit: cover;

    border-radius: 9px;
}


.cart-item small {

    color: var(--text-light);

    display: block;
}


.remove-cart-item {

    border: 0;

    background: transparent;

    color: #d44;

}


/* ============================================================
   MODAL
============================================================ */

.modal {

    position: fixed;

    inset: 0;

    z-index: 3000;

    display: grid;

    place-items: center;

    padding: 20px;

    background:
        rgba(0,0,0,0.6);

    opacity: 0;

    pointer-events: none;

    transition: opacity var(--transition);
}


.modal.active {

    opacity: 1;

    pointer-events: auto;
}


.modal-content {

    position: relative;

    width: min(
        100%,
        460px
    );

    padding: 32px;

    border-radius: var(--radius-lg);

    background: var(--surface);

    box-shadow: var(--shadow);
}


.modal-close {

    position: absolute;

    top: 15px;

    right: 15px;
}


.modal-content h2 {

    margin-bottom: 8px;

    font-size: 32px;
}


.modal-content > p {

    color: var(--text-light);

    margin-bottom: 25px;
}


.modal-content form {

    display: grid;

    gap: 16px;
}


.modal-content label {

    display: grid;

    gap: 7px;

    font-size: 13px;

    font-weight: 700;
}


.modal-content input {

    width: 100%;

    border:
        1px solid var(--border);

    background: var(--surface-alt);

    color: var(--text);

    border-radius: 9px;

    padding: 13px 14px;

    outline: none;
}


.modal-content input:focus {

    border-color: var(--primary);
}


.modal-note {

    font-size: 12px;

    margin-top: 20px;

    text-align: center;
}
/* =========================================================
   MENU PAGE
========================================================= */

.page-hero {
    padding: 150px 0 80px;
    background:
        linear-gradient(
            135deg,
            var(--surface),
            var(--background)
        );
    text-align: center;
}

.page-hero h1 {
    margin: 15px auto;
    max-width: 800px;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
}

.page-hero p {
    max-width: 650px;
    margin: 20px auto 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}


/* =========================================================
   MENU TOOLBAR
========================================================= */

.menu-section {
    padding: 80px 0;
}

.menu-toolbar {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
}

.menu-search {
    width: 100%;
    max-width: 650px;
}

.menu-search input {
    width: 100%;
    height: 58px;
    padding: 0 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    font-size: 1rem;
    outline: none;
    transition: 0.25s ease;
}

.menu-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   CATEGORY FILTERS
========================================================= */

.menu-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 45px;
}

.category-filter {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    padding: 11px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.25s ease;
    font-size: 0.92rem;
}

.category-filter:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.category-filter.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}


/* =========================================================
   FOOD GRID
========================================================= */

.menu-food-grid {
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(250px, 1fr)
        );
}

.food-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.food-card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.10);
}

.food-card-image {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: var(--surface-alt);
}

.food-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.food-card:hover .food-card-image img {
    transform: scale(1.06);
}

.food-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.food-card-body {
    padding: 20px;
}

.food-category {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.food-card h3 {
    margin-bottom: 9px;
    font-size: 1.2rem;
}

.food-card p {
    min-height: 58px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.food-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 18px;
}

.food-price {
    font-size: 1.05rem;
}

.small-button {
    padding: 9px 14px;
    font-size: 0.85rem;
}


/* =========================================================
   FOOD DETAIL MODAL
========================================================= */

.food-detail-modal {
    width: min(900px, 92vw);
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
}

.food-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.food-detail-image {
    min-height: 450px;
    background: var(--surface-alt);
}

.food-detail-image img {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
}

.food-detail-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px;
}

.food-detail-info h2 {
    margin: 5px 0 15px;
    font-size: 2rem;
}

.food-detail-info p {
    color: var(--text-muted);
    line-height: 1.7;
}

.food-detail-price {
    margin: 25px 0;
    font-size: 1.4rem;
    font-weight: 800;
}


/* =========================================================
   QUANTITY SELECTOR
========================================================= */

.quantity-selector {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.quantity-selector button {
    width: 45px;
    height: 45px;
    border: none;
    background: var(--surface-alt);
    color: var(--text);
    cursor: pointer;
    font-size: 1.2rem;
}

.quantity-selector span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    font-weight: 700;
}


/* =========================================================
   EMPTY MENU
========================================================= */

.empty-menu {
    text-align: center;
    padding: 80px 20px;
}

.empty-menu[hidden] {
    display: none;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.empty-menu p {
    color: var(--text-muted);
}


/* =========================================================
   CART ITEM IMPROVEMENTS
========================================================= */

.cart-item {
    display: grid;
    grid-template-columns: 65px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-image {
    width: 65px;
    height: 65px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--surface-alt);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h4 {
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.cart-item-info > span {
    display: block;
    margin-bottom: 7px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-button {
    width: 27px;
    height: 27px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.cart-item-total {
    font-size: 0.85rem;
}

.cart-item-label {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.cart-summary {
    border-top: 1px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    font-size: 1.15rem;
}

.checkout-button {
    width: 100%;
    margin-top: 20px;
}

.empty-cart {
    padding: 60px 20px;
    text-align: center;
}

.empty-cart-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.empty-cart p {
    color: var(--text-muted);
}


/* =========================================================
   CART MOBILE
========================================================= */

@media (max-width: 700px) {

    .page-hero {
        padding: 125px 20px 60px;
    }

    .menu-section {
        padding: 55px 0;
    }

    .menu-categories {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .category-filter {
        flex-shrink: 0;
    }

    .food-detail-content {
        grid-template-columns: 1fr;
    }

    .food-detail-image {
        min-height: 280px;
        max-height: 320px;
    }

    .food-detail-image img {
        min-height: 280px;
        max-height: 320px;
    }

    .food-detail-info {
        padding: 30px 22px;
    }

    .food-detail-info h2 {
        font-size: 1.6rem;
    }

    .cart-item {
        grid-template-columns: 55px 1fr;
    }

    .cart-item-image {
        width: 55px;
        height: 55px;
    }

    .cart-item-total {
        display: none;
    }

}
/* =========================================
   HEADER ALIGNMENT
========================================= */

.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */

.site-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 1.1;
}

.logo-main {
    font-size: 1.15rem;
    font-weight: 800;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.7;
    margin-top: 3px;
}

/* Desktop Navigation */

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-left: auto;
}

.desktop-nav a {
    display: inline-flex;
    align-items: center;
    height: 40px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    transform: scaleX(1);
}

/* Header actions */

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

/* Theme button */

.header-icon-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Cart button */

.header-cart-button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    background: transparent;
}

.cart-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
}

/* Login */

.header-login {
    white-space: nowrap;
}

/* Mobile menu */

.mobile-menu-button {
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 1.4rem;
}
@media (max-width: 900px) {

    .header-inner {
        min-height: 70px;
        gap: 12px;
    }

    .desktop-nav {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .mobile-menu-button {
        display: inline-flex;
    }

    .header-login {
        display: none;
    }

}
/* =========================================
   FOOD CARD CART BUTTON
========================================= */

.food-cart-button {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    cursor: pointer;

    font-size: 1.05rem;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.food-add-icon {
    color: var(--primary);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
}

.food-cart-button:hover {
    transform: translateY(-2px);
}

.food-cart-button:active {
    transform: scale(0.94);
}
/* =========================================
   HOTEL DE FAST FOOD CITY BRAND
========================================= */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--primary-color, #e85d04);
    color: #ffffff;

    font-size: 20px;
    font-weight: 800;
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.brand-top {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;

    margin-bottom: 4px;

    opacity: 0.7;
}

.brand-text strong {
    font-size: 17px;
    font-weight: 800;

    letter-spacing: 0.3px;

    white-space: nowrap;
}
/* =========================================
   MOBILE NAVIGATION
   Matches the Home page mobile menu
========================================= */

.mobile-nav {

    display: none;

    padding: 15px 16px 20px;

    border-top:
        1px solid var(--border);

    background: var(--surface);

}

.mobile-nav.active {

    display: grid;

    gap: 5px;

}

.mobile-nav a {

    padding: 13px;

    border-radius: 10px;

    color: var(--text-light);

}

.mobile-nav a:hover {

    background: var(--surface-alt);

    color: var(--primary);

}
/* =========================================
   MODERN HAMBURGER BUTTON
========================================= */

.menu-toggle {
    width: 42px;
    height: 42px;

    padding: 0;
    border: none;
    border-radius: 12px;

    background: transparent;
    color: inherit;

    display: none;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


/* Hamburger lines */

.menu-toggle span {
    display: block;

    width: 21px;
    height: 2px;

    border-radius: 999px;

    background: currentColor;

    transition:
        transform 0.3s ease,
        opacity 0.25s ease,
        width 0.25s ease;
}


/* Hover */

.menu-toggle:hover {
    background: rgba(128, 128, 128, 0.12);
}


/* =========================================
   OPEN / X STATE
========================================= */

.menu-toggle.active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}
/* =========================================================
CHECKOUT PAGE
========================================================= */

.checkout-section {
padding: 110px 0 80px;
}

.checkout-heading {
max-width: 700px;
margin-bottom: 45px;
}

.checkout-heading h1 {
margin: 10px 0 12px;
font-size: clamp(2.4rem, 6vw, 4rem);
line-height: 1.05;
}

.checkout-heading p {
color: var(--text-light);
font-size: 1rem;
}

/* =========================================================
CHECKOUT GRID
========================================================= */

.checkout-grid {
display: grid;
grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
gap: 30px;
align-items: start;
}

.checkout-card {
padding: 30px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface);
box-shadow: var(--shadow);
}

.checkout-summary {
position: sticky;
top: 105px;
}

/* =========================================================
CHECKOUT CARD HEADER
========================================================= */

.checkout-card-header {
display: flex;
align-items: flex-start;
gap: 15px;
margin-bottom: 30px;
}

.checkout-step {
width: 38px;
height: 38px;
flex-shrink: 0;
display: grid;
place-items: center;
border-radius: 50%;
background: var(--primary);
color: white;
font-size: 0.75rem;
font-weight: 800;
}

.checkout-card-header h2 {
margin-bottom: 4px;
font-size: 1.35rem;
}

.checkout-card-header p {
color: var(--text-light);
font-size: 0.85rem;
}

/* =========================================================
CHECKOUT FORM
========================================================= */

#checkoutForm {
display: grid;
gap: 20px;
}

.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}

.form-group {
display: grid;
gap: 8px;
}

.form-group label {
font-size: 0.85rem;
font-weight: 700;
color: var(--text);
}

.form-group label span {
margin-left: 5px;
color: var(--text-light);
font-size: 0.75rem;
font-weight: 400;
}

.form-group input,
.form-group textarea {
width: 100%;
border: 1px solid var(--border);
border-radius: 10px;
padding: 13px 14px;
background: var(--surface-alt);
color: var(--text);
outline: none;
transition:
border-color 0.25s ease,
box-shadow 0.25s ease;
}

.form-group textarea {
resize: vertical;
min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
border-color: var(--primary);
box-shadow:
0 0 0 3px rgba(217, 107, 39, 0.10);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
color: var(--text-light);
opacity: 0.75;
}

/* =========================================================
   ORDER TYPE
========================================================= */

.order-type-options {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;

}


/* Individual option */

.order-type-option {

    position: relative;

    display: flex;

    align-items: center;

    gap: 12px;

    min-height: 68px;

    padding: 14px 16px;

    border: 1.5px solid var(--border);

    border-radius: 14px;

    background: var(--surface-alt);

    cursor: pointer;

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease;

}


/* Hover */

.order-type-option:hover {

    border-color: var(--primary);

    transform: translateY(-1px);

}


/* Radio button */

.order-type-option input {

    width: 18px;

    height: 18px;

    flex-shrink: 0;

    margin: 0;

    accent-color: var(--primary);

    cursor: pointer;

}


/* Text */

.order-type-option span {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 1.08rem;

    font-weight: 750;

    color: var(--text);

}


/* Selected option */

.order-type-option:has(
    input:checked
) {

    border-color: var(--primary);

    background: rgba(
        217,
        107,
        39,
        0.08
    );

    box-shadow:
        0 0 0 3px rgba(
            217,
            107,
            39,
            0.10
        );

}


/* Selected text */

.order-type-option:has(
    input:checked
) span {

    color: var(--primary);

}


/* Keyboard focus */

.order-type-option:has(
    input:focus-visible
) {

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(
            217,
            107,
            39,
            0.14
        );

}


/* Active press */

.order-type-option:active {

    transform: scale(0.99);

}

/* =========================================================
CHECKOUT ITEMS
========================================================= */

.checkout-items {
display: grid;
gap: 15px;
max-height: 420px;
overflow-y: auto;
padding-right: 4px;
}

.checkout-item {
display: grid;
grid-template-columns: 60px 1fr auto;
gap: 12px;
align-items: center;
padding-bottom: 15px;
border-bottom: 1px solid var(--border);
}

.checkout-item-image {
width: 60px;
height: 60px;
overflow: hidden;
border-radius: 10px;
background: var(--surface-alt);
}

.checkout-item-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.checkout-item-info h4 {
margin-bottom: 3px;
font-size: 0.9rem;
}

.checkout-item-info p {
color: var(--text-light);
font-size: 0.78rem;
}

.checkout-item-total {
font-size: 0.85rem;
white-space: nowrap;
}

/* =========================================================
CHECKOUT TOTALS
========================================================= */

.checkout-totals {
margin-top: 25px;
padding-top: 18px;
border-top: 1px solid var(--border);
}

.checkout-total-row {
display: flex;
justify-content: space-between;
gap: 20px;
padding: 7px 0;
color: var(--text-light);
font-size: 0.9rem;
}

.checkout-total-row strong {
color: var(--text);
}

.checkout-grand-total {
display: flex;
justify-content: space-between;
gap: 20px;
margin-top: 12px;
padding-top: 17px;
border-top: 1px solid var(--border);
font-size: 1.15rem;
font-weight: 800;
}

.checkout-grand-total strong {
color: var(--primary);
}

/* =========================================================
PLACE ORDER
========================================================= */

.checkout-place-order {
margin-top: 25px;
min-height: 52px;
}

.checkout-back {
display: block;
margin-top: 15px;
text-align: center;
color: var(--text-light);
font-size: 0.85rem;
transition: color 0.25s ease;
}

.checkout-back:hover {
color: var(--primary);
}

/* =========================================================
CHECKOUT EMPTY CART
========================================================= */

.checkout-empty {
padding: 40px 15px;
text-align: center;
color: var(--text-light);
}

.checkout-empty-icon {
margin-bottom: 12px;
font-size: 2.8rem;
}

.checkout-empty h3 {
margin-bottom: 5px;
color: var(--text);
font-size: 1rem;
}

.checkout-empty p {
font-size: 0.85rem;
}

/* =========================================================
CHECKOUT RESPONSIVE
========================================================= */

@media (max-width: 899px) {


.checkout-section {
    padding: 95px 0 60px;
}

.checkout-grid {
    grid-template-columns: 1fr;
}

.checkout-summary {
    position: static;
}


}

@media (max-width: 600px) {


.checkout-section {
    padding: 80px 0 50px;
}

.checkout-heading {
    margin-bottom: 30px;
}

.checkout-heading h1 {
    font-size: 2.3rem;
}

.checkout-card {
    padding: 22px 18px;
}

.checkout-card-header {
    margin-bottom: 24px;
}

.form-row {
    grid-template-columns: 1fr;
    gap: 20px;
}

.order-type-options {
    grid-template-columns: 1fr;
}

.checkout-item {
    grid-template-columns: 52px 1fr;
}

.checkout-item-image {
    width: 52px;
    height: 52px;
}

.checkout-item-total {
    grid-column: 2;
}
}
/* =========================================================
   ORDER CONFIRMATION
========================================================== */

.order-confirmation {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.confirmation-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--success);
    color: #ffffff;

    font-size: 34px;
    font-weight: 700;
}

.order-confirmation h1 {
    margin: 10px 0 15px;
}

.confirmation-message {
    max-width: 650px;
    margin: 0 auto 30px;
    color: var(--text-light);
}

.order-number-card {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;

    margin-top: 24px;
    margin-bottom: 24px;

    padding: 18px 30px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);
    box-shadow: var(--shadow);
}

.order-number-card span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-light);
}

.order-number-card strong {
    font-size: 22px;
    color: var(--primary);
}

.confirmation-card {
    margin-top: 5px;
    padding: 25px;

    text-align: left;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);
    box-shadow: var(--shadow);
}

.confirmation-card .checkout-card-header {
    margin-bottom: 20px;
}

.confirmation-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.confirmation-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;

    padding: 14px;

    border-radius: var(--radius-sm);
    background: var(--surface-alt);
}

.confirmation-detail span {
    font-size: 12px;
    color: var(--text-light);
}

.confirmation-detail strong {
    color: var(--text);
}

.confirmation-detail-full {
    grid-column: 1 / -1;
}

.confirmation-items {
    display: grid;
    gap: 12px;
}

.confirmation-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 15px 0;

    border-bottom: 1px solid var(--border);
}

.confirmation-item:last-child {
    border-bottom: none;
}

.confirmation-item-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.confirmation-item-info span {
    font-size: 14px;
    color: var(--text-light);
}

.confirmation-totals {
    margin-top: 20px;
    padding-top: 15px;

    border-top: 1px solid var(--border);
}

.confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 12px;

    margin-top: 30px;
}

.order-confirmation-empty {
    max-width: 600px;
    margin: 0 auto;

    padding: 60px 25px;

    text-align: center;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);
    box-shadow: var(--shadow);
}

.order-confirmation-empty h1 {
    margin: 15px 0;
}

.order-confirmation-empty p {
    margin-bottom: 25px;
    color: var(--text-light);
}


/* =========================================================
   ORDER CONFIRMATION - MOBILE
========================================================== */

@media (max-width: 599px) {

    .confirmation-details {
        grid-template-columns: 1fr;
    }

    .confirmation-detail-full {
        grid-column: auto;
    }

    .confirmation-card {
        padding: 18px;
    }

    .confirmation-item {
        align-items: flex-start;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .confirmation-actions .btn {
        width: 100%;
    }

}
/* =========================================================
   ORDER CONFIRMATION STATUS
========================================================== */

.confirmation-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;

    max-width: 750px;
    margin: 0 auto 25px;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);
    box-shadow: var(--shadow);
}

.status-item {
    display: flex;
    flex-direction: column;
    gap: 5px;

    min-width: 130px;
}

.status-item span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.status-item strong {
    color: var(--primary);
    font-size: 15px;
}

.status-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}


/* =========================================================
   ORDER CONFIRMATION - MOBILE
========================================================== */

@media (max-width: 599px) {

    .confirmation-status {
        flex-direction: column;
        gap: 15px;
        padding: 18px;
    }

    .status-item {
        width: 100%;
        min-width: 0;
        text-align: center;
    }

    .status-divider {
        width: 60%;
        height: 1px;
    }

}
/* =========================================================
   ORDER HISTORY
========================================================== */

.order-history-section {
    min-height: 70vh;
}


.order-history-header {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}


.order-history-header h1 {
    margin: 8px 0 12px;
}


.order-history-header p {
    margin: 0;
    color: var(--text-light);
}


/* =========================================================
   ORDER HISTORY LIST
========================================================== */

.order-history-list {
    display: grid;
    gap: 20px;

    max-width: 900px;
    margin: 0 auto;
}


/* =========================================================
   ORDER HISTORY CARD
========================================================== */

.order-history-card {
    padding: 25px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);

    box-shadow: var(--shadow);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.order-history-card:hover {
    transform: translateY(-3px);
}


/* =========================================================
   CARD HEADER
========================================================== */

.order-history-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);
}


.order-history-label {
    display: block;

    margin-bottom: 5px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;

    color: var(--text-light);
}


.order-history-card-header h2 {
    margin: 0;

    font-size: 20px;
}


/* =========================================================
   STATUS BADGE
========================================================== */

.order-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 12px;

    border-radius: 999px;

    background: rgba(39, 138, 80, 0.1);

    color: var(--success);

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   ORDER INFORMATION
========================================================== */

.order-history-info {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

    padding: 20px 0;

    border-bottom: 1px solid var(--border);
}


.order-history-info-item {
    display: flex;
    flex-direction: column;

    gap: 5px;
}


.order-history-info-item span {
    font-size: 12px;

    color: var(--text-light);
}


.order-history-info-item strong {
    font-size: 14px;

    color: var(--text);
}


/* =========================================================
   ORDER ITEMS
========================================================== */

.order-history-items {
    display: grid;

    gap: 10px;

    padding: 20px 0;
}


.order-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    font-size: 14px;
}


.order-history-item span {
    color: var(--text-light);
}


.order-history-item strong {
    color: var(--text);
    white-space: nowrap;
}


.order-history-more {
    padding-top: 3px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   CARD FOOTER
========================================================== */

.order-history-card-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 20px;

    border-top: 1px solid var(--border);
}


.order-history-card-footer > span {
    color: var(--text-light);

    font-size: 13px;
}


.order-history-view-button {
    padding: 9px 16px;

    font-size: 13px;
}


/* =========================================================
   EMPTY STATE
========================================================== */

.order-history-empty {
    max-width: 600px;

    margin: 30px auto 0;

    padding: 50px 30px;

    text-align: center;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);

    box-shadow: var(--shadow);
}


.order-history-empty h2 {
    margin: 15px 0 10px;
}


.order-history-empty p {
    max-width: 450px;

    margin: 0 auto 25px;

    color: var(--text-light);

    line-height: 1.7;
}


/* =========================================================
   ORDER HISTORY - MOBILE
========================================================== */

@media (max-width: 599px) {

    .order-history-header {
        margin-bottom: 30px;
    }


    .order-history-card {
        padding: 18px;
    }


    .order-history-card-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }


    .order-history-info {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 18px 15px;
    }


    .order-history-card-footer {
        align-items: stretch;

        flex-direction: column;

        gap: 12px;
    }


    .order-history-view-button {
        width: 100%;

        text-align: center;
    }


    .order-history-item {
        align-items: flex-start;

        flex-direction: column;

        gap: 3px;
    }

}
/* =========================================================
   AUTHENTICATION SWITCH BUTTONS
========================================================= */

.auth-switch-text {
    margin-top: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}


.auth-switch-button {
    display: inline;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: var(--primary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: color var(--transition);
}


.auth-switch-button:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
/* =========================================================
   CUSTOMER ACCOUNT
========================================================= */

.account-wrapper {
    position: relative;
}


.account-button {

    align-items: center;

    gap: 7px;

    padding: 10px 15px;

    border: 1px solid var(--border);

    border-radius: 999px;

    background: var(--surface);

    color: var(--text);

    font: inherit;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
}


.account-button:hover {
    border-color: var(--primary);
    color: var(--primary);
}


.account-arrow {
    font-size: 14px;
    line-height: 1;
    transition: transform var(--transition);
}


.account-button[aria-expanded="true"] .account-arrow {
    transform: rotate(180deg);
}


.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1000;
    min-width: 190px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}


.account-dropdown[hidden] {
    display: none;
}


.account-dropdown a,
.account-dropdown button {
    display: block;
    width: 100%;
    padding: 11px 13px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition:
        background var(--transition),
        color var(--transition);
}


.account-dropdown a:hover,
.account-dropdown button:hover {
    background: var(--surface-alt);
    color: var(--primary);
}


.account-dropdown button {
    border-top: 1px solid var(--border);
    margin-top: 5px;
    padding-top: 14px;
}


/* =========================================================
   LOGGED-IN / LOGGED-OUT STATES
========================================================= */

body.auth-logged-in .login-button {
    display: none;
}


body.auth-logged-in .account-button {
    display: inline-flex;
}


body:not(.auth-logged-in) .account-button {
    display: none;
}
/* =========================================================
   MY ACCOUNT PAGE
========================================================= */

.account-section {
    min-height: 70vh;
}


.account-page-header {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}


.account-page-header h1 {
    margin: 8px 0 12px;
}


.account-page-header p {
    margin: 0;
    color: var(--text-light);
}


.account-card,
.account-actions-card {
    max-width: 900px;
    margin: 0 auto 20px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}


.account-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}


.account-card-label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-light);
}


.account-card-header h2 {
    margin: 0;
    font-size: 21px;
}


.account-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--surface-alt);
    font-size: 24px;
}


.account-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}


.account-detail-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 20px 20px 20px 0;
    border-bottom: 1px solid var(--border);
}


.account-detail-item:nth-child(even) {
    padding-left: 20px;
    padding-right: 0;
    border-left: 1px solid var(--border);
}


.account-detail-item:nth-last-child(-n + 2) {
    border-bottom: none;
}


.account-detail-item span {
    font-size: 12px;
    color: var(--text-light);
}


.account-detail-item strong {
    font-size: 15px;
    color: var(--text);
    word-break: break-word;
}


.account-actions-card {
    margin-bottom: 0;
}


.account-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}


.account-action-buttons .btn {
    min-width: 160px;
    text-align: center;
}


/* =========================================================
   ACCOUNT PAGE - MOBILE
========================================================= */

@media (max-width: 599px) {

    .account-page-header {
        margin-bottom: 30px;
    }


    .account-card,
    .account-actions-card {
        padding: 20px;
    }


    .account-card-header {
        align-items: flex-start;
    }


    .account-details {
        grid-template-columns: 1fr;
    }


    .account-detail-item,
    .account-detail-item:nth-child(even) {
        padding: 16px 0;
        border-left: none;
        border-bottom: 1px solid var(--border);
    }


    .account-detail-item:last-child {
        border-bottom: none;
    }


    .account-action-buttons {
        flex-direction: column;
    }


    .account-action-buttons .btn {
        width: 100%;
    }

}
/* =========================================================
   ACCOUNT PROFILE FORM
========================================================= */

.account-profile-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
}


.account-profile-form .form-group {
    margin: 0;
}


.account-profile-form .form-row {
    margin: 0;
}


.account-form-divider {
    padding-top: 8px;
    border-top: 1px solid var(--border);
}


.account-form-divider span {
    display: block;
    margin-top: 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-light);
}


.profile-form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
}


.profile-save-message {
    font-size: 13px;
    font-weight: 600;
}


.profile-save-message.success {
    color: var(--success);
}


.profile-save-message.error {
    color: #c0392b;
}


@media (max-width: 599px) {

    .profile-form-actions {
        flex-direction: column;
        align-items: stretch;
    }


    .profile-form-actions .btn {
        width: 100%;
    }


    .profile-save-message {
        text-align: center;
    }

}
/* =========================================================
   ORDER STATUS COLORS
========================================================= */

.order-status-badge {
    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}


/* =========================================================
   PENDING
========================================================= */

.order-status-badge.status-pending {
    background: rgba(217, 107, 39, 0.10);
    color: var(--primary);
}


/* =========================================================
   CONFIRMED
========================================================= */

.order-status-badge.status-confirmed {
    background: rgba(39, 138, 80, 0.10);
    color: var(--success);
}


/* =========================================================
   PREPARING
========================================================= */

.order-status-badge.status-preparing {
    background: rgba(243, 178, 60, 0.15);
    color: #a66a00;
}


/* =========================================================
   READY
========================================================= */

.order-status-badge.status-ready {
    background: rgba(39, 138, 80, 0.12);
    color: var(--success);
}


/* =========================================================
   OUT FOR DELIVERY
========================================================= */

.order-status-badge.status-out-for-delivery {
    background: rgba(217, 107, 39, 0.12);
    color: var(--primary);
}


/* =========================================================
   COMPLETED
========================================================= */

.order-status-badge.status-completed {
    background: rgba(39, 138, 80, 0.15);
    color: var(--success);
}


/* =========================================================
   CANCELLED
========================================================= */

.order-status-badge.status-cancelled {
    background: rgba(192, 57, 43, 0.10);
    color: #c0392b;
}
/* =========================================================
   ORDER STATUS BADGES
========================================================= */

.order-status-badge.status-pending {
    background: rgba(243, 178, 60, 0.14);
    color: #b77900;
}


.order-status-badge.status-confirmed {
    background: rgba(52, 152, 219, 0.12);
    color: #2476b5;
}


.order-status-badge.status-preparing {
    background: rgba(217, 107, 39, 0.12);
    color: var(--primary);
}


.order-status-badge.status-ready {
    background: rgba(155, 89, 182, 0.12);
    color: #8e44ad;
}


.order-status-badge.status-out-for-delivery {
    background: rgba(41, 128, 185, 0.12);
    color: #21618c;
}


.order-status-badge.status-delivered {
    background: rgba(39, 138, 80, 0.12);
    color: var(--success);
}


.order-status-badge.status-cancelled {
    background: rgba(192, 57, 43, 0.12);
    color: #c0392b;
}
/* =========================================================
   ORDER TRACKING TIMELINE
========================================================= */

.order-tracking-card {
    width: 100%;
    margin-top: 24px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.order-tracking-timeline {
    margin-top: 24px;
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.tracking-step {
    flex: 1;
    min-width: 0;
    position: relative;
    text-align: center;
}

.tracking-step-marker {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-alt);
    border: 2px solid var(--border);
    color: var(--text-light);
    font-weight: 700;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.tracking-step-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tracking-step-content strong {
    font-size: 0.88rem;
    color: var(--text);
}

.tracking-step-content span {
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--text-light);
}

.tracking-line {
    flex: 0 0 7%;
    height: 3px;
    margin-top: 20px;
    background: var(--border);
    border-radius: 10px;
    transition:
        background 0.25s ease;
}

.tracking-step.completed .tracking-step-marker {
    background: var(--success);
    border-color: var(--success);
    color: #ffffff;
}

.tracking-step.current .tracking-step-marker {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: scale(1.08);
}

.tracking-step.current .tracking-step-content strong {
    color: var(--primary);
}

.tracking-step.upcoming {
    opacity: 0.65;
}

.tracking-line.completed {
    background: var(--success);
}


/* =========================================================
   CANCELLED ORDER
========================================================= */

.tracking-cancelled-message {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px;
    margin-top: 10px;
    border-radius: 14px;
    background: rgba(192, 57, 43, 0.08);
    border: 1px solid rgba(192, 57, 43, 0.18);
}

.tracking-cancelled-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c0392b;
    color: #ffffff;
    font-weight: 700;
}

.tracking-cancelled-message div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tracking-cancelled-message strong {
    color: #c0392b;
}

.tracking-cancelled-message span {
    font-size: 0.82rem;
    color: var(--text-light);
}


/* =========================================================
   ORDER TRACKING RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .order-tracking-card {
        padding: 22px 18px;
    }

    .order-tracking-timeline {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .tracking-step {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 14px;
    }

    .tracking-step-marker {
        flex: 0 0 42px;
        margin: 0;
    }

    .tracking-step-content {
        padding-top: 4px;
    }

    .tracking-line {
        flex: 0 0 auto;
        width: 3px;
        height: 28px;
        margin: 0 0 0 20px;
    }

    .tracking-cancelled-message {
        justify-content: flex-start;
    }

}
/* =========================================================
   CUSTOMER ORDERING CLOSED BANNER
========================================================= */

.ordering-closed-banner {
    display: flex;
    align-items: center;
    gap: 16px;

    margin: 0 0 28px;
    padding: 16px 20px;

    border: 1px solid rgba(192, 57, 43, 0.25);
    border-radius: 14px;

    background: rgba(192, 57, 43, 0.08);
}

.ordering-closed-banner[hidden] {
    display: none;
}

.ordering-closed-banner-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: rgba(192, 57, 43, 0.12);

    color: #c0392b;

    font-size: 17px;
}

.ordering-closed-banner-content strong {
    display: block;

    margin-bottom: 4px;

    color: #c0392b;

    font-size: 14px;
    font-weight: 800;
}

.ordering-closed-banner-content p {
    margin: 0;

    color: var(--text-light);

    font-size: 13px;
    line-height: 1.5;
}


@media (max-width: 600px) {

    .ordering-closed-banner {
        align-items: flex-start;

        gap: 12px;

        padding: 14px 15px;
    }

    .ordering-closed-banner-icon {
        width: 38px;
        height: 38px;

        font-size: 15px;
    }

    .ordering-closed-banner-content strong {
        font-size: 13px;
    }

    .ordering-closed-banner-content p {
        font-size: 12px;
    }

}
/* =========================================================
   ORDERING CLOSED FOOD BUTTONS
========================================================= */

.food-cart-button.ordering-closed-button {
    min-width: 72px;

    padding: 8px 10px;

    border: 1px solid rgba(192, 57, 43, 0.25);
    border-radius: 8px;

    background: rgba(192, 57, 43, 0.08);

    color: #c0392b;

    font-size: 11px;
    font-weight: 700;

    cursor: not-allowed;

    opacity: 1;
}


.food-cart-button.ordering-closed-button:hover {
    transform: none;

    border-color: rgba(192, 57, 43, 0.25);

    background: rgba(192, 57, 43, 0.08);
}


.ordering-closed-modal-button {
    background: rgba(192, 57, 43, 0.08) !important;

    border-color: rgba(192, 57, 43, 0.25) !important;

    color: #c0392b !important;

    cursor: not-allowed !important;
}
.food-card {
    cursor: pointer;
}
/* =========================================
   VIEW FULL MENU BUTTON
========================================= */

.view-full-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 22px;

    background: var(--primary);
    color: #ffffff;

    border: 1px solid var(--primary);
    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.view-full-menu-button:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 6px 16px rgba(217, 107, 39, 0.22);
}

.view-full-menu-button:active {
    transform: translateY(0);
    box-shadow: none;
}
/* =========================================
   FOOD DETAIL MODAL - ADD TO CART
========================================= */

.detail-add-to-cart-button {
    width: 100%;

    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 18px;
    padding: 12px 20px;

    background: var(--primary);
    color: #ffffff;

    border: 1px solid var(--primary);
    border-radius: 10px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.detail-add-to-cart-button:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);

    transform: translateY(-2px);

    box-shadow:
        0 6px 16px rgba(217, 107, 39, 0.22);
}

.detail-add-to-cart-button:active {
    transform: translateY(0);

    box-shadow: none;
}
/* =========================================================
   CATERING PAGE
========================================================= */

.catering-form-container {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.catering-form-section {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.catering-form-section:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 10px;
}

.catering-form-section h2 {
    margin: 0 0 22px;
    font-size: 20px;
    color: var(--text);
}

.catering-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.catering-form-container label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.catering-form-container input,
.catering-form-container select,
.catering-form-container textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--background);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    font: inherit;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.catering-form-container input,
.catering-form-container select {
    min-height: 46px;
}

.catering-form-container textarea {
    min-height: 120px;
    resize: vertical;
}

.catering-form-container input::placeholder,
.catering-form-container textarea::placeholder {
    color: var(--muted-text);
}

.catering-form-container input:focus,
.catering-form-container select:focus,
.catering-form-container textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217, 107, 39, 0.12);
}

.catering-form-section > label + label {
    margin-top: 20px;
}

.catering-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.catering-form-actions .btn {
    min-width: 220px;
}

.catering-form-message {
    margin: 18px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 700px) {

    .catering-form-container {
        margin-top: 30px;
        padding: 22px;
        border-radius: 14px;
    }

    .catering-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .catering-form-section {
        padding-bottom: 24px;
        margin-bottom: 24px;
    }

    .catering-form-section h2 {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .catering-form-actions {
        display: block;
    }

    .catering-form-actions .btn {
        width: 100%;
        min-width: 0;
    }

}
/* =========================================================
   CATERING FORM - FORM CONTROL POLISH
========================================================= */

/* Date picker */

.catering-form-container input[type="date"] {
    color-scheme: light;
}


/* Dark mode date picker */

[data-theme="dark"] .catering-form-container input[type="date"] {
    color-scheme: dark;
}


/* Select controls */

.catering-form-container select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding-right: 44px;

    cursor: pointer;

    background-image:
        linear-gradient(45deg, transparent 50%, currentColor 50%),
        linear-gradient(135deg, currentColor 50%, transparent 50%);

    background-position:
        calc(100% - 19px) 50%,
        calc(100% - 13px) 50%;

    background-size:
        6px 6px,
        6px 6px;

    background-repeat: no-repeat;
}


/* Select hover */

.catering-form-container select:hover {
    border-color: var(--primary);
}


/* Select focus */

.catering-form-container select:focus {
    border-color: var(--primary);
    box-shadow:
        0 0 0 3px rgba(217, 107, 39, 0.12);
}


/* Disabled / placeholder-looking option */

.catering-form-container select:invalid {
    color: var(--muted-text);
}


/* Keep selected values using normal text colour */

.catering-form-container select:valid {
    color: var(--text);
}
/* =========================================================
   CATERING REQUEST HISTORY
========================================================= */

.catering-history-card {
    width: 100%;
    margin-top: 24px;

    padding: 28px;

    background: var(--surface, #ffffff);

    border: 1px solid var(--border, #e5e5e5);

    border-radius: 18px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.05);
}


/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.catering-history-header {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;

    padding-bottom: 20px;

    border-bottom:
        1px solid
        var(--border, #e5e5e5);
}


.catering-history-header .section-label {
    display: block;

    margin-bottom: 7px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.9px;

    text-transform: uppercase;

    color:
        var(--text-light, #777777);
}


.catering-history-header h2 {
    margin: 0;

    font-size: 19px;

    line-height: 1.3;

    font-weight: 700;

    color:
        var(--text, #222222);
}


/* ---------------------------------------------------------
   STATUS
--------------------------------------------------------- */

.catering-history-status {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 30px;

    padding:
        6px 12px;

    border-radius: 999px;

    font-size: 11px;

    line-height: 1;

    font-weight: 700;

    white-space: nowrap;
}


.catering-history-status.status-new {
    background:
        rgba(108, 117, 125, 0.12);

    color:
        #626a72;
}


.catering-history-status.status-contacted {
    background:
        rgba(52, 152, 219, 0.12);

    color:
        #2476b5;
}


.catering-history-status.status-quoted {
    background:
        rgba(155, 89, 182, 0.12);

    color:
        #8e44ad;
}


.catering-history-status.status-confirmed {
    background:
        rgba(39, 138, 80, 0.12);

    color:
        #278a50;
}


.catering-history-status.status-completed {
    background:
        rgba(39, 138, 80, 0.15);

    color:
        #217a47;
}


.catering-history-status.status-cancelled {
    background:
        rgba(192, 57, 43, 0.12);

    color:
        #c0392b;
}


/* ---------------------------------------------------------
   INFORMATION GRID
--------------------------------------------------------- */

.catering-history-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    padding:
        22px 0;
}


.catering-history-grid > div {
    min-width: 0;
}


.catering-history-grid span,
.catering-history-details span {
    display: block;

    margin-bottom: 6px;

    font-size: 10px;

    line-height: 1.3;

    font-weight: 700;

    letter-spacing: 0.7px;

    text-transform: uppercase;

    color:
        var(--text-light, #777777);
}


.catering-history-grid strong {
    display: block;

    font-size: 13px;

    line-height: 1.5;

    font-weight: 600;

    color:
        var(--text, #222222);

    word-break: break-word;
}


/* ---------------------------------------------------------
   REQUEST DETAILS
--------------------------------------------------------- */

.catering-history-details {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    padding-top: 20px;

    border-top:
        1px solid
        var(--border, #e5e5e5);
}


.catering-history-details > div {
    min-width: 0;

    padding: 16px;

    background:
        var(--background-secondary, #f8f8f8);

    border-radius: 12px;
}


.catering-history-details p {
    margin: 0;

    font-size: 12px;

    line-height: 1.7;

    color:
        var(--text, #333333);

    word-break: break-word;
}


/* ---------------------------------------------------------
   EMPTY / LOGIN STATE
--------------------------------------------------------- */

#cateringHistoryList .admin-empty-state {
    margin-top: 24px;

    padding: 45px 25px;

    text-align: center;

    background:
        var(--surface, #ffffff);

    border:
        1px solid
        var(--border, #e5e5e5);

    border-radius: 18px;
}


#cateringHistoryList .admin-empty-state h3 {
    margin:
        14px 0 8px;

    font-size: 18px;

    color:
        var(--text, #222222);
}


#cateringHistoryList .admin-empty-state p {
    max-width: 500px;

    margin:
        0 auto 20px;

    font-size: 13px;

    line-height: 1.6;

    color:
        var(--text-light, #777777);
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 800px) {

    .catering-history-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


@media (max-width: 600px) {

    .catering-history-card {
        padding: 20px;

        border-radius: 15px;
    }


    .catering-history-header {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }


    .catering-history-header h2 {
        font-size: 16px;
    }


    .catering-history-grid {
        grid-template-columns: 1fr;

        gap: 16px;

        padding: 20px 0;
    }


    .catering-history-details {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .catering-history-details > div {
        padding: 14px;
    }

}


@media (max-width: 420px) {

    .catering-history-card {
        padding: 16px;
    }


    .catering-history-status {
        font-size: 10px;

        padding:
            6px 10px;
    }

}
/* =========================================================
   CATERING HISTORY - DETAIL TEXT FIX
========================================================= */

.catering-history-details > div {
    background:
        var(--admin-surface, #f7f7f7);

    border:
        1px solid
        var(--admin-border, #e5e5e5);
}


.catering-history-details span {
    color:
        var(--text-light, #777777);
}


.catering-history-details p {
    color:
        var(--text, #222222);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   CATERING HISTORY - DARK MODE
========================================================= */

body.dark-mode .catering-history-card,
body.dark-theme .catering-history-card {
    background:
        var(--surface, #1f1f1f);
}


body.dark-mode .catering-history-details > div,
body.dark-theme .catering-history-details > div {
    background:
        rgba(255, 255, 255, 0.04);

    border-color:
        rgba(255, 255, 255, 0.10);
}


body.dark-mode .catering-history-details p,
body.dark-theme .catering-history-details p {
    color:
        var(--text, #f1f1f1);
}
/* =========================================================
   CATERING HISTORY
   LIGHT / DARK DETAIL BOX FIX
========================================================= */

/* LIGHT MODE */

.catering-history-details > div {
    background: #f7f7f7 !important;

    border: 1px solid #e5e5e5 !important;
}

.catering-history-details > div > span {
    color: #777777 !important;
}

.catering-history-details > div > p {
    color: #222222 !important;
}


/* DARK MODE
   Supports the theme class used by the site.
*/

body.dark .catering-history-details > div,
body.dark-mode .catering-history-details > div,
body.dark-theme .catering-history-details > div {
    background: #252525 !important;

    border-color: #3a3a3a !important;
}

body.dark .catering-history-details > div > span,
body.dark-mode .catering-history-details > div > span,
body.dark-theme .catering-history-details > div > span {
    color: #a8a8a8 !important;
}

body.dark .catering-history-details > div > p,
body.dark-mode .catering-history-details > div > p,
body.dark-theme .catering-history-details > div > p {
    color: #ffffff !important;
}
/* =========================================================
   AUTHENTICATION MESSAGES
========================================================= */

.auth-message {
    width: 100%;
    box-sizing: border-box;
    margin: 18px 0;
    padding: 13px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    animation: authMessageIn 0.25s ease;
}

.auth-message::before {
    flex-shrink: 0;
    font-size: 16px;
}


/* ERROR */

.auth-message.error {
    background: #fff1f1;
    border: 1px solid #f1b5b5;
    color: #b42318;
}

.auth-message.error::before {
    content: "!";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #b42318;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}


/* SUCCESS */

.auth-message.success {
    background: #effaf3;
    border: 1px solid #b7e3c5;
    color: #18794e;
}

.auth-message.success::before {
    content: "✓";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #18794e;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}


/* INFO */

.auth-message.info {
    background: #f1f6ff;
    border: 1px solid #bfd3f2;
    color: #2457a6;
}

.auth-message.info::before {
    content: "i";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2457a6;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}


/* DARK MODE */

html[data-theme="dark"] .auth-message.error,
body[data-theme="dark"] .auth-message.error {
    background: #351d1d;
    border-color: #633434;
    color: #ffb4b4;
}

html[data-theme="dark"] .auth-message.success,
body[data-theme="dark"] .auth-message.success {
    background: #173025;
    border-color: #28553e;
    color: #9be0b8;
}

html[data-theme="dark"] .auth-message.info,
body[data-theme="dark"] .auth-message.info {
    background: #1c2940;
    border-color: #304b73;
    color: #a9c7f5;
}


/* ANIMATION */

@keyframes authMessageIn {

    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}
/* =========================================================
   AUTHENTICATION TOAST
========================================================= */

.auth-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;

    max-width: 360px;
    min-width: 260px;

    padding: 14px 18px;

    border-radius: 12px;

    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.15);

    animation:
        authToastIn 0.3s ease;

}

.auth-toast.success {
    background: #18794e;
    color: #ffffff;
}

.auth-toast.error {
    background: #b42318;
    color: #ffffff;
}

@keyframes authToastIn {

    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@media (max-width: 600px) {

    .auth-toast {
        top: 16px;
        left: 16px;
        right: 16px;
        max-width: none;
        min-width: 0;
    }

}