/* Ehbap Inspired Premium Dessert Dark Theme for Public Pages */

@import url('https://fonts.googleapis.com/css2?family=Yeseva+One&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
    --ehbap-bg: #100b08; /* deep dark charcoal/burgundy */
    --ehbap-bg-darker: #080504;
    --ehbap-panel-bg: rgba(38, 22, 16, 0.65);
    --ehbap-panel-solid: #22140f;
    --ehbap-primary: #d32029; /* premium Ehbap crimson red */
    --ehbap-primary-rgb: 211, 32, 41;
    --ehbap-peach: #fbebeb; /* soft warm peach/cream */
    --ehbap-peach-muted: rgba(251, 235, 235, 0.45);
    --ehbap-text-main: #d7d8da;
    --ehbap-border: rgba(251, 235, 235, 0.12);
    --ehbap-border-focus: rgba(211, 32, 41, 0.35);
    --ehbap-font-serif: 'Yeseva One', serif;
    --ehbap-font-sans: 'Inter', sans-serif;
    --ehbap-font-display: 'Outfit', sans-serif;
    --ehbap-font-wide: 'Syne', sans-serif;
}

/* Base Override for Public Pages */
body.theme-public {
    background-color: var(--ehbap-bg) !important;
    background-image: radial-gradient(circle at 10% 10%, rgba(211, 32, 41, 0.06) 0%, transparent 45%),
                      radial-gradient(circle at 90% 90%, rgba(38, 22, 16, 0.4) 0%, transparent 45%) !important;
    color: var(--ehbap-text-main) !important;
    font-family: var(--ehbap-font-sans);
    min-height: 100vh;
    padding-bottom: 90px; /* Space for floating bottom nav */
}

/* Scrollbars */
body.theme-public::-webkit-scrollbar-thumb {
    background: rgba(211, 32, 41, 0.2) !important;
}
body.theme-public::-webkit-scrollbar-thumb:hover {
    background: var(--ehbap-primary) !important;
}

/* Typography Classes */
.font-serif { font-family: var(--ehbap-font-serif); }
.font-display { font-family: var(--ehbap-font-display); }
.font-wide { font-family: var(--ehbap-font-wide); }

/* Headers style */
body.theme-public h1, 
body.theme-public h2, 
body.theme-public h3, 
body.theme-public h4 {
    font-family: var(--ehbap-font-serif);
    color: var(--ehbap-peach);
}

body.theme-public h5, 
body.theme-public h6 {
    font-family: var(--ehbap-font-display);
    font-weight: 600;
    color: var(--ehbap-peach);
}

/* Page transitions */
.menu-page-enter {
    animation: pageEnter 0.25s ease-out both;
}

