/**
 * Nathan Health Plus - Professional Mobile App Styles
 * B2B Pharma Marketplace - Modern E-Commerce Design
 * Version 2.0
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0d9488;
    --primary-light: #ccfbf1;
    --primary-dark: #0f766e;
    --primary-gradient: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    --secondary: #f97316;
    --secondary-light: #ffedd5;
    --accent: #ec4899;
    --success: #22c55e;
    --warning: #eab308;
    --danger: #ef4444;
    --info: #3b82f6;
    --dark: #1e293b;
    --gray-900: #0f172a;
    --gray-800: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --nav-height: 70px;
    --header-height: 60px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }

/* DESKTOP - Show as Mobile Phone Frame */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #1a1a2e;
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Mobile App Container */
.mobile-app-container {
    max-width: 420px;
    margin: 0 auto;
    background: var(--gray-100);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 60px rgba(0,0,0,0.3);
}

/* Desktop Phone Frame Effect */
@media (min-width: 500px) {
    body {
        padding: 20px 0;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    }
    
    .mobile-app-container {
        border-radius: 40px;
        overflow: hidden;
        margin: 20px auto;
        border: 12px solid #222;
        box-shadow: 
            0 0 0 2px #444,
            0 20px 60px rgba(0,0,0,0.5),
            inset 0 0 20px rgba(255,255,255,0.05);
    }
    
    .mobile-app-container::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 6px;
        background: #333;
        border-radius: 10px;
        z-index: 9999;
    }
    
    .bottom-nav {
        border-radius: 0 0 28px 28px !important;
    }
}

/* Mobile - Full Width */
@media (max-width: 499px) {
    .mobile-app-container {
        max-width: 100%;
        box-shadow: none;
    }
    
    body {
        background: var(--gray-100);
    }
}

.mobile-app-content {
    padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 20px);
}

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }

/* APP HEADER */
.app-header {
    position: sticky;
    top: 0;
    height: var(--header-height);
    background: var(--primary-gradient);
    color: var(--white);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: var(--shadow-md);
}

.header-logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-logo::before { content: '💊'; font-size: 1.3rem; }

.header-icons { display: flex; align-items: center; gap: 8px; }

.header-icons a {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 1.1rem;
    position: relative;
}

.header-icons a:active { transform: scale(0.95); background: rgba(255,255,255,0.25); }

.cart-icon .cart-count {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 18px; height: 18px;
    background: var(--secondary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
}

/* SEARCH SECTION */
.search-section {
    padding: 12px 16px 25px;
    background: var(--primary-gradient);
    margin-top: -1px;
}

.search-bar {
    background: var(--white);
    border-radius: var(--radius-full);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
}

.search-bar i { color: var(--gray-400); font-size: 1.1rem; }

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--gray-800);
    background: transparent;
}

.search-bar input::placeholder { color: var(--gray-400); }

/* BANNER SLIDER */
.banner-slider { padding: 0 16px; margin-top: -15px; margin-bottom: 20px; }

.banner-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/7;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow-md);
}

.banner-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-slide.active { opacity: 1; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }

.default-banner {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: var(--white);
}

.default-banner .content { flex: 1; }
.default-banner h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; line-height: 1.3; }
.default-banner p { font-size: 0.8rem; opacity: 0.9; margin-bottom: 12px; }

.default-banner .btn-shop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.default-banner .image { font-size: 4rem; opacity: 0.9; }

.banner-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.sponsored-label {
    background: var(--warning);
    color: var(--gray-900);
    font-size: 0.6rem;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.banner-title { color: var(--white); font-weight: 600; font-size: 0.85rem; }

.banner-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }

.dot {
    width: 8px; height: 8px;
    border-radius: var(--radius-full);
    background: var(--gray-300);
    transition: all 0.3s ease;
}

.dot.active { width: 24px; background: var(--primary); }

/* FEATURES STRIP */
.features-strip {
    display: flex;
    justify-content: space-around;
    padding: 16px 12px;
    margin: 0 16px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.feature-item { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }

.feature-item i {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: var(--radius);
}

.feature-item span { font-size: 0.68rem; color: var(--gray-600); font-weight: 500; text-align: center; }

/* SECTION HEADERS */
.section-container { margin-bottom: 24px; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    margin-bottom: 14px;
}

.section-header h2 { font-size: 1.05rem; font-weight: 700; color: var(--gray-800); }
.section-header a { font-size: 0.85rem; color: var(--primary); font-weight: 600; }

/* CATEGORIES GRID */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0 16px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all 0.2s ease;
}

