:root {
    --primary:       #E94F3C;
    --secondary:     #FBDE9C;
    --text-dark:     #4F2D1E;
    --text-mid:      #7A4830;
    --card-bg:       #FFFAF3;
    --bg:            #F9E5C7;
    --modal-bg:      #FDF5E8;
    --border-color:  rgba(79, 45, 30, 0.12);
    --subtitle-color:#7A4830;
    --shadow-soft:   0 4px 16px rgba(79, 45, 30, 0.08);
    --shadow-medium: 0 8px 32px rgba(79, 45, 30, 0.14);
    --gradient-main: linear-gradient(135deg, #E94F3C 0%, #F47B40 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text-dark);
}

.container { 
    max-width: 1200px; 
    width: 90%; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

main { flex: 1; }

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.header-logo {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-buttons { 
    display: flex; 
    gap: 15px; 
    align-items: center;
}
.nav-btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    min-height: 40px;
    background: var(--gradient-main);
    color: white;
    letter-spacing: 0.01em;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(233, 79, 60, 0.3);
}

/* Favorites button — icon-only circular pill */
.nav-btn.nav-btn--icon {
    padding: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-btn.nav-btn--fav {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.nav-btn.nav-btn--fav:hover {
    background: var(--primary);
    color: white;
}

/* "Add outlet" button — outlined variant with icon */
.nav-btn.add-btn {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-btn.add-btn:hover {
    background: var(--primary);
    color: white;
}

/* FAB Styles */
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.fab {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-main);
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(233, 79, 60, 0.35);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
}

.fab.visible {
    opacity: 1;
    transform: translateY(0);
}

.fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(233, 79, 60, 0.5);
}

.title-section {
    text-align: center;
    margin: 64px 0 48px;
}

.main-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.6rem, 9vw, 4rem);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.main-title em {
    font-style: italic;
    color: var(--primary);
    font-weight: 700;
}

.headline {
    font-size: clamp(0.9rem, 3vw, 1.05rem);
    color: var(--subtitle-color);
    max-width: 300px;
    margin: 10px auto 0;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 600;
}

/* Search Section */
.search-section {
    padding: 36px;
    border-radius: 20px;
    max-width: 760px;
    margin: 0 auto 40px;
    background: var(--card-bg);
    border: none;
    box-shadow: 0 2px 20px rgba(79, 45, 30, 0.1), 0 0 0 1px rgba(79, 45, 30, 0.07);
}

.search-header {
    text-align: center;
    margin-bottom: 24px;
}

.search-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(1.3rem, 3.5vw, 1.55rem);
    font-weight: 400;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.search-subtitle {
    font-size: 0.88rem;
    color: var(--subtitle-color);
}

.search-box { 
    position: relative; 
    margin-bottom: 20px;
}

.page-search-box { 
    max-width: 600px; 
    margin: 0 auto 30px; 
    position: relative;
}

.page-search-box.sticky {
    position: sticky;
    top: 10px;
    z-index: 100;
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 14px 50px;
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    background: var(--bg);
    color: var(--text-dark);
    transition: all 0.25s ease;
}

.search-box input::placeholder {
    color: var(--subtitle-color);
    opacity: 0.7;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 79, 60, 0.15);
}

.search-box > .fa-search { 
    position: absolute; 
    left: 20px; 
    top: 50%; 
    transform: translateY(-50%); 
    color: var(--subtitle-color); 
}

.clear-search { 
    position: absolute; 
    right: 20px; 
    top: 50%; 
    transform: translateY(-50%); 
    background: none; 
    border: none; 
    color: var(--subtitle-color); 
    font-size: 1.1rem; 
    cursor: pointer; 
    opacity: 0; 
    visibility: hidden; 
    transition: 0.3s; 
}

.clear-search.visible { 
    opacity: 1; 
    visibility: visible; 
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 15px 15px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.suggestion-item:hover {
    background: rgba(233, 79, 60, 0.07);
}

.suggestion-icon {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

/* Quick Categories */
.quick-categories {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.category-pill {
    padding: 8px 16px;
    background: rgba(251, 222, 156, 0.5);
    color: var(--text-dark);
    border: 1px solid rgba(79, 45, 30, 0.15);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.category-pill:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Enhanced Filter Buttons */
.filter-buttons { 
    display: flex; 
    gap: 8px; 
    justify-content: center; 
    flex-wrap: wrap; 
    margin: 25px auto; 
    max-width: 800px;
    padding: 0 20px 15px;
    position: relative;
}

.filter-buttons::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 15px;
    width: 20px;
    background: linear-gradient(to left, var(--light-bg), transparent);
    pointer-events: none;
}

.filter-btn {
    padding: 8px 18px;
    border: 1.5px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-dark);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.84rem;
    scroll-snap-align: start;
    white-space: nowrap;
    min-width: fit-content;
    min-height: 40px;
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.browse-all-btn { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    width: fit-content; 
    margin: 25px auto 0; 
    padding: 12px 24px; 
    background: var(--primary); 
    color: white; 
    border-radius: 50px; 
    font-weight: 600; 
    text-decoration: none; 
    transition: 0.3s ease; 
}

.browse-all-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: var(--shadow-soft); 
}

/* Loading States */
.loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 0.9rem;
    color: var(--subtitle-color);
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.skeleton-card {
    background: linear-gradient(90deg, 
        var(--card-bg) 25%, 
        rgba(255,255,255,0.1) 50%, 
        var(--card-bg) 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 16px;
    height: 200px;
}

@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.grid-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 25px; 
    padding: 20px 0; 
}

.outlet-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(79, 45, 30, 0.1), 0 0 0 1px rgba(79, 45, 30, 0.08);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.outlet-card.tiffin-card {
    animation: none;
}

.outlet-card.animate-in {
    animation: slideInUp 0.5s ease-out forwards;
}

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

.outlet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 16px 16px 0 0;
}

.outlet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(79, 45, 30, 0.15), 0 0 0 1px rgba(233, 79, 60, 0.2);
}

.outlet-header { 
    padding: 20px; 
    background: var(--card-bg); 
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.outlet-name {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.2;
}

.outlet-cuisine {
    font-size: 0.8rem;
    color: var(--text-mid);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Card top row — status badge + action buttons in natural flow */
.card-top-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 10px;
    gap: 8px;
    min-height: 26px;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.outlet-status {
    margin-right: auto;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.status-open {
    background: rgba(76, 175, 80, 0.15);
    color: #3A8A3E;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-closing-soon {
    background: rgba(233, 160, 60, 0.15);
    color: #8A5A1A;
    border: 1px solid rgba(233, 160, 60, 0.3);
}

.outlet-details { 
    padding: 20px; 
    flex-grow: 1; 
}

.rating, .phone-order { 
    font-size: 0.9rem; 
    color: var(--subtitle-color); 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.rating { 
    margin-bottom: 10px; 
}

.rating .fa-star {
    color: #E9A040;
}

.phone-order .fa-phone-alt { 
    color: #66BB6A; 
}

.phone-order .fa-times-circle { 
    color: #EF5350; 
}

.quick-tags {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.tag-pill {
    background: rgba(251, 222, 156, 0.6);
    color: var(--text-mid);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 600;
}

.favorite-btn {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f44336;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    font-size: 0.95rem;
    padding: 0;
    flex-shrink: 0;
}

.favorite-btn:hover {
    background: rgba(244, 67, 54, 0.1);
    transform: scale(1.15);
}

.share-btn {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.85rem;
    padding: 0;
    flex-shrink: 0;
}

.share-btn:hover {
    background: rgba(79, 45, 30, 0.08);
}

.search-results-message { 
    text-align: center; 
    color: var(--text-dark); 
    margin: 30px 0; 
    padding: 15px; 
    display: none; 
}

.search-results-message.show { 
    display: block; 
}

/* Enhanced Modals */
.modal-overlay, .image-modal { 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.7); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 2000; 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s ease; 
    backdrop-filter: blur(5px); 
}

.modal-overlay.active, .image-modal.active { 
    opacity: 1; 
    pointer-events: all; 
}

.restaurant-modal {
    background: var(--modal-bg);
    border-radius: 20px 20px 0 0;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-medium);
    transition: 0.3s ease;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
}

.modal-overlay.active .restaurant-modal { 
    transform: translateX(-50%) translateY(0); 
}

.modal-handle {
    width: 40px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    margin: 8px auto;
    cursor: grab;
}

.modal-header { 
    background: var(--card-bg); 
    padding: 20px; 
    position: relative; 
    border-bottom: 1px solid var(--border-color); 
}

.modal-header .rating {
    color: var(--text-mid);
    margin-top: 10px;
}

.modal-header .rating .fa-star {
    color: #E9A040;
}

.modal-close { 
    position: absolute; 
    top: 10px; 
    right: 10px; 
    background: none; 
    border: none; 
    font-size: 1.5rem; 
    cursor: pointer; 
    color: var(--subtitle-color); 
}

.modal-body { 
    padding: 25px; 
}

.modal-section { 
    margin-bottom: 20px; 
}

.modal-section h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section p { 
    padding-left: 28px; 
    margin-bottom: 8px; 
    color: var(--text-dark); 
    line-height: 1.5; 
}

.badge { 
    display: inline-block; 
    padding: 4px 10px; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    font-weight: 600; 
}

.badge.yes {
    background: rgba(76, 175, 80, 0.15);
    color: #3A8A3E;
}

.badge.no {
    background: rgba(233, 79, 60, 0.12);
    color: #C62828;
}

.menu-gallery { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
}

.menu-image { 
    width: calc(50% - 5px); 
    border-radius: 8px; 
    overflow: hidden; 
    cursor: pointer; 
}

.menu-image img { 
    width: 100%; 
    height: auto; 
    display: block; 
}

.image-modal img { 
    max-width: 90%; 
    max-height: 90vh; 
    border-radius: 5px; 
}

.image-modal-close { 
    position: absolute; 
    top: 20px; 
    right: 30px; 
    color: white; 
    font-size: 2.5rem; 
    cursor: pointer; 
}

.footer {
    text-align: center;
    padding: 28px 20px 24px;
    margin-top: 40px;
    color: var(--subtitle-color);
    font-size: 0.82rem;
    border-top: 1px solid var(--border-color);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-mid);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.82rem;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-link + .footer-link::before {
    content: '·';
    margin-right: 6px;
    color: var(--border-color);
    font-weight: 400;
    pointer-events: none;
}

.footer-copyright {
    color: var(--subtitle-color);
    font-size: 0.78rem;
    opacity: 0.75;
}

/* "Add an outlet" footer link — visible only on mobile (nav button hidden there) */
.footer-add-outlet {
    display: none;
}

/* Order Links */
#modalOrderLinksContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-left: 28px;
    margin-top: 10px;
}

.order-link {
    text-decoration: none;
    color: white;
    background: var(--primary);
    padding: 10px 15px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .header {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px 0;
        text-align: left;
        justify-content: space-between;
        align-items: center;
    }



    /* Compact nav buttons on mobile */
    .nav-btn {
        padding: 7px 14px;
        font-size: 0.8rem;
        min-height: 36px;
        border-radius: 18px;
    }

    .title-section {
        margin: 36px 0 24px;
    }

    .search-section {
        padding: 20px;
    }

    .filter-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding-bottom: 15px;
    }

    .filter-buttons::-webkit-scrollbar {
        display: none;
    }

    /* On mobile: compact pill that still shows text */
    .nav-btn.add-btn {
        padding: 7px 12px;
        font-size: 0.78rem;
        gap: 5px;
        width: auto;
        height: auto;
        border-radius: 20px;
    }

    /* Reveal footer "Add an outlet" — no longer needed, add-btn always in nav */
    .footer-add-outlet {
        display: none !important;
    }

    .filter-btn {
        flex-shrink: 0;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .outlet-card {
        border-radius: 12px;
    }
    
    .outlet-header {
        padding: 20px;
    }
    
    .outlet-name {
        font-size: 1.2rem;
    }
    
    .outlet-cuisine {
        font-size: 0.8rem;
    }
    
    .outlet-details {
        padding: 20px;
    }
    
    .rating, .phone-order {
        font-size: 0.85rem;
        gap: 8px;
    }

    .menu-image {
        width: 100%;
    }

    .restaurant-modal {
        width: 100%;
        max-width: none;
        border-radius: 20px 20px 0 0;
    }
}

/* Form styles for the Add Outlet Modal */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--subtitle-color);
    font-size: 0.9rem;
}

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

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 79, 60, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* ========================================
   PWA Install Banner (Mobile-Friendly)
   ======================================== */

/* Empty Favorites State */
.empty-favorites {
    text-align: center;
    padding: 60px 20px;
    color: var(--subtitle-color);
}

.empty-fav-icon {
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.3;
    display: block;
    margin-bottom: 16px;
}

.empty-favorites p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.empty-fav-sub {
    font-size: 0.88rem !important;
    font-weight: 400 !important;
    color: var(--subtitle-color) !important;
    margin-bottom: 24px !important;
}

.empty-favorites .browse-all-btn {
    margin-top: 0;
    border: none;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
}

.pwa-install-banner {
    position: fixed;
    bottom: 80px;
    left: 16px;
    right: 16px;
    background: linear-gradient(135deg, #E94F3C 0%, #F47B40 100%);
    color: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(233, 79, 60, 0.35);
    z-index: 2500;
    animation: slideUpBanner 0.4s ease;
    max-width: 600px;
    margin: 0 auto;
}

@keyframes slideUpBanner {
    from {
        transform: translateY(120%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pwa-banner-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.pwa-banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 24px;
}

.pwa-banner-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pwa-banner-text {
    flex: 1;
}

.pwa-banner-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: white;
}

.pwa-banner-subtitle {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.3;
}

.pwa-install-btn {
    background: white;
    color: var(--primary);
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    min-height: 40px;
}

.pwa-install-btn:hover {
    background: #f3f4f6;
    transform: scale(1.05);
}

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

/* iOS Instructions */
.ios-instructions {
    margin-top: 8px;
    font-size: 0.85rem;
    opacity: 0.95;
    line-height: 1.6;
}

.ios-instructions p {
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ios-instructions i {
    width: 18px;
    text-align: center;
    opacity: 0.9;
}

/* Hide banner on desktop if needed */
@media (min-width: 768px) {
    .pwa-install-banner {
        left: 50%;
        transform: translateX(-50%);
        bottom: 90px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .pwa-install-banner {
        animation: none;
    }
}
