﻿/* ==========================================================================
   GUEST PORTAL - CORE STYLES (COMPATIBILITY & EXTENSIONS)
   Optimized for use alongside guest-mobile-pro.css
   ========================================================================== */

:root {
    /* Landing Color Palette */
    --landing-bg: #F8F6F2;
    --landing-primary: #1A2B4A;
    --landing-accent: #C9A84C;
    --landing-text: #1a2332;
    --landing-text-secondary: #4a5568;
    --landing-text-muted: #6b7280;
    --landing-surface: #ffffff;
    --landing-border: #e8eaed;
    
    /* Transitions & Motion */
    --gp-duration: 0.25s;
    --gp-duration-slow: 0.4s;
    --gp-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --gp-ease-out: cubic-bezier(0, 0, 0.2, 1);
    --gp-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --landing-carousel-duration: 0.96s;
    --landing-carousel-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --landing-carousel-image-duration: 1.35s;
    --landing-carousel-control-duration: 0.34s;
    
    /* Functional Colors (Supplementary) */
    --gp-primary: #1A2B4A;
    --gp-accent: #C9A84C;
    --gp-primary-soft: rgba(22, 42, 66, 0.08);
    --gp-accent-soft: rgba(184, 151, 61, 0.15);
    --gp-divider: rgba(0, 0, 0, 0.06);
    --gp-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --gp-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --gp-shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
    
    /* Unified Design System */
    --gp-bg: #F8F6F2;
    --gp-surface: #ffffff;
    --gp-text: #1a2332;
    --gp-text-secondary: #4a5568;
    --gp-text-muted: #6b7280;
}

/* ==========================================================================
   1. LANDING PAGE SPECIFIC STYLES
   ========================================================================== */

/* Apply landing design to all guest pages */
.guest-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--landing-bg);
    color: var(--landing-text);
}

.landing-title {
    font-family: 'Playfair Display', serif;
    color: var(--gp-primary);
    line-height: 1.2;
}

.landing-subtitle {
    color: var(--landing-text-secondary);
    line-height: 1.8;
}

.landing-badge {
    background-color: rgba(201, 168, 76, 0.1);
    color: var(--gp-accent);
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.landing-btn-primary {
    background-color: var(--gp-primary);
    color: #F8F6F2;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all var(--gp-duration);
    border: none;
    cursor: pointer;
}

.landing-btn-primary:hover {
    background-color: #2A3B5A;
}

.landing-btn-accent {
    background-color: var(--gp-accent);
    color: var(--gp-primary);
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all var(--gp-duration);
    border: none;
    cursor: pointer;
}

.landing-btn-accent:hover {
    background-color: #B89840;
}

.landing-card {
    background-color: #ffffff;
    border: 1px solid var(--gp-divider);
    border-radius: 0.75rem;
    transition: all var(--gp-duration);
}

.landing-card:hover {
    box-shadow: var(--gp-shadow-lg);
}

/* Header & Navigation */
.landing-nav-link {
    color: var(--gp-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--gp-duration);
}

.landing-nav-link:hover {
    color: var(--gp-accent);
}

.landing-mobile-nav-link {
    color: var(--gp-primary);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.fa,
.fas,
.fa-solid,
.fa-regular,
.far,
.fab,
.fa-brands,
[class^="fa-"],
[class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands", "Font Awesome 6 Duotone" !important;
}

.fab,
.fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
}

[dir="rtl"] .guest-body {
    text-align: right;
}

[dir="rtl"] .landing-page-content,
[dir="rtl"] .landing-page-content .text-left,
[dir="rtl"] .landing-page-content .sm\:text-left,
[dir="rtl"] .landing-page-content .lg\:text-left {
    text-align: right !important;
}

[dir="rtl"] .landing-page-content .landing-hero-copy,
[dir="rtl"] .landing-page-content .landing-title,
[dir="rtl"] .landing-page-content .landing-subtitle {
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] .landing-hero-actions i.mr-1,
[dir="rtl"] .landing-mobile-nav-link i.mr-2 {
    margin-right: 0 !important;
    margin-left: 0.25rem !important;
}

/* Section Layouts */
.landing-section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Hero section — tighter vertical rhythm */
.landing-hero-section {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 1024px) {
    .landing-section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .landing-hero-section {
        padding-top: 3rem;
        padding-bottom: 3.5rem;
    }
}

/* Buttons (Extensions) */
.landing-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all var(--gp-duration);
    border: 1px solid var(--gp-primary);
    color: var(--gp-primary);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    background: transparent;
}

.landing-btn-outline:hover {
    background-color: var(--gp-primary);
    color: #F8F6F2;
}

.landing-btn-outline-light {
    border-color: #F8F6F2;
    color: #F8F6F2;
}

.landing-btn-outline-light:hover {
    background-color: #F8F6F2;
    color: var(--gp-primary);
}

/* Icon & Stat Boxes */
.landing-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(201, 168, 76, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--gp-duration);
}

@media (min-width: 1024px) {
    .landing-icon-box {
        width: 4rem;
        height: 4rem;
    }
}

.landing-stat-value {
    color: var(--gp-accent);
    font-family: serif;
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

@media (min-width: 1024px) {
    .landing-stat-value {
        font-size: 2.25rem;
    }
}

/* Forms */
.landing-label {
    display: block;
    color: var(--gp-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.landing-input {
    width: 100%;
    height: 2.5rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(26, 43, 74, 0.2);
    padding: 0 0.75rem;
    font-size: 0.875rem;
    transition: border-color var(--gp-duration);
    outline: none;
    background-color: #ffffff;
}

.landing-input:focus {
    border-color: var(--gp-accent);
}

.landing-textarea {
    width: 100%;
    min-height: 100px;
    border-radius: 0.375rem;
    border: 1px solid rgba(26, 43, 74, 0.2);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    transition: border-color var(--gp-duration);
    outline: none;
    background-color: #ffffff;
    resize: vertical;
}

.landing-textarea:focus {
    border-color: var(--gp-accent);
}

/* Carousel Controls */
.landing-carousel-media {
    position: relative;
}

.landing-carousel-track {
    transition: transform var(--landing-carousel-duration) var(--landing-carousel-ease);
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.landing-carousel-image {
    transform: scale(1.001) translateZ(0);
    transition:
        transform var(--landing-carousel-image-duration) cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.45s ease-out;
    will-change: transform;
    backface-visibility: hidden;
}

.landing-carousel-arrow-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.875rem;
    z-index: 20;
    pointer-events: none;
}

[dir="rtl"] .landing-carousel-arrow-track {
    direction: ltr;
}

@media (min-width: 1024px) {
    .landing-carousel-arrow-track {
        height: 380px;
    }
}

.landing-carousel-indicators {
    position: absolute;
    bottom: calc(40% + 1.25rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    z-index: 30;
    min-height: 1.5rem;
    background: rgba(12, 20, 36, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.42rem 0.72rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 26px rgba(9, 16, 28, 0.18);
    direction: ltr;
}

@media (min-width: 1024px) {
    .landing-carousel-indicators {
        bottom: calc(23% + 1.35rem);
    }
}

.landing-carousel-dot {
    height: 2px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition:
        width 0.42s var(--landing-carousel-ease),
        background-color 0.3s ease-out,
        opacity 0.3s ease-out,
        transform 0.3s ease-out;
    display: block;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.landing-carousel-dot.active {
    background: #C9A84C;
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.28);
}

.landing-carousel-dot.inactive {
    background-color: rgba(255, 255, 255, 0.38);
}

.landing-carousel-dot.inactive:hover {
    background-color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 1024px) {
    .landing-carousel-dot {
        height: 2px;
    }
}

.landing-carousel-nav {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition:
        opacity var(--landing-carousel-control-duration) ease-out,
        background-color var(--landing-carousel-control-duration) ease-out,
        border-color var(--landing-carousel-control-duration) ease-out,
        transform var(--landing-carousel-control-duration) ease-out,
        color var(--landing-carousel-control-duration) ease-out;
    cursor: pointer;
    pointer-events: auto;
    opacity: 0.26;
}

.landing-carousel-media:hover ~ .landing-carousel-arrow-track .landing-carousel-nav,
.landing-carousel-arrow-track:hover .landing-carousel-nav,
.group:hover .landing-carousel-nav {
    opacity: 0.58;
}

.landing-carousel-nav:hover {
    background: rgba(201, 168, 76, 0.42);
    border-color: rgba(201, 168, 76, 0.22);
    color: #ffffff;
    transform: translateY(-1px);
}

.landing-carousel-nav-prev {
    transform: translateX(0);
}

.landing-carousel-nav-next {
    transform: translateX(0);
}

.landing-carousel-media:hover .landing-carousel-nav-prev,
.landing-carousel-media:hover .landing-carousel-nav-next {
    transform: translateX(0);
}

@media (max-width: 1023px) {
    .landing-carousel-arrow-track {
        padding: 0 0.75rem;
    }

    .landing-carousel-nav {
        width: 2.2rem;
        height: 2.2rem;
        opacity: 1;
    }

    .landing-carousel-indicators {
        bottom: calc(40% + 0.85rem);
        padding: 0.4rem 0.7rem;
    }
}

/* Overlays & Badges */
.landing-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 43, 74, 0.4), transparent);
    opacity: 0.54;
    transition: opacity 0.45s ease-out;
}

.group\/slide:hover .landing-image-overlay {
    opacity: 0.48;
}

@media (prefers-reduced-motion: reduce) {
    .landing-carousel-track,
    .landing-carousel-image,
    .landing-carousel-dot,
    .landing-carousel-nav,
    .landing-image-overlay {
        transition-duration: 0.01ms !important;
    }
}

.landing-featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--gp-accent);
    color: var(--gp-primary);
    padding: 0.375rem 1rem;
    box-shadow: var(--gp-shadow);
    z-index: 10;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

[dir="rtl"] .landing-featured-badge {
    left: auto;
    right: 1rem;
}

@media (min-width: 1024px) {
    .landing-featured-badge {
        padding: 0.5rem 1rem;
        font-size: 12px;
    }
}

/* Mobile Menu */
.landing-mobile-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(26, 43, 74, 0.4);
    backdrop-filter: blur(4px);
}

.landing-mobile-drawer {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background-color: #ffffff;
    box-shadow: var(--gp-shadow-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

/* RTL Support for Mobile Drawer */
[dir="rtl"] .landing-mobile-drawer {
    right: auto;
    left: 0;
}

/* Logo Box */
.landing-logo-box {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(26, 43, 74, 0.12);
}

.landing-logo-box-accent {
    background-color: #ffffff;
}

.landing-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Footer Socials */
.landing-social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(248, 246, 242, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    color: #ffffff;
    transition: background-color var(--gp-duration);
    text-decoration: none;
}

.landing-social-link:hover {
    background-color: var(--gp-accent);
}

/* ==========================================================================
   2. GLOBAL MOTION & ANIMATIONS
   ========================================================================== */

.landing-card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background-color: var(--gp-primary);
    border-radius: 0.25rem;
    color: var(--gp-accent);
    font-size: 10px;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .landing-card-number {
        width: 2rem;
        height: 2rem;
        font-size: 12px;
    }
}

/* ==========================================================================
   2. GLOBAL MOTION & ANIMATIONS
   ========================================================================== */

@keyframes gp-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gp-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Base Entrance */
.gp-page {
    animation: gp-fade-in var(--gp-duration) var(--gp-ease-out);
}

/* Interactive Hover States */
.gp-btn, .gp-chip, .gp-menu-card {
    transition: all var(--gp-duration) var(--gp-ease);
}

/* Modern Professional Toast - Below Header */
#guest-toast-container {
    position: fixed;
    top: 88px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 360px;
}

[dir="rtl"] #guest-toast-container {
    right: auto;
    left: 20px;
}

.guest-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(26, 43, 74, 0.12), 0 2px 6px rgba(26, 43, 74, 0.06);
    min-width: 280px;
    max-width: 360px;
    border: 1px solid rgba(26, 43, 74, 0.08);
    backdrop-filter: blur(8px);
    animation: gp-toast-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    transition: all 0.25s ease;
}

.guest-toast:hover {
    transform: translateX(-3px);
    box-shadow: 0 8px 22px rgba(26, 43, 74, 0.15), 0 3px 8px rgba(26, 43, 74, 0.08);
}

[dir="rtl"] .guest-toast:hover {
    transform: translateX(3px);
}

.guest-toast--success {
    border-left: 4px solid #10b981;
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
}

.guest-toast--error {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.guest-toast--warning {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}

.guest-toast--info {
    border-left: 4px solid #1A2B4A;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
}

[dir="rtl"] .guest-toast {
    border-left: none;
}

[dir="rtl"] .guest-toast--success { border-right: 4px solid #10b981; }
[dir="rtl"] .guest-toast--error { border-right: 4px solid #ef4444; }
[dir="rtl"] .guest-toast--warning { border-right: 4px solid #f59e0b; }
[dir="rtl"] .guest-toast--info { border-right: 4px solid #1A2B4A; }

.guest-toast-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
}

.guest-toast--success .guest-toast-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.25);
}

.guest-toast--error .guest-toast-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.25);
}

