/* ========================================
   iOS SAFE AREA OVERRIDE
   ======================================== */

/* Force content to extend edge-to-edge on iOS devices */
@supports (-webkit-touch-callout: none) {
    /* iOS-specific - force full viewport height */
    html {
        height: 100vh !important;
        height: -webkit-fill-available !important;
    }

    body {
        min-height: 100vh !important;
        min-height: -webkit-fill-available !important;
    }
}

@supports (padding: max(0px)) {
    html, body {
        padding: 0 !important;
        margin: 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
    }

    .site-wrap,
    .site-wrap-ios-phone,
    .site-wrap-ios-pad,
    .content-window-wrap,
    .content-window-wrap-full,
    .content-wrap,
    .div-liner,
    .thumb-menu-wrapper {
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Override iOS safe area insets - force all to 0 */
    body {
        padding: 0 !important;
        margin: 0 !important;
        position: fixed !important;
        inset: 0 !important;
    }

    /* Ensure thumb menu sits at absolute bottom */
    .thumb-menu-wrapper {
        bottom: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Target root containers only */
    #app {
        padding: 0 !important;
        margin: 0 !important;
        height: 100% !important;
    }
}

/* For older iOS versions without env() support */
@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3),
       only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2),
       only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3),
       only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3),
       only screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) {
    html, body {
        height: 100vh !important;
        max-height: 100vh !important;
        position: fixed !important;
        inset: 0 !important;
    }

    .site-wrap-ios-phone,
    .site-wrap-ios-pad {
        top: 0 !important;
        bottom: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        height: 100% !important;
    }

    .content-window-wrap,
    .content-window-wrap-full {
        bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .thumb-menu-wrapper {
        bottom: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(20px)) {
  .glass-panel,
  .content-window-wrap,
  .content-window-wrap-full,
  .admin-content,
  .hamburger-menu,
  .thumb-menu-wrapper {
    background: var(--glass-bg-subtle) !important;
  }
}

/* ========================================
   GLASSMORPHISM UTILITY CLASSES
   ======================================== */

.glass-panel {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur-lg);
  -webkit-backdrop-filter: var(--glass-blur-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}

.glass-panel-subtle {
  background: var(--glass-bg-subtle);
  backdrop-filter: var(--glass-blur-md);
  -webkit-backdrop-filter: var(--glass-blur-md);
  border: 1px solid var(--glass-border-strong);
  box-shadow: var(--shadow-md);
}

.glass-card {
  background: var(--glass-bg-medium);
  backdrop-filter: var(--glass-blur-md);
  -webkit-backdrop-filter: var(--glass-blur-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-all);
}

.glass-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* ========================================
   BASE STYLES
   ======================================== */

.site-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--color-neutral-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary-300) var(--glass-bg-medium);
}
.site-wrap-ios-pad {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 10px;
    overflow: hidden;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--color-neutral-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary-300) var(--glass-bg-medium);
}
.site-wrap-ios-phone {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--color-neutral-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary-300) var(--glass-bg-medium);
}
.div-liner{
    position:absolute;
    top:10px;
    bottom:10px;
    left:10px;
    right:10px;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.div-label {
    position: absolute;
    top: -2px;
    left: var(--space-1);
    height: auto;
    min-width: 100px;
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-neutral-0);
    background: linear-gradient(180deg, var(--color-primary-500) 0%, var(--color-primary-600) 100%);
    border-bottom-right-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.div-label-tab-wrapper {
    position: absolute;
    top: -2px;
    left: 4px;
    right:4px;
    height: 20px;
    margin:0;
    padding:0;
}
.div-label-tab-active {
    position: relative;
    display: inline-block;
    margin-left: var(--space-1);
    margin-top: 0;
    height: auto;
    min-width: 100px;
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-neutral-0);
    background: linear-gradient(180deg, var(--color-primary-300) 0%, var(--color-primary-600) 100%);
    border-bottom-right-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition-all);
}

.div-label-tab-inactive {
    position: relative;
    display: inline-block;
    margin-left: var(--space-1);
    margin-top: 0;
    height: auto;
    min-width: 100px;
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-neutral-0);
    background: var(--color-primary-700);
    border-bottom-right-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    cursor: pointer;
    transition: var(--transition-all);
}

.div-label-tab-inactive:hover {
    background: var(--color-primary-600);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   SCREEN & SECTION HEADERS
   ======================================== */

/* Top-level screen title bar */
.screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-4) var(--space-3);
}

.screen-header h1 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--tracking-tight, -0.02em);
    color: var(--color-neutral-900);
    margin: 0;
    line-height: var(--line-height-tight);
}

/* Row label above a tile group or side-scroll section */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: var(--space-5) var(--space-4) var(--space-2);
}

.section-header h2 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-neutral-900);
    margin: 0;
    line-height: var(--line-height-tight);
}

.section-header .see-all {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary-500);
    text-decoration: none;
    cursor: pointer;
}

.bool-toggle-wrapper {
    position: relative;
    display: inline-block;
    top: 5px;
    min-height: 25px;
    min-width: 52px;
    max-height: 25px;
    max-width: 52px;
    padding: 0;
    margin: 0;
    border-style: solid;
    border-width: 1px;
    border-color: var(--color-primary-500);
    border-radius:12px;
    background-color:var(--color-neutral-400);
    cursor:pointer;
}
.bool-toggle-switch-on {
    position: absolute;
    width: 21px;
    height: 19px;
    left: 27px;
    top: 2px;
    border-style: solid;
    border-width: 1px;
    border-color: var(--color-neutral-900);
    background-color: var(--color-success);
    border-radius: 10px;
}
.bool-toggle-switch-off {
    position: absolute;
    width: 21px;
    height: 19px;
    left: 2px;
    top: 2px;
    border-style: solid;
    border-width: 1px;
    border-color: var(--color-neutral-900);
    background-color: var(--glass-bg-heavy);
    border-radius: 10px;
}
.bool-toggle-label-on {
    position: absolute;
    left: 4px;
    width: 10px;
    top: 0;
    height: 20px;
    color: var(--color-neutral-0);
}
.bool-toggle-label-off {
    position: absolute;
    left: 25px;
    width: 10px;
    top: 0;
    height: 20px;
    color: var(--color-neutral-0);
}
.alt-signon-button-wrapper{
    position:absolute;
    top:220px;
    right:100px;
    height:35px;
    width:185px;
}
.alt-signon-button {
    background-color:transparent;
    border: 0;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, .3) 0 5px 15px;
    box-sizing: border-box;
    color: var(--color-neutral-0);
    cursor: pointer;
    font-family: Montserrat,sans-serif;
    font-size: .9em;
    margin: 5px;
    padding: 10px 15px;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    transition: var(--transition-all);
    touch-action: manipulation;
    position: relative;
    float: right;
    min-height: 35px;
    max-height: 35px;
    min-width: 35px;
    max-width: 35px;
    margin-right: 5px;
    background-repeat: no-repeat;
    background-size: 35px 35px;
}
.alt-signon-button:hover {
    background-color: var(--color-primary-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.apple{
    background-image:url('images/apple-logo.png');
}
.google{
    background-image:url('images/google-logo.png');
}
.facebook{
    background-image:url('images/facebook-logo.png');
}
.windows{
    background-image:url('images/windows-logo.png');
}
.green{
    background-color: var(--color-success);
}
.red {
    background-color: var(--color-error);
}
.yellow {
    background-color: var(--color-warning);
}
.blue {
    background-color: var(--color-primary-500);
}
.brick-grey {
    background-color: var(--color-neutral-200);
}
.rounded{
    border-radius:4px;
}
.shadowed {
    box-shadow: 4px 4px 4px rgba(13, 13, 13, 0.55);
}
.div-selected{
    box-shadow:8px 8px 8px rgba(0, 0, 0, 0.41);
}
.li-selected{
    background-color:var(--color-primary-200);
}
.site-background {
    position: absolute;
    background-image: url('images/WhiteWashedBrickwall.jpg');
    background-repeat: repeat;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}
.site-background-ios {
    position: absolute;
    background-image: url('images/WhiteWashedBrickwall.jpg');
    background-repeat: repeat;
    top: -47pt;
    left: 0;
    right: 0;
    height: 110%;
    overflow: hidden;
}
.grey-out {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
}
.animated-loader {
    position: absolute;
    top: 100px;
    left: 50%;
    width: 400px;
    height: 300px;
    transform: translate(-200px, 0);
    background-image:url(images/bricks.gif);
    background-repeat:no-repeat;
    background-size:contain;
    border-radius: 64px 64px;
    box-shadow:16px 16px 16px var(--color-neutral-900);
    opacity:.8;
}
.site-logo {
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 1.0;
    top: 5px;
    left: 50%;
    width: 155px;
    height: 30px;
    transform: translate(-76px, 0);
    background-image: url('images/logoSimplified4.png');
    animation-name: none;
    animation-fill-mode: unset;
}

.content-window-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    max-width: 970px;
    min-width: 970px;
    transform: translate(-485px, 0);
    background: var(--surface-base, var(--color-neutral-50));
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}
.content-window-wrap-full {
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
    bottom: 0;
    background: var(--surface-base, var(--color-neutral-50));
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}
.thumb-menu-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: var(--glass-blur-lg);
    -webkit-backdrop-filter: var(--glass-blur-lg);
    border-top: 1px solid var(--color-neutral-200);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}
