/* ==========================================================================
   FoodGo Style Mobile Redesign - Kombinasi Warna "Lampungin"
   Deep Navy Blue (#083358), Sunset Orange (#E85D26), & Warm Amber Gold (#F5A623)
   SuperApp SAMSAT / e-Pesat Bapenda Lampung
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@1,700&display=swap');

:root {
    /* Primary Lampungin Palette from reference */
    --lampungin-navy: #083358;
    --lampungin-navy-dark: #041E34;
    --lampungin-navy-light: #0C4677;
    --lampungin-navy-soft: #EBF2F8;

    --lampungin-orange: #E85D26;
    --lampungin-orange-dark: #C94814;
    --lampungin-orange-light: #FFEDE5;

    --lampungin-amber: #F5A623;
    --lampungin-amber-dark: #D9880B;
    --lampungin-amber-light: #FEF3C7;

    /* Gradients */
    --lampungin-sunset-gradient: linear-gradient(135deg, #F5A623 0%, #E85D26 100%);
    --lampungin-navy-gradient: linear-gradient(135deg, #083358 0%, #04182B 100%);
    --lampungin-hero-gradient: linear-gradient(145deg, #F5A623 0%, #EB6A28 45%, #E85D26 100%);

    /* Core Theme Mapping */
    --primary-blue: var(--lampungin-navy);
    --primary-blue-dark: var(--lampungin-navy-dark);
    --primary-blue-light: var(--lampungin-navy-light);
    --primary-blue-soft: var(--lampungin-navy-soft);
    --primary-blue-gradient: var(--lampungin-navy-gradient);

    --accent-gold: var(--lampungin-orange);
    --accent-gold-dark: var(--lampungin-orange-dark);
    --accent-gold-light: var(--lampungin-amber-light);
    --accent-gold-gradient: var(--lampungin-sunset-gradient);

    --app-bg: #FFFDF9;
    --card-bg: #FFFFFF;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --border-subtle: rgba(232, 93, 38, 0.1);
    --shadow-card: 0 10px 25px -5px rgba(232, 93, 38, 0.08), 0 4px 10px -2px rgba(8, 51, 88, 0.04);
    --shadow-card-hover: 0 16px 32px -6px rgba(232, 93, 38, 0.18), 0 6px 14px -2px rgba(8, 51, 88, 0.06);
    --shadow-fab: 0 12px 28px rgba(232, 93, 38, 0.55);
    --max-mobile-width: 440px;
}

/* Base resets & typography */
html, body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background: radial-gradient(circle at top center, #0B3A60 0%, #061F34 60%, #041424 100%) !important;
    color: var(--text-dark) !important;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Full Mobile View Frame Container (Desktop vs Mobile) */
.wrapper {
    max-width: var(--max-mobile-width) !important;
    margin: 0 auto !important;
    min-height: 100vh !important;
    background-color: var(--app-bg) !important;
    position: relative !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
    overflow-x: hidden !important;
    padding-bottom: 95px !important;
}

@media (max-width: 480px) {
    html, body {
        background-color: var(--app-bg) !important;
    }
    .wrapper {
        max-width: 100% !important;
        margin: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
}

/* ==========================================================================
   FoodGo Header Style (Home)
   ========================================================================== */
.foodgo-home-header {
    padding: 24px 20px 16px 20px;
    background: transparent;
    position: relative;
    z-index: 10;
}

.foodgo-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.foodgo-brand-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-blue);
    margin: 0;
    letter-spacing: -0.5px;
}

.foodgo-brand-title span.gold-dot {
    color: var(--accent-gold);
    font-style: normal;
}

.foodgo-brand-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0 0 0;
    font-weight: 500;
}

.foodgo-avatar-badge {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(11, 59, 96, 0.12);
    border: 2px solid var(--accent-gold);
    flex-shrink: 0;
    overflow: hidden;
}

.foodgo-avatar-badge img {
    width: 32px;
    height: 40px;
    object-fit: contain;
}

/* ==========================================================================
   Search Bar (FoodGo Pill Style)
   ========================================================================== */
.foodgo-search-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.foodgo-search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 0 16px;
    height: 52px;
    box-shadow: 0 8px 24px rgba(11, 59, 96, 0.06);
    border: 1px solid rgba(11, 59, 96, 0.05);
    transition: all 0.25s ease;
}