.guest-toast--warning .guest-toast-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.25);
}

.guest-toast--info .guest-toast-icon {
    background: linear-gradient(135deg, #1A2B4A 0%, #162a42 100%);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(26, 43, 74, 0.25);
}

.guest-toast-content {
    flex: 1;
    padding-top: 1px;
}

.guest-toast-title {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 3px;
    color: #1f2937;
    letter-spacing: -0.01em;
}

.guest-toast-message {
    font-size: 12px;
    line-height: 1.4;
    color: #6b7280;
}

.guest-toast-close {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: rgba(107, 114, 128, 0.08);
    border: none;
    border-radius: 7px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.guest-toast-close:hover {
    background: rgba(107, 114, 128, 0.15);
    color: #6b7280;
    transform: rotate(90deg);
}

@keyframes gp-toast-slide-in {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.guest-toast--fadeout {
    animation: gp-toast-fade-out 0.35s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes gp-toast-fade-out {
    to {
        opacity: 0;
        transform: translateX(120%) scale(0.92);
    }
}

@media (max-width: 767px) {
    #guest-toast-container {
        top: 80px;
        right: 12px;
        left: 12px;
        max-width: none;
    }

    [dir="rtl"] #guest-toast-container {
        right: 12px;
        left: 12px;
    }

    .guest-toast {
        min-width: 0;
        max-width: none;
        width: 100%;
        padding: 12px 14px;
    }

    .guest-toast-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
}

/* ==========================================================================
   3. OPERATIONAL GUEST SHELL
   Scoped to non-landing guest routes to avoid affecting the landing page.
   ========================================================================== */

.guest-body:not(.guest-route-guest-landing) .gp-header-bar {
    position: sticky;
    top: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 72px;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(22, 42, 66, 0.08);
    box-shadow: 0 1px 0 rgba(22, 42, 66, 0.04);
}

.guest-body:not(.guest-route-guest-landing) .gp-header-brand,
.guest-body:not(.guest-route-guest-landing) .gp-header-actions {
    display: flex;
    align-items: center;
}

.guest-body:not(.guest-route-guest-landing) .gp-header-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.guest-body:not(.guest-route-guest-landing) .gp-header-logo {
    width: 68px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.guest-body:not(.guest-route-guest-landing) .gp-header-nav,
.guest-body:not(.guest-route-guest-landing) .gp-header-cta-btn {
    display: none;
}

.guest-body:not(.guest-route-guest-landing) .gp-header-actions {
    margin-inline-start: auto;
    gap: 0.75rem;
}

.guest-body:not(.guest-route-guest-landing) .lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    padding: 0.25rem;
    border-radius: 9999px;
    background: rgba(22, 42, 66, 0.08);
}

.guest-body:not(.guest-route-guest-landing) .lang-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 0.625rem;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: rgba(22, 42, 66, 0.7);
    font-size: 0.8125rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.guest-body:not(.guest-route-guest-landing) .lang-btn--active {
    background: var(--gp-primary);
    color: #ffffff;
}

.gp-cart-container {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.gp-modal-hidden {
    display: none !important;
}

.gp-cart-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(15, 28, 45, 0.42);
    backdrop-filter: blur(3px);
    transition: opacity 0.22s ease;
}

.gp-cart-panel {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    height: 100%;
    width: min(100%, 420px);
    background: #ffffff;
    box-shadow: -24px 0 48px rgba(15, 28, 45, 0.18);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.gp-fade-enter {
    opacity: 1;
}

.gp-fade-leave {
    opacity: 0;
}

.gp-slide-enter {
    transform: translateX(0);
}

.gp-slide-leave {
    transform: translateX(100%);
}

.gp-sticky-checkout {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    padding-bottom: calc(12px + var(--safe-bottom, 0px));
    background: #ffffff;
    border-top: 1px solid var(--gp-divider);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

[dir="rtl"] .landing-why-card-head {
    flex-direction: row-reverse;
}

.gp-sticky-checkout-content {
    width: min(100%, 960px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.gp-sticky-checkout-info {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gp-sticky-checkout-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gp-text);
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
}

.gp-sticky-checkout-count i {
    color: var(--gp-primary);
}

.gp-sticky-checkout-total {
    color: var(--gp-primary);
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
}

.gp-sticky-checkout-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.gp-sticky-view-btn,
.gp-sticky-checkout-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 0.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        opacity var(--gp-duration),
        transform var(--gp-duration),
        background-color var(--gp-duration);
}

.gp-sticky-view-btn {
    color: var(--gp-primary);
    background: var(--gp-primary-soft);
}

.gp-sticky-view-btn:hover {
    background: rgba(22, 42, 66, 0.12);
}

.gp-sticky-checkout-btn {
    color: #ffffff;
    background: var(--gp-primary);
}

.gp-sticky-checkout-btn:hover {
    background: #2A3B5A;
}

.gp-sticky-view-btn:active,
.gp-sticky-checkout-btn:active {
    transform: scale(0.98);
}

.guest-route-guest-create .guest-page {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 1rem 7rem;
}

.guest-route-guest-create .guest-header {
    position: sticky;
    top: 72px !important;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 0;
    background: var(--gp-bg);
    border-bottom: 1px solid rgba(22, 42, 66, 0.08);
    box-shadow: none;
}

.guest-route-guest-create .gp-back-btn {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    text-decoration: none;
    color: var(--gp-primary);
    background: #eef2f6;
    border: 1px solid rgba(22, 42, 66, 0.08);
}

.guest-route-guest-create .gp-page-heading {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f2a3d;
}

.guest-route-guest-create .gp-header-actions-row {
    margin-inline-start: auto;
}

.guest-route-guest-create .gp-header-action-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: var(--gp-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.guest-route-guest-create .guest-progress {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.875rem 0 1rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.guest-route-guest-create .guest-progress::-webkit-scrollbar {
    display: none;
}

.guest-route-guest-create .guest-progress-step {
    min-width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}

.guest-route-guest-create .guest-progress-circle {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    display: grid;
    place-items: center;
    background: #dfe5ed;
    color: #7e8ba0;
    font-size: 0.875rem;
    font-weight: 700;
}

.guest-route-guest-create .guest-progress-step--active .guest-progress-circle {
    background: var(--gp-primary);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(22, 42, 66, 0.18);
}

.guest-route-guest-create .guest-progress-label {
    font-size: 0.6875rem;
    line-height: 1.2;
    text-align: center;
    color: #7c8798;
}

.guest-route-guest-create .guest-progress-step--active .guest-progress-label {
    color: #1f2a3d;
    font-weight: 600;
}

.guest-route-guest-create .guest-progress-line {
    width: 28px;
    height: 2px;
    margin-top: 15px;
    flex: 0 0 28px;
    background: #d7dee7;
    border-radius: 9999px;
}

.guest-route-guest-create .guest-progress-line--active {
    background: rgba(22, 42, 66, 0.28);
}

.guest-route-guest-create .guest-form-container {
    padding: 1rem;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(22, 42, 66, 0.08);
}

.guest-route-guest-create .guest-form-section {
    min-height: 240px;
}

.guest-route-guest-create .guest-section-title {
    margin: 0 0 0.5rem;
    color: #1f2a3d;
    font-size: 1.125rem;
    font-weight: 700;
}

.guest-route-guest-create .guest-section-hint {
    margin: 0 0 1.25rem;
    color: #65758b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.guest-route-guest-create .guest-qr-unit-locked {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.875rem;
    align-items: center;
    margin: 1rem 0 0;
    padding: 1rem;
    border: 1px solid rgba(26, 43, 74, 0.1);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(201, 168, 76, 0.1) 0%, rgba(255, 255, 255, 0.98) 48%, rgba(26, 43, 74, 0.035) 100%);
    box-shadow: 0 10px 26px rgba(26, 43, 74, 0.08);
    overflow: hidden;
}

.guest-route-guest-create .guest-qr-unit-locked::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #C9A84C 0%, #1A2B4A 100%);
}

.guest-route-guest-create .guest-qr-unit-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #1A2B4A 0%, #243e63 100%);
    color: #C9A84C;
    font-size: 1.25rem;
    box-shadow: 0 10px 22px rgba(26, 43, 74, 0.16);
}

.guest-route-guest-create .guest-qr-unit-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.guest-route-guest-create .guest-qr-unit-label {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-transform: uppercase;
}

.guest-route-guest-create .guest-qr-unit-number {
    color: #1A2B4A;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guest-route-guest-create .guest-qr-unit-property {
    color: #607086;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guest-route-guest-create .guest-qr-unit-locked-badge {
    grid-column: 1 / -1;
    width: fit-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    margin-inline-start: 62px;
    padding: 0.36rem 0.62rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
}

.guest-route-guest-create .guest-qr-unit-locked-badge i {
    font-size: 0.7rem;
}

[dir="rtl"] .guest-route-guest-create .guest-qr-unit-locked-badge {
    margin-inline-start: 0;
    margin-inline-end: 62px;
}

@media (max-width: 420px) {
    .guest-route-guest-create .guest-qr-unit-locked {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.875rem;
    }

    .guest-route-guest-create .guest-qr-unit-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 1.12rem;
    }

    .guest-route-guest-create .guest-qr-unit-number {
        font-size: 1.18rem;
    }

    .guest-route-guest-create .guest-qr-unit-locked-badge {
        margin-inline-start: 56px;
        font-size: 0.68rem;
    }

    [dir="rtl"] .guest-route-guest-create .guest-qr-unit-locked-badge {
        margin-inline-start: 0;
        margin-inline-end: 56px;
    }
}

.guest-route-guest-create .guest-label {
    display: block;
    margin-bottom: 0.625rem;
    color: #1f2a3d;
    font-size: 0.9375rem;
    font-weight: 600;
}

.guest-route-guest-create .guest-phone-input {
    display: flex;
    align-items: stretch;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    background: #fdfefe;
    overflow: hidden;
}

.guest-route-guest-create .guest-phone-country {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.875rem;
    background: #f4f7fb;
    color: #5d6b7f;
    border-inline-end: 1px solid #dbe3ec;
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
}

.guest-route-guest-create .guest-phone-flag {
    font-size: 0.8125rem;
    padding: 0.2rem 0.35rem;
    border-radius: 6px;
    background: #e8eef6;
    color: #71819a;
}

.guest-route-guest-create .guest-input {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem;
    border: 1px solid var(--gp-border, #e4e8ed);
    border-radius: var(--gp-radius-sm, 8px);
    background: var(--gp-surface, #ffffff);
    color: #1f2a3d;
    font-size: 16px;
    line-height: 1.5;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.guest-route-guest-create .guest-input:focus {
    border-color: var(--gp-primary, #1A2B4A);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(26, 43, 74, 0.09);
}

.guest-route-guest-create .guest-input--with-status {
    padding-inline-end: 40px;
}

.guest-route-guest-create .guest-input--error {
    border-color: var(--gp-error, #b91c1c);
}

.guest-route-guest-create .guest-input--error:focus {
    border-color: var(--gp-error, #b91c1c);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

.guest-route-guest-create .guest-input-phone {
    width: 100%;
    min-height: 48px;
    padding: 0 0.95rem;
    border: 0;
    background: transparent;
    color: #1f2a3d;
    font-size: 16px;
    outline: none;
    box-shadow: none;
}

.guest-route-guest-create .guest-input::placeholder {
    color: #9aa6b8;
}

.guest-route-guest-create .guest-details-section {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    min-height: auto;
}

.guest-route-guest-create .guest-details-section .guest-section-title {
    position: relative;
    margin-bottom: 0.15rem;
    padding-bottom: 0.85rem;
}

.guest-route-guest-create .guest-details-section .guest-section-title::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1A2B4A 0%, #C9A84C 100%);
}

.guest-route-guest-create .guest-details-section .guest-form-group {
    margin-bottom: 0;
}

.guest-route-guest-create .guest-details-section .guest-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1f2a3d;
    font-size: 0.875rem;
    font-weight: 700;
}

.guest-route-guest-create .guest-details-section .guest-input,
.guest-route-guest-create .guest-details-section .guest-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #dbe3ec;
    border-radius: 12px;
    background: #ffffff;
    color: #1f2a3d;
    font-size: 1rem;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.guest-route-guest-create .guest-details-section .guest-input:focus,
.guest-route-guest-create .guest-details-section .guest-textarea:focus {
    border-color: #1A2B4A;
    box-shadow: 0 0 0 3px rgba(26, 43, 74, 0.1);
}

.guest-route-guest-create .guest-details-section .guest-input--readonly,
.guest-route-guest-create .guest-details-section .guest-input[readonly] {
    background: #f4f7fb !important;
    color: #64748b;
    cursor: not-allowed;
    opacity: 0.85;
}

.guest-route-guest-create .guest-details-section .guest-textarea {
    min-height: 132px;
    resize: vertical;
}

.guest-route-guest-create .guest-details-section .guest-textarea::placeholder {
    color: #9aa6b8;
}

.guest-route-guest-create .guest-details-section .guest-hint {
    display: block;
    margin-top: 0.45rem;
    color: #8a9ab0;
    font-size: 0.75rem;
    line-height: 1.5;
}

.guest-route-guest-create .guest-details-section .guest-file-upload {
    position: relative;
}

.guest-route-guest-create .guest-details-section .guest-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.guest-route-guest-create .guest-details-section .guest-file-label {
    min-height: 116px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.2rem;
    border: 2px dashed #dbe3ec;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #64748b;
    font-size: 0.925rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.guest-route-guest-create .guest-details-section .guest-file-label i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(201, 168, 76, 0.12);
    color: #C9A84C;
    font-size: 1.25rem;
}

.guest-route-guest-create .guest-details-section .guest-file-label:hover,
.guest-route-guest-create .guest-details-section .guest-file-input:focus + .guest-file-label {
    border-color: #1A2B4A;
    background: #ffffff;
    color: #1A2B4A;
    transform: translateY(-1px);
}

.guest-route-guest-create .guest-details-section .guest-attachments-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.guest-route-guest-create .guest-details-section .guest-attachment-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #e4e8ed;
    border-radius: 12px;
    background: #ffffff;
    color: #1f2a3d;
    font-size: 0.82rem;
    font-weight: 600;
}

.guest-route-guest-create .guest-details-section .guest-attachment-item > i {
    color: #C9A84C;
}

.guest-route-guest-create .guest-details-section .guest-attachment-item span {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guest-route-guest-create .guest-details-section .guest-attachment-remove {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    border: 0;
    border-radius: 9px;
    background: #fee2e2;
    color: #dc2626;
    cursor: pointer;
}

[dir="rtl"] .guest-route-guest-create .guest-details-section .guest-input,
[dir="rtl"] .guest-route-guest-create .guest-details-section .guest-textarea {
    text-align: right;
}

.guest-route-guest-create .guest-input-hint,
.guest-route-guest-create .guest-error {
    display: block;
    margin-top: 0.625rem;
    font-size: 0.8125rem;
}

.guest-route-guest-create .guest-input-hint {
    color: #8a9ab0;
}

.guest-route-guest-create .guest-error {
    color: #b91c1c;
}

.guest-route-guest-create .guest-form-actions {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    background: linear-gradient(to top, var(--gp-bg) 72%, rgba(247, 248, 250, 0));
}

.guest-route-guest-create .guest-btn-full,
.guest-route-guest-create .guest-form-actions .guest-btn {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
}

.guest-route-guest-create .guest-form-actions .guest-btn-primary {
    min-height: 52px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(22, 42, 66, 0.16);
}

[dir="rtl"] .guest-route-guest-create .guest-form-actions .fa-arrow-left,
[dir="rtl"] .guest-route-guest-create .guest-form-actions .fa-arrow-right {
    transform: rotate(180deg);
}

/* Mobile bottom nav restored for operational guest pages */
.gp-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.125rem;
    padding: 0.5rem 0.375rem;
    padding-bottom: calc(0.5rem + var(--safe-bottom, 0px));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(22, 42, 66, 0.08);
    box-shadow: 0 -10px 30px rgba(22, 42, 66, 0.1);
    z-index: 1100;
}

.gp-nav-tab {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    min-height: 58px;
    padding: 0.45rem 0.25rem 0.35rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    border: 0;
    border-radius: 0.95rem;
    background: transparent;
    color: #7d8898;
    text-decoration: none;
    cursor: pointer;
    transition:
        color var(--gp-duration),
        background-color var(--gp-duration),
        transform var(--gp-duration),
        opacity var(--gp-duration);
    appearance: none;
}

.gp-nav-tab:active {
    transform: scale(0.97);
}

.gp-nav-tab--active {
    color: var(--gp-primary);
    background: rgba(22, 42, 66, 0.06);
}

.gp-nav-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.25rem;
    font-size: 1.12rem;
    line-height: 1;
}

.gp-nav-label {
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.gp-nav-badge {
    position: absolute;
    top: -0.38rem;
    right: -0.5rem;
    min-width: 18px;
    height: 18px;
    padding: 0 0.28rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #d83a3a;
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    border: 2px solid #ffffff;
    box-shadow: 0 6px 12px rgba(216, 58, 58, 0.2);
}

.gp-action-pending {
    opacity: 0.65;
}

[dir="rtl"] .gp-nav-badge {
    right: auto;
    left: -0.5rem;
}

/* Open services CTA */
.guest-route-guest-create .guest-new-request-cta {
    margin-top: 1.25rem;
    padding: 1rem;
}

/* ==========================================================================
   8. SERVICE SELECTION - CATEGORY TABS & ITEMS GRID
   ========================================================================== */

/* Category Tabs */
.guest-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 0 8px 0;
    margin-bottom: 16px;
}

.guest-category-tab {
    flex-shrink: 0;
    padding: 6px 12px;
    background: white;
    border: 1.5px solid #e4e8ed;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 32px;
}

.guest-category-tab:hover {
    border-color: #C9A84C;
    background: rgba(201, 168, 76, 0.05);
}

.guest-category-tab--active {
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%);
    border-color: #1A2B4A;
    color: white;
    box-shadow: 0 2px 8px rgba(26, 43, 74, 0.2);
}

.guest-category-tab i {
    font-size: 12px;
}

/* Items Grid */
.guest-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .guest-items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (min-width: 1024px) {
    .guest-items-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Service Item Card */
.guest-item-card {
    background: white;
    border: 1.5px solid #e8eef6;
    border-radius: 12px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.guest-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1A2B4A 0%, #C9A84C 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.guest-item-card:hover {
    border-color: #C9A84C;
    box-shadow: 0 4px 16px rgba(26, 43, 74, 0.1);
    transform: translateY(-2px);
}

.guest-item-card:hover::before {
    transform: scaleX(1);
}

.guest-item-card:active {
    transform: translateY(-1px) scale(0.98);
}

/* Item Icon */
.guest-item-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(26, 43, 74, 0.05) 0%, rgba(201, 168, 76, 0.08) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #1A2B4A;
    transition: all 0.3s ease;
}

.guest-item-card:hover .guest-item-icon {
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%);
    color: #C9A84C;
    transform: scale(1.08);
}

/* Item Name */
.guest-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    min-height: 32px;
    display: flex;
    align-items: center;
}

/* Item Price */
.guest-item-price {
    font-size: 13px;
    font-weight: 700;
    color: #1A2B4A;
    padding: 4px 10px;
    background: rgba(26, 43, 74, 0.06);
    border-radius: 6px;
    min-width: 60px;
    display: flex;
    align-items: center;
    gap: 3px;
    justify-content: center;
}

.guest-item-price--free {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.08) 100%);
}