.thumb-menu-inner-center {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}
.thumb-menu-item {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 56px;
    max-height: 56px;
    overflow: hidden;
    color: var(--color-neutral-400);
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-colors);
    -webkit-tap-highlight-color: transparent;
}

.thumb-menu-item:active {
    transform: scale(0.92);
}

.thumb-menu-item-selected {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 56px;
    max-height: 56px;
    overflow: hidden;
    color: var(--color-primary-500);
    text-align: center;
    font-size: 20px;
}

/* Active indicator pill under selected icon */
.thumb-menu-item-selected::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    border-radius: var(--radius-full);
    background: var(--color-primary-500);
}

.thumb-menu-label {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 10px;
    font-size: 9px;
    font-weight: var(--font-weight-medium);
    text-align: center;
    color: var(--color-neutral-400);
    letter-spacing: 0.03em;
}

.thumb-menu-label-selected {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 10px;
    font-size: 9px;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    color: var(--color-primary-500);
    letter-spacing: 0.03em;
}
.thumb-menu-alert {
    position: absolute;
    top: 2px;
    right: 2px;
    height: 15px;
    width: 15px;
    background-image: url('images/Alert.png');
    background-repeat: no-repeat;
    background-size: contain;
    animation: flashOpacity 4s infinite;
}
@keyframes flashOpacity {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}
.small-pop {
    position: fixed;
    top: -500px;
    left: 50%;
    width: 300px;
    height: 450px;
    transform: translate(-150px, 0);
    background: var(--glass-bg-subtle);
    backdrop-filter: var(--glass-blur-lg);
    -webkit-backdrop-filter: var(--glass-blur-lg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    opacity: 0.0;
    animation-name: small-pop-entrance1, small-pop-entrance2;
    animation-duration: 0.4s;
    animation-delay: 0s, 0.4s;
    animation-iteration-count: initial;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes small-pop-entrance1 {
    to {
        opacity: 1.0;
        top: 15%;
    }
}

@keyframes small-pop-entrance2 {
    to {
        box-shadow: var(--shadow-2xl);
    }
}

.button-10 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: var(--touch-target, 2.75rem);
    padding: 0 var(--space-5);
    font-family: var(--font-family-base);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    border-radius: var(--radius-lg);
    border: none;
    color: var(--color-neutral-0);
    background: linear-gradient(180deg, var(--color-primary-400) 0%, var(--color-primary-600) 100%);
    box-shadow: var(--shadow-primary);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: box-shadow 0.15s ease, transform 0.1s ease, background 0.15s ease;
}

.button-10:hover {
    box-shadow: var(--shadow-md);
}

.button-10:active {
    transform: scale(0.97);
    box-shadow: var(--shadow-inner);
}

.button-10:focus-visible {
    outline: 2px solid var(--color-primary-400);
    outline-offset: 2px;
}

.button-70 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: var(--touch-target, 2.75rem);
    padding: 0 var(--space-6);
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-primary);
    color: var(--color-neutral-0);
    background: linear-gradient(180deg, var(--color-primary-400) 0%, var(--color-primary-600) 100%);
    cursor: pointer;
    margin: 5px;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: box-shadow 0.15s ease, transform 0.1s ease;
}

.button-70:hover {
    box-shadow: var(--shadow-lg);
}

.button-70:active {
    transform: scale(0.97);
    box-shadow: var(--shadow-inner);
}

/* Base styles for all text-like inputs. Uses :where() so specificity is 0 —
   any class (clean-input, map-input, etc.) or inline style automatically wins. */
:where(input[type="text"],
       input[type="number"],
       input[type="email"],
       input[type="password"],
       input[type="search"],
       input[type="tel"],
       input[type="url"]) {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    color: var(--color-neutral-800);
    background-color: var(--color-neutral-0);
    border: 1px solid var(--color-neutral-300);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    box-sizing: border-box;
    transition: var(--transition-all);
}

:where(input[type="text"],
       input[type="number"],
       input[type="email"],
       input[type="password"],
       input[type="search"],
       input[type="tel"],
       input[type="url"]):hover {
    border-color: var(--color-neutral-400);
}

:where(input[type="text"],
       input[type="number"],
       input[type="email"],
       input[type="password"],
       input[type="search"],
       input[type="tel"],
       input[type="url"]):focus {
    outline: none;
    border-color: var(--color-primary-500);
    box-shadow: 0 0 0 3px rgba(38, 89, 164, 0.15);
}

:where(input[type="text"],
       input[type="number"],
       input[type="email"],
       input[type="password"],
       input[type="search"],
       input[type="tel"],
       input[type="url"])::placeholder {
    color: var(--color-neutral-400);
}

.clean-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--color-neutral-800);
    background: var(--color-neutral-0);
    border: 1px solid var(--color-neutral-300);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    margin-bottom: var(--space-3);
    transition: var(--transition-all);
}

.clean-input:hover {
    border-color: var(--color-neutral-400);
}

.clean-input:focus {
    outline: none;
    border-color: var(--color-primary-500);
    box-shadow: 0 0 0 3px rgba(38, 89, 164, 0.15);
}

.clean-input::placeholder {
    color: var(--color-neutral-400);
}

select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    padding-right: var(--space-8);
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--color-neutral-800);
    background-color: var(--color-neutral-0);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232659A4' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-3) center;
    border: 1px solid var(--color-neutral-300);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: var(--transition-all);
}

select:hover {
    border-color: var(--color-neutral-400);
}

select:focus {
    outline: none;
    border-color: var(--color-primary-500);
    box-shadow: 0 0 0 3px rgba(38, 89, 164, 0.15);
}

select option {
    background-color: var(--color-neutral-0);
    color: var(--color-neutral-800);
}

.full-text {
    position: relative;
    min-width: 94%;
    max-width: 94%;
    min-height: 44px;
    color: var(--color-neutral-800);
    background-color: var(--color-neutral-0);
    border: 1px solid var(--color-neutral-300);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
}

.half-text {
    position: relative;
    min-width: 46%;
    max-width: 46%;
    min-height: 44px;
    margin-right: var(--space-2);
    color: var(--color-neutral-800);
    background-color: var(--color-neutral-0);
    border: 1px solid var(--color-neutral-300);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
}

.message-pop-over {
    position: absolute;
    color: var(--color-neutral-900);
    text-align: center;
    left: 5px;
    right: 5px;
    bottom: 80px;
    height: 50px;
    border-radius: 8px;
    animation-name: show-and-hide;
    animation-duration: 5s;
    animation-iteration-count: initial;
    animation-fill-mode: forwards;
}

