@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --bg-main: #062b32;
    --bg-darker: #041f24;
    --bg-card: #0a363f;
    --bg-glass: rgba(10, 54, 63, 0.85);
    --border-glass: rgba(255, 216, 77, 0.25);
    
    --primary: #F2AC2E;
    --primary-hover: #DF991F;
    --secondary: #E35E44;
    --secondary-hover: #C54B33;
    --text-light: #FAFAFA;
    --text-muted: #A3C7C7;
    --text-dark: #04191C;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    
    --shadow-gold: 0 0 15px rgba(242, 172, 46, 0.2);
    --shadow-orange: 0 0 15px rgba(227, 94, 68, 0.2);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 8px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-darker);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
    background: none;
    transition: var(--transition);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Glassmorphism Container */
.glass-container {
    background: rgba(7, 57, 67, 0.68);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--border-radius);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(242, 172, 46, 0.08),
        0 14px 34px rgba(0, 25, 31, 0.28);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 92, 111, 0.76);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
    box-shadow: inset 0 -1px 0 rgba(242, 172, 46, 0.12), 0 8px 24px rgba(0, 25, 31, 0.2);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--primary);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.65rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(255, 216, 77, 0.26);
}

.logo img {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(255, 216, 77, 0.65);
    box-shadow: 0 8px 22px rgba(0, 70, 90, 0.28);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon-btn {
    position: relative;
    color: var(--text-light);
    font-size: 1.4rem;
}

.cart-icon-btn:hover {
    color: var(--primary);
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--secondary);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.profile-icon-btn {
    font-size: 1.3rem;
    color: var(--text-light);
}

.profile-icon-btn:hover {
    color: var(--primary);
}

.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-light);
}

/* Page Spacing */
.page-container {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 350px);
}

.page-container[style*="margin-top: 0"] {
    background:
        linear-gradient(rgba(0, 126, 150, 0.74), rgba(0, 78, 98, 0.94)),
        url('https://images.unsplash.com/photo-1563379091339-03b21ab4a4f8?auto=format&fit=crop&w=1600&q=80') center top / cover fixed;
}

/* Button Component Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    letter-spacing: 0.5px;
    gap: 10px;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #ffc13b 100%);
    color: var(--text-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 216, 77, 0.5);
    background: linear-gradient(135deg, #ffc13b 0%, #f5a623 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #f05a3f 100%);
    color: white;
    box-shadow: var(--shadow-orange);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 105, 77, 0.6);
    background: linear-gradient(135deg, #f05a3f 0%, #d94c36 100%);
}

.btn-outline {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 216, 77, 0.1);
    color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Badge Alert Styles */
.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-veg {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.badge-nonveg {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    background-image: none !important;
    height: auto;
    min-height: 0;
    padding: 95px 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    width: 100%;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-title span {
    color: var(--primary);
}

.hero-greeting-inline {
    margin: -4px 0 18px;
    text-align: center;
}

.hero-greeting-inline h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 4px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-greeting-inline p {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 600px;
}

/* Location Selector Form */
.location-panel {
    width: 100%;
    max-width: 750px;
    padding: 25px;
    margin-bottom: 40px;
    position: relative;
}

.mode-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.mode-btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mode-btn.active {
    background: var(--primary);
    color: var(--text-dark);
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.location-inputs {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.input-wrapper {
    flex: 1;
    min-width: 200px;
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 216, 77, 0.2);
    border-radius: var(--border-radius);
    padding: 12px 15px;
}

.input-wrapper.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.input-wrapper i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.1rem;
}

.input-wrapper input {
    background: transparent;
    color: var(--text-light);
    width: 100%;
    font-size: 0.95rem;
}

.input-wrapper input::placeholder {
    color: rgba(191, 163, 143, 0.6);
}

.suggestions-box {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background: var(--bg-darker);
    border: 1px solid var(--primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-gold);
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggestion-item:hover {
    background: rgba(255, 216, 77, 0.1);
    color: var(--primary);
}

.location-action-btn {
    height: 50px;
    padding: 0 30px;
}

.trivana-hero-card {
    width: 100%;
    max-width: 1120px;
    min-height: 145px;
    padding: 24px 28px;
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(280px, 360px) auto;
    align-items: center;
    gap: 30px;
    text-align: left;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(0, 142, 166, 0.98), rgba(0, 86, 110, 0.94)),
        linear-gradient(90deg, rgba(255, 216, 77, 0.1), transparent);
    border-color: rgba(255, 216, 77, 0.28);
    box-shadow: 0 24px 70px rgba(0, 50, 68, 0.42);
}

.trivana-greeting h2 {
    font-size: 1.75rem;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.1;
}

.trivana-greeting p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 700;
    line-height: 1.35;
}

.fresh-user-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.fresh-user-form {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.fresh-form-title {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.8px;
}

.fresh-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.fresh-form-row input {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.fresh-form-row input::placeholder {
    color: rgba(255, 249, 231, 0.62);
}

.fresh-user-form .btn {
    width: 100%;
    min-height: 40px;
    border-radius: 14px;
}

.fresh-user-inline-form {
    width: min(460px, 100%);
    margin: 14px auto 0;
    padding: 12px;
    background: rgba(0, 111, 140, 0.38);
    border-color: rgba(255, 216, 77, 0.22);
    box-shadow: 0 16px 38px rgba(0, 52, 70, 0.24);
}

.fresh-user-inline-form .fresh-form-row input {
    background: rgba(0, 52, 70, 0.36);
}

.trivana-greeting-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.trivana-greeting-logo img {
    width: 86px;
    height: 86px;
    border-radius: 22px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.trivana-greeting-logo span {
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-light);
}

.route-search-card {
    width: 100%;
    max-width: 720px;
    padding: 6px 12px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4px 12px;
    align-items: end;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(0, 105, 126, 0.48) 22%, rgba(0, 76, 92, 0.58) 100%);
    color: var(--text-light);
    border-radius: 14px;
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        inset 0 -1px 0 rgba(242, 172, 46, 0.12),
        0 14px 30px rgba(0, 35, 45, 0.24);
}

.route-swap-btn {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-light);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.route-swap-btn:hover {
    transform: rotate(180deg);
    background: rgba(242, 172, 46, 0.22);
}

.auth-login-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.auth-method-btn {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}

.auth-method-btn.active {
    color: var(--text-light);
    border-color: rgba(242, 172, 46, 0.55);
    background: rgba(242, 172, 46, 0.14);
}

.route-field,
.restaurant-name-field {
    display: grid;
    grid-template-columns: 78px 1fr;
    align-items: center;
    gap: 14px;
}

.route-field label,
.restaurant-name-field label {
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 0.3px;
}

.route-field input,
.restaurant-name-field input {
    width: 100%;
    min-width: 0;
    padding: 2px 0 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.34);
    color: var(--text-light);
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
}

.route-field input::placeholder,
.restaurant-name-field input::placeholder {
    color: rgba(255, 249, 231, 0.68);
}

.route-search-btn {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 32px;
    padding: 5px 14px;
    font-size: 0.92rem;
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 6px 16px rgba(90, 24, 15, 0.18);
}

.restaurant-discovery-section {
    max-width: 920px;
    margin: 0 auto 80px;
    padding: 24px 20px 70px;
    display: grid;
    gap: 22px;
    position: relative;
    z-index: 5;
}

.restaurant-discovery-block {
    display: grid;
    gap: 12px;
}

.restaurant-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.restaurant-section-heading div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.restaurant-section-heading i {
    color: var(--secondary);
    font-size: 1.75rem;
}

.restaurant-section-heading h2 {
    font-size: 2rem;
    color: var(--text-light);
}

.restaurant-section-heading button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 800;
    font-size: 1rem;
}