.guest-price-free {
    color: #059669;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.guest-price-amount {
    font-size: 14px;
}

.guest-price-currency {
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
}

/* Selected State */
.guest-item-card--selected {
    border-color: #C9A84C;
    background: linear-gradient(135deg, rgba(26, 43, 74, 0.02) 0%, rgba(201, 168, 76, 0.03) 100%);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.2);
}

.guest-item-card--selected::before {
    transform: scaleX(1);
}

.guest-item-card--selected .guest-item-icon {
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%);
    color: #C9A84C;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .guest-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .guest-item-card {
        padding: 10px 8px;
        gap: 6px;
    }
    
    .guest-item-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .guest-item-name {
        font-size: 12px;
        min-height: 30px;
    }
    
    .guest-item-price {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .guest-price-amount {
        font-size: 13px;
    }
    
    .guest-category-tab {
        padding: 5px 10px;
        font-size: 11px;
        min-height: 28px;
    }
}

/* ==========================================================================
   9. OPEN REQUESTS NOTIFICATION - MODERN DESIGN
   ========================================================================== */

.guest-open-requests {
    min-height: auto !important;
}

.guest-open-header {
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(26, 43, 74, 0.03) 0%, rgba(201, 168, 76, 0.03) 100%);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(26, 43, 74, 0.08);
}

.guest-open-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.guest-open-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%);
    color: #C9A84C;
    font-size: 20px;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(26, 43, 74, 0.25);
    position: relative;
}

.guest-open-badge::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #C9A84C 0%, #b89840 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.guest-open-title {
    font-size: 22px;
    font-weight: 700;
    color: #1A2B4A;
    margin: 0;
    letter-spacing: -0.02em;
}

.guest-open-subtitle {
    font-size: 15px;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
    max-width: 420px;
    margin-inline: auto;
}

/* Ticket cards styling */
.gp-tickets-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gp-ticket-card {
    background: white;
    border: 1px solid rgba(26, 43, 74, 0.1);
    border-radius: 14px;
    padding: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.gp-ticket-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 6px 18px rgba(26, 43, 74, 0.12);
    transform: translateY(-2px);
}

.gp-ticket-card--staff {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.05) 0%, rgba(26, 43, 74, 0.02) 100%);
    border-left: 3px solid #C9A84C;
}

.gp-ticket-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
}

.gp-ticket-code {
    font-size: 14px;
    font-weight: 700;
    color: #1A2B4A;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gp-ticket-code i {
    font-size: 16px;
}

.gp-ticket-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gp-ticket-body {
    margin-bottom: 12px;
}

.gp-ticket-service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.gp-ticket-service {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gp-ticket-service i {
    color: #C9A84C;
    font-size: 16px;
}

.gp-ticket-cost {
    font-size: 14px;
    font-weight: 700;
    color: #1A2B4A;
    padding: 4px 8px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 6px;
}

.gp-ticket-category {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
    font-weight: 500;
}

.gp-ticket-room {
    font-size: 12px;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.gp-ticket-room i {
    color: #C9A84C;
}

.gp-ticket-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(26, 43, 74, 0.08);
}

.gp-ticket-time {
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gp-ticket-staff-label {
    font-size: 11px;
    color: #C9A84C;
    background: rgba(201, 168, 76, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.gp-ticket-view {
    font-size: 12px;
    color: #1A2B4A;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gp-ticket-view i.fa-chevron-right {
    font-size: 10px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .guest-open-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .guest-open-badge {
        min-width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .guest-open-title {
        font-size: 18px;
    }
    
    .guest-open-subtitle {
        font-size: 14px;
    }
}

.guest-open-requests {
    min-height: auto !important;
}

.guest-open-header {
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(26, 43, 74, 0.03) 0%, rgba(201, 168, 76, 0.03) 100%);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(26, 43, 74, 0.08);
}

.guest-open-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.guest-open-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%);
    color: #C9A84C;
    font-size: 20px;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(26, 43, 74, 0.25);
    position: relative;
}

.guest-open-badge::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #C9A84C 0%, #b89840 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.guest-open-title {
    font-size: 22px;
    font-weight: 700;
    color: #1A2B4A;
    margin: 0;
    letter-spacing: -0.02em;
}

.guest-open-subtitle {
    font-size: 15px;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
    max-width: 420px;
    margin-inline: auto;
}

/* Ticket cards styling */
.gp-tickets-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gp-ticket-card {
    background: white;
    border: 1px solid rgba(26, 43, 74, 0.1);
    border-radius: 14px;
    padding: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.gp-ticket-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 6px 18px rgba(26, 43, 74, 0.12);
    transform: translateY(-2px);
}

.gp-ticket-card--staff {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.05) 0%, rgba(26, 43, 74, 0.02) 100%);
    border-left: 3px solid #C9A84C;
}

.gp-ticket-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
}

.gp-ticket-code {
    font-size: 14px;
    font-weight: 700;
    color: #1A2B4A;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gp-ticket-code i {
    font-size: 16px;
}

.gp-ticket-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gp-ticket-body {
    margin-bottom: 12px;
}