@keyframes show-and-hide {
    0% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.content-wrap {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
}
.content-liner {
    top: 45px;
    left: 1px;
    right: 1px;
    bottom: 50px;
}
.social-control-bar {
    position: relative;
    width: 100%;
    height: 50px;
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
}
.social-post {
    position: relative;
    text-align: center;
    border-bottom: 2px solid var(--color-neutral-300);
    margin-bottom:10px;
    margin-left:30px;
    margin-right:30px;
    height:fit-content;
    padding:10px;
}
.social-post-head {
    position: relative;
    left: 50%;
    max-width: 400px;
    min-width: 400px;
    min-height: 50px;
    max-height: 50px;
    margin-bottom:5px;
    transform: translate(-200px, 0);
}
.social-post-inner {
    position: relative;
    max-width: 400px;
    min-width: 400px;
    left: 50%;
    transform: translate(-200px, 0);
    padding: 10px;
    margin-bottom:15px;
}
.social-post-message {
    padding: 10px;
}
.social-post-like {
    cursor: pointer;
}
.social-post-chat {
    cursor: pointer;
    margin-left: 15px;
    transition: color var(--transition-fast);
}
.social-post-chat.active {
    color: var(--color-primary-500);
    font-weight: var(--font-weight-medium);
}
.social-post-user-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}
.social-post-zoomable-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
}
.social-post-user {
    position: absolute;
    top: 5px;
    left: 55px;
    color: var(--color-neutral-900);
    cursor: pointer;
}
.social-post-created-date {
    position: absolute;
    bottom: 0;
    left: 55px;
    font-size: 12px;
    font-style: italic;
    color: var(--color-neutral-600);
}
.social-post-flag-delete {
    position: absolute;
    cursor: pointer;
    right: 5px;
    bottom: 5px;
}
.social-post-flag-pop {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background-color: var(--color-neutral-0);
}
.post-replies-container {
    margin-top: var(--space-3);
    margin-left: 16px;
    margin-right: 4px;
    border-left: 3px solid var(--color-primary-300);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    background-color: var(--color-primary-50, #f0f9ff);
    padding: var(--space-3) var(--space-3) var(--space-2) var(--space-3);
}
.reply-compose {
    margin-bottom: var(--space-3);
    padding: var(--space-3);
    background-color: var(--surface-card, #fff);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
}
.reply-compose-input {
    width: 95%;
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--radius-md);
    padding: var(--space-2);
    font-family: var(--font-family-base);
    font-size: var(--font-size-sm);
    color: var(--color-neutral-800);
    background: var(--surface-base);
    resize: none;
}
.reply-compose-input:focus {
    outline: none;
    border-color: var(--color-primary-400);
}
.reply-compose-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-2);
}
.post-response {
    position: relative;
    text-align: center;
    border-bottom: 1px solid var(--color-neutral-200);
    margin-bottom: var(--space-3);
    padding: var(--space-3) var(--space-2);
    background-color: var(--surface-card, #fff);
    border-radius: var(--radius-md);
}
.post-response:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.post-response-body {
    padding: var(--space-1) var(--space-2);
    text-align: left;
}

.establishment-profile-header {
    display: flex;
    flex-direction: row-reverse; /* image on right, blurb on left */
    align-items: stretch;
    gap: 2%;
    margin-bottom: var(--space-4);
}

.establishment-profile-image {
    position: relative;
    flex: 0 0 50%;
    min-height: 200px;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.establishment-profile-blurb {
    position: relative;
    flex: 1 1 0;
    min-height: 200px;
    overflow: auto;
    padding: var(--space-4);
    background: var(--glass-bg-subtle);
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
    border-radius: var(--radius-lg);
}

@media (max-width: 480px) {
    .establishment-profile-header {
        flex-direction: column;
    }
    .establishment-profile-image {
        flex: 0 0 auto;
        height: 200px;
        width: 100%;
    }
    .establishment-profile-blurb {
        flex: 0 0 auto;
        width: 100%;
    }
}

.establishment-profile-blurb h2 {
    margin: 0 0 var(--space-4) 0;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--color-neutral-900);
}

.establishment-profile-blurb span {
    display: block;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    color: var(--color-neutral-600);
    margin-bottom: var(--space-2);
}
.establishment-profile-menu-wrapper{
    position:relative;
    clear: both;
    left:0;
    right:0;
    width: 100%;
    margin-top: var(--space-4);
}
.establishment-profile-secondary-wrapper
{

}
.establishment-profile-tabs {
    position: relative;
    top: 1%;
}
.social-container{
    position:relative;
    clear: both;
    width:100%;
    margin-top: var(--space-4);
}

.menu-crumb-wrapper {
    position: relative;
    min-height: 25px;
    min-width: 250px;
    width: 100%;
    margin-bottom: var(--space-2);
}
.menu-crumb-item{
    cursor:pointer;
    background-color: var(--color-primary-500);
    padding-right:6px;
    padding-left:6px;
    margin-right:4px;
    margin-top:4px;
    border-radius:20px;
    color:var(--color-neutral-0);
    font-size:larger;
    transition: var(--transition-all);
}

.menu-crumb-item:hover {
    background-color: var(--color-primary-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.cart-header-button {
    position: absolute;
    top: 15px;
    right: 68px;
    width: 48px;
    height: 30px;
    background: linear-gradient(180deg, var(--color-primary-300) 0%, var(--color-primary-600) 100%);
    border: none;
    border-radius: 20px;
    color: var(--color-neutral-0);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.cart-header-button:hover {
    background: linear-gradient(180deg, var(--color-primary-200) 0%, var(--color-primary-500) 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.cart-header-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #c0392b;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 9999px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
}

/* ShoppingCart page */
.shopping-cart-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-3);
    height: 100%;
    overflow-y: auto;
}

.shopping-cart-title {
    margin: 0;
}

.shopping-cart-empty {
    color: var(--color-muted, #888);
    text-align: center;
    margin-top: var(--space-6);
}

.shopping-cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
}

.cart-item-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--space-2) var(--space-3);
    background: var(--glass-bg, rgba(255,255,255,0.6));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.cart-item-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-item-name {
    font-weight: 600;
}

.cart-item-qty {
    font-size: 0.9rem;
    color: var(--color-muted, #666);
}

.cart-item-mods {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
    padding-left: var(--space-2);
}

.cart-item-mod {
    font-size: 0.78rem;
    color: var(--color-muted, #666);
    background: rgba(0,0,0,0.05);
    border-radius: 9999px;
    padding: 1px 8px;
}

.cart-item-note {
    font-size: 0.78rem;
    font-style: italic;
    color: var(--color-muted, #888);
    padding-left: var(--space-2);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}

.cart-qty-stepper {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.cart-step-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s;
}

.cart-step-btn:hover {
    background: rgba(0,0,0,0.06);
}

.cart-step-val {
    min-width: 20px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.cart-note-btn {
    background: transparent;
    border: none;
    color: var(--color-primary, #0078d4);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 6px;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

.cart-note-btn:hover {
    background: rgba(0,120,212,0.1);
}

.cart-note-input {
    width: 100%;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: var(--space-2);
    font-size: 0.9rem;
    resize: vertical;
    font-family: inherit;
    background: transparent;
    color: inherit;
    box-sizing: border-box;
}

.cart-note-input:focus {
    outline: none;
    border-color: var(--color-primary, #0078d4);
}

.cart-delete-btn {
    background: transparent;
    border: none;
    color: #c0392b;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 6px;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

.cart-delete-btn:hover {
    background: rgba(192,57,43,0.1);
}

.cart-item-mod {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cart-mod-edit-icon {
    font-size: 0.6rem;
    opacity: 0.5;
}

.cart-item-mod:hover .cart-mod-edit-icon {
    opacity: 1;
}

.cart-mod-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) 0;
}

.cart-mod-delete-btn {
    background: #c0392b !important;
}

.shopping-cart-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: var(--space-2);
    border-top: 1px solid var(--glass-border);
}

.hamburger-button {
    position: absolute;
    top: 15px;
    right: 12px;
    width: 48px;
    height: 30px;
    background: linear-gradient(180deg, var(--color-primary-300) 0%, var(--color-primary-600) 100%);
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-neutral-0);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border-radius:20px;
}

.hamburger-button:hover {
    background: linear-gradient(180deg, var(--color-primary-200) 0%, var(--color-primary-500) 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.hamburger-button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}
.hamburger-menu {
    position: absolute;
    top: 60px;
    bottom: 25px;
    right: var(--space-2);
    width: 300px;
    background: var(--glass-bg-light);
    backdrop-filter: var(--glass-blur-lg);
    -webkit-backdrop-filter: var(--glass-blur-lg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.menu-list {
    background: transparent;
    padding: var(--space-3) var(--space-4);
    cursor: pointer;
    transition: var(--transition-colors);
    border-radius: var(--radius-md);
    margin: var(--space-1);
}

.menu-list:hover {
    background: var(--color-primary-50);
    color: var(--color-primary-700);
}
.menu-list-item-lg {
    font-size:22px;
    margin-right:10px;
}

.top-right-controls{
    position:absolute;
    top:15px;
    right:0;
}
.est-hours-wrapper {
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.est-hours-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.est-hours-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    padding: var(--space-2);
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.est-hours-row-editing {
    border-color: var(--color-primary, #0078d4);
}

.est-hours-day {
    min-width: 100px;
    font-weight: 600;
}

.est-hours-time {
    flex: 1;
    color: var(--text-secondary);
}

.est-hours-day-select {
    width: 150px;
    min-width: 0;
}

.est-hours-time-input {
    width: 175px;
    min-width: 0;
}

.est-hours-add-form {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2);
    border-radius: var(--radius-sm);
    border: 1px dashed var(--color-primary, #0078d4);
}

.admin-content {
    position: absolute;
    top: 75px;
    bottom: 0;
    right: var(--space-2);
    left: var(--space-2);
    background: var(--glass-bg-subtle);
    backdrop-filter: var(--glass-blur-md);
    -webkit-backdrop-filter: var(--glass-blur-md);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: auto;
    box-shadow: var(--shadow-lg);
}
.tile-control-box {
    position: absolute;
    top: 0;
    right: 0;
    height: 40px;
    width: 170px;
}
.tileable-box {
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    bottom: 0;
}
.tile-item{
    display:inline-block;
    max-width:100px;
    max-height:100px;
    min-height:100px;
    min-width:100px;
    margin:10px;
    background-repeat:no-repeat;
    background-size:contain;
}
.tile-item-selected {
    border: 4px solid var(--color-primary-500);
    border-radius: 8px;
    box-shadow: var(--shadow-primary);
}
.tile-item-preview-wrap {
    position:absolute;
    width: 400px;
    height: 430px;
    border-radius:8px;
}
.tile-item-preview {
    position:absolute;
    top:30px;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
}
.tile-list{
    display:inline-block;
    margin:0;
    min-width:300px;
    max-width:300px;
    border-bottom:solid 1px var(--color-neutral-300);
    color: var(--color-neutral-800);
}
.tile-list-selected {
    border: 1px solid var(--color-primary-500);
    border-radius: 8px;
}
/*Admin Pages*/
.admin-allowed{
    visibility:visible;
}
.admin-back {
    background-color: var(--glass-bg-light);
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
}
.admin-back-opaque {
    background-color: var(--color-neutral-200);
    color: var(--color-neutral-800);
}
.admin-establishment-profile-image {
    position: absolute;
    height: 260px;
    width: 475px;
    top: 0;
    right: 0;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}

.admin-establishment-profile-blurb {
    position: absolute;
    top: 0;
    left: 0;
    right: 5px;
    height: 400px;
    width: 50%;
    overflow: auto;
    background-color: var(--glass-bg-subtle);
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
}

.admin-establishment-profile-theme {
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 50px;
    height: 300px;
}

/*AdminMenu*/
.admin-menu-ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

/* Nested lists - add tree view styling */
.admin-menu-ul .admin-menu-ul {
    padding-left: 24px;
    position: relative;
}

/* Vertical tree line for nested items */
.admin-menu-ul .admin-menu-ul::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 8px;
    width: 1px;
    background-color: var(--color-neutral-400);
}

.admin-menu-li {
    position: relative;
}

/* Horizontal connector line for child items */
.admin-menu-ul .admin-menu-ul > .admin-menu-li::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 22px;
    width: 16px;
    height: 1px;
    background-color: var(--color-neutral-400);
}

/* L-shaped connector for last child */
.admin-menu-ul .admin-menu-ul > .admin-menu-li:last-child::after {
    content: "";
    position: absolute;
    left: -16px;
    top: 22px;
    bottom: -100%;
    width: 1px;
    background-color: var(--color-neutral-0);
}
.admin-menu-split-layout {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.admin-split-left {
    flex: 0 0 50%;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid var(--color-neutral-200);
    scrollbar-width: thin;
}
.admin-split-right {
    flex: 1;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}
.admin-split-left-actions {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--glass-bg-subtle);
    border-bottom: 1px solid var(--color-neutral-200);
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
}
.admin-split-menu-ul {
    list-style: none;
    margin: 0;
    padding: var(--space-2) 0;
}
.admin-split-secondary {
    position: relative;
    border-top: 1px solid var(--color-neutral-200);
    margin-top: var(--space-3);
}
.admin-split-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-neutral-400);
    font-size: var(--font-size-sm);
    font-style: italic;
}
.admin-menu-wrap{
    position: absolute;
    top: 15px;
    left: 0;
    right:0;
    bottom:0;
    padding: 4px;
    margin: 0;
    overflow-y: auto;
    overflow-x:hidden;
    scrollbar-width: thin;
}
.admin-menu-left {
    position: absolute;
    top: 50px;
    left: 0;
    bottom: 0;
    right: 5px;
}
.admin-menu-right {
    position: absolute;
    top: 25px;
    right: 60px;
    bottom: 0;
    left: 50%;
    border-left: 1px solid var(--color-neutral-600);
}
.admin-menu-right-full {
    position: absolute;
    top: 10px;
    right: 0;
    bottom: 0;
    left: 50%;
    border-left: 1px solid var(--color-neutral-600);
}
.admin-menu-item-basic {
    position: relative;
    min-height: 44px;
    max-height: 44px;
    right: 5px;
    margin-bottom: var(--space-2);
    margin-left: var(--space-3);
    padding: var(--space-2) var(--space-3);
    background: var(--color-neutral-300);
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-all);
}

.admin-menu-item-basic:hover {
    background: var(--glass-bg-light);
    border-color: var(--color-primary-300);
    box-shadow: var(--shadow-sm);
}

.admin-menu-item-selected {
    background: linear-gradient(135deg, var(--color-primary-100) 0%, var(--color-primary-50) 100%);
    border-color: var(--color-primary-400);
    box-shadow: var(--shadow-primary);
}

.admin-menu-item-child {
    border-left: 8px solid var(--color-primary-300);
    background: var(--color-neutral-200);
}
.admin-menu-type-label{
    position:absolute;
    left:5px;
    top:1px;
    height:15px;
    width:200px;
    font-size:12px;
    font-style:italic;
    color: var(--color-neutral-600);
}
.admin-menu-label {
    position: absolute;
    left: 5px;
    bottom: 4px;
    height: 20px;
    width: 250px;
    font-size: 18px;
    color: var(--color-neutral-900);
}
.admin-menu-control-container{
    position:absolute;
    right:0;
    top:0;
    bottom:0;
    width:140px;
}
.admin-menu-sub-wrap{
    position: absolute;
    top: 15px;
    right: 0;
    width: 465px;
    padding: 0;
    margin: 0;
}
.admin-menu-sub-section{
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
}
.admin-menu-left-edit-wrap{
    position: absolute;
    top: 25px;
    left: 0;
    width: 465px;
    padding: 4px;
    margin: 0;
    overflow-y: auto;
    scrollbar-width: thin;
}
.admin-menu-right-edit-wrap{
    position: absolute;
    top: 25px;
    right: 0;
    width: 100%;
    padding: 0;
    margin: 0;
}
.admin-edit-liner{
    position:absolute;
    top:10px;
    left:20px;
    right:10px;
    bottom:10px;
    
}
.admin-selection-list-box {
    position: absolute;
    background-color:var(--color-neutral-0);
    left:0;
    top:30px;
    bottom:0;
    right:0;
    border: 1px solid var(--color-neutral-600);
    overflow: auto;
    color: var(--color-neutral-800);
}

/* Geo-fence dual-list selector */
.geo-select-liner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: var(--space-2);
    overflow: hidden;
}
.geo-select-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.geo-select-heading {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-neutral-700);
    padding: var(--space-1) var(--space-2);
    background: var(--color-neutral-100);
    border: 1px solid var(--color-neutral-200);
    border-bottom: none;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.geo-select-list {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--color-neutral-200);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    background: var(--surface-card);
    overflow-y: auto;
    overflow-x: hidden;
    color: var(--color-neutral-800);
}
.geo-select-item {
    padding: var(--space-2) var(--space-3);
    cursor: pointer;
    font-size: var(--font-size-sm);
    border-bottom: 1px solid var(--color-neutral-100);
}
.geo-select-item:last-child {
    border-bottom: none;
}
.geo-select-item:hover {
    background: var(--color-primary-50);
}
.geo-select-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    flex: 0 0 auto;
}
.geo-arrow-btn {
    min-width: 36px;
    max-width: 36px;
    padding: 0;
}
.geo-arrow-inactive {
    background: var(--color-neutral-300) !important;
    box-shadow: none !important;
    cursor: not-allowed;
    opacity: 0.6;
}
.geo-arrow-active {
    background: linear-gradient(180deg, var(--color-primary-400) 0%, var(--color-primary-600) 100%) !important;
}

.admin-sub-section-control-box{
    position:absolute;
    top:0;
    right:0;
    height:25px;
    width:75px;
    padding:0;
    margin:0;
}
.admin-sub-section-control-button {
    position: relative;
    padding: 0;
    float: right;
    min-height: 25px;
    min-width: 25px;
    max-height: 25px;
    max-width: 25px;
    font-size:22px;
    cursor:pointer;
}
.admin-sub-section-central-control-box {
    position: absolute;
    top: 5px;
    right:5px;
    height: 45px;
    width: 150px;
    padding: 0;
    margin: 0;
}
.admin-sub-section-central-control-button {
    position: relative;
    padding: 0;
    margin:2px;
    float: right;
    min-height: 45px;
    min-width: 45px;
    max-height: 45px;
    max-width: 45px;
    font-size: 30px;
    cursor: pointer;
    text-align:center;
    margin-left:0;
    margin-bottom:10px;
}
.admin-campaign-item{
    position:relative;
    min-height:60px;
    max-height:60px;
    min-width:100%;
    max-width:100%;
    margin-bottom:5px;
    font-size:18px;
    border-bottom:1px solid var(--color-neutral-300);
    background-color:transparent;
    cursor:pointer;
    color: var(--color-neutral-800);
    transition: var(--transition-all);
}
.admin-campaign-item:hover {
    background-color: var(--color-primary-100);
}
.admin-campaign-section{
    position:absolute;
    width:50%;
    height:50px;
    margin:0;
    padding:0;
}
.admin-campaign-button {
    position: absolute;
    top: 5px;
    max-width: 50px;
    text-align: left;
    font-size: 22px;
    color: var(--color-primary-500);
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-colors);
}
.admin-campaign-button:hover {
    color: var(--color-primary-700);
}
.admin-campaign-button-location{
    right:5px;
}
.admin-campaign-button-people {
    right: 60px;
}
.menu-image {
   position: relative;
   display: inline-block;
   min-width: 425px;
   max-width: 425px;
   min-height: 215px;
   max-height: 215px;
   margin: 2px;
   padding: 0;
   background: var(--color-neutral-400);
   background: radial-gradient(circle, var(--color-neutral-400) 0%, var(--color-neutral-200) 100%);
   border-radius: 8px;
   background-repeat: no-repeat;
   background-size: contain;
}
.menu-thumb-detail {
    position: relative;
    display: inline-block;
    min-width: 425px;
    max-width: 425px;
    min-height: 100px;
    max-height: 100px;
    margin: 2px;
    padding: 0;
    background: var(--color-neutral-400);
    background: radial-gradient(circle, var(--color-neutral-400) 0%, var(--color-neutral-200) 100%);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.menu-thumb-label {
    position: relative;
    display: inline-block;
    min-width: 425px;
    max-width: 425px;
    min-height: 100px;
    max-height: 100px;
    margin-left: 25px;
    padding: 0;
    background: var(--color-neutral-400);
    background: radial-gradient(circle, var(--color-neutral-400) 0%, var(--color-neutral-200) 100%);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.menu-square-thumb-label {
    position: relative;
    display: inline-block;
    min-width: 100px;
    max-width: 100px;
    min-height: 100px;
    max-height: 100px;
    margin: 2px;
    margin-left:50px;
    padding: 0;
    background-color:transparent;
    background-size:contain;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.menu-article {
    position: relative;
    display: inline-block;
    min-width: 96%;
    max-width: 96%;
    margin: 2px;
    padding: 0;
    /*background-color: #beb9b9a1;*/
    background: var(--color-neutral-400);
    background: radial-gradient(circle, var(--color-neutral-400) 0%, var(--color-neutral-200) 100%);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    cursor: pointer;
}
.menu-article-expanded {
    position: relative;
    display: inline-block;
    min-width: 96%;
    max-width: 96%;
    margin: 2px;
    padding: 0;
    background: var(--color-neutral-400);
    background: radial-gradient(circle, var(--color-neutral-400) 0%, var(--color-neutral-200) 100%);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    cursor: pointer;
}

.menu-article-admin {
    position: relative;
    display: inline-block;
    min-width: 50%;
    max-width: 50%;
    min-height: 300px;
    margin: 2px;
    padding: 0;
    background: var(--color-neutral-400);
    background: radial-gradient(circle, var(--color-neutral-400) 0%, var(--color-neutral-200) 100%);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.scale-down {
    scale: 0.8;
}
.child-menu-image{
    background-image:url(images/ImageMenu.png)
}
.child-menu-thumb-label {
    background-image: url(images/ThumbLabelMenu.png)
}
.child-menu-uber-thumb-label {
    background-image: url(images/UberThumbLabelMenu.png)
}
.child-menu-thumb-detail {
    background-image: url(images/ThumbDetailMenu.png)
}
.child-menu-square-thumb-label {
    background-image: url(images/SquareThumbAndLabelMenu.png)
}
.child-menu-uber-square-thumb-label {
    background-image: url(images/UberSquareThumbAndLabelMenu.png)
}
.child-menu-square-thumb-detail {
    background-image: url(images/SquareThumbAndDetailMenu.png)
}
.child-menu-article {
    background-image: url(images/ArticleMenu.png)
}
.label-55 {
    font-size: 55px;
    top: 0;
    color: var(--color-neutral-900);
}
.label-50 {
    font-size: 50px;
    top: 4px;
    color: var(--color-neutral-900);
}

.label-44 {
    font-size: 44px;
    top: 6px;
    color: var(--color-neutral-900);
}

.label-32 {
    font-size: 32px;
    top: 22px;
    color: var(--color-neutral-900);
}

.label-28 {
    font-size: 28px;
    top: 24px;
    color: var(--color-neutral-900);
}
.label-22 {
    font-size: 22px;
    top: 24px;
    color: var(--color-neutral-900);
}
.menu-thumb-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100px;
    width: 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-color:transparent;
}
.menu-thumb-detail-head {
    position: absolute;
    top: 0;
    right: 0;
    left: 105px;
    height: 35px;
}
.menu-thumb-detail-message {
    position: absolute;
    top: 35px;
    right: 0;
    left: 105px;
    height: 65px;
}
.menu-thumb-label-head {
    position: absolute;
    right: 0;
    left: 110px;
    height: 65px;
    
}
.menu-square-thumb-detail-head {
    position: absolute;
    bottom: 18px;
    right: 0;
    left: 0;
    height: 24px;
    text-align: center;
    font-size: 18px;
    background-color: var(--glass-bg-subtle);
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
    color: var(--color-neutral-900);
}

.menu-square-thumb-detail-message {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 20px;
    text-align: center;
    font-size: 14px;
    background-color: var(--color-primary-100);
    color: var(--color-primary-800);
}

.menu-square-thumb-label-head {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 25px;
    text-align: center;
    font-size: 18px;
    color:var(--color-neutral-0);
    background-color: var(--color-neutral-900);
}

.menu-thumb-image-lg {
    position: relative;
    display:inline-block;
    top: 0;
    left: 0;
    height: 100px;
    width: 100px;
    background-repeat: no-repeat;
    background-size: contain;
}

.menu-article-head {
    position: relative;
    display: inline-block;
    top: -40px;
    left: 10px;
    padding: 0;
    font-size: 32px;
    min-height:75px;
    max-height:75px;
    margin-bottom: 0;
}
.menu-article-body {
    position: relative;
    display: inline-block;
    background-color: var(--color-neutral-0);
    color: var(--color-neutral-900);
    left: 0;
    min-width:100%;
    margin-top: 0;
    min-height: 75px;
    max-height: 75px;
    padding: 10px;
}
.menu-article-body-expanded {
    position: relative;
    display: inline-block;
    background-color: var(--color-neutral-0);
    color: var(--color-neutral-900);
    left: 0;
    min-width: 100%;
    margin-top: 0;
    min-height: 100px;
    padding: 10px;
}
.see-more-link{
    font-style:italic;
    color:var(--color-neutral-500);
    transition: var(--transition-colors);
    cursor: pointer;
}
.see-more-link:hover {
    color: var(--color-primary-600);
    text-decoration: underline;
}
.menu-edit-controls {
    position: relative;
    display: inline-block;
    font-size: 22px;
    top: 0;
    min-width: 45px;
    max-width: 45px;
    min-height: 45px;
    max-height: 45px;
    margin-right: 5px;
    margin-bottom: 10px;
    padding: 0;
    font-size: 30px;
    cursor: pointer;
    text-align: center;
}
.menu-edit-button {
    position: relative;
    background-color: transparent;
    border-top: none;
    border-bottom: none;
    border-right: none;
    border-left: solid 1px var(--color-neutral-400);
    float: right;
    top: 0;
    right: 2px;
    min-height: 100%;
    max-height: 100%;
    min-width: 34px;
    max-width: 34px;
    padding: 0;
    transition: var(--transition-colors);
    margin-left: 4px;
    color: var(--color-primary-500);
    font-size: 23px;
    cursor: pointer;
}
.menu-edit-button:hover {
    color: var(--color-primary-600);
}
.hover-control {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.0;
}
.hover-control:hover{
    opacity:1.0;
    background-color:var(--color-neutral-50);
}
.seriously-selected{
    position:relative;
    display:inline-block;
    top:-15px;
    min-height:150px;
    max-height:150px;
    min-width:125px;
    max-width:125px;
    background-image:url(images/left-orange-arrow.gif);
    background-repeat:no-repeat;
    background-size:50px;
    background-position-y:25px;
}

#myMap {
    position:absolute;
    top:75px;
    right:0;
    left:0;
    bottom:150px;
}

#mapControl {
    position: absolute;
    background-color: var(--color-primary-200);
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
}

.map-control-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    height: 100%;
    box-sizing: border-box;
}

.map-control-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

select.map-select {
    width: 275px;
    padding: var(--space-2) var(--space-6) var(--space-2) var(--space-2);
}

.map-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.map-label {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-neutral-700);
}

.map-field-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.map-input {
    width: 160px;
    padding: var(--space-1) var(--space-2);
    font-family: var(--font-family-base);
    font-size: var(--font-size-sm);
    color: var(--color-neutral-800);
    background-color: var(--color-neutral-0);
    border: 1px solid var(--color-neutral-300);
    border-radius: var(--radius-sm);
    min-height: 32px;
    box-sizing: border-box;
    transition: var(--transition-all);
}

.map-input:focus {
    outline: none;
    border-color: var(--color-primary-500);
    box-shadow: 0 0 0 2px rgba(38, 89, 164, 0.15);
}

.map-input-sm {
    width: 90px;
}

.map-error {
    color: var(--color-error);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
}

.map-actions {
    display: flex;
    align-items: flex-end;
    gap: var(--space-2);
    padding-bottom: 2px;
}

.uber-logo{
    background-image:url(images/Uber.png);
}

/*Profile Section*/
.profile-container {
    position: absolute;
    top: 35px;
    bottom: 5px;
    width: 500px;
    left: 50%;
    transform: translate(-250px, 0);
    overflow: auto;
    padding: var(--space-6);
}

.profile-container h2,
.profile-container h3 {
    margin-bottom: var(--space-4);
    color: var(--color-neutral-900);
}

.profile-container img {
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
}

.profile-container table {
    width: 100%;
    margin-bottom: var(--space-6);
}

.profile-container table td {
    padding: var(--space-3) var(--space-2);
    vertical-align: top;
}

.profile-container table td:first-child {
    padding-right: var(--space-4);
}

.profile-container textarea {
    width: 100%;
    padding: var(--space-3);
    font-family: var(--font-family-base);
    border: 1px solid var(--color-neutral-300);
    border-radius: var(--radius-md);
    resize: vertical;
}

.profile-bio {
    position: relative;
    width: 100%;
    min-height: 150px;
    padding: var(--space-4);
    background: var(--glass-bg-subtle);
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: auto;
    color: var(--color-neutral-800);
    text-align: center;
    line-height: var(--line-height-relaxed);
}
/*Profile Section*/

        table {
            width: 100%;
            border-collapse: collapse;
            overflow: hidden;
            background: transparent;
            border-radius: var(--radius-md);
        }

        /* Scrollable containers that hold tables */
        div[style*="overflow:auto"],
        div[style*="overflow-y:scroll"] {
            border-radius: var(--radius-md);
        }

        th,
        td {
            padding: 15px;
            color: var(--color-neutral-800);
            background: transparent;
        }

        th {
            text-align: left;
            font-weight: var(--font-weight-semibold);
            color: var(--color-primary-700);
        }

        thead {
            th

        {
            background-color: var(--color-neutral-0);
            border-bottom: 2px solid var(--color-primary-500);
        }

        }

        tbody {
            tr

        {
            border-bottom: 1px solid var(--color-neutral-200);

            &:hover

        {
            background-color: var(--color-neutral-50);
        }

        }

        tr {
            background-color: transparent;
        }
        
        td {
            position: relative;
            &:hover
        
        {
            &:before
        
        {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            top: -9999px;
            bottom: -9999px;
            background-color: var(--glass-bg-heavy);
            z-index: -1;
        }
        
        }
        }
        }

/*Admin User Group Page*/
.fifty-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 49.9%;
    border-bottom: solid 1px var(--color-neutral-900);
}

.fifty-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 49.9%;
    border-top: solid 1px var(--color-neutral-900);
}
.fifty-left {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    padding: 25px;
    border-right: solid 1px var(--color-neutral-300);
}
.fifty-right {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    padding: 25px;
    border-left: solid 1px var(--color-neutral-300);
}
.selection-label {
    position: absolute;
    top: 0;
    width: 400px;
    min-width: 400px;
    max-width: 400px;
    height: 30px;
    color: var(--color-neutral-900);
    font-weight: var(--font-weight-semibold);
}