.restaurant-query-card {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 6px 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(0, 105, 126, 0.48) 22%, rgba(0, 76, 92, 0.58) 100%);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        inset 0 -1px 0 rgba(242, 172, 46, 0.12),
        0 14px 30px rgba(0, 35, 45, 0.24);
}

.restaurant-query-card p {
    color: rgba(255, 249, 231, 0.8);
    font-size: 0.92rem;
    margin-bottom: 5px;
    line-height: 1.35;
}

.restaurant-wide-btn {
    width: 100%;
    min-height: 32px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.92rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 6px 16px rgba(90, 24, 15, 0.18);
}

.restaurant-results-panel {
    padding-top: 10px;
}

.restaurant-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.restaurant-result-card {
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.restaurant-result-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.restaurant-result-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.restaurant-result-copy {
    padding: 20px;
}

.restaurant-linked-badge {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 216, 77, 0.16);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.restaurant-result-copy h3 {
    font-size: 1.32rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.restaurant-result-copy p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.restaurant-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 14px 0;
    color: var(--primary);
    font-weight: 700;
}

.restaurant-meta-row i {
    margin-right: 5px;
}

.restaurant-card-eta {
    margin: 0 0 8px;
    font-size: 0.88rem;
    line-height: 1.35;
    color: var(--primary);
    font-weight: 800;
}

.restaurant-card-eta strong {
    color: #ffc13b;
}

.restaurant-card-route-label {
    margin: 0 0 10px;
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.restaurant-result-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.restaurant-result-heading-row h3 {
    margin-bottom: 0;
    flex: 1;
}

.restaurant-open-badge {
    display: inline-flex;
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(40, 167, 69, 0.18);
    color: #4cd964;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.restaurant-open-badge.closed {
    background: rgba(220, 53, 69, 0.16);
    color: #ff6b6b;
}

.restaurant-card-eta i {
    margin-right: 6px;
}

.restaurant-cuisine {
    color: var(--text-light) !important;
}

.restaurant-empty-state {
    grid-column: 1 / -1;
    padding: 40px 24px;
    text-align: center;
}

.restaurant-empty-state i {
    font-size: 2.7rem;
    color: var(--primary);
    margin-bottom: 14px;
}

.restaurant-empty-state h3 {
    color: var(--text-light);
    margin-bottom: 8px;
}

.restaurant-page-section {
    max-width: 100%;
    margin: 50px auto 80px;
    padding: 0 20px;
    display: grid;
    gap: 30px;
}

.restaurant-page-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 34px;
    overflow: hidden;
}

.restaurant-page-image {
    min-height: 420px;
}

.restaurant-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-page-copy {
    padding: 46px 38px 46px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.restaurant-page-copy h1 {
    font-size: 2.7rem;
    margin-bottom: 14px;
    color: var(--text-light);
}

.restaurant-page-copy > p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.restaurant-page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 24px 0;
}

.restaurant-page-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary);
    font-weight: 700;
}

.restaurant-page-cuisine {
    color: var(--text-light) !important;
    font-weight: 600;
}

.restaurant-open-hours-inline {
    width: fit-content;
    max-width: 100%;
    margin-top: 22px;
    padding: 14px 16px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 216, 77, 0.18);
}

.restaurant-open-hours-inline span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    background: rgba(255, 216, 77, 0.14);
    flex: 0 0 auto;
}

.restaurant-open-hours-inline h4 {
    color: var(--primary);
    margin-bottom: 2px;
}

.restaurant-open-hours-inline p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.restaurant-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 30px;
}

.restaurant-page-actions .restaurant-service-btn {
    flex: 1 1 auto;
    max-width: 100%;
    min-width: 100px;
    padding: 10px 8px;
    font-size: 0.9rem;
}

.restaurant-service-btn.active {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.restaurant-order-flow {
    padding: 35px;
}

.restaurant-table-panel {
    max-width: 720px;
    margin: 0 auto 28px;
    padding: 22px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    gap: 18px;
}

.restaurant-table-panel p {
    color: var(--text-light);
    font-weight: 700;
    text-align: center;
}

.restaurant-table-panel i {
    color: var(--primary);
    margin-right: 8px;
}

.restaurant-table-controls {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
}

.restaurant-table-controls input {
    width: 100%;
    min-width: 0;
    padding: 13px 15px;
    border-radius: var(--border-radius);
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid var(--border-glass);
}

.restaurant-diet-panel {
    margin-bottom: 32px;
}

.btn-egg-toggle {
    border-color: rgba(255, 216, 77, 0.38);
}

.btn-egg-toggle:hover,
.btn-egg-toggle.active {
    background: var(--primary);
    color: var(--text-dark);
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
    transform: translateY(-3px);
}

.badge-egg {
    background: rgba(255, 216, 77, 0.15);
    color: var(--primary);
    border: 1px solid rgba(255, 216, 77, 0.35);
}

.restaurant-menu-grid {
    margin-top: 10px;
}

.restaurant-menu-grid .product-card-actions {
    margin-top: 18px;
}

.restaurant-menu-grid .product-card-actions .btn {
    width: 100%;
}

.restaurant-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Service Options Cards Grid */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
}

.service-card {
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover, .service-card.selected {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary);
}

.service-card:hover::before, .service-card.selected::before {
    transform: scaleX(1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 216, 77, 0.2);
    transition: var(--transition);
}