@keyframes pageEnter {
    0% { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Floating Bottom Navigation Bar */
.floating-bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    background-color: rgba(16, 11, 8, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--ehbap-border);
    border-radius: 9999px;
    padding: 6px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 4px;
    width: max-content;
    max-width: 92%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.floating-bottom-nav::-webkit-scrollbar {
    display: none;
}

.floating-nav-btn {
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: var(--ehbap-text-main);
    padding: 8px 18px;
    font-family: var(--ehbap-font-sans);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.floating-nav-btn:hover {
    color: var(--ehbap-peach);
    background-color: rgba(252, 232, 213, 0.06);
}

.floating-nav-btn.active {
    background-color: rgba(211, 32, 41, 0.14);
    color: var(--ehbap-primary);
    font-weight: 600;
}

/* Custom Sticky Header for Menu */
.minimal-site-header {
    background-color: var(--ehbap-bg);
    border-bottom: 1px solid var(--ehbap-border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.minimal-site-header .navbar-brand {
    font-family: var(--ehbap-font-serif);
    color: var(--ehbap-peach);
    font-size: 20px;
}

/* Glassmorphism Panels */
body.theme-public .glass-panel {
    background: var(--ehbap-panel-bg) !important;
    border: 1px solid var(--ehbap-border) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
    border-radius: 20px !important;
}

body.theme-public .glass-panel:hover {
    border-color: rgba(211, 32, 41, 0.2) !important;
    box-shadow: 0 12px 40px 0 rgba(211, 32, 41, 0.08) !important;
}

/* Buttons and Interactions */
body.theme-public .btn-glow-orange {
    background: linear-gradient(135deg, var(--ehbap-primary), #9c1118) !important;
    color: #ffffff !important;
    font-family: var(--ehbap-font-display) !important;
    font-weight: 700 !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 15px rgba(211, 32, 41, 0.2) !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

body.theme-public .btn-glow-orange:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(211, 32, 41, 0.35) !important;
}

body.theme-public .btn-glass {
    background: rgba(252, 232, 213, 0.05) !important;
    border: 1px solid var(--ehbap-border) !important;
    color: var(--ehbap-peach) !important;
    border-radius: 9999px !important;
}

body.theme-public .btn-glass:hover {
    background: rgba(252, 232, 213, 0.1) !important;
    border-color: rgba(252, 232, 213, 0.2) !important;
}

.press-active {
    transition: transform 0.15s ease;
}
.press-active:active {
    transform: scale(0.96) !important;
}

/* Waffle Menu Category Cards */
.ehbap-category-card {
    position: relative;
    display: flex;
    width: 100%;
    aspect-ratio: 16/9;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--ehbap-border);
    background-color: var(--ehbap-bg-darker);
    text-align: left;
    padding: 20px;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

.ehbap-category-card:hover {
    border-color: rgba(211, 32, 41, 0.35);
    box-shadow: 0 12px 35px rgba(211, 32, 41, 0.1);
}

.ehbap-category-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ehbap-category-card:hover .ehbap-category-card-img {
    transform: scale(1.04);
}

.ehbap-category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(23, 17, 12, 0.94) 0%, rgba(23, 17, 12, 0.6) 40%, rgba(23, 17, 12, 0.3) 65%, transparent 85%);
    z-index: 1;
}

.ehbap-category-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.ehbap-category-card-title {
    font-family: var(--ehbap-font-serif);
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.ehbap-category-card-count {
    font-family: var(--ehbap-font-sans);
    font-size: 12px;
    color: var(--ehbap-peach);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ehbap-category-card-count i {
    font-size: 10px;
    transition: transform 0.25s ease;
}

.ehbap-category-card:hover .ehbap-category-card-count i {
    transform: translateX(4px);
}

/* Marquee Scrolling Text inside Category Card */
.ehbap-category-marquee-container {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}

.ehbap-category-marquee {
    display: flex;
    width: max-content;
    animation: ehbapMarquee 25s linear infinite;
    gap: 16px;
    font-size: 11px;
    color: var(--ehbap-peach);
    opacity: 0.55;
}

@keyframes ehbapMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Accordion slide-down container override */
.ehbap-menu-category-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ehbap-menu-category.is-open .ehbap-menu-category-panel {
    max-height: none; /* Handled by JS dynamically */
}

.ehbap-category-inner-grid {
    padding: 20px 8px;
}

/* Product Cards */
.ehbap-product-card {
    background-color: var(--ehbap-panel-solid);
    border: 1px solid var(--ehbap-border);
    border-radius: 16px;
    padding: 16px;
    gap: 16px;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.ehbap-product-card:hover {
    border-color: rgba(211, 32, 41, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.ehbap-product-card-img {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ehbap-product-card:hover .ehbap-product-card-img {
    transform: scale(1.05);
}

.ehbap-product-card-title {
    font-family: var(--ehbap-font-display);
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.ehbap-product-card-desc {
    font-family: var(--ehbap-font-sans);
    font-size: 12px;
    color: var(--ehbap-peach);
    opacity: 0.65;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ehbap-product-card-price {
    font-family: var(--ehbap-font-wide);
    font-size: 15px;
    font-weight: 700;
    color: var(--ehbap-primary);
}

.ehbap-product-card-cal {
    font-size: 11px;
    color: #22c55e;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Soldout Overlay */
.ehbap-product-card.soldout {
    opacity: 0.65;
}
.ehbap-product-card-soldout-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
    background: #d32f2f;
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
}

/* Detail Drawer (Bottom Sheet) */
.ehbap-drawer-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 1060;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.ehbap-drawer-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.ehbap-drawer-sheet {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    width: 100%;
    max-width: 672px; /* max-w-2xl */
    background-color: var(--ehbap-bg);
    border-top: 1px solid var(--ehbap-border);
    border-radius: 32px 32px 0 0;
    z-index: 1070;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
}

.ehbap-drawer-sheet.show {
    transform: translate(-50%, 0);
}

.ehbap-drawer-handle {
    width: 40px;
    height: 4px;
    background-color: rgba(252, 232, 213, 0.2);
    border-radius: 2px;
    margin: 12px auto;
    cursor: pointer;
}

.ehbap-drawer-scrollable {
    max-height: 80vh;
    overflow-y: auto;
    padding: 0 20px 96px 20px; /* bottom padding for safe area/actions */
}

.ehbap-drawer-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.ehbap-drawer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ehbap-drawer-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.ehbap-drawer-title {
    font-family: var(--ehbap-font-serif);
    font-size: 26px;
    color: #ffffff;
    margin: 0;
}

.ehbap-drawer-price {
    font-family: var(--ehbap-font-wide);
    font-size: 32px;
    font-weight: 800;
    color: var(--ehbap-primary);
    white-space: nowrap;
}

.ehbap-drawer-section-label {
    font-family: var(--ehbap-font-sans);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ehbap-primary);
    margin-bottom: 8px;
}

.ehbap-drawer-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ehbap-text-main);
    opacity: 0.8;
    margin-bottom: 24px;
}

/* Allergen badges */
.ehbap-allergen-badge-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.ehbap-allergen-badge {
    height: 38px;
    padding: 0 14px;
    background-color: rgba(211, 32, 41, 0.12);
    border: 1px solid rgba(211, 32, 41, 0.2);
    color: var(--ehbap-peach);
    border-radius: 10px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Glassmorphic Social Icons */
.ehbap-social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}

.ehbap-social-icon:hover {
    background-color: var(--ehbap-primary);
    border-color: var(--ehbap-primary);
    color: #17110c;
    transform: scale(1.08);
}

/* Status badge ("Şu an açık") */
.ehbap-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(252, 232, 213, 0.08);
    border: 1px solid rgba(252, 232, 213, 0.15);
    color: var(--ehbap-peach);
    font-family: var(--ehbap-font-display);
    font-weight: 500;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 9999px;
}

.ehbap-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.ehbap-status-dot.closed {
    background-color: #d32f2f;
    box-shadow: 0 0 8px #d32f2f;
}

/* Custom form styles for Ehbap theme */
body.theme-public .form-glass {
    background-color: rgba(23, 17, 12, 0.6) !important;
    border: 1px solid var(--ehbap-border) !important;
    border-radius: 12px !important;
}

body.theme-public .form-glass:focus {
    border-color: var(--ehbap-primary) !important;
    box-shadow: 0 0 15px rgba(211, 32, 41, 0.18) !important;
}

/* Mobile optimizations */
@media (max-width: 767.98px) {
    .floating-bottom-nav {
        padding: 6px 10px;
        bottom: 12px;
    }
    .floating-nav-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Custom Header Navbar Overrides */
.site-navbar {
    background-color: var(--ehbap-bg-darker) !important;
    border-bottom: 1px solid var(--ehbap-border) !important;
    padding: 14px 0 !important;
}

.site-navbar .nav-link {
    color: var(--ehbap-text-main) !important;
    font-family: var(--ehbap-font-display);
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--ehbap-primary) !important;
}

@media (max-width: 991.98px) {
    .site-navbar .navbar-toggler,
    .site-navbar .navbar-collapse {
        display: none !important;
    }
    .site-navbar .container {
        justify-content: center !important; /* Center logo on mobile header */
    }
}

/* Category item tags on QR order page */
.category-item {
    background: rgba(252, 232, 213, 0.04) !important;
    border: 1px solid var(--ehbap-border) !important;
    color: var(--ehbap-peach) !important;
    padding: 8px 18px !important;
    border-radius: 9999px !important;
    font-size: 13px !important;
    cursor: pointer !important;
    font-family: var(--ehbap-font-sans) !important;
    transition: all 0.2s !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

.category-item.active,
.category-item:hover {
    background: rgba(211, 32, 41, 0.15) !important;
    border-color: var(--ehbap-primary) !important;
    color: var(--ehbap-primary) !important;
    font-weight: 600 !important;
}

/* Portal Style Interactive Elements */
.active-scale {
    transition: transform 0.2s ease;
}
.active-scale:active {
    transform: scale(0.96) !important;
}

.ehbap-circular-action-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.ehbap-circular-action-btn:hover {
    background: var(--ehbap-primary) !important;
    border-color: var(--ehbap-primary) !important;
    color: #ffffff !important;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 4px 15px rgba(211, 32, 41, 0.35);
}

.wow-3d-btn {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wow-3d-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(211, 32, 41, 0.55) !important;
}

/* Public app shell: Wowffles-style customer experience, red Ehbap theme */
body.theme-public {
    background: #100b08 !important;
    color: var(--ehbap-peach) !important;
    padding-bottom: 96px;
}

body.theme-public {
    background:
        repeating-radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 7px),
        repeating-radial-gradient(circle at 72% 18%, rgba(0, 0, 0, 0.035) 0 1px, transparent 1px 9px),
        radial-gradient(circle at 50% -18%, rgba(235, 24, 30, 0.42) 0%, transparent 42%),
        radial-gradient(circle at 48% 96%, rgba(22, 4, 3, 0.72), transparent 58%),
        linear-gradient(180deg, #68120a 0%, #70140b 42%, #460d08 100%) !important;
    background-size: 11px 11px, 17px 17px, 100% 100%, 100% 100%, 100% 100% !important;
    background-attachment: fixed !important;
}

body.theme-public:has(.venue-screen) {
    padding-bottom: 0;
    overflow: hidden;
}

.public-app-shell {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background: transparent;
    color: var(--ehbap-peach);
}

.menu-app-page,
.feedback-page,
.login-page {
    background: transparent !important;
}

.public-app-container {
    width: min(100%, 672px);
    min-height: calc(100vh - 96px);
    margin: 0 auto;
    padding: 0 16px 32px;
}

.venue-screen {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% -18%, rgba(235, 24, 30, 0.5) 0%, transparent 42%),
        linear-gradient(180deg, #4c0d08 0%, #5f120b 42%, #3a0b07 100%);
}

.venue-bg {
    display: none;
}

.venue-shade {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background:
        repeating-radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px),
        repeating-radial-gradient(circle at 72% 18%, rgba(0, 0, 0, 0.04) 0 1px, transparent 1px 9px),
        radial-gradient(circle at 48% 96%, rgba(22, 4, 3, 0.72), transparent 58%),
        linear-gradient(180deg, rgba(104, 18, 10, 0.98) 0%, rgba(112, 20, 11, 0.96) 42%, rgba(70, 13, 8, 0.98) 100%);
    background-size: 11px 11px, 17px 17px, 100% 100%, 100% 100%;
    background-blend-mode: overlay, multiply, normal, normal;
    box-shadow: inset 0 0 160px rgba(8, 3, 2, 0.62);
}

.venue-shade::before,
.venue-shade::after {
    content: none;
}

.venue-content {
    position: relative;
    z-index: 2;
    width: min(100%, 440px);
    min-height: calc(100svh - 96px);
    margin: 0 auto;
    padding: 56px 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.venue-top,
.venue-middle,
.venue-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.venue-logo {
    display: block;
    margin-inline: auto;
    width: 128px;
    height: 128px;
    object-fit: cover;
    object-position: 54% center;
    border-radius: 999px;
    border: 0;
    filter: contrast(1.25) saturate(1.08);
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.28),
        0 0 28px rgba(211, 32, 41, 0.38);
    background: transparent;
}

.venue-copy {
    max-width: 340px;
    margin: 18px 0 12px;
    color: rgba(251, 235, 235, 0.82);
    font-size: 15px;
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.venue-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid rgba(251, 235, 235, 0.16);
    background: rgba(34, 20, 15, 0.54);
    color: var(--ehbap-peach);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 13px;
    font-weight: 600;
}

.venue-status-separator {
    opacity: .55;
}

.venue-menu-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 196px;
    min-height: 56px;
    border-radius: 999px;
    background:
        linear-gradient(135deg, #ff1f2a 0%, var(--ehbap-primary) 46%, #9c1118 100%);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--ehbap-font-display);
    font-size: 17px;
    font-weight: 800;
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.36),
        0 0 24px rgba(211, 32, 41, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.18) inset;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.venue-menu-button::before {
    content: "";
    position: absolute;
    inset: -60% -30%;
    background:
        radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.5), transparent 18%),
        linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 48%, transparent 62%);
    transform: translateX(-75%) rotate(8deg);
    animation: venueButtonSweep 2.7s ease-in-out infinite;
    pointer-events: none;
}

.venue-menu-button span,
.venue-menu-button i {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.venue-menu-button i {
    animation: venueButtonArrow 1.15s ease-in-out infinite;
}

.venue-menu-button:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow:
        0 20px 44px rgba(0, 0, 0, 0.44),
        0 0 32px rgba(211, 32, 41, 0.52),
        0 0 0 1px rgba(255, 255, 255, 0.26) inset;
}

.venue-menu-button:active {
    transform: scale(.97);
}

@keyframes venueButtonSweep {
    0%, 35% {
        transform: translateX(-78%) rotate(8deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    76%, 100% {
        transform: translateX(78%) rotate(8deg);
        opacity: 0;
    }
}

@keyframes venueButtonArrow {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(4px);
    }
}

.venue-welcome {
    margin: 24px 0 0;
    color: rgba(251, 235, 235, 0.78);
    font-weight: 600;
}

.venue-actions {
    gap: 10px;
    width: 100%;
}

.venue-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(251, 235, 235, 0.14);
    background: rgba(34, 20, 15, 0.58);
    color: var(--ehbap-peach);
    text-decoration: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: venueSoftPulse 4.2s ease-in-out infinite;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.venue-pill:hover {
    color: var(--ehbap-peach);
    border-color: rgba(211, 32, 41, 0.46);
    background: rgba(62, 25, 22, 0.68);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), 0 0 18px rgba(211, 32, 41, 0.18);
    transform: translateY(-1px);
}

.venue-pill:active {
    transform: scale(.98);
}

.venue-pill span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
}

.venue-pill i:first-child {
    color: var(--ehbap-primary);
}

.venue-pill-wide {
    justify-content: flex-start;
}

.venue-pill-wide span {
    flex: 1;
    text-align: left;
}

.venue-pill-wide i:last-child {
    opacity: .52;
    font-size: 12px;
}

.venue-icon-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
}

.venue-icon-button,
.public-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(251, 235, 235, 0.14);
    background: rgba(34, 20, 15, 0.58);
    color: var(--ehbap-peach);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: venueIconFloat 3.6s ease-in-out infinite;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.venue-icon-button:nth-child(2) {
    animation-delay: .18s;
}

.venue-icon-button:nth-child(3) {
    animation-delay: .36s;
}

.venue-icon-button:hover,
.public-header-icon:hover {
    color: #fff;
    background: var(--ehbap-primary);
    border-color: var(--ehbap-primary);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), 0 0 18px rgba(211, 32, 41, 0.34);
}

@keyframes venueSoftPulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(211, 32, 41, 0);
    }
    50% {
        box-shadow: 0 0 18px rgba(211, 32, 41, 0.1);
    }
}