.select-box{
    position:absolute;
    top:30px;
    right:5px;
    bottom:5px;
    border:solid 1px var(--color-neutral-900);
    overflow-y:auto;
}
.chooser-button {
    position:absolute;
    top:50%;
    left:50%;
    width:60px;
    height:50px;
    font-size:26px;
    color: var(--color-neutral-0);
    background-color: var(--color-primary-500);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-all);
}
.chooser-button:hover {
    background-color: var(--color-primary-600);
    transform: scale(1.05);
}

.qr-confirm-bubble{
    position:absolute;
    display:none;
    top:25px;
    left:25px;
    bottom:25px;
    right:25px;
    background-color: var(--color-success);
    border-radius:8px;
    box-shadow:4px 4px 4px var(--color-neutral-300);
}
.qr-confirm-message {
    position: relative;
    top: 10px;
    left: 5px;
    min-width: 98%;
    max-width: 98%;
    height: 30px;
    font-size: 24px;
    color: var(--color-neutral-900);
    text-align: center;
}
.qr-negative-message{
    position:absolute;
    display:none;
    bottom:0;
    right:0;
    left:0;
    height:25px;
    background-color: var(--color-error);
}
.qr-scan-button {
    position: absolute;
    bottom: 5px;
    width: 150px;
    height: 150px;
    left: 50%;

    /* Glassy background with theme color */
    background: linear-gradient(
        135deg,
        rgba(75, 145, 247, 0.6) 0%,
        rgba(75, 145, 247, 0.4) 50%,
        rgba(75, 145, 247, 0.5) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* Glass border with subtle gradient */
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;

    /* Layered shadows for depth with theme color hint */
    box-shadow:
        0 8px 32px 0 rgba(75, 145, 247, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);

    transform: translate(-50%, 0);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: var(--transition-all);

    /* Subtle inner glow for curved surface effect */
    position: relative;
    overflow: hidden;
}

/* Add a subtle highlight overlay for curved glass effect */
.qr-scan-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at top left,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 30%,
        transparent 60%
    );
    border-radius: 24px;
    pointer-events: none;
}

