/* =============================================
   IASAI – Mobile App Styles
   Primary: #ffabc2 | BG: #000 | Text: #fff
   ============================================= */

@font-face {
    font-family: 'Dia';
    src: url('DiaRegular2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dia';
    src: url('DiaBold2.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --pink: #ffabc2;
    --pink-dark: #e894ab;
    --bg: #000000;
    --bg-card: #111111;
    --bg-surface: #1a1a1a;
    --bg-header: rgba(0, 0, 0, 0.95);
    --text: #ffffff;
    --text-muted: #888888;
    --text-dim: #aaaaaa;
    --footer-height: 70px;
    --header-height: 56px;
    --sidebar-width: 280px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 17.28px;
    -webkit-text-size-adjust: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Dia', sans-serif;
    background: #111;
    color: var(--text);
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
}

/* =============================================
   Desktop: Black frame simulating mobile device
   ============================================= */
.mobile-frame {
    width: 100%;
    height: 100%;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
}

.mobile-device {
    width: 100%;
    max-width: 430px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* On desktop, show phone frame */
@media (min-width: 481px) {
    .mobile-frame {
        padding: 20px;
    }

    .mobile-device {
        height: 92vh;
        max-height: 900px;
        border-radius: 40px;
        border: 3px solid #333;
        box-shadow:
            0 0 0 6px #1a1a1a,
            0 20px 60px rgba(0, 0, 0, 0.6);
    }
}

/* =============================================
   Header
   ============================================= */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 24px;
    margin-top: 4px;
}

.header-logo img {
    height: 30px;
    width: auto;
}

/* Hamburger */
.hamburger-btn {
    width: 28px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    z-index: 110;
    margin-top: -4px;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* =============================================
   Sidebar
   ============================================= */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--sidebar-width);
    max-width: 80%;
    height: 100%;
    background: var(--bg-surface);
    z-index: 200;
    transform: translateX(100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    padding: 0;
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-logo {
    height: 26px;
    width: auto;
}

.sidebar-close {
    font-size: 21.6px;
    color: var(--text-muted);
    transition: color var(--transition);
}

.sidebar-close:hover {
    color: var(--pink);
}

.sidebar-nav {
    flex: 1;
    padding: 16px 0;
    overflow-y: auto;
}

.sidebar-nav li {
    margin: 2px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    font-size: 1.03rem;
    font-weight: 400;
    color: var(--text-dim);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--pink);
    background: rgba(255, 171, 194, 0.05);
    border-left-color: var(--pink);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 1.08rem;
}

.sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-socials {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

.sidebar-socials a {
    color: var(--text-muted);
    font-size: 1.19rem;
    transition: color var(--transition);
}

.sidebar-socials a:hover {
    color: var(--pink);
}

.sidebar-copy {
    font-size: 0.81rem;
    color: var(--text-muted);
}

/* =============================================
   Main Content Area
   ============================================= */
.app-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(var(--footer-height) + 20px);
}

/* Scrollbar styling */
.app-content::-webkit-scrollbar {
    width: 4px;
}

.app-content::-webkit-scrollbar-track {
    background: transparent;
}

.app-content::-webkit-scrollbar-thumb {
    background: rgba(255, 171, 194, 0.3);
    border-radius: 4px;
}

.app-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 171, 194, 0.5);
}

.app-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 171, 194, 0.3) transparent;
}

/* =============================================
   Footer Navigation
   ============================================= */
.app-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--bg-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

@media (min-width: 481px) {
    .app-footer {
        border-radius: 0 0 37px 37px;
    }
}

.footer-nav {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: var(--footer-height);
    padding: 0 8px;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.footer-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 0;
    min-width: 50px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 400;
    transition: color var(--transition);
    position: relative;
}

.footer-nav-item i {
    font-size: 1.3rem;
}

.footer-nav-item.active {
    color: var(--pink);
}

.footer-nav-item:hover {
    color: var(--pink);
}

/* QR Code button – floating above */
.footer-nav-qr {
    color: var(--text);
    margin-top: -20px;
    padding-bottom: 10px;
}

.qr-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 20px rgba(255, 171, 194, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    margin-bottom: 2px;
}

.qr-btn i {
    font-size: 1.51rem;
    color: #000;
}