.gp-ticket-service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.gp-ticket-service {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gp-ticket-service i {
    color: #C9A84C;
    font-size: 16px;
}

.gp-ticket-cost {
    font-size: 14px;
    font-weight: 700;
    color: #1A2B4A;
    padding: 4px 8px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 6px;
}

.gp-ticket-category {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
    font-weight: 500;
}

.gp-ticket-room {
    font-size: 12px;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.gp-ticket-room i {
    color: #C9A84C;
}

.gp-ticket-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(26, 43, 74, 0.08);
}

.gp-ticket-time {
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gp-ticket-staff-label {
    font-size: 11px;
    color: #C9A84C;
    background: rgba(201, 168, 76, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.gp-ticket-view {
    font-size: 12px;
    color: #1A2B4A;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gp-ticket-view i.fa-chevron-right {
    font-size: 10px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .guest-open-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .guest-open-badge {
        min-width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .guest-open-title {
        font-size: 18px;
    }
    
    .guest-open-subtitle {
        font-size: 14px;
    }
}

.guest-route-guest-create .guest-new-request-cta {
    margin-top: 1.25rem;
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, #f8fafc 0%, #eff4f8 100%);
    border: 1px solid rgba(22, 42, 66, 0.08);
    text-align: center;
    box-shadow: 0 10px 24px rgba(22, 42, 66, 0.06);
}

.guest-route-guest-create .guest-new-request-hint {
    margin: 0 0 0.85rem;
    color: #607086;
    font-size: 0.9rem;
    line-height: 1.6;
}

.guest-route-guest-create .guest-new-request-btn {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 0;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, var(--gp-primary) 0%, #243e63 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(22, 42, 66, 0.16);
    transition:
        transform var(--gp-duration),
        box-shadow var(--gp-duration),
        opacity var(--gp-duration);
}

.guest-route-guest-create .guest-new-request-btn:active {
    transform: scale(0.98);
    box-shadow: 0 8px 18px rgba(22, 42, 66, 0.14);
}

@media (min-width: 768px) {
    .gp-mobile-nav {
        display: none;
    }

    .guest-body:not(.guest-route-guest-landing) .gp-header-bar {
        padding-inline: 1.5rem;
    }

    .guest-route-guest-create .guest-page {
        padding-inline: 1.25rem;
    }
}

@media (max-width: 1023px) {
    .guest-body:not(.guest-route-guest-landing) .guest-wrapper {
        padding-bottom: calc(158px + var(--safe-bottom, 0px));
    }

    .guest-route-guest-create .guest-form-actions {
        bottom: calc(84px + var(--safe-bottom, 0px));
        padding-bottom: 0.25rem;
    }

    .gp-sticky-checkout {
        display: flex;
        bottom: calc(74px + var(--safe-bottom, 0px));
        z-index: 1055;
        padding: 0.55rem 0.75rem;
        padding-bottom: 0.55rem;
        background: transparent;
        border-top: 0;
        box-shadow: none;
        pointer-events: none;
    }

    .guest-route-guest-landing .guest-wrapper {
        padding-bottom: calc(158px + var(--safe-bottom, 0px));
    }

    .gp-sticky-checkout-content {
        width: min(100%, 520px);
        gap: 0.65rem;
        padding: 0.62rem;
        border: 1px solid rgba(26, 43, 74, 0.1);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 14px 34px rgba(26, 43, 74, 0.18);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        pointer-events: auto;
    }

    .gp-sticky-checkout-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }

    [dir="rtl"] .gp-sticky-checkout-info {
        align-items: flex-end;
    }

    .gp-sticky-checkout-count {
        font-size: 0.76rem;
    }

    .gp-sticky-checkout-total {
        font-size: 0.9rem;
    }

    .gp-sticky-checkout-actions {
        gap: 0.45rem;
    }

    .gp-sticky-view-btn,
    .gp-sticky-checkout-btn {
        min-height: 38px;
        border-radius: 12px;
        padding: 0.55rem 0.72rem;
        font-size: 0.78rem;
    }

    .gp-sticky-view-btn span {
        display: none;
    }
}

/* ==========================================================================
   MODERN GUEST HEADER - LUXURY DESIGN
   ========================================================================== */

.modern-guest-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: #ffffff;
    border-bottom: 1px solid rgba(26, 43, 74, 0.1);
    box-shadow: 0 2px 12px rgba(26, 43, 74, 0.06);
    height: 72px;
}

.modern-header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo & Brand */
.modern-header-brand {
    display: flex;
    align-items: center;
}

.modern-logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.modern-logo-link:hover {
    opacity: 0.85;
}

.modern-logo-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(26, 43, 74, 0.1);
}

.modern-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modern-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.modern-brand-name {
    color: #1A2B4A;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.modern-brand-tagline {
    color: rgba(26, 43, 74, 0.6);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Desktop Navigation */
.modern-header-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .modern-header-nav {
        display: flex;
    }
}

.modern-nav-link {
    color: #1A2B4A;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.modern-nav-link:hover {
    color: #C9A84C;
}

.modern-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C9A84C;
    transition: width 0.3s ease;
}

.modern-nav-link:hover::after {
    width: 100%;
}

.modern-nav-cta {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #C9A84C 0%, #B89840 100%);
    color: #1A2B4A;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.25);
}

.modern-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.35);
}

/* Header Actions */
.modern-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modern-welcome-badge {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(201, 168, 76, 0.1);
    color: #C9A84C;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

@media (min-width: 1024px) {
    .modern-welcome-badge {
        display: flex;
    }
}

.modern-welcome-badge i {
    font-size: 12px;
}

/* Profile Button */
.modern-profile-btn {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(26, 43, 74, 0.05);
    border: 1px solid rgba(26, 43, 74, 0.1);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (min-width: 1024px) {
    .modern-profile-btn {
        display: flex;
    }
}

.modern-profile-btn:hover {
    background: rgba(26, 43, 74, 0.08);
    transform: translateY(-1px);
}

.modern-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A2B4A 0%, #162a42 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
}

.modern-profile-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.modern-profile-name {
    font-size: 14px;
    font-weight: 600;
    color: #1A2B4A;
}

.modern-profile-room {
    font-size: 11px;
    color: rgba(26, 43, 74, 0.6);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.modern-profile-room i {
    font-size: 10px;
}

/* Language Switcher */
.modern-lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    background: rgba(26, 43, 74, 0.08);
    border-radius: 20px;
}

.modern-lang-form {
    display: inline;
    margin: 0;
}

.modern-lang-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 18px;
    color: rgba(26, 43, 74, 0.7);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modern-lang-btn:hover {
    background: rgba(26, 43, 74, 0.08);
}

.modern-lang-btn--active {
    background: #1A2B4A;
    color: #ffffff;
    cursor: default;
}

.modern-lang-btn--active:hover {
    background: #1A2B4A;
}

/* Mobile Menu Toggle */
.modern-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: #1A2B4A;
    font-size: 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
}

@media (min-width: 1024px) {
    .modern-menu-toggle {
        display: none;
    }
}

.modern-menu-toggle:hover {
    background: rgba(26, 43, 74, 0.05);
}

/* Mobile Menu */
.modern-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.modern-mobile-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 43, 74, 0.4);
    backdrop-filter: blur(4px);
}

.modern-mobile-drawer {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: #ffffff;
    box-shadow: -8px 0 32px rgba(26, 43, 74, 0.15);
    overflow-y: auto;
}

[dir="rtl"] .modern-mobile-drawer {
    right: auto;
    left: 0;
    box-shadow: 8px 0 32px rgba(26, 43, 74, 0.15);
}

.modern-mobile-header {
    padding: 1.5rem;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid rgba(26, 43, 74, 0.1);
}

.modern-mobile-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 43, 74, 0.05);
    border: none;
    border-radius: 8px;
    color: #1A2B4A;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.modern-mobile-close:hover {
    background: rgba(26, 43, 74, 0.1);
}

/* Mobile Profile Section */
.modern-mobile-profile {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(26, 43, 74, 0.03) 0%, rgba(201, 168, 76, 0.03) 100%);
    border-bottom: 1px solid rgba(26, 43, 74, 0.1);
}

.modern-mobile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A2B4A 0%, #162a42 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    flex-shrink: 0;
}

.modern-mobile-profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.modern-mobile-name {
    font-size: 16px;
    font-weight: 700;
    color: #1A2B4A;
}

.modern-mobile-phone {
    font-size: 13px;
    color: rgba(26, 43, 74, 0.6);
}

.modern-mobile-room {
    font-size: 13px;
    color: #C9A84C;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-mobile-room i {
    font-size: 12px;
}

/* Mobile Navigation */
.modern-mobile-nav {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modern-mobile-link {
    padding: 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #1A2B4A;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modern-mobile-link:hover {
    background: rgba(26, 43, 74, 0.05);
}

.modern-mobile-link i {
    font-size: 18px;
    width: 24px;
}

.modern-mobile-divider {
    margin: 0.5rem 0;
    border: none;
    border-top: 1px solid rgba(26, 43, 74, 0.1);
}

.modern-mobile-cta {
    padding: 1rem;
    background: linear-gradient(135deg, #C9A84C 0%, #B89840 100%);
    border: none;
    border-radius: 8px;
    color: #1A2B4A;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.modern-mobile-cta:active {
    transform: scale(0.98);
}

/* RTL Support */
[dir="rtl"] .modern-nav-link::after {
    right: 0;
    left: auto;
}

[dir="rtl"] .modern-profile-info {
    align-items: flex-end;
}

[dir="rtl"] .modern-mobile-link {
    text-align: right;
}

/* ==========================================================================
   4. NEW HEADER RESPONSIVE STYLES (Desktop Layout - No Hamburger)
   ========================================================================== */

/* Mobile: Adjust profile and brand display */
@media (max-width: 767px) {
    /* Hide navigation links on mobile */
    header nav.hidden {
        display: none !important;
    }
    
    /* Show profile button on mobile with compact layout */
    header button[wire\:click="showProfileModal"].hidden {
        display: flex !important;
        padding: 0.375rem 0.5rem;
        gap: 0.375rem;
    }
    
    /* Smaller avatar on mobile */
    header button[wire\:click="showProfileModal"] .w-7 {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.625rem;
    }
    
    /* Smaller text on mobile */
    header button[wire\:click="showProfileModal"] .text-xs {
        font-size: 0.625rem;
    }
    
    header button[wire\:click="showProfileModal"] .text-\[10px\] {
        font-size: 0.5rem;
    }
    
    /* Adjust brand name for mobile */
    header .flex-col.leading-tight .text-\[18px\] {
        font-size: 1rem;
    }
    
    header .flex-col.leading-tight .text-\[10px\] {
        font-size: 0.625rem;
    }
    
    /* Hide CTA button on mobile */
    header button.landing-btn-accent {
        display: none !important;
    }
}

/* Tablet: Show profile button, hide some nav links */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Reduce gap between nav items */
    header nav {
        gap: 1rem;
    }
    
    /* Compact profile button */
    header button[wire\:click="showProfileModal"] {
        padding: 0.375rem 0.625rem;
        gap: 0.375rem;
    }
    
    /* Hide CTA button on tablet */
    header button.landing-btn-accent {
        display: none !important;
    }
}

/* Large screens: Full layout with comfortable spacing */
@media (min-width: 1280px) {
    header button[wire\:click="showProfileModal"] {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }
}

/* ==========================================================================
   5. LANGUAGE DROPDOWN STYLES
   ========================================================================== */

/* Language Dropdown - Removed old fixed positioning styles */
/* Now handled by inline Tailwind classes in components */


/* ==========================================================================
   6. GUEST PROFILE MODALS - CRITICAL STYLES WITH !important
   ========================================================================== */

/* Bootstrap Modal Override - FORCE STYLES */
.modal-dialog .modal-content.gp-modal {
    border-radius: 1rem !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
}

.modal-content.gp-modal .gp-modal-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%) !important;
    color: white !important;
    padding: 1.5rem !important;
    border-radius: 1rem 1rem 0 0 !important;
    border-bottom: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.modal-content.gp-modal .gp-modal-title {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: white !important;
}

.modal-content.gp-modal .gp-modal-title i {
    font-size: 1.5rem !important;
}

.modal-content.gp-modal .gp-modal-close {
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    color: white !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    padding: 0 !important;
    font-size: 1.25rem !important;
}

.modal-content.gp-modal .gp-modal-close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1) !important;
}

.modal-content.gp-modal .gp-modal-body {
    padding: 2rem !important;
    background: white !important;
}

.modal-content.gp-modal .gp-modal-section {
    margin-bottom: 1.5rem !important;
}

.modal-content.gp-modal .gp-modal-section:last-child {
    margin-bottom: 0 !important;
}

.modal-content.gp-modal .gp-modal-section-title {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0.75rem !important;
}

.modal-content.gp-modal .gp-modal-info-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

.modal-content.gp-modal .gp-modal-info-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.75rem !important;
    background: #f9fafb !important;
    border-radius: 0.5rem !important;
    font-size: 0.95rem !important;
    color: #1f2937 !important;
}

.modal-content.gp-modal .gp-modal-info-item i {
    color: #1A2B4A !important;
    font-size: 1.125rem !important;
    width: 24px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

.modal-content.gp-modal .gp-modal-info-item--highlight {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.08) 0%, rgba(44, 82, 130, 0.08) 100%) !important;
    border: 1px solid rgba(30, 58, 95, 0.2) !important;
}

.modal-content.gp-modal .gp-modal-footer {
    padding: 1.5rem !important;
    background: #f9fafb !important;
    border-radius: 0 0 1rem 1rem !important;
    display: flex !important;
    gap: 0.75rem !important;
    justify-content: flex-end !important;
    border-top: none !important;
}

.modal-content.gp-modal .gp-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    border-radius: 0.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.modal-content.gp-modal .gp-btn--primary {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3) !important;
}

.modal-content.gp-modal .gp-btn--primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(30, 58, 95, 0.4) !important;
}

.modal-content.gp-modal .gp-btn--secondary {
    background: white !important;
    color: #1e3a5f !important;
    border: 2px solid #1e3a5f !important;
}

.modal-content.gp-modal .gp-btn--secondary:hover {
    background: #f3f4f6 !important;
}

.modal-content.gp-modal .gp-btn--danger {
    background: #dc2626 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
}

.modal-content.gp-modal .gp-btn--danger:hover {
    background: #b91c1c !important;
    transform: translateY(-2px) !important;
}

.modal-content.gp-modal .gp-form-group {
    margin-bottom: 1.25rem !important;
}