.qr-scan-button:hover {
    background: linear-gradient(
        135deg,
        rgba(75, 145, 247, 0.75) 0%,
        rgba(75, 145, 247, 0.55) 50%,
        rgba(75, 145, 247, 0.65) 100%
    );
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow:
        0 12px 48px 0 rgba(75, 145, 247, 0.45),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -4px);
}

.qr-scan-button:active {
    transform: translate(-50%, 0);
    box-shadow:
        0 4px 16px 0 rgba(75, 145, 247, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.4),
        inset 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.qr-scan-button::before {
    content: '\F284';
    font-family: 'bootstrap-icons';
    font-size: 80px;
    color: var(--color-neutral-0);
}

.qr-scan-button span {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-neutral-0);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.qr-confirm-button {
    position: relative;
    top: 50px;
    left: 5px;
    right: 5px;
    height: 30px;
}
.qr-gift-bubble {
    position: absolute;
    top: 25px;
    left: 25px;
    bottom: 25px;
    right: 25px;
    background-color: var(--color-success);
    border-radius: 8px;
    box-shadow: 4px 4px 4px var(--color-neutral-300);
}
.qr-gift-message {
    position: relative;
    top: 10px;
    left: 5px;
    min-width: 98%;
    max-width: 98%;
    height: 30px;
    font-size: 24px;
    color: var(--color-neutral-900);
    text-align: center;
}
.gold-coin {
    position: absolute;
    background-image: url('images/GoldPointsCoin.png');
    bottom: 5px;
    right: 5px;
    width: 80px;
    height: 80px;
    padding-top: 20px;
    text-align: center;
    font-size: 26px;
    color: var(--color-primary-800);
    border-radius: 40px;
}

.pay-with-crypto-pop {
    position: absolute;
    top: 25px;
    left: 25px;
    bottom: 25px;
    right: 25px;
    background-color: var(--color-success);
    border-radius: 8px;
    box-shadow: 4px 4px 4px var(--color-neutral-300);
}
.pay-with-crypto-detail {
    position: absolute;
    top: 33px;
    left: 5px;
    right:5px;
    height: 50px;
    font-size: 24px;
    color: var(--color-neutral-900);
    text-align: center;
}
.pay-with-crypto-tip {
    position: absolute;
    top: 100px;
    left: 5px;
    right: 5px;
    height: 120px;
    font-size: 24px;
    color: var(--color-neutral-900);
    text-align: center;
}
.pay-with-crypto-tip-button{
    position:relative;
    display:inline-block;
    margin-right:15px;
    margin-top:15px;
    min-height:30px;
    min-width:60px;
    background-color:var(--glass-bg-heavy);
    border-radius:8px;
    color:var(--color-neutral-0);
    cursor:pointer;
}
.pay-with-crypto-tip-button:hover{
    box-shadow:4px 4px 4px var(--color-neutral-0);
}

/*the following is an experiment to get the tiles looking better*/
.tile-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding: var(--space-4);
    align-items: flex-start;
}