.foodgo-search-box:focus-within {
    box-shadow: 0 10px 28px rgba(11, 59, 96, 0.12);
    border-color: rgba(11, 59, 96, 0.2);
}

.foodgo-search-box i.search-icon {
    font-size: 22px;
    color: var(--text-muted);
    margin-right: 10px;
}

.foodgo-search-box input.search-input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    width: 100% !important;
    font-size: 14px !important;
    color: var(--text-dark) !important;
    font-family: inherit !important;
    padding: 0 !important;
}

.foodgo-search-box input.search-input::placeholder {
    color: #94A3B8;
}

.foodgo-filter-btn {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: var(--lampungin-sunset-gradient);
    color: #FFFFFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(232, 93, 38, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.foodgo-filter-btn:active {
    transform: scale(0.94);
}

.foodgo-filter-btn i {
    font-size: 22px;
}

/* ==========================================================================
   Category Pills (Horizontal Tabs)
   ========================================================================== */
.foodgo-categories-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 4px 16px 4px;
    margin: 0 -20px 10px -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.foodgo-categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-chip {
    padding: 9px 20px;
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(232, 93, 38, 0.12);
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    box-shadow: 0 2px 8px rgba(8, 51, 88, 0.03);
}

.category-chip:active {
    transform: scale(0.95);
}

.category-chip.active {
    background: var(--lampungin-sunset-gradient) !important;
    color: #FFFFFF !important;
    border-color: var(--lampungin-orange) !important;
    box-shadow: 0 6px 16px rgba(232, 93, 38, 0.35) !important;
}

/* ==========================================================================
   FoodGo Style 2-Column Grid Service Cards
   ========================================================================== */
.foodgo-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 4px 2px 20px 2px;
}

.foodgo-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 18px 14px 14px 14px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(11, 59, 96, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    position: relative;
    cursor: pointer;
    text-decoration: none !important;
}

.foodgo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(245, 158, 11, 0.25);
}

.foodgo-card:active {
    transform: scale(0.98);
}

.foodgo-card-image-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 14px auto;
    background: radial-gradient(circle, #F0F7FF 60%, rgba(240, 247, 255, 0) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.foodgo-card:hover .foodgo-card-image-wrap {
    transform: scale(1.08);
}

.foodgo-card-image-wrap img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgba(11, 59, 96, 0.12));
}

.foodgo-card-body {
    flex: 1;
}

.foodgo-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 4px 0;
    line-height: 1.25;
}

.foodgo-card-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0 0 12px 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 29px;
}

.foodgo-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px dashed rgba(11, 59, 96, 0.08);
}

.foodgo-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
}

.foodgo-rating i {
    font-size: 15px;
    color: var(--accent-gold);
}

.foodgo-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-gold-gradient);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
    border: none;
    transition: transform 0.2s ease;
}

.foodgo-card:hover .foodgo-action-btn {
    transform: scale(1.12);
}

.foodgo-action-btn i {
    font-size: 17px;
}

/* ==========================================================================
   FoodGo Exact Curved Scooped Bottom Navigation Bar (Sesuai Gambar)
   ========================================================================== */
:root {
    --bottom-bar-color: #E85D26; /* Vibrant Sunset Coral-Orange from FoodGo */
}

.foodgo-bottom-bar-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: var(--max-mobile-width);
    margin: 0 auto;
    z-index: 1000;
    pointer-events: none;
    padding: 0 10px calc(10px + env(safe-area-inset-bottom, 0px)) 10px;
}