.modal-content.gp-modal .gp-form-label {
    display: block !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 0.5rem !important;
}

.modal-content.gp-modal .gp-form-input {
    width: 100% !important;
    padding: 0.75rem !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 0.5rem !important;
    font-size: 1rem !important;
    color: #1f2937 !important;
    transition: all 0.3s ease !important;
    background: white !important;
}

.modal-content.gp-modal .gp-form-input:focus {
    outline: none !important;
    border-color: #1e3a5f !important;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1) !important;
}

.modal-content.gp-modal .gp-form-input:disabled,
.modal-content.gp-modal .gp-form-input[readonly] {
    background-color: #f3f4f6 !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

.modal-content.gp-modal .gp-form-hint {
    display: block !important;
    font-size: 0.75rem !important;
    color: #6b7280 !important;
    margin-top: 0.375rem !important;
}


/* ==========================================================================
   7. MODAL & LANGUAGE DROPDOWN FIXES
   ========================================================================== */

/* Make modal reasonable size on mobile (not full screen) */
@media (max-width: 767px) {
    .modal-dialog {
        margin: 1rem !important;
        max-width: calc(100% - 2rem) !important;
        width: calc(100% - 2rem) !important;
    }
    
    .modal-content.gp-modal {
        max-height: 77vh !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .modal-content.gp-modal .gp-modal-body {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        flex: 1 !important;
        max-height: calc(85vh - 180px) !important;
    }
}

/* Desktop: reasonable max width */
@media (min-width: 768px) {
    .modal-dialog {
        max-width: 500px !important;
    }
}

/* Language Dropdown - CRITICAL FIX for z-index */
/* Main header has z-index: 100, guest-header has z-index: 99 */
/* Language dropdown needs to be above BOTH */
header [x-data] {
    position: relative;
    z-index: 200 !important;
}

header [x-data] > div[x-show] {
    position: absolute !important;
    z-index: 10000 !important;
    left: auto;
    right: auto;
    inset-inline-end: 0 !important;
    top: calc(100% + 8px) !important;
}

[dir="rtl"] header [x-data] > div[x-show] {
    left: auto;
    right: auto;
    inset-inline-end: 0 !important;
}

/* Fix guest-header to be sticky below main header */
.guest-header {
    position: sticky !important;
    top: 72px !important;
    z-index: 99 !important;
    background: var(--gp-bg) !important;
    transition: box-shadow 0.3s ease !important;
}

.guest-route-guest-create .guest-header {
    position: sticky !important;
    top: 72px !important;
    z-index: 99 !important;
}

/* Add shadow when scrolled */
.guest-header.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Prevent iPhone auto-zoom on inputs - CRITICAL */
.gp-form-input,
.guest-input,
.guest-input-phone,
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    font-size: 16px !important;
}

/* Keep buttons text size normal */
button,
.gp-btn,
.guest-btn {
    font-size: 14px !important;
}


/* Ensure all inputs are 16px minimum to prevent iPhone zoom */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
    font-size: 16px !important;
}

.gp-form-input,
.guest-input,
.landing-input {
    font-size: 16px !important;
}

/* Prevent iOS input zoom while keeping desktop sizes */
@supports (-webkit-touch-callout: none) {
    input,
    textarea,
    select {
        font-size: 16px !important;
    }
}


/* ==========================================================================
   10. MENU PAGE - COMPACT DESIGN (Same Size as Service Selection)
   ========================================================================== */

/* Menu Page Container */
.gp-menu-page {
    padding-bottom: 80px;
}

/* Page Header */
.gp-page-header {
    position: sticky;
    top: 72px;
    background: white;
    border-bottom: 1px solid #e4e8ed;
    padding: 12px 16px;
    z-index: 98;
    box-shadow: 0 2px 4px rgba(26, 43, 74, 0.05);
}

.gp-page-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gp-header-back {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    color: #1A2B4A;
    text-decoration: none;
    transition: all 0.25s ease;
}

.gp-header-back:hover {
    background: #e9ecef;
}

.gp-page-title {
    flex: 1;
}

.gp-page-label {
    display: block;
    font-size: 10px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.gp-page-heading {
    font-size: 18px;
    font-weight: 700;
    color: #1A2B4A;
    margin: 0;
}

/* Search Bar */
.gp-search-bar {
    padding: 12px 16px;
    background: white;
}

.gp-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gp-search-input-wrapper i.fa-search {
    position: absolute;
    left: 12px;
    color: #9ca3af;
    font-size: 14px;
}

.gp-search-input {
    width: 100%;
    height: 40px;
    padding: 0 40px 0 40px;
    border: 1.5px solid #e4e8ed;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.25s ease;
}

.gp-search-input:focus {
    outline: none;
    border-color: #C9A84C;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.gp-search-clear {
    position: absolute;
    right: 10px;
    width: 24px;
    height: 24px;
    background: #e9ecef;
    border: none;
    border-radius: 50%;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.gp-search-clear:hover {
    background: #dee2e6;
}

/* Category Chips (Menu Page - Ultra Compact) */
.gp-menu-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    padding: 4px 10px;
    background: white;
    border-bottom: 1px solid #e4e8ed;
}

.gp-menu-chips--scrollable {
    flex-wrap: wrap; /* Changed from nowrap to wrap */
}

.gp-chip {
    flex-shrink: 0;
    padding: 2px 6px;
    background: white;
    border: 1.5px solid #e4e8ed;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-height: 20px;
    line-height: 1;
}

.gp-chip:hover {
    border-color: #C9A84C;
    background: rgba(201, 168, 76, 0.05);
}

.gp-chip--active {
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%);
    border-color: #1A2B4A;
    color: white;
    box-shadow: 0 1px 4px rgba(26, 43, 74, 0.15);
}

.gp-chip i {
    font-size: 9px;
}