.tile {
    background: var(--surface-card, var(--color-neutral-0));
    border: 1px solid var(--color-neutral-200);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s ease, transform 0.1s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    /* Default to square tile size */
    flex: 0 0 150px;
    min-width: 150px;
}

.tile:hover {
    box-shadow: var(--shadow-md);
}

.tile:active {
    transform: scale(0.97);
    box-shadow: var(--shadow-xs);
}

    .tile img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Square tile fixed ratio */
    .tile.square {
        aspect-ratio: 1 / 1;
        flex: 0 0 150px;
    }

        .tile.square img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    /* Tall tile - same width as square, double the height */
    .tile.tall {
        flex: 0 0 150px;
        min-width: 150px;
        height: 300px;
    }

        .tile.tall img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            flex-shrink: 0;
        }

    .tall-text {
        padding: var(--space-2) var(--space-3);
        display: flex;
        flex-direction: column;
        gap: var(--space-1);
        flex: 1;
        text-align: center;
        overflow: hidden;
    }

        .tall-text .detail-header {
            font-size: var(--font-size-sm);
            font-weight: var(--font-weight-semibold);
            margin: 0;
            line-height: 1.2;
        }

        .tall-text .detail-body {
            font-size: var(--font-size-xs);
            font-weight: var(--font-weight-normal);
            margin: 0;
            opacity: 0.85;
            line-height: 1.2;
        }

    /* Double width tile - exactly two square tiles wide */
    .tile.double {
        display: flex;
        flex-direction: row;
        flex: 0 0 300px;
        width: 300px;
        min-width: 300px;
        max-width: 300px;
        min-height: 150px;
    }

        /* Double tile - common image */
        .tile.double img {
            width: 150px;
            min-width: 150px;
            max-width: 150px;
            object-fit: cover;
            height: 100%;
            flex-shrink: 0;
        }

        /* Double tile - centered text style */
        .tile.double.centered-text .text {
            flex: 1;
            min-width: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: var(--space-3);
            font-size: 1.1em;
            font-weight: var(--font-weight-medium);
            overflow: hidden;
        }

        /* Double tile - header + body text */
        .tile.double.text-block .text {
            flex: 1;
            min-width: 0;
            padding: var(--space-3);
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            overflow: hidden;
        }

        .tile.double.text-block h4 {
            margin: 0 0 var(--space-2);
            font-size: 1.1em;
            font-weight: var(--font-weight-semibold);
            color: var(--color-neutral-900);
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            white-space: normal;
        }

        .tile.double.text-block p {
            margin: 0;
            font-size: 0.9em;
            line-height: 1.4em;
            color: var(--color-neutral-700);
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
        }

    /* Image only tile - matches tile.double dimensions */
    .menu-image {
        border: 1px solid var(--color-neutral-200);
        box-shadow: var(--shadow-sm);
        border-radius: var(--radius-lg);
        overflow: hidden;
        transition: box-shadow 0.15s ease, transform 0.1s ease;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        /* Match tile.double dimensions */
        flex: 0 0 calc(300px + var(--space-4));
        min-width: calc(300px + var(--space-4));
        max-width: calc(300px + var(--space-4));
        min-height: 150px;
        max-height: none;
        width: auto;
        /* Background image styling */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .menu-image:hover {
        box-shadow: var(--shadow-md);
    }

    .menu-image:active {
        transform: scale(0.97);
        box-shadow: var(--shadow-xs);
    }

/* Responsive adjustments for tile flexbox */
@media (max-width: 768px) {
    .tile-container {
        gap: var(--space-3);
        padding: var(--space-3);
    }

    .tile,
    .tile.square {
        flex: 0 0 130px;
        min-width: 130px;
    }

    .tile.double,
    .menu-image {
        flex: 0 0 calc(260px + var(--space-3));
        min-width: calc(260px + var(--space-3));
        max-width: calc(260px + var(--space-3));
        min-height: 130px;
    }

    .tile.double.text-block h4 {
        font-size: 1em;
    }

    .tile.double.text-block p {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .tile-container {
        gap: var(--space-2);
        padding: var(--space-2);
    }

    .tile,
    .tile.square {
        flex: 0 0 calc(50% - var(--space-1));
        /*max-width: calc(50% - var(--space-1));*/
        min-width: 0;
    }

    .tile.double,
    .menu-image {
        flex: 0 0 100%;
        max-width: 100%;
        min-height: 120px;
    }

    .tile.double img {
        width: 40%; /* Give more space to text on mobile */
    }

    .tile.double.centered-text .text,
    .tile.double.text-block .text {
        width: 60%;
        padding: var(--space-2);
    }

    /* Article tile - stack vertically on mobile */
    .full-content {
        flex-direction: column;
        gap: var(--space-2);
        padding: var(--space-2);
    }

    .full-content img {
        max-width: 100%;
        width: 100%;
        max-height: 200px;
    }

    .overlay-text {
        width: 100%;
    }
}
.square-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}
.tile-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-2) var(--space-3);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
    color: var(--color-neutral-0);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    text-align: center;
    box-sizing: border-box;
    border-bottom-left-radius:inherit;
    border-bottom-right-radius:inherit;
}
.tile-detail {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-2) var(--space-3);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
    color: var(--color-neutral-0);
    text-align: center;
    box-sizing: border-box;
}
.tile-detail .detail-header {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    margin: 0;
    line-height: 1.2;
}
.tile-detail .detail-body {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-normal);
    margin: 0;
    opacity: 0.85;
    line-height: 1.2;
}
/* Side-scroll container - two-row horizontal scroller (MenuTypeId 13) */
.side-scroll-container {
    position: relative;
    display: grid;
    grid-template-rows: repeat(2, 150px);
    grid-auto-flow: column;
    grid-auto-columns: 150px;
    gap: var(--space-3);
    overflow-x: auto;
    overflow-y: hidden;
    padding: var(--space-3) var(--space-4);
    padding-top: calc(var(--space-3) + 1.1em);
    width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar on all platforms */
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: var(--surface-card, var(--color-neutral-0));
    border: 1px solid var(--color-neutral-200);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
}