@media (max-width: 480px) {
    .foodgo-bottom-bar-wrap {
        padding: 0 0 env(safe-area-inset-bottom, 0px) 0;
    }
}

.foodgo-curved-nav-container {
    position: relative;
    width: 100%;
    height: 66px;
    filter: drop-shadow(0 -4px 18px rgba(0, 0, 0, 0.16));
    pointer-events: auto;
}

.foodgo-curved-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0 0 28px 28px;
}

@media (max-width: 480px) {
    .foodgo-curved-svg {
        border-radius: 0;
    }
}

.foodgo-nav-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 4px;
}

.foodgo-nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    text-decoration: none !important;
    position: relative;
    padding: 6px 4px;
    transition: transform 0.15s ease, opacity 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    opacity: 0.82;
}

.foodgo-nav-link:active {
    transform: scale(0.9);
}

.foodgo-nav-link.active {
    opacity: 1;
}

.foodgo-nav-link i {
    font-size: 26px;
    color: #FFFFFF;
}

/* Active dot indicator beneath active icon */
.nav-active-dot {
    display: none;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #FFFFFF;
    margin-top: 3px;
}

.foodgo-nav-link.active .nav-active-dot {
    display: block;
}

/* Center Elevated FAB (Optimized for Easy Mobile Tap & Large Hitbox) */
.foodgo-fab-anchor {
    position: relative;
    width: 68px;
    height: 100%;
    flex: 0 0 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto !important;
    z-index: 100;
}

.foodgo-curved-fab {
    position: absolute;
    top: -22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--bottom-bar-color);
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(232, 93, 38, 0.45), 0 4px 10px rgba(0, 0, 0, 0.22);
    text-decoration: none !important;
    cursor: pointer !important;
    z-index: 105;
    pointer-events: auto !important;
    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease;
}

/* Expanded invisible touch hit-target (86px touch area for effortless tapping on mobile) */
.foodgo-curved-fab::after {
    content: "";
    position: absolute;
    top: -14px;
    left: -14px;
    right: -14px;
    bottom: -14px;
    border-radius: 50%;
    pointer-events: auto !important;
}

.foodgo-curved-fab:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 12px 28px rgba(232, 93, 38, 0.55), 0 6px 12px rgba(0, 0, 0, 0.28);
}

.foodgo-curved-fab:active {
    transform: scale(0.92);
    box-shadow: 0 4px 12px rgba(232, 93, 38, 0.35);
}

.foodgo-curved-fab i {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    pointer-events: none;
    line-height: 1;
}

/* ==========================================================================
   Modern PWA Bottom Sheet Install Modal
   ========================================================================== */
.pwa-bottomsheet-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 34, 56, 0.6);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pwa-bottomsheet-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.pwa-bottomsheet {
    background: #FFFFFF;
    width: 100%;
    max-width: var(--max-mobile-width);
    border-radius: 32px 32px 0 0;
    padding: 24px 22px 32px 22px;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.pwa-bottomsheet-backdrop.show .pwa-bottomsheet {
    transform: translateY(0);
}

.pwa-bottomsheet-handle {
    width: 44px;
    height: 5px;
    background: #E2E8F0;
    border-radius: 999px;
    margin: 0 auto 18px auto;
}

.pwa-install-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.pwa-install-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--primary-blue-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(11, 59, 96, 0.25);
    border: 2px solid var(--accent-gold);
    flex-shrink: 0;
}

.pwa-install-icon img {
    width: 36px;
    height: 44px;
    object-fit: contain;
}

.pwa-install-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 2px 0;
}

.pwa-install-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.pwa-install-features {
    background: var(--primary-blue-soft);
    border-radius: 16px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.pwa-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 6px;
}

.pwa-feature-item:last-child {
    margin-bottom: 0;
}

.pwa-feature-item i {
    font-size: 16px;
    color: var(--accent-gold-dark);
}