.category-card:active { transform: scale(0.96); box-shadow: var(--shadow); }

.category-icon {
    width: 45px; height: 45px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #e0f2fe 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.category-icon i { font-size: 1.2rem; color: var(--primary); }
.category-card span { font-size: 0.7rem; font-weight: 600; color: var(--gray-700); display: block; line-height: 1.3; text-transform: capitalize; }

/* PRODUCTS GRID */
.products-grid, .row.g-3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px;
}

.col-6 { width: 100%; }

.product-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all 0.2s ease;
}

.product-card:active { transform: scale(0.98); box-shadow: var(--shadow); }

.product-image {
    aspect-ratio: 1;
    background: var(--gray-50);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.product-image img { max-height: 100%; max-width: 100%; object-fit: contain; }

.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
}

.no-image-placeholder i { font-size: 2.5rem; margin-bottom: 5px; }
.no-image-placeholder span { font-size: 0.7rem; }

.discount-badge {
    position: absolute;
    top: 8px; left: 8px;
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: var(--white);
    font-size: 0.65rem;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    font-weight: 700;
}

.product-info { padding: 12px; }

.product-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-category { font-size: 0.7rem; color: var(--gray-500); margin-bottom: 8px; }

.product-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.product-price .price { font-size: 1rem; font-weight: 700; color: var(--primary); }
.product-price .mrp { font-size: 0.8rem; color: var(--gray-400); text-decoration: line-through; }

/* ACCOUNT PAGE */
.account-header {
    background: var(--primary-gradient);
    padding: 70px 20px 30px;
    text-align: center;
    color: var(--white);
    border-radius: 0 0 30px 30px;
    position: relative;
    overflow: hidden;
}

.account-header::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.account-header .app-name { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; position: relative; }
.account-header .welcome-text { font-size: 1rem; opacity: 0.95; position: relative; }

.account-id-card {
    background: var(--white);
    margin: -20px 20px 20px;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.id-badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.coins { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 600; color: var(--gray-700); }
.coin-icon { font-size: 1.3rem; }

/* LOGIN PROMPT CARD */
.login-prompt-card {
    background: linear-gradient(135deg, var(--secondary-light) 0%, #fef3c7 100%);
    margin: 0 16px 20px;
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid #fde68a;
}

.login-prompt-card .card-content { display: flex; align-items: center; gap: 16px; margin-bottom: 15px; }

.login-prompt-card .icon {
    width: 50px; height: 50px;
    background: var(--secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.login-prompt-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--gray-800); margin-bottom: 4px; }
.login-prompt-card p { font-size: 0.8rem; color: var(--gray-600); }
.login-prompt-card .buttons { display: flex; gap: 10px; }

.login-prompt-card .btn-login {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--secondary);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
}

.login-prompt-card .btn-register {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid var(--primary);
}

/* MENU GRID */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 24px;
}

.menu-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all 0.2s;
}

.menu-item:active { transform: scale(0.96); background: var(--gray-50); }

.menu-item .icon {
    width: 48px; height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: var(--primary);
    font-size: 1.2rem;
}

.menu-item .label { font-size: 0.75rem; font-weight: 500; color: var(--gray-700); }

/* ACCORDION MENU */
.accordion-menu { padding: 0 16px; margin-bottom: 20px; }

.accordion-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 16px;
    cursor: pointer;
}

.accordion-header:active { background: var(--gray-50); }

.accordion-header .icon {
    width: 40px; height: 40px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-right: 14px;
}

.accordion-header .title { flex: 1; font-size: 0.9rem; font-weight: 600; color: var(--gray-800); }
.accordion-header .arrow { color: var(--gray-400); transition: transform 0.3s; }
.accordion-item.open .arrow { transform: rotate(180deg); }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--gray-50);
}

.accordion-item.open .accordion-content {
    max-height: 300px;
    padding: 16px;
    border-top: 1px solid var(--gray-200);
}

.accordion-content p { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 8px; }