.service-card:hover i, .service-card.selected i {
    color: var(--secondary);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-light);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.invite-share-section {
    max-width: 980px;
    padding: 30px;
    border-radius: 24px;
}

.invite-share-header {
    margin-bottom: 24px;
}

.invite-share-header p {
    color: var(--text-muted);
    margin-top: 10px;
}

.invite-link-card {
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 216, 77, 0.18);
}

.invite-link-card label {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 800;
}

.invite-link-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
}

.invite-link-row input {
    width: 100%;
    min-width: 0;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--border-glass);
    color: var(--text-light);
    font-size: 0.92rem;
}

.invite-customer-form {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.invite-customer-form .btn {
    width: 100%;
}

/* Menu section & Dynamic Filters */
.menu-section {
    max-width: 100%;
    margin: 40px auto 80px;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-light);
}

/* Diet Selection Panel styling (Veg / Non-veg Buttons) */
.diet-selection-panel {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.diet-toggle-btn {
    padding: 16px 45px;
    border-radius: 40px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border: 2px solid transparent;
    transition: var(--transition);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
}

.diet-toggle-btn.btn-veg-toggle {
    border-color: rgba(76, 175, 80, 0.3);
}

.diet-toggle-btn.btn-veg-toggle:hover,
.diet-toggle-btn.btn-veg-toggle.active {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
    transform: translateY(-3px);
}

.diet-toggle-btn.btn-nonveg-toggle {
    border-color: rgba(244, 67, 54, 0.3);
}

.diet-toggle-btn.btn-nonveg-toggle:hover,
.diet-toggle-btn.btn-nonveg-toggle.active {
    background: #f44336;
    color: white;
    border-color: #f44336;
    box-shadow: 0 0 20px rgba(244, 67, 54, 0.4);
    transform: translateY(-3px);
}

/* Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary);
}

.product-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
}

.product-rating {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.75);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 3px;
    backdrop-filter: blur(4px);
}

.product-details {
    padding: 20px;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    padding: 6px 10px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.08);
}

.menu-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    color: var(--text-muted);
    gap: 18px;
}

.spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.15);
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-size: 1rem;
    color: var(--text-light);
}

/* Admin Dashboard Section Styling */
.admin-panel-section {
    max-width: 100%;
    margin: 80px auto;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 216, 77, 0.1);
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    padding: 25px;
    text-align: center;
}

.admin-stat-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.admin-stat-num {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--secondary);
    margin: 5px 0;
}

.admin-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-table-container {
    overflow-x: auto;
    padding: 10px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.9rem;
}

.admin-table th, .admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table th {
    background: rgba(0, 0, 0, 0.4);
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.admin-table tbody tr {
    transition: var(--transition);
}

.admin-table tbody tr:hover {
    background: rgba(255, 216, 77, 0.03);
}

.status-select {
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-light);
    border: 1px solid var(--border-glass);
    padding: 6px 12px;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    cursor: pointer;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 100%;
    max-width: 550px;
    padding: 35px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius);
    padding: 12px 15px;
    color: var(--text-light);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-control.is-invalid {
    border-color: #f44336 !important;
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.2) !important;
}

.form-control.is-valid {
    border-color: #4caf50 !important;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.2) !important;
}

.invalid-feedback {
    color: #f44336;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.form-control.is-invalid + .invalid-feedback {
    display: block;
}

.success-card {
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.success-card h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
}

.success-details {
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.05);
}

.success-details div {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.success-details div:last-child {
    margin-bottom: 0;
}

.success-details span {
    font-weight: 600;
    color: var(--primary);
}

/* Booking View Page Specifics */
.view-booking-page {
    padding: 0 16px 90px;
    background: #eef8fb;
    color: #0b3140;
}

.view-booking-shell {
    max-width: 760px;
    margin: 28px auto 34px;
    background: #eef8fb;
    color: var(--text-dark);
    border: 1px solid rgba(84, 124, 142, 0.12);
    border-radius: 0;
    box-shadow: 0 24px 55px rgba(0, 58, 72, 0.12);
    overflow: hidden;
}

.view-booking-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 44px 40px 30px;
    background: #ffffff;
    border-bottom: 1px solid rgba(84, 124, 142, 0.16);
}

.view-booking-heading .section-tag {
    color: var(--secondary);
    margin-bottom: 6px;
}

.view-booking-heading h1 {
    color: #0b3140;
    font-size: 2.5rem;
    line-height: 1.1;
}

.view-booking-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #ffffff;
    border-bottom: 1px solid rgba(84, 124, 142, 0.16);
}

.view-booking-tabs button {
    color: #6b8290;
    font-size: 1.18rem;
    font-weight: 800;
    padding: 24px 16px;
    border-bottom: 4px solid transparent;
}

.view-booking-tabs button.active,
.view-booking-tabs button:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
    background: rgba(255, 105, 77, 0.05);
}

.view-booking-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 32px 36px;
    background: #eef8fb;
}

.view-booking-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 32px;
    box-shadow: 0 18px 40px rgba(5, 67, 80, 0.1);
    border: 1px solid rgba(7, 49, 58, 0.08);
    min-width: 0;
}