.pwa-install-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-pwa-install {
    width: 100%;
    padding: 14px;
    border-radius: 16px;
    background: var(--accent-gold-gradient);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 15px;
    border: none;
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-pwa-install:active {
    transform: scale(0.98);
}

.btn-pwa-dismiss {
    width: 100%;
    padding: 11px;
    border-radius: 14px;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
}

/* ==========================================================================
   Offline Banner Indicator
   ========================================================================== */
.offline-indicator-toast {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%) translateY(-60px);
    background: #DC2626;
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
    z-index: 10001;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.offline-indicator-toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   FoodGo Style Splash Screen Loader
   ========================================================================== */
.loader-screen {
    background: linear-gradient(155deg, #083358 0%, #051F36 45%, #E85D26 100%) !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.foodgo-splash-content {
    text-align: center;
    color: #FFFFFF;
}

.foodgo-splash-logo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 3.5px solid var(--lampungin-amber);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 28px rgba(245, 166, 35, 0.5);
    animation: splashPulse 2s infinite ease-in-out;
}

@keyframes splashPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 28px rgba(245, 166, 35, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 38px rgba(232, 93, 38, 0.65); }
}

.foodgo-splash-brand {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 38px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.foodgo-splash-brand span {
    color: var(--lampungin-amber);
}

.foodgo-splash-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 6px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ==========================================================================
   Subpage Headers & Theme Elements (Kombinasi Warna Lampungin)
   ========================================================================== */
/* ==========================================================================
   Navbar Atas Dihilangkan Sesuai Permintaan User
   ========================================================================== */
.header {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
}

/* Hilangkan banner background kosong (.bg-template) pada sub menu */
.header + .container-fluid.bg-template,
.container-fluid.bg-template:has(.hn-60),
.header + .bg-template,
.row.hn-60 {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Berikan padding atas yang rapi dan nyaman untuk sub-halaman saat navbar atas dihilangkan */
.wrapper > .container:first-of-type,
.wrapper > div.container:first-of-type,
.wrapper > form > .container:first-of-type {
    padding-top: calc(18px + env(safe-area-inset-top, 0px)) !important;
}

/* Button & Form Controls Overrides for Blue & Gold Theme */
.btn-info, .btn-primary, .btn-default {
    background: var(--primary-blue-gradient) !important;
    border-color: var(--primary-blue) !important;
    color: #FFFFFF !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    padding: 10px 18px !important;
    box-shadow: 0 6px 18px rgba(11, 59, 96, 0.2) !important;
    transition: all 0.2s ease !important;
}

.btn-info:hover, .btn-primary:hover, .btn-default:hover {
    background: linear-gradient(135deg, #15578A 0%, #0B3B60 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(11, 59, 96, 0.3) !important;
}

.btn-success, .btn_daftarsignal {
    background: var(--accent-gold-gradient) !important;
    border-color: var(--accent-gold) !important;
    color: #FFFFFF !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    padding: 11px 18px !important;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35) !important;
}

.btn-success:hover, .btn_daftarsignal:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45) !important;
}

.form-control {
    border-radius: 14px !important;
    border: 1px solid rgba(11, 59, 96, 0.12) !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    background-color: #FFFFFF !important;
    color: var(--text-dark) !important;
    box-shadow: 0 2px 6px rgba(11, 59, 96, 0.03) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-control:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 3px rgba(11, 59, 96, 0.12) !important;
    outline: none !important;
}

.card {
    border-radius: 20px !important;
    border: 1px solid rgba(11, 59, 96, 0.06) !important;
    box-shadow: var(--shadow-card) !important;
}

/* ==========================================================================
   E-SALAM Native Hero Card & Squircle Grid Menu
   ========================================================================== */
.esalam-hero-card {
    background: linear-gradient(145deg, #E6F4F1 0%, #D8EDF8 50%, #CDE7F5 100%);
    border-radius: 26px;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 14px 34px -6px rgba(11, 59, 96, 0.12), 0 4px 12px rgba(11, 59, 96, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 22px;
}

.esalam-hero-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -8px rgba(11, 59, 96, 0.16);
}

.esalam-hero-card img.banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 26px;
    object-fit: cover;
}

/* 4-Column Native App Squircle Icons Grid */
.native-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 8px;
    padding: 6px 2px 24px 2px;
}