/* Landing/menu category chips - stronger contrast for normal, hover and active states. */
.gp-menu-chips {
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid rgba(26, 43, 74, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
}

.gp-menu-chips .gp-chip {
    min-height: 36px;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(26, 43, 74, 0.14);
    border-radius: 10px;
    background: #ffffff;
    color: #1A2B4A;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(26, 43, 74, 0.05);
}

.gp-menu-chips .gp-chip i {
    color: #9a7620;
    font-size: 0.78rem;
}

.gp-menu-chips .gp-chip:hover {
    border-color: #C9A84C;
    background: #fff8e6;
    color: #1A2B4A;
    box-shadow: 0 6px 16px rgba(201, 168, 76, 0.16);
}

.gp-menu-chips .gp-chip:hover i {
    color: #1A2B4A;
}

.gp-menu-chips .gp-chip--active,
.gp-menu-chips .gp-chip--active:hover {
    border-color: #1A2B4A;
    background: linear-gradient(135deg, #1A2B4A 0%, #243e63 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(26, 43, 74, 0.18);
}

.gp-menu-chips .gp-chip--active i,
.gp-menu-chips .gp-chip--active:hover i {
    color: #C9A84C;
}

.gp-menu-chips .gp-chip.gp-action-pending {
    opacity: 0.78;
    cursor: wait;
}

/* Results Info */
.gp-menu-results-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e4e8ed;
}

.gp-results-count {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.gp-clear-filters {
    color: #C9A84C;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: 12px;
}

.gp-sort-select {
    padding: 4px 8px;
    border: 1.5px solid #e4e8ed;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #4a5568;
    background: white;
}

/* Menu Grid - Compact Design */
.gp-menu-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px 16px;
}

@media (min-width: 640px) {
    .gp-menu-grid-new {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (min-width: 1024px) {
    .gp-menu-grid-new {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Menu Card - Vertical (Same Size as Service Card) */
.gp-menu-card-vertical {
    background: white;
    border: 1.5px solid #e8eef6;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.gp-menu-card-vertical:hover {
    border-color: #C9A84C;
    box-shadow: 0 4px 16px rgba(26, 43, 74, 0.1);
    transform: translateY(-2px);
}

.gp-menu-card-vertical-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f5f9;
}

.gp-menu-card-vertical-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gp-menu-card-vertical:hover .gp-menu-card-vertical-image img {
    transform: scale(1.05);
}

.gp-menu-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%);
}

/* Ribbon */
.gp-ribbon,
.gp-ribbon-top {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #1A2B4A;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    z-index: 10;
    letter-spacing: 0.3px;
}

.gp-ribbon-discount {
    background: #059669;
}

/* Card Content - Vertical */
.gp-menu-card-vertical-content {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gp-menu-card-vertical-title {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    margin: 0 0 4px 0;
}

.gp-menu-card-vertical-desc {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.4;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer - Unified for all cards */
.gp-menu-card-vertical-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-top: 1px solid #e4e8ed;
    background: #f8f9fa;
}

.gp-menu-card-price-section {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.gp-price-original {
    font-size: 10px;
    color: #9ca3af;
    text-decoration: line-through;
}

.gp-price-current {
    font-size: 13px;
    font-weight: 700;
    color: #1A2B4A;
}

/* Meta Badges - Unified */
.gp-menu-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.gp-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 7px;
    background: rgba(201, 168, 76, 0.08);
    border-radius: 5px;
    font-size: 9px;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}

.gp-meta-badge i {
    color: #C9A84C;
    font-size: 9px;
}

/* Price Section - Unified */
.gp-menu-card-price-section {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.gp-price-original {
    font-size: 10px;
    color: #9ca3af;
    text-decoration: line-through;
}

.gp-price-current {
    font-size: 13px;
    font-weight: 700;
    color: #1A2B4A;
}

/* Large card larger price */
.gp-menu-card-large .gp-price-current {
    font-size: 15px;
}

.gp-menu-card-large .gp-price-original {
    font-size: 12px;
}

/* Buttons - Unified */
.gp-menu-card-btn,
.gp-menu-card-btn-sm,
.gp-menu-card-btn-order {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%);
    border: none;
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.gp-menu-card-btn:hover,
.gp-menu-card-btn-sm:hover,
.gp-menu-card-btn-order:hover {
    background: linear-gradient(135deg, #2c3e5f 0%, #1A2B4A 100%);
    transform: scale(1.05);
}

.gp-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gp-cart-unavailable-icon {
    position: relative;
    overflow: visible;
    opacity: 1;
    cursor: pointer;
    background: linear-gradient(135deg, #eef2f7 0%, #dfe5ec 100%) !important;
    color: #8a95a4 !important;
    border: 1px solid rgba(26, 43, 74, 0.08) !important;
    box-shadow: none !important;
}

.gp-cart-unavailable-icon > .fa-shopping-cart {
    font-size: .9em;
    opacity: .78;
}

.gp-cart-unavailable-mark {
    position: absolute;
    right: -4px;
    top: -4px;
    width: 14px;
    height: 14px;
    display: grid !important;
    place-items: center;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    border: 2px solid #fff;
    font-size: 8px !important;
    line-height: 1;
}

.gp-cart-unavailable-icon:hover {
    transform: none !important;
    background: linear-gradient(135deg, #eef2f7 0%, #dfe5ec 100%) !important;
}

/* Large & Medium Cards */
.gp-menu-card-large,
.gp-menu-card-medium {
    grid-column: span 2;
    background: white;
    border: 1.5px solid #e8eef6;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    transition: all 0.3s ease;
}

.gp-menu-card-large:hover,
.gp-menu-card-medium:hover {
    border-color: #C9A84C;
    box-shadow: 0 4px 16px rgba(26, 43, 74, 0.1);
    transform: translateY(-2px);
}

.gp-menu-card-large-image,
.gp-menu-card-medium-image {
    position: relative;
    width: 40%;
    flex-shrink: 0;
}

.gp-menu-card-large-image img,
.gp-menu-card-medium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-menu-card-large-content,
.gp-menu-card-medium-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Card Headers - Unified */
.gp-menu-card-header {
    margin-bottom: 6px;
}

.gp-menu-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 6px 0;
}

.gp-menu-card-medium-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 6px 0;
}

.gp-menu-card-desc,
.gp-menu-card-medium-desc {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

/* Footers - Unified for Large and Medium */
.gp-menu-card-large-footer,
.gp-menu-card-medium-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
}

/* Previous Orders Section */
.gp-previous-orders {
    padding: 16px;
    background: linear-gradient(135deg, rgba(26, 43, 74, 0.02) 0%, rgba(201, 168, 76, 0.02) 100%);
    margin: 0 0 12px 0;
}

.gp-previous-orders-header {
    margin-bottom: 12px;
}

.gp-previous-orders-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1A2B4A;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gp-previous-orders-subtitle {
    font-size: 11px;
    color: #6b7280;
}

.gp-previous-orders-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.gp-previous-orders-grid::-webkit-scrollbar {
    display: none;
}

.gp-previous-item {
    flex-shrink: 0;
    width: 130px;
    background: white;
    border: 1.5px solid #e4e8ed;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.gp-previous-item-image,
.gp-previous-item-placeholder {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.gp-previous-item-placeholder {
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A84C;
    font-size: 28px;
}

.gp-previous-item-info {
    padding: 8px 8px 8px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gp-previous-item-name {
    font-size: 12px;
    font-weight: 600;
    color: #1f2937;
    display: block;
    margin-bottom: 4px;
    line-height: 1.3;
    max-height: 32px;
    overflow: hidden;
}

.gp-previous-item-price {
    font-size: 13px;
    font-weight: 700;
    color: #1A2B4A;
    display: block !important;
    visibility: visible !important;
    margin-top: auto;
}

.gp-previous-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    border-top: 1px solid #e4e8ed;
    background: #f8f9fa;
}

.gp-previous-item-add {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%);
    border: none;
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 13px;
    flex-shrink: 0;
}

.gp-previous-item-add:hover {
    background: linear-gradient(135deg, #2c3e5f 0%, #1A2B4A 100%);
    transform: scale(1.05);
}

/* Pagination */
.gp-pagination {
    padding: 16px;
    text-align: center;
}

.gp-load-more-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 12px;
}

.gp-load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 43, 74, 0.2);
}

.gp-page-info {
    font-size: 11px;
    color: #6b7280;
}

/* Scroll to Top */
.gp-scroll-top-fixed {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(26, 43, 74, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.gp-scroll-visible {
    opacity: 1;
    visibility: visible;
}

.gp-scroll-top-fixed:hover {
    transform: translateY(-4px);
}

/* Empty State */
.gp-menu-empty {
    padding: 60px 20px;
    text-align: center;
}

.gp-empty-icon {
    font-size: 48px;
    color: #C9A84C;
    margin-bottom: 16px;
}

.gp-empty-title {
    font-size: 18px;
    font-weight: 700;
    color: #1A2B4A;
    margin: 0 0 8px 0;
}

.gp-empty-text {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 20px 0;
}

.gp-btn-secondary {
    padding: 8px 16px;
    background: white;
    border: 1.5px solid #1A2B4A;
    color: #1A2B4A;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.gp-btn-secondary:hover {
    background: #1A2B4A;
    color: white;
}

/* Menu Page - Responsive Design */
@media (max-width: 767px) {
    /* Large and Medium cards take full width on mobile */
    .gp-menu-card-large,
    .gp-menu-card-medium {
        grid-column: 1 / -1;
    }
    
    /* Large and Medium cards optimize for mobile */
    .gp-menu-card-large-image,
    .gp-menu-card-medium-image {
        width: 35%;
    }
    
    .gp-menu-card-title {
        font-size: 14px;
    }
    
    .gp-menu-card-medium-title {
        font-size: 13px;
    }
    
    .gp-menu-card-desc,
    .gp-menu-card-medium-desc {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .gp-meta-badge {
        font-size: 8px;
        padding: 2px 5px;
    }
    
    .gp-meta-badge i {
        font-size: 8px;
    }
    
    .gp-price-current {
        font-size: 12px;
    }
    
    .gp-menu-card-large .gp-price-current {
        font-size: 14px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    /* Tablet: Large cards still span 2 columns */
    .gp-menu-card-large,
    .gp-menu-card-medium {
        grid-column: span 2;
    }
}


/* ==========================================================================
   TICKET STATUS PAGE - OLD DESIGN (CONVERTED FROM SCSS)
   Applied with intense focus - matches old design system exactly
   ========================================================================== */

/* Page Container */
.ts-page {
    min-height: 100vh;
    background: #f8fafc;
    padding: 1rem;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .ts-page {
        max-width: 480px;
        margin: 0 auto;
        padding: 2rem 1rem;
    }
}

/* Header - Match Create Ticket Design */
.ts-page .guest-header {
    position: sticky !important;
    top: 72px !important;
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 0;
    background: var(--gp-bg, #F8F6F2);
    border-bottom: 1px solid rgba(22, 42, 66, 0.08);
    box-shadow: none;
    margin-bottom: 1.5rem;
}

.ts-page .gp-back-btn {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    text-decoration: none;
    color: var(--gp-primary, #1A2B4A);
    background: #eef2f6;
    border: 1px solid rgba(22, 42, 66, 0.08);
    transition: all 0.2s ease;
}

.ts-page .gp-back-btn:hover {
    background: #e1e7ed;
    border-color: rgba(22, 42, 66, 0.12);
}

.ts-page .gp-page-heading {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f2a3d;
    flex: 1;
}

.ts-page .gp-header-actions-row {
    margin-inline-start: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ts-page .gp-header-action-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: var(--gp-primary, #1A2B4A);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ts-page .gp-header-action-btn:hover {
    background: #2A3B5A;
    transform: scale(1.05);
}

.ts-page .gp-header-action-btn:active {
    transform: scale(0.95);
}

/* Legacy Header Classes (Keep for backward compatibility) */
.ts-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.ts-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
}

.ts-back i {
    font-size: 0.75rem;
}

.ts-back:hover {
    color: #1e293b;
}

.ts-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
}

/* Main Card */
.ts-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

/* Meta bar (code + status) */
.ts-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.ts-code {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.75rem;
    color: #94a3b8;
    letter-spacing: 0.025em;
}

.ts-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.ts-status--new {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.ts-status--in_progress,
.ts-status--in-progress {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.ts-status--resolved {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.ts-status--closed {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.ts-status--on_hold,
.ts-status--on-hold {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

/* Headline (subject + unit/room) */
.ts-headline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .ts-headline {
        align-items: center;
    }
}

.ts-subject {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
    margin: 0;
}

.ts-unit,
.ts-room {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: #eef2ff;
    color: #4f46e5;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* Description */
.ts-description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1rem;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Actions row: Mark as Done (start) + Send Update (end), RTL-aware */
.ts-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Attachments */
.ts-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.ts-attachment {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #64748b;
    text-decoration: none;
    transition: background 0.15s ease;
}

.ts-attachment i {
    font-size: 0.625rem;
    color: #94a3b8;
}

.ts-attachment:hover {
    background: #e2e8f0;
}

.ts-attachment--small {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Meta footer */
.ts-meta-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 1rem;
}

.ts-dot {
    opacity: 0.5;
}

/* Sections (Timeline, Replies) */
.ts-section {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    padding: 1rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.ts-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ts-section-title i {
    font-size: 0.75rem;
}

/* Timeline */
.ts-timeline {
    position: relative;
    padding-left: 1.25rem;
}

.ts-timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #e2e8f0;
}

.ts-timeline-item {
    position: relative;
    padding-bottom: 1rem;
}

.ts-timeline-item:last-child {
    padding-bottom: 0;
}

.ts-timeline-marker {
    position: absolute;
    left: -1.25rem;
    top: 4px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e2e8f0;
}

.ts-timeline-item:first-child .ts-timeline-marker {
    border-color: #3b82f6;
    background: #3b82f6;
}

.ts-timeline-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.ts-timeline-status {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
}

.ts-timeline-time {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Conversation Thread (Actual Blade Structure) */
.ts-thread {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ts-message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0; /* Critical: allow flex children to shrink below content size */
}

.ts-message--guest {
    flex-direction: row;
}

.ts-message--staff {
    flex-direction: row;
}

.ts-avatar {
    flex-shrink: 0; /* Avatar should not shrink */
}

.ts-avatar-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
}

.ts-avatar-circle.ts-avatar--staff,
.ts-avatar-circle.avatar-circle--staff {
    background: #eef2ff;
    color: #4f46e5;
}

.ts-avatar-circle.avatar-circle--guest {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.ts-avatar-circle.avatar-circle--superadmin {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.ts-avatar-circle.avatar-circle--unknown {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #64748b;
}

.ts-bubble-wrap {
    flex: 1;
    min-width: 0; /* Critical: allow this flex child to shrink */
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ts-msg-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ts-msg-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
}

.ts-msg-badge {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.ts-msg-badge.ts-badge--guest {
    background: #eef2ff;
    color: #4f46e5;
}

.ts-msg-badge.ts-badge--staff {
    background: #f1f5f9;
    color: #64748b;
}

.ts-bubble {
    max-width: 100%; /* Never exceed parent width */
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: normal;
    /* Critical: FORCE wrap for any long string (Arabic, URLs, random chars) */
    /* 'anywhere' is the strongest - breaks at ANY character if needed */
    overflow-wrap: anywhere;
    word-break: break-word;
    /* Ensure content stays inside */
    box-sizing: border-box;
}

.ts-bubble--guest {
    background: #eef2ff;
    color: #1e293b;
}

.ts-bubble--staff {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #f1f5f9;
}

.ts-msg-time {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Legacy Replies (Keep for backward compatibility) */
.ts-replies {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ts-reply {
    padding: 0.75rem;
    border-radius: 8px;
    background: #f1f5f9;
}

.ts-reply--staff {
    background: #f1f5f9;
}

.ts-reply--guest {
    background: #eef2ff;
}

.ts-reply-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.ts-reply-author {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e293b;
}

.ts-reply-time {
    font-size: 0.75rem;
    color: #94a3b8;
}

.ts-reply-body {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: break-word;
}

.ts-reply-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

/* Form Elements */
.ts-form-group {
    margin-bottom: 1rem;
}

.ts-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-size: 0.875rem;
}

.ts-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.15s ease;
}

.ts-textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px #eef2ff, 0 0 0 4px #4f46e5;
}

.ts-textarea::placeholder {
    color: #94a3b8;
}

/* Buttons */
.ts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
    border: none;
    cursor: pointer;
}

.ts-btn i {
    font-size: 0.75rem;
}

.ts-btn--primary {
    flex: 1;
    background: #4f46e5;
    color: white;
}

@media (min-width: 640px) {
    .ts-btn--primary {
        flex: 0 1 auto;
    }
}

.ts-btn--primary:hover {
    background: #4338ca;
}

.ts-btn--primary:disabled,
.ts-btn--primary.gp-action-pending {
    opacity: 0.6;
    cursor: not-allowed;
}

.ts-btn--ghost {
    background: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.ts-btn--ghost:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.ts-btn--escalate {
    margin-top: 0.75rem;
    background: #fff;
    color: #f59e0b;
    border: 2px solid #f59e0b;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    width: 100%;
}

.ts-btn--escalate:hover {
    background: #fffbeb;
    border-color: #d97706;
    color: #d97706;
}

.ts-btn--escalate:disabled,
.ts-btn--escalate.gp-action-pending {
    opacity: 0.6;
    cursor: not-allowed;
}

.ts-btn-done-link {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.ts-btn-done-link:hover {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
}

.ts-btn-done-link:disabled,
.ts-btn-done-link.gp-action-pending {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer Navigation */
.ts-footer {
    margin-top: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #e2e8f0;
}

.ts-footer-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.ts-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.ts-footer-link:hover {
    color: #1f2937;
    background: #f3f4f6;
}

.ts-footer-link i {
    font-size: 0.75rem;
}

/* Responsive Adjustments */
@media (min-width: 640px) {
    .ts-actions {
        flex-direction: row;
    }
}

/* RTL Support */
[dir="rtl"] .ts-timeline {
    padding-left: 0;
    padding-right: 1.25rem;
}

[dir="rtl"] .ts-timeline::before {
    left: auto;
    right: 5px;
}

[dir="rtl"] .ts-timeline-marker {
    left: auto;
    right: -1.25rem;
}

/* Print Styles */
@media print {
    .ts-page {
        background: white;
        padding: 0;
    }
    
    .ts-card,
    .ts-section {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
    
    .ts-actions-row,
    .ts-footer,
    .no-print {
        display: none !important;
    }
}


/* ==========================================================================
   CART PANEL - COMPLETE STYLING (OLD DESIGN)
   ========================================================================== */

/* Cart Header */
.gp-cart-header {
    padding: 20px;
    background: var(--gp-primary, #1A2B4A);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gp-cart-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gp-cart-title i {
    font-size: 20px;
}

.gp-cart-title .gp-btn-badge {
    background: var(--gp-accent, #C9A84C);
    color: var(--gp-primary, #1A2B4A);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gp-cart-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gp-cart-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gp-cart-close i {
    font-size: 16px;
}

/* Cart Items Container */
.gp-cart-items {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

/* Individual Cart Item */
.gp-cart-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.2s ease;
}

.gp-cart-item:hover {
    border-color: var(--gp-accent, #C9A84C);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gp-cart-item-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.gp-cart-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

.gp-cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Quantity Control */
.gp-quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
}

.gp-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--gp-primary, #1A2B4A);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gp-qty-btn:hover:not(:disabled) {
    background: var(--gp-primary, #1A2B4A);
    color: #ffffff;
    border-color: var(--gp-primary, #1A2B4A);
}

.gp-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.gp-qty-btn i {
    font-size: 10px;
}

.gp-qty-value {
    min-width: 32px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
}

.gp-cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--gp-primary, #1A2B4A);
    white-space: nowrap;
}

.gp-cart-item-remove {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fee2e2;
    border: none;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.gp-cart-item-remove:hover {
    background: #fecaca;
}

.gp-cart-item-remove i {
    font-size: 13px;
}

/* Cart Totals */
.gp-cart-totals {
    padding: 16px;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.gp-cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: #6b7280;
}

.gp-cart-total-row:last-child {
    margin-bottom: 0;
}

.gp-cart-total-row span:last-child {
    font-weight: 600;
    color: #1f2937;
}

.gp-total-grand {
    padding-top: 12px;
    border-top: 2px solid #e2e8f0;
    margin-top: 4px;
    font-size: 16px;
}

.gp-total-grand span {
    font-weight: 700;
    font-size: 18px;
}

.gp-total-grand span:first-child {
    color: #1f2937;
}

.gp-total-grand span:last-child {
    color: var(--gp-primary, #1A2B4A);
}

/* Cart Actions */
.gp-cart-actions {
    padding: 16px;
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.gp-cart-actions .gp-btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.gp-cart-actions .gp-btn-secondary {
    background: #f1f5f9;
    color: #64748b;
}

.gp-cart-actions .gp-btn-secondary:hover {
    background: #e2e8f0;
    color: #475569;
}

.gp-cart-actions .gp-btn-primary {
    background: var(--gp-primary, #1A2B4A);
    color: #ffffff;
}

.gp-cart-actions .gp-btn-primary:hover {
    background: #2A3B5A;
}

.gp-cart-actions .gp-btn i {
    font-size: 14px;
}

.gp-cart-actions .gp-btn.gp-action-pending {
    opacity: 0.7;
    pointer-events: none;
}

/* Empty Cart State */
.gp-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.gp-cart-empty-icon i {
    font-size: 64px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.gp-cart-empty-btn i {
    font-size: 14px;
    line-height: 1;
    margin-bottom: 0;
    color: inherit;
}

.gp-cart-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.gp-cart-empty-text {
    font-size: 14px;
    color: #6b7280;
}

/* RTL Support */
[dir="rtl"] .gp-cart-item-actions {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 480px) {
    .gp-cart-panel {
        max-width: 100%;
    }
    
    .gp-cart-item-actions {
        flex-wrap: wrap;
    }
    
    .gp-quantity-control {
        order: 1;
        flex: 1;
    }
    
    .gp-cart-item-price {
        order: 2;
    }
    
    .gp-cart-item-remove {
        order: 3;
    }
}

/* Loading State */
.gp-cart-item.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Slide Enter/Leave Animations */
.gp-slide-enter {
    animation: gp-slide-in-right 0.4s cubic-bezier(0, 0, 0.2, 1);
}

[dir="rtl"] .gp-slide-enter {
    animation: gp-slide-in-left 0.4s cubic-bezier(0, 0, 0.2, 1);
}

.gp-fade-enter {
    animation: gp-fade-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Guest history pages and RTL form polish */
[dir="rtl"] .guest-route-guest-create .guest-phone-input {
    direction: ltr;
}

[dir="rtl"] .guest-route-guest-create .guest-phone-country {
    border-inline-end: 1px solid #dbe3ec;
    border-inline-start: 0;
}

[dir="rtl"] .guest-route-guest-create .guest-input-phone {
    direction: rtl;
    text-align: right;
}

.gp-btn,
.guest-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.75rem 1.5rem;
    border: 0;
    border-radius: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    user-select: none;
    touch-action: manipulation;
}

.gp-btn-primary,
.guest-btn-primary {
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(26, 43, 74, 0.18);
}

.gp-btn-primary:hover,
.guest-btn-primary:hover {
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(26, 43, 74, 0.24);
    transform: translateY(-1px);
}

.gp-btn-primary:active,
.guest-btn-primary:active {
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(26, 43, 74, 0.16);
}

.gp-btn-secondary,
.guest-btn-secondary {
    background: #ffffff;
    color: #1A2B4A;
    border: 2px solid #1A2B4A;
    box-shadow: 0 2px 8px rgba(26, 43, 74, 0.08);
}

.gp-btn:disabled,
.guest-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.guest-route-guest-orders .guest-page,
.guest-route-guest-tickets .guest-page,
.guest-route-guest-request-status .guest-page {
    width: min(100%, 920px);
    margin: 0 auto;
    padding: 1rem 1rem 7rem;
}

.guest-route-guest-orders .guest-header,
.guest-route-guest-tickets .guest-header {
    position: relative;
    top: auto;
    z-index: 1;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1rem;
    padding: 0.25rem 0 0.75rem;
    background: transparent;
    border-bottom: 1px solid rgba(26, 43, 74, 0.08);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.guest-route-guest-orders .gp-back-btn,
.guest-route-guest-tickets .gp-back-btn,
.guest-route-guest-orders .gp-header-action-btn,
.guest-route-guest-tickets .gp-header-action-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(26, 43, 74, 0.08);
    border-radius: 14px;
    background: #ffffff;
    color: #1A2B4A;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(26, 43, 74, 0.08);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.guest-route-guest-orders .gp-back-btn:hover,
.guest-route-guest-tickets .gp-back-btn:hover,
.guest-route-guest-orders .gp-header-action-btn:hover,
.guest-route-guest-tickets .gp-header-action-btn:hover,
.guest-route-guest-orders .gp-header-action-btn--active,
.guest-route-guest-tickets .gp-header-action-btn--active {
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(26, 43, 74, 0.18);
    transform: translateY(-1px);
}

.guest-route-guest-orders .gp-page-heading,
.guest-route-guest-tickets .gp-page-heading {
    margin: 0;
    color: #1A2B4A;
    font-size: clamp(1rem, 4vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    text-align: center;
}

[dir="rtl"] .guest-route-guest-orders .gp-page-heading,
[dir="rtl"] .guest-route-guest-tickets .gp-page-heading {
    text-align: right;
}

.guest-route-guest-orders .gp-header-actions-row,
.guest-route-guest-tickets .gp-header-actions-row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.guest-route-guest-create .guest-header,
.guest-route-guest-request-status .guest-header {
    position: relative;
    top: auto !important;
    z-index: 1;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1rem;
    padding: 0.25rem 0 0.75rem;
    background: transparent;
    border-bottom: 1px solid rgba(26, 43, 74, 0.08);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.guest-route-guest-create .gp-back-btn,
.guest-route-guest-request-status .gp-back-btn,
.guest-route-guest-create .gp-header-action-btn,
.guest-route-guest-request-status .gp-header-action-btn {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(26, 43, 74, 0.08);
    border-radius: 14px;
    background: #ffffff;
    color: #1A2B4A;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(26, 43, 74, 0.08);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.guest-route-guest-create .gp-back-btn:hover,
.guest-route-guest-request-status .gp-back-btn:hover,
.guest-route-guest-create .gp-header-action-btn:hover,
.guest-route-guest-request-status .gp-header-action-btn:hover {
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(26, 43, 74, 0.18);
    transform: translateY(-1px);
}

.guest-route-guest-create .gp-page-heading,
.guest-route-guest-request-status .gp-page-heading {
    margin: 0;
    color: #1A2B4A;
    font-size: clamp(1rem, 4vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    text-align: center;
}

[dir="rtl"] .guest-route-guest-create .gp-page-heading,
[dir="rtl"] .guest-route-guest-request-status .gp-page-heading {
    text-align: right;
}

.guest-route-guest-create .gp-header-actions-row,
.guest-route-guest-request-status .gp-header-actions-row {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-inline-start: 0;
}

.guest-route-guest-orders .gp-page-content,
.guest-route-guest-tickets .gp-page-content {
    padding-top: 0.35rem;
}

.guest-route-guest-request-status .guest-form-container {
    width: 100%;
    padding-top: 0.35rem;
}

.guest-route-guest-request-status .invoice-card {
    width: 100%;
    margin-inline: auto;
}

.guest-route-guest-orders .gp-tickets-list,
.guest-route-guest-tickets .gp-tickets-list {
    gap: 0.85rem;
}

.guest-route-guest-orders .gp-ticket-card,
.guest-route-guest-tickets .gp-ticket-card {
    position: relative;
    overflow: hidden;
    display: block;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid rgba(26, 43, 74, 0.08);
    border-radius: 18px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(26, 43, 74, 0.07);
}

.guest-route-guest-orders .gp-ticket-card::before,
.guest-route-guest-tickets .gp-ticket-card::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #C9A84C 0%, rgba(201, 168, 76, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.guest-route-guest-orders .gp-ticket-card:hover,
.guest-route-guest-tickets .gp-ticket-card:hover {
    border-color: rgba(201, 168, 76, 0.34);
    box-shadow: 0 16px 34px rgba(26, 43, 74, 0.12);
    transform: translateY(-2px);
}

.guest-route-guest-orders .gp-ticket-card:hover::before,
.guest-route-guest-tickets .gp-ticket-card:hover::before,
.guest-route-guest-orders .gp-ticket-card--staff::before,
.guest-route-guest-tickets .gp-ticket-card--staff::before {
    opacity: 1;
}

.guest-route-guest-orders .gp-ticket-card--staff,
.guest-route-guest-tickets .gp-ticket-card--staff {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.07) 0%, rgba(255, 255, 255, 0.98) 58%, rgba(26, 43, 74, 0.03) 100%);
    border-left: 0;
}

.guest-route-guest-orders .gp-ticket-header,
.guest-route-guest-tickets .gp-ticket-header,
.guest-route-guest-orders .gp-ticket-service-row,
.guest-route-guest-tickets .gp-ticket-service-row,
.guest-route-guest-orders .gp-ticket-footer,
.guest-route-guest-tickets .gp-ticket-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.guest-route-guest-orders .gp-ticket-code,
.guest-route-guest-tickets .gp-ticket-code {
    min-width: 0;
    color: #1A2B4A;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.guest-route-guest-orders .gp-ticket-code i,
.guest-route-guest-tickets .gp-ticket-code i,
.guest-route-guest-orders .gp-ticket-service i,
.guest-route-guest-tickets .gp-ticket-service i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    border-radius: 10px;
    background: rgba(201, 168, 76, 0.12);
    color: #C9A84C;
}

.guest-route-guest-orders .gp-ticket-status,
.guest-route-guest-tickets .gp-ticket-status {
    flex: 0 0 auto;
    padding: 0.34rem 0.62rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.guest-route-guest-orders .gp-ticket-service,
.guest-route-guest-tickets .gp-ticket-service {
    min-width: 0;
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 800;
}

.guest-route-guest-orders .gp-ticket-cost,
.guest-route-guest-tickets .gp-ticket-cost {
    flex: 0 0 auto;
    background: rgba(201, 168, 76, 0.12);
    color: #1A2B4A;
    border-radius: 10px;
    padding: 0.35rem 0.55rem;
    font-size: 0.8rem;
    font-weight: 800;
}

.guest-route-guest-orders .gp-ticket-category,
.guest-route-guest-tickets .gp-ticket-category,
.guest-route-guest-orders .gp-ticket-room,
.guest-route-guest-tickets .gp-ticket-room,
.guest-route-guest-orders .gp-ticket-subject,
.guest-route-guest-tickets .gp-ticket-subject {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
}

.guest-route-guest-orders .gp-ticket-footer,
.guest-route-guest-tickets .gp-ticket-footer {
    margin-top: 0.9rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(26, 43, 74, 0.08);
}

.guest-route-guest-orders .gp-ticket-time,
.guest-route-guest-tickets .gp-ticket-time,
.guest-route-guest-orders .gp-ticket-view,
.guest-route-guest-tickets .gp-ticket-view,
.guest-route-guest-orders .gp-ticket-staff-label,
.guest-route-guest-tickets .gp-ticket-staff-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.74rem;
    font-weight: 700;
}

.guest-route-guest-orders .gp-ticket-view,
.guest-route-guest-tickets .gp-ticket-view {
    color: #1A2B4A;
}

.guest-route-guest-orders .gp-ticket-staff-label,
.guest-route-guest-tickets .gp-ticket-staff-label {
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: rgba(201, 168, 76, 0.12);
    color: #9a7620;
}

.guest-route-guest-orders .gp-load-more,
.guest-route-guest-tickets .gp-load-more {
    padding: 1.25rem 0 0;
}

.guest-route-guest-orders .gp-load-more-btn,
.guest-route-guest-tickets .gp-load-more-btn {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    background: #ffffff;
    color: #1A2B4A;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(26, 43, 74, 0.08);
}

.guest-route-guest-orders .gp-empty-state,
.guest-route-guest-tickets .gp-empty-state {
    margin-top: 1rem;
    padding: 3rem 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(26, 43, 74, 0.08);
    border-radius: 22px;
    text-align: center;
    box-shadow: 0 14px 34px rgba(26, 43, 74, 0.08);
}

.guest-route-guest-orders .gp-empty-state > i,
.guest-route-guest-tickets .gp-empty-state > i {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 24px;
    background: rgba(201, 168, 76, 0.12);
    color: #C9A84C;
    font-size: 2rem;
}

.guest-route-guest-orders .gp-empty-state .gp-btn,
.guest-route-guest-tickets .gp-empty-state .gp-btn {
    width: 100%;
    margin-top: 1rem;
}

[dir="rtl"] .guest-route-guest-orders .gp-back-btn i,
[dir="rtl"] .guest-route-guest-tickets .gp-back-btn i,
[dir="rtl"] .guest-route-guest-create .gp-back-btn i,
[dir="rtl"] .guest-route-guest-request-status .gp-back-btn i,
[dir="rtl"] .guest-route-guest-orders .gp-ticket-view i.fa-chevron-right,
[dir="rtl"] .guest-route-guest-tickets .gp-ticket-view i.fa-chevron-right {
    transform: rotate(180deg);
}

@media (max-width: 520px) {
    .guest-route-guest-orders .guest-page,
    .guest-route-guest-tickets .guest-page,
    .guest-route-guest-request-status .guest-page {
        padding-inline: 0.85rem;
    }

    .guest-route-guest-orders .guest-header,
    .guest-route-guest-tickets .guest-header,
    .guest-route-guest-create .guest-header,
    .guest-route-guest-request-status .guest-header {
        margin-inline: 0;
    }

    .guest-route-guest-orders .gp-ticket-header,
    .guest-route-guest-tickets .gp-ticket-header {
        align-items: flex-start;
    }

    .guest-route-guest-orders .gp-ticket-service-row,
    .guest-route-guest-tickets .gp-ticket-service-row,
    .guest-route-guest-orders .gp-ticket-footer,
    .guest-route-guest-tickets .gp-ticket-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .guest-route-guest-orders .gp-ticket-cost,
    .guest-route-guest-tickets .gp-ticket-cost,
    .guest-route-guest-orders .gp-ticket-view,
    .guest-route-guest-tickets .gp-ticket-view {
        align-self: flex-end;
    }

    [dir="rtl"] .guest-route-guest-orders .gp-ticket-cost,
    [dir="rtl"] .guest-route-guest-tickets .gp-ticket-cost,
    [dir="rtl"] .guest-route-guest-orders .gp-ticket-view,
    [dir="rtl"] .guest-route-guest-tickets .gp-ticket-view {
        align-self: flex-start;
    }
}

/* ==========================================================================
   CHECKOUT PANEL AND PRIVACY BANNER MOBILE FIXES
   ========================================================================== */

.gp-cart-container {
    touch-action: pan-y;
}

.gp-cart-backdrop {
    touch-action: none;
}

.gp-cart-panel {
    max-height: 100dvh;
}

.gp-cart-panel .gp-cart-header {
    flex-shrink: 0;
}

.gp-cart-panel form {
    min-height: 0;
}

@media (max-width: 767px) {
    .gp-cart-panel {
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
    }

    .gp-cart-panel .gp-cart-items {
        padding-bottom: 1rem;
    }

    .gp-cart-panel .gp-cart-actions {
        padding: 0.75rem;
        padding-bottom: calc(0.75rem + var(--safe-bottom, 0px));
        box-shadow: 0 -10px 24px rgba(26, 43, 74, 0.08);
    }
}

.privacy-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: calc(1rem + var(--safe-bottom, 0px));
    z-index: 2100;
    pointer-events: none;
}

body:has(#checkoutPanel:not(.gp-modal-hidden)) .privacy-banner {
    display: none !important;
}

.privacy-banner-content {
    width: min(100%, 760px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem;
    border: 1px solid rgba(26, 43, 74, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 42px rgba(26, 43, 74, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    pointer-events: auto;
}

.privacy-banner-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(201, 168, 76, 0.14);
    color: #9a7620;
    flex: 0 0 42px;
}

.privacy-banner-text {
    min-width: 0;
}

.privacy-banner-text p {
    margin: 0;
    color: #344055;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
}

.privacy-link {
    color: #1A2B4A;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-banner-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
}

.privacy-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 0.95rem;
    border: 0;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    touch-action: manipulation;
}

.privacy-btn--accept {
    background: #1A2B4A;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(26, 43, 74, 0.16);
}

.privacy-btn--accept:hover {
    background: #243e63;
    color: #ffffff;
}

[dir="rtl"] .privacy-banner-content {
    direction: rtl;
}

@media (max-width: 640px) {
    .privacy-banner {
        left: 0.75rem;
        right: 0.75rem;
        bottom: calc(0.75rem + var(--safe-bottom, 0px));
    }

    .privacy-banner-content {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.8rem;
        border-radius: 14px;
    }

    .privacy-banner-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .privacy-btn {
        width: 100%;
    }

    .privacy-banner-text p {
        font-size: 0.76rem;
    }
}

/* ==========================================================================
   MOBILE STABILITY & LEGACY POLISH OVERRIDES
   Based on the older guest mobile styling: fixed touch targets, no press zoom,
   restrained hover states, and stronger navy/gold contrast.
   ========================================================================== */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    touch-action: pan-y pinch-zoom;
}

input,
textarea,
select,
button {
    touch-action: manipulation;
}

input,
textarea,
select,
.guest-input,
.guest-input-phone,
.gp-form-input,
.landing-input,
.landing-textarea,
.ts-textarea,
.gp-search-input {
    font-size: 16px !important;
}

.guest-body {
    overflow-y: auto;
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
    touch-action: pan-y pinch-zoom;
}

.guest-wrapper,
.landing-page-content {
    min-height: 100%;
    touch-action: pan-y pinch-zoom;
}

.gp-btn,
.guest-btn,
.landing-btn-primary,
.landing-btn-accent,
.landing-btn-outline,
.landing-menu-viewall,
.landing-menu-chip,
.landing-menu-card-btn,
.guest-category-tab,
.guest-item-card,
.guest-item-icon,
.gp-nav-tab,
.gp-menu-card-btn,
.gp-menu-card-btn-sm,
.gp-menu-card-btn-order,
.gp-qty-btn,
.gp-sticky-view-btn,
.gp-sticky-checkout-btn,
.gp-header-action-btn,
.gp-back-btn {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
    .landing-menu-card-btn:hover,
    .gp-menu-card-btn:hover,
    .gp-menu-card-btn-sm:hover,
    .gp-menu-card-btn-order:hover,
    .guest-item-card:hover .guest-item-icon {
        transform: none !important;
    }

    .landing-menu-card-btn:hover,
    .gp-menu-card-btn:hover,
    .gp-menu-card-btn-sm:hover,
    .gp-menu-card-btn-order:hover,
    .gp-qty-btn:hover:not(:disabled) {
        background: linear-gradient(135deg, #243e63 0%, #1A2B4A 100%) !important;
        color: #ffffff !important;
        border-color: rgba(201, 168, 76, 0.34) !important;
        box-shadow: 0 8px 18px rgba(26, 43, 74, 0.16) !important;
    }
}

@media (max-width: 1023px), (hover: none) {
    .gp-btn:hover,
    .guest-btn:hover,
    .landing-btn-primary:hover,
    .landing-btn-accent:hover,
    .landing-btn-outline:hover,
    .landing-menu-viewall:hover,
    .landing-menu-chip:hover,
    .landing-menu-card:hover,
    .landing-menu-card:hover .landing-menu-card-img,
    .landing-menu-card-btn:hover,
    .guest-category-tab:hover,
    .guest-item-card:hover,
    .guest-item-card:active,
    .guest-item-card:hover .guest-item-icon,
    .gp-nav-tab:active,
    .gp-menu-card-vertical:hover,
    .gp-menu-card-large:hover,
    .gp-menu-card-medium:hover,
    .gp-menu-card-btn:hover,
    .gp-menu-card-btn-sm:hover,
    .gp-menu-card-btn-order:hover,
    .gp-previous-item-add:hover,
    .gp-qty-btn:hover:not(:disabled),
    .gp-sticky-view-btn:active,
    .gp-sticky-checkout-btn:active,
    .gp-header-action-btn:hover,
    .gp-back-btn:hover {
        transform: none !important;
    }

    .landing-menu-viewall:hover,
    .landing-menu-card-btn:hover,
    .gp-menu-card-btn:hover,
    .gp-menu-card-btn-sm:hover,
    .gp-menu-card-btn-order:hover,
    .gp-previous-item-add:hover,
    .gp-qty-btn:hover:not(:disabled) {
        background: linear-gradient(135deg, #1A2B4A 0%, #243e63 100%) !important;
        color: #ffffff !important;
        box-shadow: 0 8px 18px rgba(26, 43, 74, 0.14) !important;
    }

    .landing-menu-chip:hover,
    .guest-category-tab:hover {
        background: #ffffff !important;
        color: #1A2B4A !important;
        border-color: rgba(201, 168, 76, 0.45) !important;
        box-shadow: none !important;
    }

    .landing-menu-chip--active,
    .landing-menu-chip--active:hover,
    .guest-category-tab--active,
    .guest-category-tab--active:hover {
        background: linear-gradient(135deg, #1A2B4A 0%, #243e63 100%) !important;
        color: #ffffff !important;
        border-color: #1A2B4A !important;
        box-shadow: 0 6px 14px rgba(26, 43, 74, 0.14) !important;
    }

    .guest-item-card:hover,
    .guest-item-card:active {
        border-color: #e8eef6 !important;
        box-shadow: none !important;
    }

    .guest-item-card--selected,
    .guest-item-card--selected:hover,
    .guest-item-card--selected:active {
        border-color: #C9A84C !important;
        background: linear-gradient(135deg, rgba(26, 43, 74, 0.035) 0%, rgba(201, 168, 76, 0.07) 100%) !important;
        box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.14) !important;
    }

    .guest-item-card:hover .guest-item-icon,
    .guest-item-card--selected .guest-item-icon {
        background: linear-gradient(135deg, #1A2B4A 0%, #243e63 100%) !important;
        color: #C9A84C !important;
    }

    .landing-menu-card,
    .guest-item-card,
    .gp-menu-card-vertical,
    .gp-menu-card-large,
    .gp-menu-card-medium {
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
    }
}

/* Compact guest profile modals. Scoped to avoid affecting checkout/cart modals. */
.modal-dialog.gp-profile-dialog {
    max-width: 420px !important;
    width: calc(100% - 2rem) !important;
}

.modal-dialog.gp-profile-dialog .modal-content.gp-profile-modal {
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 14px 38px rgba(26, 43, 74, 0.18) !important;
}

.modal-content.gp-profile-modal .gp-modal-header {
    padding: 0.85rem 1rem !important;
    background: linear-gradient(135deg, #1A2B4A 0%, #2c3e5f 100%) !important;
    border-radius: 14px 14px 0 0 !important;
}

.modal-content.gp-profile-modal .gp-modal-title {
    font-size: 0.95rem !important;
    gap: 0.45rem !important;
}

.modal-content.gp-profile-modal .gp-modal-title i {
    font-size: 1rem !important;
}

.modal-content.gp-profile-modal .gp-modal-close {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.9rem !important;
}

.modal-content.gp-profile-modal .gp-modal-close:hover {
    transform: none !important;
}

.modal-content.gp-profile-modal .gp-modal-body {
    padding: 0.85rem 1rem !important;
    max-height: min(56vh, 420px) !important;
    overflow-y: auto !important;
}

.modal-content.gp-profile-modal .gp-modal-section {
    margin-bottom: 0.65rem !important;
}

.modal-content.gp-profile-modal .gp-modal-info-list {
    gap: 0.45rem !important;
}

.modal-content.gp-profile-modal .gp-modal-info-item {
    gap: 0.55rem !important;
    padding: 0.55rem 0.65rem !important;
    border-radius: 9px !important;
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
}

.modal-content.gp-profile-modal .gp-modal-info-item i {
    width: 18px !important;
    font-size: 0.9rem !important;
}

.modal-content.gp-profile-modal .gp-modal-footer {
    padding: 0.8rem 1rem !important;
    gap: 0.5rem !important;
    border-radius: 0 0 14px 14px !important;
}

.modal-content.gp-profile-modal .gp-btn {
    min-height: 34px !important;
    padding: 0.52rem 0.8rem !important;
    border-radius: 9px !important;
    font-size: 0.82rem !important;
    gap: 0.4rem !important;
    box-shadow: none !important;
}

.modal-content.gp-profile-modal .gp-btn:hover {
    transform: none !important;
}

.modal-content.gp-profile-modal .gp-form-group {
    margin-bottom: 0.72rem !important;
}

.modal-content.gp-profile-modal .gp-form-label {
    margin-bottom: 0.3rem !important;
    font-size: 0.78rem !important;
}

.modal-content.gp-profile-modal .gp-form-input {
    min-height: 38px !important;
    padding: 0.55rem 0.65rem !important;
    border-width: 1px !important;
    border-radius: 9px !important;
    font-size: 14px !important;
}

.modal-content.gp-profile-modal .gp-form-input:focus {
    box-shadow: 0 0 0 2px rgba(26, 43, 74, 0.1) !important;
}

.modal-content.gp-profile-modal .gp-form-hint {
    margin-top: 0.25rem !important;
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
}

@media (max-width: 480px) {
    .modal-dialog.gp-profile-dialog {
        margin: 0.75rem auto !important;
        width: calc(100% - 1.5rem) !important;
        max-width: calc(100% - 1.5rem) !important;
    }

    .modal-content.gp-profile-modal .gp-modal-body {
        max-height: 58vh !important;
    }

    .modal-content.gp-profile-modal .gp-modal-footer {
        flex-wrap: nowrap !important;
    }

    .modal-content.gp-profile-modal .gp-btn {
        flex: 1 1 0 !important;
        padding-inline: 0.55rem !important;
    }
}