.side-scroll-container::-webkit-scrollbar {
    display: none;
}

.side-scroll-container .tile.tall {
    grid-row: span 2;
    height: auto;
}

.tile.full.auto-height {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    min-height: auto;
}

/* Inner content container */
.full-content {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3);
}

    .full-content img {
        max-width: 150px;
        max-height: 150px;
        object-fit: cover;
        border-radius: var(--radius-md);
        flex-shrink: 0;
    }

.overlay-text {
    flex: 1;
    min-width: 0; /* Allow text to shrink below content width */
    padding: 0;
    color: var(--color-neutral-900);
    overflow-wrap: break-word; /* Wrap long words */
    word-wrap: break-word; /* Fallback for older browsers */
}

    .overlay-text h2 {
        margin-top: 0;
        color: var(--color-neutral-900);
        overflow-wrap: break-word;
    }

    .overlay-text p {
        margin-bottom: 0;
        color: var(--color-neutral-700);
        overflow-wrap: break-word;
    }


    .share-menu-image{
        background-image:url('images/share.png');
    }

.share-pop {
    position: absolute;
    top: 150px;
    left: var(--space-6);
    right: var(--space-6);
    bottom: var(--space-4);
    padding: var(--space-10);
    background: var(--glass-bg-subtle);
    backdrop-filter: var(--glass-blur-lg);
    -webkit-backdrop-filter: var(--glass-blur-lg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    text-align: center;
    font-size: var(--font-size-xl);
}



.share-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.share-btn {
    background: var(--color-neutral-0);
    border: 2px solid var(--color-neutral-200);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-5);
    width: 100px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-all);
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-300);
}

.share-btn i {
    font-size: 2rem;
    color: var(--color-primary-500);
}

.share-btn span {
    font-size: var(--font-size-sm);
    color: var(--color-neutral-700);
}

.share-btn.selected {
    border-color: var(--color-primary-500);
    background: var(--color-primary-50);
    box-shadow: var(--shadow-primary);
}

/* Carousel container - single-item carousel with nav controls (MenuTypeId 15) */
.carousel-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-3);
    padding-top: calc(var(--space-3) + 1.1em);
    gap: var(--space-3);
    background: var(--glass-bg-subtle);
    backdrop-filter: var(--glass-blur-sm);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    width: 100%;
    box-sizing: border-box;
}

.container-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) 0 var(--space-2) 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-primary);
    border-bottom: 2px solid var(--color-primary, #0078d4);
    margin-bottom: var(--space-2);
}

.container-label::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.1em;
    background: var(--color-primary, #0078d4);
    border-radius: 2px;
    flex-shrink: 0;
}

.carousel-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    width: 100%;
}

.carousel-btn {
    background: none;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--color-neutral-700);
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.carousel-btn:hover {
    background: var(--glass-bg-subtle);
}

.carousel-dots {
    display: flex;
    gap: var(--space-2);
    align-items: center;
    flex: 1;
    justify-content: center;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--color-neutral-300);
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease;
}

.carousel-dot.active {
    width: 20px;
    background: var(--color-accent-500, #F4B400);
}

/* Carousel item tile - 300x300, image fills space, text overlay (MenuTypeId 16) */
.tile.carousel-item {
    position: relative;
    flex: 0 0 300px;
    min-width: 300px;
    height: 300px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #ffffff, var(--color-primary-200));
    overflow: hidden;
    cursor: pointer;
}

.tile.carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item-text {
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: 0 var(--space-3);
    text-align: center;
}

.carousel-item-header {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    margin: 0;
    line-height: 1.2;
}

.carousel-item-detail {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    margin: 0;
    line-height: 1.3;
    opacity: 0.9;
}

/* CarouselItem in a side-scroll grid spans 2 columns and 2 rows */
.side-scroll-container .tile.carousel-item {
    grid-column: span 2;
    grid-row: span 2;
    height: auto;
}

/* Wide detail wrapper - positions the star trigger and rate pop */
.wide-detail-wrapper {
    position: relative;
    display: block;
}

.rate-star-trigger {
    position: absolute;
    top: var(--space-2);
    left: var(--space-2);
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    z-index: 10;
    line-height: 1;
}

.rate-star-icon {
    position: relative;
    display: inline-flex;
    font-size: 1.2rem;
    color: var(--color-neutral-400);
}

.rate-star-trigger.has-rating .rate-star-icon {
    color: var(--color-primary-400);
}

.rate-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.45rem;
    font-weight: var(--font-weight-semibold);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    line-height: 1;
    pointer-events: none;
}

.rate-pop-dismiss {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 199;
    background: transparent;
    cursor: default;
}

.rate-pop-anchor {
    position: absolute;
    top: 0;
    left: var(--space-2);
    transform: translateY(50%);
    z-index: 200;
}

/* RatePop - 5-star rating selector */
.rate-pop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-top: 4px;
}

.rate-pop-stars {
    display: flex;
    gap: var(--space-2);
}