.footer-nav-qr:hover .qr-btn {
    transform: scale(1.08);
    box-shadow:
        0 6px 28px rgba(255, 171, 194, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-nav-qr span {
    color: var(--text-muted);
}

.footer-nav-qr:hover span {
    color: var(--pink);
}

/* =============================================
   PAGE CONTENT STYLES
   ============================================= */

/* Hero */
.hero {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.hero-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px;
}

.hero-text h1 {
    font-size: 1.73rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.hero-text p {
    font-size: 0.92rem;
    color: var(--text-dim);
    font-weight: 300;
}

.text-pink {
    color: var(--pink);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 10px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.action-card i {
    font-size: 1.4rem;
    color: var(--pink);
}

.action-card span {
    font-size: 0.77rem;
    font-weight: 400;
    color: var(--text-dim);
    text-align: center;
}

.action-card:hover {
    border-color: rgba(255, 171, 194, 0.2);
    background: rgba(255, 171, 194, 0.05);
}

/* Sections */
.section {
    padding: 28px 20px;
}

.section-title {
    font-size: 1.24rem;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.section-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-dim);
    font-weight: 300;
    margin-bottom: 12px;
}

.section-text:last-child {
    margin-bottom: 0;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* CTA */
.cta-section {
    text-align: center;
    background: var(--bg-card);
    margin: 0 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px 24px;
}

.btn-primary {
    display: inline-block;
    background: var(--pink);
    color: #000;
    font-weight: 600;
    font-size: 0.97rem;
    padding: 14px 40px;
    border-radius: 50px;
    margin-top: 16px;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    background: var(--pink-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 171, 194, 0.3);
}

/* Contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.92rem;
    color: var(--text-dim);
    font-weight: 300;
}

.contact-item i {
    width: 18px;
    text-align: center;
    color: var(--pink);
    font-size: 1.03rem;
}

/* =============================================
   Menu Page
   ============================================= */

/* Menu Hero */
.menu-hero {
    background: linear-gradient(135deg, rgba(255, 171, 194, 0.12) 0%, rgba(0, 0, 0, 0.9) 100%);
    padding: 40px 20px 32px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-hero h1 {
    font-size: 1.73rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.menu-hero p {
    font-size: 0.92rem;
    color: var(--text-dim);
    font-weight: 300;
}

/* Delivery Banner */
.menu-delivery-banner {
    display: block;
    margin: 16px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(255, 171, 194, 0.14) 0%, rgba(255, 107, 157, 0.08) 50%, rgba(255, 171, 194, 0.05) 100%);
    border: 1px solid rgba(255, 171, 194, 0.18);
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-delivery-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: all 0.4s ease;
}

.menu-delivery-banner:hover {
    background: linear-gradient(135deg, rgba(255, 171, 194, 0.22) 0%, rgba(255, 107, 157, 0.14) 50%, rgba(255, 171, 194, 0.08) 100%);
    border-color: rgba(255, 171, 194, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.12);
}

.menu-delivery-banner:hover::before {
    transform: scale(1.3);
    opacity: 0.8;
}

.menu-delivery-banner-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.menu-delivery-banner-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffabc2 0%, #ff6b9d 100%);
    font-size: 1.4rem;
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-delivery-banner:hover .menu-delivery-banner-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.menu-delivery-banner-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.menu-delivery-banner-title {
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 10px;
}

.menu-delivery-banner-subtitle {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 300;
}

.menu-delivery-banner-cta {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: #000;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ffabc2 0%, #ff6b9d 100%);
    padding: 10px 22px;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.menu-delivery-banner:hover .menu-delivery-banner-cta {
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.35);
    transform: scale(1.04);
}

.menu-delivery-banner-cta i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.menu-delivery-banner:hover .menu-delivery-banner-cta i {
    transform: translateX(4px);
}

/* Category quick navigation chips */
.menu-category-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 0;
}

.menu-category-nav-scroll {
    display: flex;
    gap: 8px;
    padding: 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.menu-category-nav-scroll::-webkit-scrollbar {
    display: none;
}

.menu-category-chip {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--bg-card);
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    white-space: nowrap;
}

.menu-category-chip:hover {
    background: rgba(255, 171, 194, 0.1);
    color: var(--pink);
    border-color: rgba(255, 171, 194, 0.25);
}

/* Menu sections */
.menu-sections {
    padding: 8px 0 20px;
}

.menu-category-section {
    padding: 20px 20px 8px;
}

.menu-category-title {
    font-size: 1.19rem;
    font-weight: 600;
    color: var(--pink);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 171, 194, 0.15);
    letter-spacing: -0.01em;
}

/* Menu item cards */
.menu-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-item-card {
    display: flex;
    gap: 14px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: var(--transition);
}

.menu-item-card:hover {
    border-color: rgba(255, 171, 194, 0.15);
    background: rgba(255, 171, 194, 0.03);
}

.menu-item-image {
    width: 100px;
    min-height: 100px;
    flex-shrink: 0;
}

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

.menu-item-info {
    flex: 1;
    padding: 14px 14px 14px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.menu-item-card:not(:has(.menu-item-image)) .menu-item-info {
    padding-left: 14px;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}

.menu-item-name {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text);
}

.menu-item-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pink);
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-item-desc {
    font-size: 0.81rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-item-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.menu-item-weight,
.menu-item-allergens {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-item-weight i,
.menu-item-allergens i {
    font-size: 0.7rem;
    color: var(--pink-dark);
}

/* Empty states */
.menu-empty {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 300;
    padding: 12px 0;
}

.menu-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.menu-empty-state i {
    font-size: 2.7rem;
    color: rgba(255, 171, 194, 0.3);
    margin-bottom: 16px;
}

.menu-empty-state p {
    font-size: 1.03rem;
    font-weight: 300;
}

/* =============================================
   Image Lightbox
   ============================================= */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    cursor: pointer;
}

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

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text);
    z-index: 10;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 171, 194, 0.2);
    color: var(--pink);
}