/* LINK ITEMS */
.link-item {
    display: flex;
    align-items: center;
    padding: 16px;
    margin: 0 16px 10px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.link-item:active { background: var(--gray-50); }

.link-item .icon {
    width: 40px; height: 40px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-right: 14px;
}

.link-item.whatsapp .icon { background: #dcfce7; color: #22c55e; }
.link-item .title { flex: 1; font-size: 0.9rem; font-weight: 500; color: var(--gray-800); }
.link-item .arrow { color: var(--gray-400); }

/* LOGOUT BUTTON */
.logout-btn {
    display: block;
    text-align: center;
    margin: 20px 16px;
    padding: 14px;
    background: var(--gray-100);
    color: var(--danger);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
}

.logout-btn:active { background: var(--gray-200); }

/* BOTTOM NAVIGATION */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 420px;
    height: var(--nav-height);
    background: var(--white);
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    padding-bottom: var(--safe-bottom);
    border-radius: 20px 20px 0 0;
}

@media (min-width: 500px) {
    .bottom-nav {
        position: absolute;
        border-radius: 0 0 28px 28px;
    }
}

@media (max-width: 499px) {
    .bottom-nav {
        left: 0;
        transform: none;
        max-width: 100%;
    }
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--gray-400);
    font-size: 0.65rem;
    font-weight: 500;
    position: relative;
}

.nav-item i { font-size: 1.3rem; }
.nav-item.active { color: var(--primary); }

.nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    width: 40px; height: 3px;
    background: var(--primary);
    border-radius: 0 0 4px 4px;
}

.nav-item.center { position: relative; top: -20px; }

.nav-item.center .icon-wrap {
    width: 60px; height: 60px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
    position: relative;
}

.nav-item.center .icon-wrap i { color: var(--white); font-size: 1.5rem; }

.nav-item.center .badge {
    position: absolute;
    top: -2px; right: -2px;
    min-width: 20px; height: 20px;
    background: var(--danger);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.nav-item.center span { display: none; }

/* LOGIN PAGE */
.login-page { min-height: 100vh; background: var(--primary-gradient); padding-bottom: 0 !important; }

.login-header { padding: 60px 30px 50px; text-align: center; color: var(--white); }
.login-header .logo { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.login-header .logo::before { content: '💊 '; }
.login-header .tagline { font-size: 1rem; opacity: 0.9; }

.login-form-container {
    background: var(--white);
    border-radius: 30px 30px 0 0;
    padding: 35px 24px 40px;
    min-height: calc(100vh - 200px);
}

.login-form-container h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-800); }
.login-form-container .subtitle { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 30px; }

/* FORM ELEMENTS */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--white);
}

.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1); }
.input-group { position: relative; }
.input-group .form-control { padding-left: 48px; }

.input-group .input-icon {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1.1rem;
}

/* BUTTONS */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.btn-primary:active { transform: scale(0.98); }

.btn-outline {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

/* TOAST */
.toast {
    position: fixed;
    bottom: calc(var(--nav-height) + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--gray-800);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 60px 30px; }
.empty-state .icon { font-size: 4rem; color: var(--gray-300); margin-bottom: 20px; }
.empty-state h3 { font-size: 1.2rem; font-weight: 600; color: var(--gray-700); margin-bottom: 10px; }
.empty-state p { color: var(--gray-500); font-size: 0.9rem; }

/* LOADING */
.loading { display: flex; justify-content: center; padding: 40px; }

.spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* OTP INPUT */
.otp-container { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }

.otp-input {
    width: 48px; height: 55px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--gray-800);
    background: var(--white);
    outline: none;
    transition: all 0.2s;
}

.otp-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1); }
.otp-input:not(:placeholder-shown) { border-color: var(--primary); background: var(--primary-light); }

/* MAIN CONTENT */
.main-content { padding-top: 10px; }

/* UTILITIES */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-danger { color: var(--danger); }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.p-16 { padding: 16px; }

/* RESPONSIVE */
@media (max-width: 360px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .menu-grid { grid-template-columns: repeat(3, 1fr); }
}

/* SAFE AREA FOR IOS */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .bottom-nav { padding-bottom: env(safe-area-inset-bottom); }
    body { padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 20px); }
}