@keyframes venueIconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.public-app-header {
    position: sticky;
    top: 10px;
    z-index: 20;
    width: 100%;
    height: 58px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 10px;
    margin: 10px auto 16px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(251, 235, 235, 0.14);
    background: rgba(34, 20, 15, 0.72);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28), 0 0 18px rgba(211, 32, 41, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.public-header-logo {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 44px;
}

.public-header-logo img {
    height: 40px;
    max-width: 140px;
    object-fit: contain;
    border-radius: 999px;
}

.menu-app-page {
    padding-bottom: 12px;
}

.menu-search-panel {
    position: sticky;
    top: 64px;
    z-index: 19;
    display: grid;
    grid-template-columns: 18px 1fr 34px;
    align-items: center;
    gap: 10px;
    margin: 4px 0 16px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--ehbap-border);
    background: rgba(34, 20, 15, 0.9);
    color: var(--ehbap-peach);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.menu-search-panel[hidden] {
    display: none;
}

.menu-search-panel input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ehbap-peach);
    font-size: 14px;
}

.menu-search-panel input::placeholder {
    color: rgba(251, 235, 235, 0.48);
}

.menu-search-panel button {
    border: 0;
    background: transparent;
    color: rgba(251, 235, 235, 0.72);
}

.feedback-page .public-app-container {
    padding-bottom: 132px;
}