.lightbox-img {
    max-width: 90%;
    max-height: 70vh;
    border-radius: 16px;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    cursor: default;
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 16px;
    font-size: 0.97rem;
    font-weight: 400;
    color: var(--text-dim);
    text-align: center;
    cursor: default;
}

.menu-item-image {
    cursor: pointer;
}

/* =============================================
   Sidebar User Info
   ============================================= */
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.08rem;
    font-weight: 600;
    color: #000;
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.sidebar-user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-user-name {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-email {
    font-size: 0.76rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 8px 0;
}

.sidebar-logout-btn {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    font-size: 1.03rem;
    font-weight: 400;
    color: var(--text-dim);
    transition: var(--transition);
    border-left: 3px solid transparent;
    background: none;
    border-top: none;
    border-right: none;
    border-bottom: none;
    cursor: pointer;
    font-family: inherit;
}

.sidebar-logout-btn:hover {
    color: var(--pink);
    background: rgba(255, 171, 194, 0.05);
    border-left-color: var(--pink);
}

.sidebar-logout-btn i {
    width: 20px;
    text-align: center;
    font-size: 1.08rem;
}

/* =============================================
   Profile Page
   ============================================= */
.profile-page {
    padding-bottom: 20px;
}

.profile-hero {
    text-align: center;
    padding: 40px 24px 28px;
}

.profile-hero-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 30px rgba(255, 171, 194, 0.3);
}

.profile-hero-icon i {
    font-size: 1.94rem;
    color: #000;
}

.profile-hero-title {
    font-size: 1.51rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.profile-hero-sub {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.5;
}

/* Advantages */
.profile-advantages {
    padding: 0 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 4px;
}

.advantage-item i {
    font-size: 0.86rem;
    color: var(--pink);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.advantage-item span {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-dim);
}

/* Auth Section */
.auth-section-title {
    font-size: 1.19rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}

.auth-switch {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 20px;
    font-weight: 300;
}

.auth-switch a {
    color: var(--pink);
    font-weight: 500;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-section {
    padding: 0 20px 30px;
}

.auth-tabs {
    display: flex;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.auth-tab.active {
    background: var(--pink);
    color: #000;
}

.auth-tab-content {
    display: none;
}

.auth-tab-content.active {
    display: block;
}

.auth-errors {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.auth-errors p {
    font-size: 0.85rem;
    color: #ff6b7a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.auth-errors p:last-child {
    margin-bottom: 0;
}

.profile-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 0 20px 16px;
    font-size: 0.86rem;
    color: #5dd97e;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Google Button */
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #333;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    font-family: inherit;
}

.google-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 18px 0;
    gap: 12px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    font-size: 0.81rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
}

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

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

.form-group .required {
    color: var(--pink);
}

.form-group .optional {
    color: var(--text-muted);
    font-size: 0.76rem;
}

.form-group input {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.92rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

.form-group input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 171, 194, 0.1);
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.form-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--bg-card);
    accent-color: var(--pink);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 1px;
}