.rate-pop-info {
    font-size: 0.75rem;
    color: var(--color-neutral-500);
    white-space: nowrap;
}

.rate-star-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-neutral-400);
    padding: 2px;
    transition: color 0.1s, transform 0.1s;
    line-height: 1;
}

.rate-star-btn.lit {
    color: var(--color-primary-400);
    transform: scale(1.2);
}

.share-btn.selected i {
    color: var(--color-primary-600);
}

.share-btn.selected span {
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary-700);
}

.close-x {
    position: absolute;
    top: 2px;
    right: 3px;
    width: 45px;
    height: 40px;
    cursor: pointer;
    font-size: 25px;
    border-radius:8px;
    color:var(--color-neutral-0);
    background: var(--color-primary-500);
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

/* Webkit scrollbar for Chrome, Safari, Edge */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--glass-bg-medium);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-300);
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-400);
    background-clip: content-box;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Updated semantic color classes */
.green { background-color: var(--color-success); }
.red { background-color: var(--color-error); }
.yellow { background-color: var(--color-warning); }
.blue { background-color: var(--color-primary-500); }

/* Updated utility classes */
.rounded { border-radius: var(--radius-md); }
.shadowed { box-shadow: var(--shadow-md); }
.div-selected { box-shadow: var(--shadow-xl); border-color: var(--color-primary-400); }

/* ========================================
   PINCH-TO-ZOOM IMAGE VIEWER
   ======================================== */

.zoom-image-container {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 500;
    background-color: var(--color-neutral-900);
    overflow: hidden;
    touch-action: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.1s ease-out;
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.zoom-image-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    background: var(--glass-bg-medium);
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--color-neutral-0);
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 501;
    transition: var(--transition-fast);
}

.zoom-image-close:hover {
    background: var(--glass-bg-light);
    border-color: var(--color-primary-300);
}

/* ========================================
   PROMOTIONAL / HERO TILES
   ======================================== */

.promo-tile {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-primary-900);
    box-shadow: var(--shadow-md);
    min-height: 180px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: box-shadow 0.15s ease, transform 0.1s ease;
}

.promo-tile:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-sm);
}

.promo-tile-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.promo-tile-body {
    position: relative;
    padding: var(--space-5) var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    color: var(--color-neutral-0);
}

.promo-tile-body h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--tracking-tight, -0.02em);
    margin: 0;
    line-height: var(--line-height-tight);
    color: var(--color-neutral-0);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.promo-tile-body p {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: var(--line-height-normal);
}

/* Badge — sits above the heading */
.promo-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--tracking-wide, 0.06em);
    text-transform: uppercase;
    color: var(--color-neutral-900);
    background: var(--color-accent-400, #FFD166);
    border-radius: var(--radius-full);
    width: fit-content;
    line-height: 1.6;
}

/* Accent-filled promo tile variant (no image, bold color bg) */
.promo-tile.promo-accent {
    background: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-primary-800) 100%);
}

/* ========================================
   UTILITY — TAP FEEDBACK
   ======================================== */

/* Apply to any tappable element that needs tap feedback */
.tap-feedback {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.tap-feedback:active {
    transform: scale(0.97);
}

.zoom-image-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-2) var(--space-4);
    background: var(--glass-bg-medium);
    backdrop-filter: var(--glass-blur-sm);
    -webkit-backdrop-filter: var(--glass-blur-sm);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--color-neutral-0);
    font-size: var(--font-size-sm);
    opacity: 0.8;
    pointer-events: none;
    z-index: 501;
}
/* Image Crop Dialog */
.crop-dialog-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.75);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
}
.crop-dialog {
    background: var(--color-neutral-0);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: min(540px, 95vw);
    box-shadow: var(--shadow-xl);
}
.crop-canvas {
    display: block;
    width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-md);
    cursor: crosshair;
    touch-action: none;
}
.crop-dialog-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: flex-end;
}

/* Add to Cart Dialog */
.add-to-cart-dismiss {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 299;
    background: rgba(0,0,0,0.4);
    cursor: default;
}

.add-to-cart-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 300;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--space-4);
    min-width: 300px;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.add-to-cart-product-name {
    font-weight: 600;
    margin: 0;
}

.add-to-cart-modifiers {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.modifier-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.modifier-group-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: var(--space-1);
}

.modifier-group-name {
    font-weight: 600;
    flex: 1;
}

.modifier-required-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-primary, #c0392b);
    border-radius: 9999px;
    padding: 1px 7px;
    line-height: 1.4;
}

.modifier-rule-hint {
    font-size: 0.75rem;
    color: var(--color-muted, #888);
    font-weight: 400;
}

.modifier-child {
    padding: var(--space-1) var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
    user-select: none;
}

.modifier-child:hover:not(.mod-disabled) {
    background: rgba(0,0,0,0.04);
}

.modifier-child.selected {
    background: rgba(var(--color-primary-rgb, 0,120,212), 0.08);
}

.modifier-child.mod-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.modifier-child-name {
    flex: 1;
}

.modifier-price {
    font-size: 0.8rem;
    color: var(--color-muted, #666);
    white-space: nowrap;
}

.modifier-unavailable {
    font-size: 0.75rem;
    color: #c0392b;
    font-style: italic;
}

/* Radio dot */
.modifier-radio-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    flex-shrink: 0;
    transition: border-color 0.15s, background 0.15s;
    position: relative;
}

.modifier-radio-dot.active {
    border-color: var(--color-primary, #0078d4);
    background: var(--color-primary, #0078d4);
}

.modifier-radio-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

/* Checkbox */
.modifier-check-box {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 2px solid var(--glass-border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    color: transparent;
}

.modifier-check-box.checked {
    border-color: var(--color-primary, #0078d4);
    background: var(--color-primary, #0078d4);
    color: #fff;
}

/* Stepper */
.modifier-stepper-row {
    justify-content: space-between;
}

.modifier-stepper {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    margin-left: auto;
}

.modifier-step-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s;
}

.modifier-step-btn:hover:not(:disabled) {
    background: rgba(0,0,0,0.06);
}

.modifier-step-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.modifier-step-val {
    min-width: 20px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Footer validation */
.modifier-validation-hint {
    font-size: 0.8rem;
    color: #c0392b;
    flex: 1;
    align-self: center;
}

.add-to-cart-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-2);
}

/* EstablishmentSelection */
.est-welcome-banner {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(135deg, var(--color-primary, #0078d4) 0%, #005fa3 100%);
    border-radius: var(--radius-md);
    color: #fff;
}

.est-welcome-wave {
    font-size: 2rem;
    line-height: 1;
}

.est-welcome-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.est-welcome-greeting {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.est-welcome-sub {
    font-size: 0.85rem;
    opacity: 0.85;
}

.establishment-selection-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-3);
    height: 100%;
    overflow-y: auto;
}

.establishment-selection-tabs {
    display: flex;
    gap: var(--space-2);
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: var(--space-2);
}

.est-tab {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: var(--space-1) var(--space-3);
    color: var(--color-neutral-500);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.est-tab.active {
    color: var(--color-primary-700);
    border-bottom-color: var(--color-primary-700);
    font-weight: 600;
}

.est-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.est-card {
    display: flex;
    gap: var(--space-3);
    background: var(--glass-bg, white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--space-3);
    cursor: pointer;
    transition: box-shadow 0.15s;
    position: relative;
}

.est-card:hover {
    box-shadow: var(--shadow-md);
}

.est-card-image {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
    background-color: var(--color-neutral-100);
}

.est-card-stars {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 1px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 6px;
    padding: 2px 4px;
    font-size: 0.6rem;
    color: #f59e0b;
    line-height: 1;
}

.est-card-rating-count {
    color: #e5e7eb;
    font-size: 0.6rem;
    white-space: nowrap;
}

.est-card-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    flex: 1;
    min-width: 0;
}

.est-card-name {
    margin: 0;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.est-card-address {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-neutral-500);
}

.est-card-description {
    margin: 0;
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.est-card-hours {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-neutral-400);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.est-card-map-link,
.est-card-phone a {
    color: var(--color-primary, #0078d4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.est-card-map-link:hover,
.est-card-phone a:hover {
    text-decoration: underline;
}

.est-card-phone {
    margin: 0;
    font-size: 0.8rem;
}

.est-card-distance {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-neutral-400);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.est-card-hours-placeholder {
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.est-hours-open {
    background-color: rgba(34, 197, 94, 0.25);
    color: #15803d;
}

.est-hours-closed {
    background-color: rgba(239, 68, 68, 0.25);
    color: #b91c1c;
}

.est-empty-message {
    color: var(--color-neutral-400);
    text-align: center;
    padding: var(--space-6) 0;
}

.est-discover {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.est-discover-controls {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.est-discover-radius label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-neutral-500);
    margin-bottom: var(--space-1);
}

.est-discover-radius-options {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.est-discover-search {
    align-self: flex-start;
}

.est-discover-placeholder {
    color: var(--color-neutral-400);
    font-style: italic;
    text-align: center;
    padding: var(--space-6) 0;
}