.feedback-card {
    position: relative;
    margin-top: 18px;
    padding: 28px 24px;
    border-radius: 28px;
    border: 1px solid var(--ehbap-border);
    background:
        radial-gradient(circle at 100% 0%, rgba(211, 32, 41, 0.18), transparent 36%),
        rgba(34, 20, 15, 0.82);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.32);
}

.feedback-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid rgba(211, 32, 41, 0.26);
    background: rgba(211, 32, 41, 0.13);
    color: var(--ehbap-peach);
    font-size: 12px;
    font-weight: 700;
}

.feedback-card h1 {
    margin: 18px 0 8px;
    color: #fff;
    font-family: var(--ehbap-font-display);
    font-size: 34px;
    font-weight: 800;
}

.feedback-card p {
    color: rgba(251, 235, 235, 0.68);
    line-height: 1.55;
    margin-bottom: 22px;
}

.feedback-form {
    display: grid;
    gap: 14px;
}

.feedback-form label {
    display: grid;
    gap: 7px;
}

.feedback-form label span {
    color: rgba(251, 235, 235, 0.66);
    font-size: 12px;
    font-weight: 700;
}

body.theme-public .feedback-form .form-control,
body.theme-public .feedback-form .form-glass {
    background: rgba(16, 11, 8, 0.72) !important;
    border-color: rgba(251, 235, 235, 0.12) !important;
    color: #fff !important;
}