.booking-card-head {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.booking-card-head img {
    width: 112px;
    height: 112px;
    border-radius: 20px;
    object-fit: cover;
}

.booking-card-title {
    min-width: 0;
}

.booking-card-title h3 {
    color: #0b3140;
    font-size: 1.8rem;
    line-height: 1.15;
    margin-bottom: 0;
}

.booking-card-lines p {
    color: #6b8290;
    font-weight: 600;
}

.booking-card-title p {
    display: none;
}

.booking-status-pill {
    align-self: start;
    white-space: nowrap;
    color: #1aaebd;
    background: #e2fbfd;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 800;
}

.booking-status-pill.cancelled {
    color: var(--secondary);
    background: rgba(255, 105, 77, 0.13);
}

.booking-status-pill.pending {
    color: #a66b00;
    background: rgba(255, 216, 77, 0.22);
}

.booking-arrival {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #123a45;
    background: #f0f9fb;
    border-radius: 24px;
    padding: 16px 18px;
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.booking-arrival strong {
    color: #13adb9;
}

.booking-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 0;
    margin-bottom: 18px;
    padding-bottom: 0;
}

.booking-stat-grid div {
    text-align: center;
    padding: 0 12px;
    border-right: 1px solid rgba(7, 49, 58, 0.08);
    min-width: 0;
}

.booking-stat-grid div:last-child {
    border-right: 0;
}

.booking-stat-grid span {
    display: block;
    color: #768b97;
    font-weight: 800;
    margin-bottom: 4px;
}

.booking-stat-grid strong {
    display: block;
    color: #0b3140;
    font-size: 1.25rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.booking-stat-grid .amount,
.booking-detail-grid .amount {
    color: var(--secondary);
}

.booking-card-lines {
    display: grid;
    gap: 9px;
    margin-bottom: 24px;
}

.booking-card-lines .food-state,
.booking-card-lines .food-priority {
    color: var(--primary-hover);
    font-weight: 800;
}

.booking-card-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.booking-action-btn {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 18px;
    background: #ffffff;
    color: #6b8290;
    border: 2px solid #dcebf0;
    font-weight: 800;
    text-align: center;
}

.booking-action-btn i {
    font-size: 1.65rem;
}

.booking-action-btn.details {
    border-color: #dcebf0;
}

.booking-action-btn.track {
    color: #f5b900;
    border-color: rgba(255, 216, 77, 0.75);
}

.booking-action-btn.cancel {
    color: var(--secondary);
    border-color: rgba(255, 105, 77, 0.68);
}

.booking-action-btn.waiter {
    color: #19aebc;
    border-color: rgba(25, 174, 188, 0.6);
}

.booking-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(7, 49, 58, 0.12);
}

.booking-action-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.view-booking-empty {
    grid-column: 1 / -1;
    text-align: center;
    background: #ffffff;
    color: #6b8290;
    border-radius: 24px;
    padding: 54px 24px;
    border: 1px dashed rgba(7, 49, 58, 0.18);
}

.view-booking-empty i {
    color: var(--secondary);
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.view-booking-empty h3 {
    color: #0b3140;
    margin-bottom: 6px;
}

.view-booking-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    min-height: 82px;
    display: none;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding: 10px 12px 12px;
    background: #fff;
    border-top: 1px solid rgba(84, 124, 142, 0.18);
    box-shadow: 0 -12px 32px rgba(0, 52, 70, 0.12);
}

.view-booking-bottom-nav a {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 5px;
    color: #668092;
    font-weight: 800;
    font-size: 0.86rem;
}

.view-booking-bottom-nav i {
    font-size: 1.55rem;
}

.view-booking-bottom-nav a.active,
.view-booking-bottom-nav a:hover {
    color: #f07c45;
}

.view-booking-bottom-cart-icon {
    position: relative;
    display: inline-flex;
}

.view-booking-bottom-cart-icon .cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    width: 22px;
    height: 22px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: #ff5a45;
    font-style: normal;
    font-size: 0.75rem;
}

.reserve-booking-intro {
    max-width: 100%;
}

.booking-detail-modal {
    max-width: 920px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid rgba(255, 216, 77, 0.25);
}

.booking-detail-modal .modal-close {
    color: #6b8290;
}

.booking-detail-head {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
    padding-right: 32px;
}

.booking-detail-head img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 18px;
}

.booking-detail-head h2 {
    color: #0b3140;
    font-size: 2rem;
    line-height: 1.15;
}

.booking-detail-head p {
    color: #6b8290;
    font-weight: 600;
}

.booking-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.booking-detail-grid div,
.booking-detail-note,
.booking-detail-items {
    background: #f1f9fb;
    border: 1px solid rgba(7, 49, 58, 0.08);
    border-radius: 16px;
    padding: 14px;
}

.booking-detail-grid span,
.booking-detail-note span {
    display: block;
    color: #6b8290;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.booking-detail-grid strong {
    color: #0b3140;
    overflow-wrap: anywhere;
}

.booking-detail-note,
.booking-detail-items {
    margin-top: 16px;
}

.booking-detail-note p {
    color: #0b3140;
    font-weight: 700;
}

.booking-detail-items h3 {
    color: #0b3140;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.booking-detail-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #0b3140;
    font-weight: 700;
    padding: 11px 0;
    border-bottom: 1px solid rgba(7, 49, 58, 0.08);
}

.booking-detail-item:last-child {
    border-bottom: 0;
}

.booking-detail-item strong {
    color: var(--secondary);
    white-space: nowrap;
}

.booking-detail-item.muted {
    color: #6b8290;
}