.native-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: nativeFadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.native-menu-item:nth-child(1) { animation-delay: 0.04s; }
.native-menu-item:nth-child(2) { animation-delay: 0.08s; }
.native-menu-item:nth-child(3) { animation-delay: 0.12s; }
.native-menu-item:nth-child(4) { animation-delay: 0.16s; }
.native-menu-item:nth-child(5) { animation-delay: 0.20s; }
.native-menu-item:nth-child(6) { animation-delay: 0.24s; }

/* Native tactile spring press */
.native-menu-item:active {
    transform: scale(0.88);
}

.native-squircle-icon {
    width: 66px;
    height: 66px;
    border-radius: 22px;
    background: #FFFFFF;
    border: 1.5px solid rgba(11, 59, 96, 0.08);
    box-shadow: 0 8px 18px -2px rgba(11, 59, 96, 0.08), 0 3px 6px -1px rgba(11, 59, 96, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

/* Subtle glossy gradient overlay */
.native-squircle-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 22px 22px 0 0;
    pointer-events: none;
}

.native-menu-item:hover .native-squircle-icon {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(11, 59, 96, 0.14), 0 4px 8px -2px rgba(11, 59, 96, 0.06);
    border-color: rgba(245, 158, 11, 0.35);
}

.native-squircle-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(11, 59, 96, 0.12));
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.native-menu-item:hover .native-squircle-icon img {
    transform: scale(1.08);
}

.native-menu-label {
    font-size: 12px;
    font-weight: 600;
    color: #1E293B;
    text-align: center;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 76px;
}

@keyframes nativeFadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Native Background API Fetch Loader
   ========================================================================== */
.native-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: var(--max-mobile-width);
    margin: 0 auto;
    z-index: 10005;
    background: rgba(6, 34, 56, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.native-loader-overlay.show {
    opacity: 1;
    visibility: visible;
}

.native-loader-card {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 32px 24px;
    text-align: center;
    width: 100%;
    max-width: 310px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1.5px solid rgba(245, 158, 11, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.native-loader-overlay.show .native-loader-card {
    transform: scale(1);
}

.native-loader-spinner-wrap {
    width: 76px;
    height: 76px;
    margin: 0 auto 16px auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-dual-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3.5px solid transparent;
    border-top-color: var(--primary-blue);
    border-bottom-color: var(--accent-gold);
    animation: nativeSpin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    position: absolute;
    top: 0;
    left: 0;
}

.spinner-outer-glow {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(11, 59, 96, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    animation: nativeSpinReverse 4s linear infinite;
}

.loader-center-emblem {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(11, 59, 96, 0.12);
    z-index: 2;
    animation: emblemPulse 1.8s infinite ease-in-out;
}

.loader-center-emblem img {
    width: 24px;
    height: 30px;
    object-fit: contain;
}

.native-loader-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 6px 0;
}

.native-loader-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 18px 0;
    line-height: 1.4;
    min-height: 22px;
}

.loader-progress-track {
    width: 100%;
    height: 5px;
    background: #E2E8F0;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.loader-progress-bar {
    width: 45%;
    height: 100%;
    background: var(--accent-gold-gradient);
    border-radius: 999px;
    animation: progressIndeterminate 1.4s ease-in-out infinite;
}

@keyframes nativeSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes nativeSpinReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes emblemPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes progressIndeterminate {
    0% { transform: translateX(-100%); width: 30%; }
    50% { transform: translateX(100%); width: 60%; }
    100% { transform: translateX(250%); width: 30%; }
}

/* Hide old redundant elements in home */
.hide-in-foodgo-mode {
    display: none !important;
}