.feedback-submit {
    min-height: 56px;
    margin-top: 4px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ehbap-primary), #9c1118);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(211, 32, 41, 0.36);
}

.feedback-info {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.feedback-info a,
.feedback-info div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(251, 235, 235, 0.12);
    background: rgba(34, 20, 15, 0.62);
    color: var(--ehbap-peach);
    text-decoration: none;
}

.feedback-info i {
    color: var(--ehbap-primary);
}

.public-modal {
    background: #1a100d;
    border: 1px solid var(--ehbap-border);
    color: var(--ehbap-peach);
    border-radius: 22px;
}

.wifi-pass-box {
    display: inline-grid;
    gap: 4px;
    padding: 14px 22px;
    border-radius: 16px;
    border: 1px solid var(--ehbap-border);
    background: rgba(16, 11, 8, .72);
}

.wifi-pass-box span {
    color: rgba(251, 235, 235, .58);
    font-size: 12px;
}

.wifi-pass-box strong {
    color: #fff;
    font-size: 20px;
}

.floating-bottom-nav {
    width: 292px;
    max-width: calc(100vw - 32px);
    justify-content: center;
    gap: 0;
    padding: 8px;
}

.floating-nav-btn {
    width: 44px;
    min-width: 44px;
    height: 40px;
    justify-content: center;
    padding: 0 12px;
    gap: 0;
    overflow: hidden;
}