@media(max-width: 1000px) {
    .view-booking-list {
        grid-template-columns: 1fr;
    }

    .booking-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width: 720px) {
    .view-booking-page {
        padding: 0 0 104px;
    }

    .view-booking-shell {
        margin: 0 auto;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .view-booking-heading {
        flex-direction: column;
        align-items: stretch;
        padding: 28px 22px 20px;
    }

    .view-booking-heading h1 {
        font-size: 2.2rem;
    }

    .view-booking-list {
        padding: 24px 18px 34px;
        grid-template-columns: minmax(0, 1fr);
    }

    .view-booking-card {
        padding: 20px;
    }

    .booking-card-head {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .booking-card-head img {
        width: 76px;
        height: 76px;
    }

    .booking-status-pill {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .booking-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-card-actions {
        gap: 10px;
    }

    .booking-action-btn {
        min-height: 92px;
        padding: 10px 6px;
        font-size: 0.88rem;
    }

    .booking-detail-head {
        grid-template-columns: 1fr;
        padding-right: 20px;
    }
}

@media(max-width: 480px) {
    .booking-detail-grid {
        grid-template-columns: 1fr;
    }

    .booking-card-head {
        grid-template-columns: 74px minmax(0, 1fr) auto;
        gap: 12px;
    }

    .booking-card-head img {
        width: 74px;
        height: 74px;
        border-radius: 16px;
    }

    .booking-card-title h3 {
        font-size: 1.25rem;
    }

    .booking-status-pill {
        grid-column: auto;
        justify-self: end;
        padding: 8px 13px;
        font-size: 0.82rem;
    }

    .booking-arrival {
        padding: 13px 12px;
        font-size: 0.9rem;
    }

    .booking-stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .booking-stat-grid div {
        border-right: 1px solid rgba(7, 49, 58, 0.08);
        border-bottom: 0;
        padding: 0 5px;
    }

    .booking-stat-grid div:last-child {
        border-right: 0;
    }

    .booking-stat-grid span {
        font-size: 0.76rem;
    }

    .booking-stat-grid strong {
        font-size: 0.9rem;
    }

    .booking-card-actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .booking-action-btn {
        min-height: 74px;
        border-radius: 14px;
        border-width: 2px;
        gap: 4px;
        padding: 7px 4px;
        font-size: 0.74rem;
        line-height: 1.1;
    }

    .booking-action-btn i {
        font-size: 1.18rem;
    }
}

@media(max-width: 640px) {
    body.view-booking-app-active footer {
        display: none;
    }

    body.view-booking-app-active #view-cart-float-btn {
        display: none !important;
    }

    .view-booking-bottom-nav {
        display: grid;
    }
}

.booking-section {
    max-width: 100%;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

@media(max-width: 900px) {
    .booking-section {
        grid-template-columns: 1fr;
    }
}

.booking-form-container {
    padding: 35px;
}

.table-layout-container {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.table-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 0.85rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 4px;
}

.legend-color.available {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.legend-color.booked {
    background: rgba(244, 67, 54, 0.25);
    border: 1px solid #f44336;
}

.legend-color.selected {
    background: rgba(255, 216, 77, 0.25);
    border: 1.5px solid var(--primary);
    box-shadow: var(--shadow-gold);
}

.tables-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.table-seat {
    aspect-ratio: 1;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.table-seat i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-muted);
}

.table-seat.available:hover {
    background: rgba(255, 216, 77, 0.1);
    border-color: var(--primary);
    transform: scale(1.05);
}

.table-seat.booked {
    background: rgba(244, 67, 54, 0.15);
    border-color: rgba(244, 67, 54, 0.4);
    cursor: not-allowed;
    opacity: 0.6;
}

.table-seat.booked i {
    color: #f44336;
}

.table-seat.occupied {
    background: rgba(255, 152, 0, 0.18);
    border-color: rgba(255, 152, 0, 0.6);
}

.table-seat.occupied:hover {
    transform: none;
}

.table-seat.occupied i {
    color: #ff9800;
}

.table-seat.selected {
    background: rgba(255, 216, 77, 0.2);
    border: 1.5px solid var(--primary);
    box-shadow: var(--shadow-gold);
}

.table-seat.selected i {
    color: var(--primary);
}

.table-num {
    font-size: 0.95rem;
    font-weight: 600;
}

.table-capacity {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Cart Page Specifics */
.cart-section {
    max-width: 100%;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

@media(max-width: 900px) {
    .cart-section {
        grid-template-columns: 1fr;
    }
}

.cart-items-container {
    padding: 15px;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-customer-line {
    margin-top: 7px;
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 700;
}

.cart-customer-line i {
    margin-right: 6px;
}

.shared-friend-panel,
.shared-cart-submit-panel {
    padding: 20px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
}

.shared-friend-panel h3,
.shared-cart-submit-panel h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.shared-friend-panel p,
.shared-cart-submit-panel p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.shared-friend-panel form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.shared-friend-panel input {
    min-width: 170px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius);
    padding: 12px 15px;
    color: var(--text-light);
}

@media(max-width: 800px) {
    .shared-friend-panel,
    .shared-cart-submit-panel {
        grid-template-columns: 1fr;
    }

    .shared-friend-panel form {
        justify-content: stretch;
    }

    .shared-friend-panel input,
    .shared-friend-panel button,
    .shared-cart-submit-panel button {
        width: 100%;
    }
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
}

.qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    font-weight: bold;
    transition: var(--transition);
}

.qty-btn:hover {
    background: rgba(255, 216, 77, 0.15);
    color: var(--primary);
}

.qty-val {
    width: 30px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.cart-item-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 85px;
    text-align: right;
}

.cart-item-remove {
    color: var(--text-muted);
    font-size: 1.2rem;
    padding: 5px;
}

.cart-item-remove:hover {
    color: #f44336;
}

.cart-summary-container {
    padding: 30px;
    height: fit-content;
}

.summary-title {
    font-size: 1.4rem;
    color: var(--primary);
    border-bottom: 1.5px solid rgba(255, 216, 77, 0.2);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.summary-row.total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 15px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.checkout-btn {
    width: 100%;
    margin-top: 25px;
}

.priority-section {
    border: 1px solid rgba(255, 216, 77, 0.15);
    padding: 22px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.04);
}

.priority-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.priority-section-header h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
    color: var(--primary);
}

.priority-section-header p {
    color: var(--text-muted);
    line-height: 1.5;
}

.priority-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(255, 216, 77, 0.12);
}

.priority-dropzone {
    display: grid;
    gap: 18px;
}

.priority-placeholder {
    padding: 40px 22px;
    border: 2px dashed rgba(255, 216, 77, 0.35);
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.03);
}

.priority-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 111, 140, 0.72);
    transition: var(--transition);
}

.priority-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.priority-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.priority-order-badge {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.priority-remove-btn {
    background: rgba(255,255,255,0.06);
    color: var(--text-light);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.priority-remove-btn:hover {
    color: #f44336;
    background: rgba(244, 67, 54, 0.15);
}

.priority-card-body {
    display: flex;
    align-items: center;
    gap: 18px;
}

.priority-card-body img {
    width: 100px;
    height: 100px;
    border-radius: 18px;
    object-fit: cover;
    flex-shrink: 0;
}

.priority-card-copy h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    line-height: 1.2;
}

.priority-card-copy p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.priority-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.priority-card-actions .qty-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: var(--text-light);
}

.priority-card-actions .qty-btn:hover {
    background: rgba(255, 216, 77, 0.14);
    color: var(--primary);
}

.priority-card-over,
.cart-item-row.drag-over {
    box-shadow: 0 0 0 2px rgba(255, 216, 77, 0.25);
    border-color: rgba(255, 216, 77, 0.3);
}

.priority-card.dragging,
.cart-item-row.dragging {
    opacity: 0.5;
}

.empty-cart-view {
    text-align: center;
    padding: 50px 20px;
}

.empty-cart-view i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Profile Page Specifics */
.profile-section {
    max-width: 100%;
    margin: 50px auto;
    padding: 0 20px;
}

.auth-container {
    max-width: 450px;
    margin: 0 auto;
    padding: 35px;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 25px;
}

.auth-tab-btn {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
}