.form-checkbox a {
    color: var(--pink);
    text-decoration: underline;
}

.form-link {
    font-size: 0.85rem;
    color: var(--pink);
    text-decoration: none;
    transition: color var(--transition);
}

.form-link:hover {
    color: var(--pink-dark);
    text-decoration: underline;
}

.form-hint {
    font-size: 0.77rem;
    color: var(--pink);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-hint i {
    font-size: 0.76rem;
}

.auth-submit {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 0.97rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(255, 171, 194, 0.35);
}

/* Logged In Profile */
.profile-logged {
    text-align: center;
    padding: 40px 20px 20px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2.16rem;
    font-weight: 600;
    color: #000;
    box-shadow: 0 8px 30px rgba(255, 171, 194, 0.3);
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.profile-email {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 24px;
}

.profile-qr-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px 20px;
    margin-bottom: 20px;
}

.profile-qr-section h2 {
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.profile-qr-hint {
    font-size: 0.81rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 20px;
}

.profile-qr-code {
    display: flex;
    justify-content: center;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    width: fit-content;
    margin: 0 auto;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-action-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-card);
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: var(--transition);
    border: none;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
}

.profile-action-btn:first-child {
    border-radius: 12px 12px 4px 4px;
}

.profile-action-btn:last-child,
.profile-actions form:last-child .profile-action-btn {
    border-radius: 4px 4px 12px 12px;
}

.profile-action-btn i:first-child {
    width: 20px;
    text-align: center;
    color: var(--pink);
}

.profile-action-btn span {
    flex: 1;
    text-align: left;
}

.profile-action-btn i:last-child {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.profile-action-btn:hover {
    background: var(--bg-surface);
}

.profile-action-logout:hover {
    color: #ff6b7a;
}

.profile-action-logout:hover i:first-child {
    color: #ff6b7a;
}

/* Edit Profile Header */
.profile-edit-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 20px 16px;
}

.profile-edit-header h1 {
    font-size: 1.3rem;
    font-weight: 600;
}

.back-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
    flex-shrink: 0;
}

.back-link:hover {
    background: var(--bg-surface);
    color: var(--pink);
}

/* Complete Profile Section */
.profile-complete-section {
    text-align: center;
    padding-top: 20px;
}

/* Terms Content */
.terms-content {
    padding: 0 20px 40px;
}

.terms-content h2 {
    font-size: 1.13rem;
    font-weight: 600;
    color: var(--pink);
    margin-bottom: 16px;
}

.terms-content h3 {
    font-size: 0.97rem;
    font-weight: 500;
    color: var(--text);
    margin-top: 20px;
    margin-bottom: 8px;
}

.terms-content p {
    font-size: 0.86rem;
    color: var(--text-dim);
    font-weight: 300;
    line-height: 1.6;
}

/* =============================================
   Bottom Sheet Popup
   ============================================= */
.bottom-sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    width: 100%;
    max-width: 430px;
    background: var(--bg-surface);
    border-radius: 24px 24px 0 0;
    z-index: 510;
    padding: 12px 24px 36px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 85vh;
    overflow-y: auto;
}

.bottom-sheet.active {
    transform: translate(-50%, 0);
}

.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto 16px;
}

.bottom-sheet-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.bottom-sheet-close:hover {
    background: rgba(255, 171, 194, 0.15);
    color: var(--pink);
}

/* Bottom Sheet QR */
.bottom-sheet-qr {
    text-align: center;
    padding-top: 8px;
}

.bottom-sheet-qr h2 {
    font-size: 1.19rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.bottom-sheet-qr > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 20px;
}

.bottom-sheet-qr-code {
    display: flex;
    justify-content: center;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    width: fit-content;
    margin: 0 auto 16px;
    box-shadow: 0 4px 20px rgba(255, 171, 194, 0.15);
}

.bottom-sheet-user-name {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dim);
}

/* Bottom Sheet Auth */
.bottom-sheet-auth {
    padding-top: 8px;
}

.bottom-sheet-auth h2 {
    font-size: 1.19rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    text-align: center;
}

.bottom-sheet-auth > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ================================================================== */
/*  LOYALTY SYSTEM STYLES                                              */
/* ================================================================== */