.floating-nav-btn span {
    display: inline-block;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width .22s ease, opacity .18s ease, margin .22s ease;
}

.floating-nav-btn.active {
    width: 116px;
    gap: 10px;
    background-color: rgba(211, 32, 41, 0.18);
    color: #fff;
}

.floating-nav-btn.active span {
    width: 64px;
    opacity: 1;
}

@media (max-width: 575.98px) {
    .venue-content {
        padding-top: 48px;
    }

    .venue-logo {
        width: 118px;
        height: 118px;
        object-position: 54% center;
    }

    .feedback-card {
        padding: 24px 20px;
        border-radius: 24px;
    }
}

.login-page {
    display: grid;
    place-items: center;
    min-height: 100svh;
    background: transparent !important;
}

.login-container {
    display: grid;
    place-items: center;
    min-height: 100svh;
    padding: 24px 16px;
}

.login-card {
    position: relative;
    width: min(100%, 430px);
    padding: 34px 26px 28px;
    border-radius: 30px;
    border: 1px solid rgba(251, 235, 235, 0.12);
    background:
        radial-gradient(circle at 100% 0%, rgba(211, 32, 41, 0.18), transparent 40%),
        rgba(34, 20, 15, 0.82);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.login-back {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(251, 235, 235, 0.12);
    color: var(--ehbap-peach);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.login-brand {
    text-align: center;
    margin-bottom: 24px;
}

.login-brand img {
    width: 86px;
    height: 86px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(251, 235, 235, 0.58);
    box-shadow: 0 0 30px rgba(211, 32, 41, 0.34);
}

.login-brand h1 {
    margin: 18px 0 6px;
    color: #fff;
    font-family: var(--ehbap-font-display);
    font-size: 30px;
    font-weight: 800;
}

.login-brand p {
    margin: 0;
    color: rgba(251, 235, 235, 0.62);
}

.login-form {
    display: grid;
    gap: 16px;
}

.login-form label {
    display: grid;
    gap: 8px;
}

.login-form label span {
    color: rgba(251, 235, 235, 0.66);
    font-size: 12px;
    font-weight: 800;
}

.login-input {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 15px;
    border-radius: 16px;
    border: 1px solid rgba(251, 235, 235, 0.12);
    background: rgba(16, 11, 8, 0.72);
    color: rgba(251, 235, 235, 0.72);
}

.login-input input {
    border: 0;
    outline: 0;
    min-width: 0;
    background: transparent;
    color: #fff;
}

.login-input input::placeholder {
    color: rgba(251, 235, 235, 0.34);
}

.login-submit {
    min-height: 56px;
    margin-top: 4px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ehbap-primary), #9c1118);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(211, 32, 41, 0.38);
}