.auth-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.profile-dashboard {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

@media(max-width: 900px) {
    .profile-dashboard {
        grid-template-columns: 1fr;
    }
}

.profile-sidebar {
    padding: 30px;
    text-align: center;
    height: fit-content;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    background: rgba(255, 216, 77, 0.1);
    color: var(--primary);
}

.profile-name {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.profile-email {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.profile-nav-menu {
    list-style: none;
    text-align: left;
}

.profile-nav-item {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-nav-item:hover, .profile-nav-item.active {
    background: rgba(255, 216, 77, 0.1);
    color: var(--primary);
}

.profile-content-area {
    padding: 35px;
}

.profile-pane {
    display: none;
}

.profile-pane.active {
    display: block;
}

.pane-title {
    font-size: 1.6rem;
    color: var(--primary);
    border-bottom: 1.5px solid rgba(255, 216, 77, 0.1);
    padding-bottom: 12px;
    margin-bottom: 25px;
}

.address-card {
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.address-details h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.order-history-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-history-card {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0,0,0,0.2);
    border-radius: var(--border-radius);
}

.history-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.history-id {
    font-weight: 600;
    color: var(--primary);
}

.history-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.history-items {
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.history-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-total {
    font-weight: bold;
    color: var(--primary);
}

.profile-app-section {
    max-width: 100%;
    margin: 40px auto 90px;
    padding: 0 40px;
}

.profile-app-shell {
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-app-hero {
    position: relative;
    padding: 20px;
    text-align: center;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.profile-app-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    position: static;
    transform: none;
    border: none;
    background: linear-gradient(135deg, #ffd84d, #ff8a3d);
    color: #fff;
    box-shadow: none;
}

.profile-app-hero .profile-name {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0;
    letter-spacing: 0;
    font-weight: 700;
}

.profile-app-hero .profile-email {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.profile-action-surface {
    margin-top: 10px;
    padding: 30px 20px;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-content: start;
}

.profile-action-group {
    display: flex;
    flex-direction: column;
    background: #0f7b8e;
    border: none;
    border-radius: 20px;
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.profile-action-group h3 {
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0 0 10px 0;
    width: 100%;
    text-align: left;
    padding-left: 0;
    border-bottom: none;
    padding-bottom: 0;
    padding-top: 5px;
}

.profile-action-row {
    width: 100%;
    max-width: 900px;
    min-height: 60px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-radius: 0;
    background: transparent;
    color: var(--text-light);
    box-shadow: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: left;
    transition: var(--transition);
}
.profile-action-row:last-child {
    border-bottom: none;
}

.profile-action-row:hover {
    transform: none;
    background: rgba(0,0,0,0.01);
}

.profile-action-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

.profile-action-edit,
.profile-action-signout {
    background: #fff4e4;
    color: #f28a42;
}

.profile-action-bell,
.profile-action-phone {
    background: #e7fbff;
    color: #0f6f84;
}

.profile-action-calendar {
    background: #edf7ff;
    color: #2f78bd;
}

.profile-action-delete {
    background: #fff0f2;
    color: #f07c45;
}

.profile-action-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.profile-action-copy strong {
    font-size: 1.25rem;
    color: #ffffff;
}

.profile-action-copy small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 700;
}

.profile-action-chevron {
    color: #c9d9df;
}

.profile-status-pill {
    min-width: 86px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #fff1df;
    color: #ef8748;
    text-align: center;
    font-weight: 800;
}

.profile-status-pill.active {
    background: #e2fbef;
    color: #15915a;
}

.profile-danger-row .profile-action-copy strong,
.profile-warning-row .profile-action-copy strong {
    color: #ffffff;
}

.profile-action-panel.glass-container {
    grid-column: 2;
    margin: 0 42px 42px;
    padding: 26px;
    background: #fff;
    color: #123447;
    border-color: rgba(84, 124, 142, 0.14);
}

.profile-action-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.profile-action-panel-head .pane-title {
    color: #123447;
    border: 0;
    padding: 0;
    margin: 0;
}

.profile-action-panel-head button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #668092;
    background: #eef8fb;
}

.profile-action-panel .form-group label {
    color: #668092;
    font-weight: 800;
}

.profile-action-panel .form-control {
    background: #f5fbfd;
    border-color: rgba(84, 124, 142, 0.2);
    color: #123447;
}

.profile-action-panel .address-card {
    margin: 24px 0;
    background: #f5fbfd;
    border-color: rgba(84, 124, 142, 0.14);
}

.profile-action-panel .address-details h4 {
    color: #123447;
}

.profile-action-panel .order-history-card {
    background: #f5fbfd;
    border-color: rgba(84, 124, 142, 0.14);
    color: #123447;
}

.profile-action-panel .history-date,
.profile-action-panel .history-items {
    color: #668092;
}

.profile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    min-height: 82px;
    display: none;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding: 10px 12px 12px;
    background: #fff;
    border-top: 1px solid rgba(84, 124, 142, 0.18);
    box-shadow: 0 -12px 32px rgba(0, 52, 70, 0.12);
}

.profile-bottom-nav a {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 5px;
    color: #668092;
    font-weight: 800;
    font-size: 0.86rem;
}

.profile-bottom-nav i {
    font-size: 1.55rem;
}

.profile-bottom-nav a.active,
.profile-bottom-nav a:hover {
    color: #f07c45;
}

.profile-bottom-cart-icon {
    position: relative;
    display: inline-flex;
}

.profile-bottom-cart-icon .cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    width: 22px;
    height: 22px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: #ff5a45;
    font-style: normal;
    font-size: 0.75rem;
}

@media(min-width: 641px) and (max-width: 1100px) {
    .profile-app-shell {
        grid-template-columns: 300px minmax(0, 1fr);
    }

    .profile-action-surface {
        grid-template-columns: 1fr;
    }

    .profile-action-group:first-child {
        grid-row: auto;
    }

    .profile-action-panel.glass-container {
        grid-column: 1 / -1;
    }
}

@media(max-width: 640px) {
    body.profile-app-active footer {
        display: none;
    }

    body.profile-app-active {
        padding-bottom: 96px;
    }

    .profile-app-section {
        margin: 54px auto 70px;
        padding: 0 10px;
    }

    .profile-app-shell {
        border-radius: 28px;
        display: block;
    }

    .profile-app-hero {
        min-height: 210px;
        padding: 82px 18px 30px;
        display: block;
    }

    .profile-app-avatar {
        position: absolute;
        top: -32px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .profile-app-hero .profile-name {
        font-size: 2rem;
    }

    .profile-app-hero .profile-email {
        font-size: 0.98rem;
    }

    .profile-action-surface {
        padding: 34px 20px 28px;
        display: grid;
        grid-template-columns: 1fr;
        border-radius: 34px 34px 0 0;
    }

    .profile-action-group:first-child {
        grid-row: auto;
    }

    .profile-action-row {
        min-height: 96px;
        grid-template-columns: 56px minmax(0, 1fr) auto;
        gap: 14px;
        padding: 16px;
        border-radius: 20px;
    }

    .profile-action-icon {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        font-size: 1.25rem;
    }

    .profile-action-copy strong {
        font-size: 1.1rem;
    }

    .profile-status-pill {
        min-width: 66px;
        padding: 10px 14px;
    }

    .profile-action-panel.glass-container {
        grid-column: auto;
        margin: 0 20px 28px;
        padding: 22px 18px;
    }

    .profile-bottom-nav {
        display: grid;
    }
}

/* Contact Page Specifics */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    max-width: 100%;
    margin: 50px auto;
    padding: 0 20px;
}

@media(max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form-container {
    padding: 35px;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-box {
    padding: 25px;
    display: flex;
    gap: 20px;
}

.info-icon {
    font-size: 1.8rem;
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 216, 77, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.info-details h4 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.info-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.map-placeholder {
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-glass);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: invert(90%) hue-rotate(180deg) grayscale(80%) contrast(90%);
}

/* Footer styling */
footer {
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255, 216, 77, 0.1);
    padding: 70px 0 20px;
    color: var(--text-muted);
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media(max-width: 900px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 550px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

.footer-col h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-about p {
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary);
    background: rgba(255, 216, 77, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-hours p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-hours span {
    color: var(--text-light);
    font-weight: 500;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius);
    padding: 10px 15px;
    color: var(--text-light);
    flex: 1;
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 0 20px;
}

.footer-bottom {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Toast Notifications styling */
.toast-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(0, 126, 150, 0.9);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--primary);
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-light);
    font-weight: 500;
}

.toast.show {
    transform: translateX(0);
}

.toast.toast-success {
    border-left-color: #4caf50;
}

.toast.toast-error {
    border-left-color: #f44336;
}

.toast i {
    font-size: 1.2rem;
}

.toast-success i {
    color: #4caf50;
}

.toast-error i {
    color: #f44336;
}

#view-cart-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 50px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    font-size: 0.95rem;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

#view-cart-float-btn:hover {
    transform: translateY(-3px);
}

.drag-handle {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: grab;
    border: 1px solid rgba(255,255,255,0.08);
}

.cart-item-row.drag-over {
    border-color: var(--primary);
    background: rgba(255, 216, 77, 0.08);
}

.cart-item-row.dragging {
    opacity: 0.65;
}

.kitchen-feed-panel {
    position: fixed;
    bottom: 130px;
    left: 30px;
    width: 320px;
    max-height: 420px;
    overflow-y: auto;
    z-index: 999;
    padding: 20px;
    border: 1px solid rgba(255, 216, 77, 0.2);
    background: rgba(0, 78, 98, 0.92);
    box-shadow: 0 20px 50px rgba(0,0,0,0.55);
}

.kitchen-feed-header h4 {
    margin-bottom: 6px;
    color: var(--primary);
}

.kitchen-feed-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.kitchen-order-card {
    border: 1px solid rgba(255,255,255,0.08);
    padding: 14px;
    border-radius: 14px;
    margin-top: 14px;
    background: rgba(255,255,255,0.02);
}

.kitchen-order-card:first-child {
    margin-top: 18px;
}

.kitchen-line {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.kitchen-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.admin-enquiries-list {
    display: grid;
    gap: 16px;
}

.admin-enquiry-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 800;
}

.admin-enquiry-card,
.admin-empty-message {
    padding: 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.admin-enquiry-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.admin-enquiry-head strong {
    display: block;
    color: var(--primary);
}

.admin-enquiry-head span,
.admin-enquiry-head em,
.admin-reply-preview,
.admin-empty-message {
    color: var(--text-muted);
}

.admin-enquiry-message {
    margin-bottom: 12px;
    color: var(--text-light);
}

.admin-enquiry-card textarea {
    margin-bottom: 12px;
}

.contact-reply-panel {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-reply-panel h4 {
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-reply-card {
    padding: 14px;
    margin-top: 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.contact-reply-card strong {
    color: var(--primary);
}

.contact-reply-card p {
    margin: 6px 0;
    color: var(--text-light);
}

.contact-reply-card span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.rating-modal-content {
    max-width: 620px;
}

.rating-restaurant-head {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}

.rating-restaurant-head img {
    width: 92px;
    height: 92px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(255,216,77,0.25);
}

.rating-restaurant-head h3 {
    margin: 4px 0;
    color: var(--text-light);
}

.rating-restaurant-head p {
    color: var(--text-muted);
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 8px 0 18px;
}

.rating-star-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255,255,255,0.42);
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    font-size: 1.35rem;
}

.rating-star-btn.active,
.rating-star-btn:hover {
    color: var(--primary);
    border-color: rgba(255,216,77,0.45);
    background: rgba(255,216,77,0.12);
}

.rating-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 14px 0;
    padding: 12px 14px;
    border-radius: var(--border-radius);
    color: var(--primary);
    border: 1px dashed rgba(255,216,77,0.4);
    cursor: pointer;
}

#rating-image-upload {
    display: none;
}

.restaurant-reviews-section {
    display: grid;
    gap: 16px;
}

.restaurant-reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.restaurant-review-card {
    overflow: hidden;
    display: grid;
    gap: 14px;
}

.restaurant-review-card > img,
.restaurant-review-media img {
    width: 100%;
    max-width: 220px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

.restaurant-review-media {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 18px 0;
}

.restaurant-review-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.restaurant-review-verified {
    font-size: 0.78rem;
    color: #7cb342;
    font-weight: 700;
}

.restaurant-review-card > div {
    padding: 18px;
}

.restaurant-review-stars {
    color: var(--primary);
    margin-bottom: 8px;
}

.restaurant-review-card h4 {
    color: var(--text-light);
    margin-bottom: 6px;
}

.restaurant-review-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.restaurant-review-card span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.profile-notification-toolbar {
    margin-bottom: 18px;
}

.profile-notification-list {
    display: grid;
    gap: 14px;
}

.profile-notification-card,
.profile-notification-empty {
    padding: 18px;
    border-radius: 14px;
    background: #f5fbfd;
    border: 1px solid rgba(84,124,142,0.14);
    color: #123447;
}

.profile-notification-card div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.profile-notification-card strong {
    color: #123447;
}

.profile-notification-card span,
.profile-notification-card p,
.profile-notification-empty {
    color: #668092;
}

.profile-rate-btn {
    width: 100%;
    margin-top: 14px;
}

.profile-rated-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--primary);
    font-weight: 800;
}

/* Responsiveness overrides */
@media(max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-darker);
        padding: 30px;
        gap: 20px;
        border-bottom: 1.5px solid var(--primary);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-nav-toggle {
        display: block;
    }

    .hero-content {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        min-width: 0;
    }
    
    .hero-title {
        width: 100%;
        font-size: 1.8rem;
        line-height: 1.18;
        max-width: calc(100vw - 40px);
        overflow-wrap: anywhere;
    }

    .hero-title span {
        display: block;
    }

    .hero-greeting-inline h2 {
        font-size: 1.65rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        overflow-wrap: break-word;
    }
    
    .location-inputs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .location-action-btn {
        width: 100%;
    }

    .trivana-hero-card {
        grid-template-columns: 1fr auto;
        align-items: start;
        padding: 24px;
        min-height: 0;
    }

    .trivana-greeting-logo {
        grid-column: 2;
        grid-row: 1;
        margin-top: 0;
    }

    .trivana-greeting h2 {
        font-size: 1.65rem;
        max-width: 72%;
    }

    .trivana-greeting p {
        max-width: 70%;
    }

    .fresh-user-form {
        grid-column: 1 / -1;
        width: 100%;
    }

    .fresh-form-row {
        grid-template-columns: 1fr;
    }

    .route-search-card {
        grid-template-columns: 1fr;
        padding: 10px;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .route-swap-btn {
        grid-column: 1 / -1;
        grid-row: auto;
        justify-self: center;
        margin: 2px 0;
    }

    .route-field,
    .restaurant-name-field {
        grid-template-columns: 84px 1fr;
    }

    .restaurant-discovery-section {
        margin-top: -20px;
        gap: 34px;
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        padding-left: 0;
        padding-right: 0;
    }

    .restaurant-section-heading h2 {
        font-size: 1.45rem;
        overflow-wrap: break-word;
    }

    .restaurant-section-heading {
        flex-wrap: wrap;
        gap: 10px;
    }

    .restaurant-section-heading div {
        min-width: 0;
        gap: 10px;
    }

    .restaurant-section-heading button {
        font-size: 0.95rem;
        flex-basis: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

    .restaurant-query-card {
        max-width: 100%;
        overflow: hidden;
    }

    .restaurant-query-card p {
        max-width: 280px;
        overflow-wrap: break-word;
    }

    .invite-link-row {
        grid-template-columns: 1fr;
    }

    .restaurant-page-card {
        grid-template-columns: 1fr;
    }

    .restaurant-page-image {
        min-height: 260px;
    }

    .restaurant-page-copy {
        padding: 0 24px 28px;
    }

    .restaurant-page-copy h1 {
        font-size: 2rem;
    }

    .restaurant-order-flow {
        padding: 26px 20px;
    }

    .restaurant-table-controls {
        grid-template-columns: 1fr;
    }

    .restaurant-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .services-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .diet-selection-panel {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    #view-cart-float-btn {
        right: 16px;
        bottom: 20px;
        width: calc(100% - 32px);
        justify-content: center;
    }

    .kitchen-feed-panel {
        left: 12px;
        right: 12px;
        width: auto;
        bottom: 100px;
    }
}

/* Secure Admin Login Button */
.admin-login-btn {
    border: 1.5px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.admin-login-btn:hover {
    background: var(--secondary);
    color: white;
    box-shadow: var(--shadow-orange);
    transform: translateY(-2px);
}

body.admin-page {
    background: radial-gradient(circle at top, rgba(255,216,77,0.14), transparent 35%),
                radial-gradient(circle at 10% 20%, rgba(255,255,255,0.04), transparent 18%),
                linear-gradient(180deg, #006f8c 0%, #005a72 100%);
}

.admin-dashboard-container {
    padding: 70px 40px 40px;
    min-height: calc(100vh - 150px);
    color: #f4f1ea;
}

.admin-login-panel,
.admin-orders-card {
    border-radius: 24px;
    background: rgba(10, 7, 4, 0.92);
    border: 1px solid rgba(255, 216, 77, 0.16);
    box-shadow: 0 22px 65px rgba(0, 0, 0, 0.45);
}

.admin-login-panel {
    max-width: 560px;
    margin: 0 auto 28px;
    padding: 28px 28px 24px;
}

.admin-login-panel h3 {
    margin-bottom: 16px;
    color: var(--primary);
}

.admin-login-panel .form-group {
    margin-bottom: 18px;
}

.admin-login-panel input[type="text"],
.admin-login-panel input[type="password"] {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 14px 16px;
    border-radius: 14px;
    color: #f3efe7;
}

.admin-dashboard-panel {
    display: grid;
    gap: 24px;
    max-width: 100%;
    margin: 0 auto;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.admin-summary-card {
    min-width: 190px;
    padding: 20px 22px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

.admin-summary-card strong {
    display: block;
    font-size: 1.55rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.admin-orders-card {
    padding: 24px;
}

.product-modal-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: start;
}

.product-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.product-modal-actions button {
    min-width: 140px;
}

.admin-orders-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.admin-orders-table th,
.admin-orders-table td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-orders-table th {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.admin-orders-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}

.admin-orders-table .new-order,
.kitchen-order-card.new-order {
    animation: pulse 1.4s ease-in-out infinite alternate;
    border-left: 4px solid var(--primary);
}

@keyframes pulse {
    from { box-shadow: 0 0 0 rgba(255,216,77,0.12); }
    to { box-shadow: 0 0 25px rgba(255,216,77,0.24); }
}

.admin-orders-table select {
    width: 100%;
    border-radius: 12px;
    min-width: 140px;
}

.admin-orders-card .btn {
    margin-top: 0;
}

@media(max-width: 860px) {
    .admin-dashboard-container {
        padding: 60px 24px 30px;
    }
    .admin-orders-table {
        min-width: 100%;
    }
    .product-modal-inner {
        grid-template-columns: 1fr;
    }
}

.otp-input-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(56px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.otp-box {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.restaurant-favorite-chip,
.restaurant-favorite-btn.active {
    color: #e74c3c;
}

.restaurant-favorite-chip {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.restaurant-result-card {
    position: relative;
}

.restaurant-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.restaurant-service-tags .tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(242, 144, 84, 0.12);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
}

.restaurant-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.booking-eta-banner {
    background: #f4fbfa;
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e3a5f;
    line-height: 1.5;
}

.booking-eta-banner strong {
    color: #17a2b8;
}

.booking-payment-status {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.booking-payment-paid {
    color: #17a2b8;
}

.booking-payment-partial {
    color: #f6c23e;
}

.booking-payment-due {
    color: #8898aa;
}

.booking-parcel-covered {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f29054;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.booking-tracking-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #edf9f0;
    color: #28a745;
    font-size: 0.82rem;
    font-weight: 700;
}

.booking-tracking-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #28a745;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.18);
    animation: booking-tracking-pulse 1.4s ease-in-out infinite;
}

@keyframes booking-tracking-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.75; }
}