/* --- Loyalty Card (Profile) --- */
.loyalty-card {
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0 16px;
    background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
    border: 1px solid rgba(255,255,255,0.08);
}
.loyalty-card--basic { background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%); }
.loyalty-card--premium { background: linear-gradient(135deg, #1a2a4e 0%, #0d1b3e 100%); border-color: rgba(59,130,246,0.3); }
.loyalty-card--vip { background: linear-gradient(135deg, #3e2a1a 0%, #2e1a0a 100%); border-color: rgba(251,191,36,0.3); }

.loyalty-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.loyalty-card-level {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.08rem;
    font-weight: 600;
    color: #fff;
}
.loyalty-card--basic .loyalty-card-level i { color: #9ca3af; }
.loyalty-card--premium .loyalty-card-level i { color: #3b82f6; }
.loyalty-card--vip .loyalty-card-level i { color: #fbbf24; }

.loyalty-card-rate {
    font-size: 0.86rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.loyalty-card--premium .loyalty-card-rate { background: rgba(59,130,246,0.2); color: #93c5fd; }
.loyalty-card--vip .loyalty-card-rate { background: rgba(251,191,36,0.2); color: #fde68a; }

.loyalty-card-body {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.loyalty-stat {
    flex: 1;
    text-align: center;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 12px 8px;
}
.loyalty-stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.loyalty-stat-label {
    display: block;
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 400;
}

.loyalty-card-progress {
    text-align: center;
}
.loyalty-card-progress small {
    display: block;
    font-size: 0.77rem;
    color: var(--text-muted);
    margin-top: 6px;
}
.loyalty-progress-bar {
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
    overflow: hidden;
}
.loyalty-progress-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--pink), #a855f7);
    transition: width 0.5s ease;
}
.loyalty-card--premium .loyalty-progress-fill { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.loyalty-card--vip .loyalty-progress-fill { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

/* --- Pay with Credits Section (Profile) --- */
.loyalty-pay-section {
    margin: 16px 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
    border: 2px solid var(--pink);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}
.loyalty-pay-section:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 171, 194, 0.5);
}
.loyalty-pay-section:active {
    transform: scale(0.98);
}
.loyalty-pay-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}
.loyalty-pay-info {
    display: flex;
    flex-direction: column;
}
.loyalty-pay-balance {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111111;
}
.loyalty-pay-label {
    font-size: 0.77rem;
    color: #111111;
    font-weight: 400;
}
.loyalty-pay-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111111;
    font-size: 0.88rem;
}
.loyalty-pay-btn {
    background: #c58899;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
}
.loyalty-pay-action .fa-chevron-right {
    font-size: 0.76rem;
    opacity: 0.6;
}

/* --- Pay QR Section (Profile) --- */
.loyalty-pay-qr {
    text-align: center;
    margin: 16px 0;
    padding: 24px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #612a4a 0%, #2a0f1e 100%);
    border: 1px solid rgba(255,171,194,0.25);
}
.loyalty-pay-qr h3 {
    font-size: 1.08rem;
    font-weight: 600;
    color: #ffabc2;
    margin-bottom: 16px;
}
.loyalty-pay-qr-hint {
    font-size: 0.81rem;
    color: rgba(255,171,194,0.5);
    margin-top: 12px;
}
.loyalty-pay-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    background: rgba(255,255,255,0.08);
    border: none;
    color: #ffabc2;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}
.loyalty-pay-back-btn:hover { background: rgba(255,255,255,0.14); }

/* --- Visit History (Profile) --- */
.profile-history {
    margin-top: 24px;
}
.profile-history h2 {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}
.profile-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.profile-history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.06);
}
.profile-history-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    flex-shrink: 0;
}
.profile-history-item--earn .profile-history-icon {
    background: rgba(16,185,129,0.15);
    color: #10b981;
}
.profile-history-item--redeem .profile-history-icon {
    background: rgba(239,68,68,0.15);
    color: #ef4444;
}
.profile-history-details {
    flex: 1;
    min-width: 0;
}
.profile-history-title {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
    text-align: left;
}
.profile-history-date {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 2px;
    text-align: left;
}
.profile-history-amounts {
    text-align: right;
    flex-shrink: 0;
}
.profile-history-amount {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}
.profile-history-item--redeem .profile-history-amount {
    color: #ef4444;
}
.profile-history-cashback {
    font-size: 0.74rem;
    color: #10b981;
    font-weight: 500;
    margin-top: 2px;
}

/* --- Bottom Sheet Loyalty Badge --- */
.bottom-sheet-loyalty-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.08);
    color: #9ca3af;
}
.bottom-sheet-loyalty-badge--basic { background: rgba(255,255,255,0.08); color: #9ca3af; }
.bottom-sheet-loyalty-badge--premium { background: rgba(59,130,246,0.15); color: #93c5fd; }
.bottom-sheet-loyalty-badge--vip { background: rgba(251,191,36,0.15); color: #fde68a; }

/* --- Bottom Sheet Credit Section --- */
.bottom-sheet-credit-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #612a4a 0%, #2a0f1e 100%);
    border: 1px solid rgba(255,171,194,0.2);
    cursor: pointer;
    transition: transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}
.bottom-sheet-credit-section:hover { transform: translateY(-1px); }
.bottom-sheet-credit-section:active { transform: scale(0.98); }

.bottom-sheet-credit-info {
    display: flex;
    flex-direction: column;
}
.bottom-sheet-credit-amount {
    font-size: 1.19rem;
    font-weight: 700;
    color: #ffabc2;
}
.bottom-sheet-credit-label {
    font-size: 0.74rem;
    color: rgba(255,171,194,0.5);
}
.bottom-sheet-pay-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffabc2;
    background: rgba(255,171,194,0.15);
    padding: 6px 12px;
    border-radius: 20px;
}

/* --- Bottom Sheet Pay QR Code (pink tint) --- */
.bottom-sheet-qr-code--pay {
    box-shadow: 0 4px 20px rgba(255,171,194,0.25);
}

/* --- Bottom Sheet Back Button --- */
.bottom-sheet-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    background: rgba(255,255,255,0.08);
    border: none;
    color: #ffabc2;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}
.bottom-sheet-back-btn:hover { background: rgba(255,255,255,0.14); }

/* =============================================
   BOOKING PAGE
   ============================================= */
.booking-page {
    padding: 20px 16px 40px;
}
.booking-header {
    text-align: center;
    margin-bottom: 24px;
}
.booking-header h1 {
    font-size: 1.51rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.booking-header h1 i {
    color: var(--pink);
    margin-right: 6px;
}
.booking-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Confirmed Banner */
.booking-confirmed-banner {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    margin-bottom: 24px;
}
.booking-confirmed-icon {
    font-size: 2.59rem;
    color: #34d399;
    margin-bottom: 10px;
}
.booking-confirmed-banner h2 {
    font-size: 1.19rem;
    font-weight: 600;
    color: #d1fae5;
    margin-bottom: 6px;
}
.booking-confirmed-banner p {
    font-size: 0.92rem;
    color: #a7f3d0;
}
.booking-confirmed-details {
    margin-top: 8px;
    font-size: 0.86rem !important;
    color: #6ee7b7 !important;
}

/* Messages */
.booking-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}
.booking-message i {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.booking-message strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}
.booking-message p {
    font-size: 0.86rem;
    margin: 0;
}
.booking-message--success {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.25);
}
.booking-message--success i {
    color: #34d399;
}
.booking-message--success strong {
    color: #6ee7b7;
}
.booking-message--success p {
    color: #a7f3d0;
}
.booking-message--error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.25);
}
.booking-message--error i {
    color: #f87171;
}
.booking-message--error strong {
    color: #fca5a5;
}
.booking-message--error p {
    color: #fecaca;
}

/* Booking Form */
.booking-form {
    margin-bottom: 32px;
}
.booking-section {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 18px 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.06);
}
.booking-section h3 {
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--pink);
    margin-bottom: 14px;
}
.booking-section h3 i {
    margin-right: 6px;
}
.booking-row {
    display: flex;
    gap: 10px;
}
.booking-field {
    flex: 1;
    margin-bottom: 12px;
}
.booking-field label {
    display: block;
    font-size: 0.81rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 5px;
}
.booking-field input,
.booking-field select,
.booking-field textarea {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--text);
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
    border-color: var(--pink);
}
.booking-field textarea {
    resize: vertical;
    min-height: 60px;
}
.booking-error {
    display: block;
    font-size: 0.77rem;
    color: #f87171;
    margin-top: 4px;
}
.booking-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 1.03rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
}
.booking-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255,171,194,0.3);
}
.booking-submit:active {
    transform: scale(0.98);
}

/* Booking History */
.booking-history {
    margin-top: 8px;
}
.booking-history h2 {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 14px;
}
.booking-history h2 i {
    color: var(--pink);
    margin-right: 6px;
}
.booking-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
}
.booking-history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.06);
}
.booking-history-status {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.03rem;
    flex-shrink: 0;
}
.booking-history-item--created .booking-history-status {
    background: rgba(251,191,36,0.15);
    color: #fbbf24;
}
.booking-history-item--confirmed .booking-history-status {
    background: rgba(16,185,129,0.15);
    color: #34d399;
}
.booking-history-item--seated .booking-history-status {
    background: rgba(59,130,246,0.15);
    color: #60a5fa;
}
.booking-history-item--completed .booking-history-status {
    background: rgba(107,114,128,0.15);
    color: #9ca3af;
}
.booking-history-item--cancelled .booking-history-status {
    background: rgba(239,68,68,0.15);
    color: #f87171;
}
.booking-history-info {
    flex: 1;
    min-width: 0;
}
.booking-history-date {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
}
.booking-history-meta {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.booking-status-label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.67rem;
    letter-spacing: 0.5px;
}
.booking-status-label--created { color: #fbbf24; }
.booking-status-label--confirmed { color: #34d399; }
.booking-status-label--seated { color: #60a5fa; }
.booking-status-label--completed { color: #9ca3af; }
.booking-status-label--cancelled { color: #f87171; }

.booking-history-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.booking-edit-btn,
.booking-cancel-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: transform 0.15s;
}
.booking-edit-btn {
    background: rgba(59,130,246,0.15);
    color: #60a5fa;
}
.booking-cancel-btn {
    background: rgba(239,68,68,0.15);
    color: #f87171;
}
.booking-edit-btn:hover,
.booking-cancel-btn:hover {
    transform: scale(1.05);
}

/* Inline Edit Form */
.booking-edit-form {
    background: var(--bg-surface);
    border-radius: 12px;
    padding: 14px;
    border: 1px solid rgba(255,171,194,0.15);
}
.booking-edit-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.booking-save-btn {
    flex: 1;
    background: var(--pink);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}
.booking-cancel-edit-btn {
    background: rgba(255,255,255,0.08);
    color: var(--text-muted);
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.86rem;
    font-family: inherit;
    cursor: pointer;
}

/* =============================================
   PROFILE BOOKING HISTORY (in profile page)
   ============================================= */
.profile-booking-section {
    margin-bottom: 36px;
    max-height: 300px;
    overflow-y: auto;
}
.profile-booking-section h2 {
    font-size: 1.03rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}
.profile-booking-section h2 i {
    color: var(--pink);
    margin-right: 6px;
}

/* =============================================
   DELIVERY PAGE
   ============================================= */
.delivery-page {
    padding: 20px 16px 40px;
}
.delivery-header {
    text-align: center;
    margin-bottom: 24px;
}
.delivery-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}
.delivery-header h1 i {
    color: var(--pink);
    margin-right: 6px;
}
.delivery-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.delivery-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 18px 16px;
    margin-bottom: 14px;
    transition: transform 0.15s, border-color 0.2s;
    text-decoration: none;
    color: inherit;
}
.delivery-card:hover {
    transform: scale(1.01);
    border-color: rgba(255,171,194,0.25);
}

.delivery-card-logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    overflow: hidden;
}

.delivery-card--wolt .delivery-card-logo {
    background: #009de0;
    padding: 8px;
}
.wolt-logo {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.premium-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffabc2 0%, #ff6b9d 100%);
    font-size: 1.4rem;
    color: #000;
}

.delivery-card-content {
    flex: 1 1 100%;
    min-width: 0;
}
.delivery-card-content h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.delivery-card-description {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.4;
}
.delivery-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.delivery-card-features li {
    font-size: 0.78rem;
    color: var(--text-dim);
    padding: 2px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.delivery-card-features li i.fa-check {
    color: #34d399;
    font-size: 0.7rem;
    width: 14px;
    text-align: center;
}
.delivery-card-features li i.delivery-feature-no {
    color: #f87171;
    font-size: 0.7rem;
    width: 14px;
    text-align: center;
}

.delivery-card-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.delivery-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffabc2 0%, #ff6b9d 100%);
    color: #000;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.delivery-coming-soon {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.delivery-card--premium {
    border-color: rgba(255,171,194,0.2);
    background: linear-gradient(135deg, rgba(255,171,194,0.05) 0%, var(--bg-card) 100%);
}
