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

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom right, #ffe6f0, #fdfbfb);
    min-height: 100vh;
    color: #333;
    padding-bottom: 80px; /* Space for sticky bottom navigation */
    /* Improve mobile scrolling */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Add scroll margins for mobile */
@media (max-width: 768px) {
    body {
        scroll-padding-top: 20px;
    }
}

@keyframes rainbowGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* RainbowMaps Pastel Theme - Button Styles */
button, .btn {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 24px;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

button::before, .btn::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(
        90deg,
        #ff9a9e,
        #fad0c4,
        #fad0c4,
        #fbc2eb,
        #a1c4fd,
        #c2e9fb
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, 
                  linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1;
    opacity: 0.7;
    transition: opacity 0.25s ease;
}

button:hover::before, .btn:hover::before {
    opacity: 1;
}

button:hover, .btn:hover {
    background: #fefefe;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    /* Mobile-first: padding with scroll areas */
    padding: 10px;
    position: relative;
}

/* Add side scroll areas for easier mobile scrolling */
@media (max-width: 768px) {
    .container {
        padding: 10px 5px;
    }
    
    .container::before,
    .container::after {
        content: '';
        position: fixed;
        top: 0;
        width: 20px;
        height: 100vh;
        background: transparent;
        z-index: 1;
        pointer-events: none;
    }
    
    .container::before {
        left: 0;
    }
    
    .container::after {
        right: 0;
    }
}

/* Desktop override */
@media (min-width: 769px) {
    .container {
        padding: 20px;
    }
}

.header {
    text-align: center;
    margin-bottom: 30px;
    background: rgba(252, 248, 253, 0.95); /* Soft lavender-pink tint */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 3em;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b6b, #ffa500, #ffeb3b, #4caf50, #2196f3, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 20px;
}

.search-section {
    background: rgba(248, 252, 253, 0.95); /* Soft blue-tinted white */
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.search-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* RainbowMaps Pastel Theme - Input Styles */
input[type="text"], select, .search-input, .category-select {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 0.6rem;
    font-size: 1rem;
    width: 100%;
    transition: border 0.25s ease;
    flex: 1;
    min-width: 200px;
}

input[type="text"]:focus, select:focus, .search-input:focus, .category-select:focus {
    border-color: #a1c4fd;
    outline: none;
}

/* 🌈 Category / Search Buttons - GLOWING Rainbow Borders (All Beautiful) */
.category-btn, .search-btn {
    background: linear-gradient(135deg, #e8f4fd, #f0f8ff); /* Beautiful glowing gradient by default */
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    margin: 0.3rem;
    font-weight: 600; /* Bolder text like active state */
    display: inline-block;
    color: #2c5aa0; /* Darker blue text for contrast */
    box-shadow: 0 4px 12px rgba(161, 196, 253, 0.4); /* Glowing shadow by default */
    transform: translateY(-1px); /* Slight lift like active state */
}

/* Rainbow border using pseudo-element - BRIGHT & GLOWING */
.category-btn::before, .search-btn::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 25px;
    padding: 3px;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fbc2eb, #a1c4fd, #c2e9fb);
    z-index: -1;
    opacity: 1;
    transition: all 0.25s ease;
    pointer-events: none; /* Don't block clicks */
    filter: brightness(1.2); /* Brighter rainbow border by default */
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

/* Enhanced hover effects - Even more beautiful */
.category-btn:hover::before, .search-btn:hover::before {
    filter: brightness(1.4); /* Even brighter on hover */
}

.category-btn:hover, .search-btn:hover {
    background: linear-gradient(135deg, #e0effc, #e8f4fd); /* Lighter blue gradient on hover */
    transform: translateY(-3px); /* More lift on hover */
    box-shadow: 0 6px 16px rgba(161, 196, 253, 0.6); /* Enhanced glowing shadow */
}

/* Active state for category buttons - EXTRA SPECIAL GLOW */
.category-btn.active {
    background: linear-gradient(135deg, #d0e7ff, #e0effc); /* Even brighter gradient for active */
    transform: translateY(-2px); /* More lift for active state */
    box-shadow: 0 6px 20px rgba(161, 196, 253, 0.7); /* Extra glowing shadow */
    color: #1e3a8a; /* Even darker blue for active state */
    font-weight: 700; /* Extra bold for active */
    scale: 1.02; /* Slightly larger when active */
}

.category-btn.active::before {
    opacity: 1;
    filter: brightness(1.5) saturate(1.2); /* Extra bright and saturated border */
}

/* Enhanced active hover state */
.category-btn.active:hover {
    background: linear-gradient(135deg, #c0deff, #d0e7ff);
    transform: translateY(-4px); /* Maximum lift */
    box-shadow: 0 8px 24px rgba(161, 196, 253, 0.8); /* Maximum glow */
    color: #1e3a8a;
}

/* 🎨 Category Buttons Layout - Natural Flex Flow */
.category-buttons-container {
    margin: 1rem 0;
    padding: 0.8rem;
    background: rgba(253, 249, 252, 0.8); /* Soft pink-tinted white */
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.8rem;
    text-align: center;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    align-items: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .category-buttons {
        gap: 0.4rem;
    }
    
    .category-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        margin: 0.1rem;
    }
}

/* Admin Panel Styles */
.admin-panel, .customer-dashboard, .business-dashboard {
    background: rgba(250, 253, 252, 0.95); /* Soft mint-tinted white */
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.admin-nav, .dashboard-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.admin-section, .dashboard-section {
    display: none;
}

.admin-section.active, .dashboard-section.active {
    display: block;
}

.pending-business, .user-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-left: 4px solid;
    border-image: linear-gradient(45deg, #ff6b6b, #ffa500, #ffeb3b, #4caf50, #2196f3, #9c27b0) 1;
}

.approval-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.approve-btn {
    background: #4caf50;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.reject-btn {
    background: #f44336;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.approve-btn:hover, .reject-btn:hover {
    transform: translateY(-1px);
}

.main-content {
    display: grid;
    /* Mobile-first: single column with scroll-friendly spacing */
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
    /* Add scroll margin for easier touch scrolling */
    position: relative;
}

/* Add scroll area indicators on mobile */
@media (max-width: 768px) {
    .main-content::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 3px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 2px;
        z-index: 10;
    }
}

/* Desktop override */
@media (min-width: 769px) {
    .main-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
}

.map-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin: 1rem;
    overflow: hidden;
    /* Mobile-first: smaller height, easier scrolling */
    min-height: 300px;
    height: 300px;
    position: relative;
    /* Add scroll margin to improve mobile scrolling */
    touch-action: pan-y;
}

/* Desktop override */
@media (min-width: 769px) {
    .map-container {
        min-height: 500px;
        height: 500px;
        touch-action: auto;
    }
}

#map {
    width: 100% !important;
    height: 100% !important;
    min-height: 460px;
    border-radius: 10px;
    z-index: 1;
}

.map-controls {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.map-control-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.map-control-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: #666;
    position: relative;
    overflow: hidden;
}

.rainbow-pin {
    position: absolute;
    width: 30px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.2s;
}

.rainbow-pin:hover {
    transform: scale(1.1);
}



.business-list {
    background: rgba(248, 253, 250, 0.95); /* Soft mint-tinted white */
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    max-height: 500px;
    overflow-y: auto;
}

/* 🌈 Business Cards - Always Beautiful (Pretty by Default) */
.business-item {
    background: linear-gradient(135deg, #ffffff 0%, #fff0f8 100%); /* Pretty pink-tinted gradient */
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); /* Enhanced shadow for depth */
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    transform: translateY(-2px); /* Slight lift by default */
    word-wrap: break-word; /* Ensure long text wraps properly */
    box-sizing: border-box; /* Include padding and border in width calculation */
}

.business-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008018, #004cff, #732982);
    border-radius: 15px 15px 0 0;
}

/* Enhanced hover state for even more beauty */
.business-item:hover {
    transform: translateY(-8px); /* More lift on hover */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25); /* Even more dramatic shadow */
    background: linear-gradient(135deg, #ffffff 0%, #ffebf0 100%); /* Slightly more pink on hover */
}

.business-name {
    font-size: 1.4em;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b6b, #ffa500, #ffeb3b, #4caf50, #2196f3, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.business-category {
    color: #7b68ee;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.1), rgba(156, 39, 176, 0.1));
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(123, 104, 238, 0.3);
}

.business-address {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.business-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 8px 12px;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(255, 140, 0, 0.1));
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    flex-wrap: wrap; /* Allow rating content to wrap if needed */
}

.stars {
    color: #ffa500;
    font-size: 1.2em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.special-offer {
    background: linear-gradient(45deg, #ff6b6b, #ffa500, #ffeb3b);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
    margin: 10px 0;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.business-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap; /* Allow buttons to wrap to next line */
    align-items: flex-start;
}

/* 🌈 Action Buttons - PERMANENT Visible ROUNDED Rainbow Borders */
.action-btn {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    color: #333;
}

/* Rainbow border using pseudo-element - ALWAYS VISIBLE AND ROUND */
.action-btn::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 25px;
    padding: 3px;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fbc2eb, #a1c4fd, #c2e9fb);
    z-index: -1;
    opacity: 1;
    transition: all 0.25s ease;
    pointer-events: none; /* Don't block clicks */
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.action-btn:hover {
    background: #fafafa;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.action-btn:hover::before {
    filter: brightness(1.1);
}

/* Specific action button types now use the base rainbow border styling */
.view-btn, .favorite-btn, .review-btn, .edit-btn, .delete-btn {
    /* All styling inherited from .action-btn */
}

.unfavorite-btn {
    background: #f8f8f8 !important;
    color: #666 !important;
}

.unfavorite-btn:hover {
    background: #f0f0f0 !important;
    color: #555 !important;
}

/* These buttons now use the soft rainbow border styling from .action-btn */

.bottom-section {
    display: grid;
    /* Mobile-first: single column for easier scrolling */
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 25px;
    padding-bottom: 50px; /* Extra space at bottom for easier scrolling */
}

/* Desktop override */
@media (min-width: 769px) {
    .bottom-section {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 20px;
        padding-bottom: 30px;
    }
}

.register-business {
    background: rgba(252, 250, 253, 0.95); /* Soft lavender-tinted white */
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
    /* Mobile-friendly input styling */
    -webkit-appearance: none;
    -webkit-border-radius: 8px;
}

/* Mobile-specific input improvements */
@media (max-width: 768px) {
    .form-group input, .form-group select, .form-group textarea {
        padding: 14px 12px; /* Larger touch targets */
        font-size: 16px; /* Prevent zoom on iOS */
        border-radius: 6px;
    }
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

/* Password Input with Toggle */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container input {
    width: 100%;
    padding-right: 50px; /* Space for eye button */
}

.password-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    z-index: 10;
    /* Mobile-friendly touch target */
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    background-color: rgba(255, 107, 107, 0.1);
}

.password-toggle:active {
    background-color: rgba(255, 107, 107, 0.2);
}

/* 🌈 Submit Buttons - PERMANENT Visible ROUNDED Rainbow Borders */
.submit-btn {
    width: 100%;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    color: #333;
    box-sizing: border-box;
    /* Mobile-friendly button */
    -webkit-appearance: none;
    -webkit-border-radius: 25px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    outline: none;
}

/* Rainbow border using pseudo-element - ALWAYS VISIBLE AND ROUND */
.submit-btn::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 25px;
    padding: 3px;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fbc2eb, #a1c4fd, #c2e9fb);
    z-index: -1;
    opacity: 1;
    transition: all 0.25s ease;
    pointer-events: none; /* Don't block clicks */
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

/* Mobile backup login button */
.mobile-backup-btn {
    display: none !important; /* Hidden by default */
}

/* Mobile-specific button improvements */
@media (max-width: 768px) {
    .submit-btn {
        padding: 16px 12px; /* Larger touch target */
        font-size: 18px;
        border-radius: 6px;
        margin-top: 15px;
        min-height: 50px; /* Better touch target */
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: rgba(255, 107, 107, 0.3);
    }
    
    /* Show mobile backup button on mobile */
    .mobile-backup-btn {
        display: flex !important;
        font-size: 16px;
        font-weight: bold;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
}

.submit-btn:hover {
    background: #fafafa;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.submit-btn:hover::before {
    filter: brightness(1.1);
}

/* Google Sign-In Styling */
.google-signin-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.google-setup-notice {
    text-align: center;
    padding: 15px;
    margin: 20px 0;
    background: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
}

.google-setup-notice p {
    margin: 5px 0;
    color: #2c5aa0;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
    z-index: 1;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: #666;
    position: relative;
    z-index: 2;
    font-size: 14px;
}

/* Disable form autofill styling */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #333 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Business Prompt Styling */
.business-prompt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.business-prompt-modal {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.close-prompt {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.close-prompt:hover {
    color: #333;
}

.prompt-content h3 {
    margin: 0 0 15px 0;
    color: #333;
    text-align: center;
}

.prompt-content p {
    margin: 0 0 20px 0;
    color: #666;
    text-align: center;
}

.prompt-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.benefit {
    background: linear-gradient(45deg, #ff6b6b, #ffa500, #ffeb3b, #4caf50, #2196f3, #9c27b0);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.prompt-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prompt-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.prompt-btn.primary {
    background: linear-gradient(45deg, #ff6b6b, #ffa500, #ffeb3b, #4caf50, #2196f3, #9c27b0);
    color: white;
}

.prompt-btn.secondary {
    background: #f0f0f0;
    color: #333;
}

.prompt-btn.tertiary {
    background: transparent;
    color: #999;
    border: 1px solid #ddd;
}

.prompt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Donation Modal Styling */
.donation-options {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.donation-section {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #f9f9f9;
}

.donation-section h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.donation-section p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

.payment-buttons, .share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-btn, .share-btn, .campaign-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.payment-btn.paypal {
    background: #0070ba;
    color: white;
}

.payment-btn.venmo {
    background: #3d95ce;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.facebook {
    background: #4267b2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.campaign-btn {
    background: linear-gradient(45deg, #ff6b6b, #ffa500, #ffeb3b, #4caf50, #2196f3, #9c27b0);
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.payment-btn:hover, .share-btn:hover, .campaign-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.community-features {
    background: rgba(250, 252, 253, 0.95); /* Soft sky-tinted white */
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.feature-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-left: 4px solid;
    border-image: linear-gradient(45deg, #ff6b6b, #ffa500, #ffeb3b, #4caf50, #2196f3, #9c27b0) 1;
}

.feature-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.feature-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.user-menu {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

/* 🌈 Auth Buttons - PERMANENT Visible ROUNDED Rainbow Borders */
.auth-btn {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    color: #333;
}

/* Rainbow border using pseudo-element - ALWAYS VISIBLE AND ROUND */
.auth-btn::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 25px;
    padding: 3px;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fbc2eb, #a1c4fd, #c2e9fb);
    z-index: -1;
    opacity: 1;
    transition: all 0.25s ease;
    pointer-events: none; /* Don't block clicks */
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.auth-btn:hover {
    background: #fafafa;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.auth-btn:hover::before {
    filter: brightness(1.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000; /* High z-index for mobile compatibility */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    /* Improve mobile touch handling */
    -webkit-overflow-scrolling: touch;
}

/* Business details modal gets higher z-index */
.modal#businessDetailsModal {
    z-index: 9999;
    background-color: transparent; /* No overlay needed */
    backdrop-filter: none;
}

/* Login and Register modals specific mobile fixes */
.modal#loginModal,
.modal#registerModal {
    z-index: 10001; /* Even higher for login */
}

.modal-content {
    background: #fff;
    /* Mobile-first positioning */
    margin: 5% auto;
    padding: 20px;
    border-radius: 12px;
    width: 95%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    /* Improve mobile touch handling */
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

/* Mobile-specific modal adjustments */
@media (max-width: 768px) {
    .modal-content {
        width: 98%;
        margin: 2% auto;
        padding: 15px;
        border-radius: 10px;
        max-height: 95vh;
    }
}

.close {
    color: #aaa;
    float: right;
    /* Mobile-first: larger touch target */
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Desktop override */
@media (min-width: 769px) {
    .close {
        font-size: 28px;
        width: auto;
        height: auto;
        background: none;
        backdrop-filter: none;
    }
}

.close:hover {
    color: #000;
}

.modal-title {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500, #ffeb3b, #4caf50, #2196f3, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

/* Back to Map Navigation Buttons */
.back-to-map-btn {
    background: linear-gradient(45deg, #4ecdc4, #45b7d1) !important;
    border: none !important;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1em;
}

.back-to-map-btn:hover {
    background: linear-gradient(45deg, #3bb7b4, #3498db) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.map-nav-btn {
    background: linear-gradient(45deg, #4ecdc4, #45b7d1) !important;
    color: white !important;
    border: none !important;
}

.map-nav-btn:hover {
    background: linear-gradient(45deg, #3bb7b4, #3498db) !important;
    transform: translateY(-2px);
}

.nav-btn {
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.nav-btn.active {
    background: linear-gradient(45deg, #ff6b6b, #ffa500, #ffeb3b, #4caf50, #2196f3, #9c27b0);
    color: white;
    border-color: transparent;
}

.nav-btn:hover {
    transform: translateY(-2px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-left: 4px solid;
    border-image: linear-gradient(45deg, #ff6b6b, #ffa500, #ffeb3b, #4caf50, #2196f3, #9c27b0) 1;
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9em;
}

.business-management-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.business-management-table th,
.business-management-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.business-management-table th {
    background: linear-gradient(45deg, #ff6b6b, #ffa500, #ffeb3b, #4caf50, #2196f3, #9c27b0);
    color: white;
    font-weight: bold;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.status-active {
    background: #4caf50;
    color: white;
}

.status-pending {
    background: #ffa500;
    color: white;
}

.status-rejected {
    background: #f44336;
    color: white;
}

.user-type-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.user-type-btn {
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.user-type-btn.active {
    background: linear-gradient(45deg, #ff6b6b, #ffa500, #ffeb3b, #4caf50, #2196f3, #9c27b0);
    color: white;
    border-color: transparent;
}

.admin-badge {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: bold;
    margin-left: 10px;
}

/* Leaflet Map Customizations for Rainbow Pins */
.rainbow-pin-marker {
    background: none !important;
    border: none !important;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.rainbow-pin-marker:hover {
    transform: scale(1.05);
}

/* Rainbow Pin Structure */
.rainbow-pin, .rainbow-pin-small {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.rainbow-pin {
    width: 24px;
    height: 36px;
}

.rainbow-pin-small {
    width: 16px;
    height: 24px;
}

.pin-head {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7);
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.rainbow-pin-small .pin-head {
    width: 12px;
    height: 12px;
}

.pin-body {
    width: 3px;
    height: 8px;
    background: linear-gradient(to bottom, #4ecdc4, #45b7d1);
    margin-top: -2px;
}

.rainbow-pin-small .pin-body {
    width: 2px;
    height: 6px;
}

.pin-point {
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 6px solid #45b7d1;
    margin-top: -1px;
}

.rainbow-pin-small .pin-point {
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-top: 4px solid #45b7d1;
}

.rainbow-pin-marker:hover {
    transform: scale(1.05);
}

.rainbow-pin-marker:hover .rainbow-pin {
    transform: scale(1.1);
}

.rainbow-pin-marker:hover .rainbow-pin-small {
    transform: scale(1.15);
}

/* Legacy emoji pin styles (keeping for backwards compatibility) */
.colorful-pin-marker {
    background: none !important;
    border: none !important;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.colorful-pin {
    font-size: 24px;
    line-height: 1;
    text-align: center;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    transition: all 0.2s ease;
}

.colorful-pin-marker:hover {
    transform: scale(1.2);
}

.colorful-pin-marker:hover .colorful-pin {
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.4)) brightness(1.1);
}

/* Sleek Google Maps Style Pin with Small Rainbow Circle */
.rainbow-pin {
    position: relative;
    width: 24px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.rainbow-pin:hover {
    transform: scale(1.1);
}

/* Small Rainbow Circle - Just like Google Maps */
.pin-head {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #e40303 0deg 60deg,    /* Red */
        #ff8c00 60deg 120deg,  /* Orange */
        #ffed00 120deg 180deg, /* Yellow */
        #008018 180deg 240deg, /* Green */
        #004cff 240deg 300deg, /* Blue */
        #732982 300deg 360deg  /* Purple */
    );
    border: 2px solid white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

/* Rainbow Pin Body/Stem */
.pin-body {
    width: 4px;
    height: 18px;
    background: linear-gradient(
        to bottom,
        #e40303 0%,     /* Red */
        #ff8c00 16.67%, /* Orange */
        #ffed00 33.33%, /* Yellow */
        #008018 50%,    /* Green */
        #004cff 66.67%, /* Blue */
        #732982 83.33%, /* Purple */
        #732982 100%
    );
    border-radius: 0;
    margin-top: -1px;
    z-index: 1;
}

/* Pin Point - Sharp tip */
.pin-point {
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 6px solid #732982;
    margin-top: -1px;
    z-index: 1;
}

/* Small pin for zoomed out views */
.rainbow-pin-small {
    position: relative;
    width: 16px;
    height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

.rainbow-pin-small .pin-head {
    width: 10px;
    height: 10px;
    border: 1px solid white;
}

.rainbow-pin-small .pin-body {
    width: 3px;
    height: 12px;
    border-radius: 0;
    margin-top: -1px;
}

.rainbow-pin-small .pin-point {
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-top: 4px solid #732982;
    margin-top: -1px;
}

/* Legacy stripe classes (keeping for any remaining references) */
.stripe {
    flex: 1;
    height: 100%;
}

.stripe.red { background-color: #e40303; }
.stripe.orange { background-color: #ff8c00; }
.stripe.yellow { background-color: #ffed00; }
.stripe.green { background-color: #008018; }
.stripe.blue { background-color: #004cff; }
.stripe.purple { background-color: #732982; }

.rainbow-marker {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.rainbow-marker:hover {
    transform: scale(1.2);
}

.user-location-marker {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.search-marker {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* RainbowMaps Pastel Theme - Popup Styles */
.business-popup {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 300px;
    font-family: 'Inter', sans-serif;
}

.business-popup h3 {
    margin-top: 0;
    font-size: 1.1rem;
    background: linear-gradient(90deg, #ff9a9e, #fad0c4, #a1c4fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.business-popup p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.special-offer {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin: 10px 0;
    display: inline-block;
}

.directions-btn {
    background: #2196f3;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 10px;
}

.directions-btn:hover {
    background: #1976d2;
}

@media (max-width: 768px) {
    .search-controls {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .logo {
        font-size: 2em;
        margin-bottom: 15px;
    }
    
    .admin-nav, .dashboard-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Add touch-friendly scrolling areas */
    .business-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Improve featured business scrolling */
    .featured-businesses {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }
    
    .featured-businesses::-webkit-scrollbar {
        height: 3px;
    }
    
    .featured-businesses::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.5);
        border-radius: 2px;
    }
}

/* No results styling */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
    font-size: 1.1em;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Review Modal and Star Rating */
.rating-stars {
    display: flex;
    gap: 5px;
    margin: 10px 0;
    justify-content: center;
}

.star {
    font-size: 2em;
    cursor: pointer;
    transition: all 0.2s ease;
    filter: grayscale(100%);
}

.star:hover,
.star.active {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.star.active {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* Photo Upload Styles */
.photo-preview-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.photo-preview {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #ddd;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview .remove-photo {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-note {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}

/* Large Modal for Reviews */
.large-modal .modal-content {
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Reviews Display */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    flex-wrap: wrap;
    gap: 15px;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 15px;
}

.average-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #ff6b6b;
}

.rating-stars-display {
    display: flex;
    gap: 2px;
}

.rating-stars-display .star {
    font-size: 1.5em;
    filter: none;
}

.review-count {
    color: #666;
    font-size: 1.1em;
}

.reviews-filters {
    display: flex;
    gap: 10px;
}

.reviews-filters select {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 0.9em;
}

/* Individual Review Styles */
.reviews-list {
    max-height: 500px;
    overflow-y: auto;
}

.review-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid;
    border-image: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3) 1;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
}

.author-info h4 {
    margin: 0;
    color: #333;
    font-size: 1.1em;
}

.review-date {
    color: #666;
    font-size: 0.9em;
    margin: 2px 0;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating .star {
    font-size: 1.2em;
    filter: none;
}

.review-content {
    margin: 15px 0;
}

.review-title {
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
    margin-bottom: 8px;
}

.review-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-photos {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.review-photo {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.review-photo:hover {
    transform: scale(1.05);
}

.review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.review-action-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.review-action-btn:hover {
    background: #f0f0f0;
    border-color: #bbb;
}

.review-action-btn.helpful {
    color: #28a745;
}

.review-action-btn.helpful:hover {
    background: #d4edda;
    border-color: #28a745;
}

.no-reviews {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-reviews h3 {
    color: #333;
    margin-bottom: 10px;
}

/* Favorites Header Button */
.favorites-header-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff8a80) !important;
    border: none !important;
}

.favorites-header-btn:hover {
    background: linear-gradient(45deg, #ff5252, #ff6b6b) !important;
    transform: translateY(-2px);
}

/* Guest Favorites Button */
.favorites-guest-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff8a80) !important;
    border: 2px solid #ff6b6b !important;
    color: white !important;
}

.favorites-guest-btn:hover {
    background: linear-gradient(45deg, #ff5252, #ff6b6b) !important;
    border-color: #ff5252 !important;
    transform: translateY(-2px);
}

/* Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

/* Favorites Modal Styles */
.favorites-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    flex-wrap: wrap;
    gap: 15px;
}

.favorites-summary p {
    color: #666;
    margin: 0;
    font-size: 1.1em;
}

.favorites-actions {
    display: flex;
    gap: 10px;
}

.favorites-modal-list {
    max-height: 500px;
    overflow-y: auto;
}

.favorites-modal-list .business-item {
    background: linear-gradient(135deg, #ffffff 0%, #fff0f8 100%); /* Same pretty gradient */
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid;
    border-image: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3) 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); /* Beautiful shadow by default */
    transform: translateY(-1px); /* Slight lift by default */
    word-wrap: break-word; /* Ensure long text wraps properly */
    box-sizing: border-box; /* Include padding and border in width calculation */
    overflow: hidden; /* Prevent content from overflowing */
}

.favorites-modal-list .business-item:hover {
    transform: translateY(-5px); /* More lift on hover */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Enhanced hover shadow */
    background: linear-gradient(135deg, #ffffff 0%, #ffebf0 100%); /* Slightly more pink on hover */
}

.favorites-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.favorites-empty h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.favorites-empty p {
    font-size: 1.1em;
    margin-bottom: 25px;
    line-height: 1.6;
}

.favorites-get-started {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorites-get-started:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

/* Enhanced Business Actions in Favorites */
.favorites-modal-list .business-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    align-items: flex-start; /* Ensure proper alignment */
}

.favorites-modal-list .action-btn {
    flex: 1;
    min-width: 120px;
    padding: 10px 15px;
    font-size: 0.9em;
}

/* Mobile Responsive Reviews */
@media (max-width: 768px) {
    .reviews-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .reviews-summary {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .reviews-filters {
        justify-content: center;
    }
    
    .review-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .review-photos {
        justify-content: center;
    }
    
    .large-modal .modal-content {
        width: 95%;
        margin: 2% auto;
    }
    
    .favorites-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .favorites-modal-list .business-actions {
        flex-direction: column;
    }
    
    .favorites-modal-list .action-btn {
        min-width: auto;
    }
}

/* Business Dashboard Styles */
.business-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.premium-stat {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none !important;
}

.premium-stat .stat-trend {
    font-size: 0.8em;
    opacity: 0.9;
    margin-top: 5px;
}

.quick-actions-business {
    margin-bottom: 30px;
}

.action-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.action-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.action-card:hover {
    border-color: #ff6b6b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.2);
}

.action-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.action-title {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 5px;
}

.action-desc {
    color: #666;
    font-size: 0.9em;
}

/* Analytics Styles */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.analytics-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.analytics-card h4 {
    margin: 0 0 15px 0;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.metric-item:last-child {
    border-bottom: none;
}

.metric-value {
    font-weight: bold;
    color: #ff6b6b;
    font-size: 1.1em;
}

.engagement-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.engagement-item {
    padding: 15px;
}

.engagement-number {
    font-size: 2em;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 5px;
}

.engagement-label {
    color: #666;
    font-size: 0.9em;
}

/* Promotions Styles */
.promotion-manager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.current-offers {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.create-offer {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
}

.offer-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.offer-content {
    flex: 1;
}

.offer-content strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.offer-content p {
    margin: 5px 0;
    color: #666;
}

.offer-content small {
    color: #999;
}

.offer-actions {
    display: flex;
    gap: 10px;
}

.edit-btn, .delete-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}

.edit-btn {
    background: #4ecdc4;
    color: white;
}

.delete-btn {
    background: #ff6b6b;
    color: white;
}

/* Premium Plans Styles */
.premium-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.plan-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.premium-plan {
    border-color: #ff6b6b;
    position: relative;
}

.premium-plan::before {
    content: '🌟 Most Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
}

.featured-plan {
    border-color: #9c27b0;
    background: linear-gradient(135deg, #9c27b0 0%, #673ab7 100%);
    color: white;
}

.plan-header h4 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
}

.plan-price {
    font-size: 2.5em;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.featured-plan .plan-price {
    color: white;
}

.plan-price span {
    font-size: 0.4em;
    opacity: 0.7;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.featured-plan .plan-features li {
    border-color: rgba(255, 255, 255, 0.2);
}

.plan-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.current-plan {
    background: #e0e0e0;
    color: #666;
    cursor: not-allowed;
}

.upgrade-btn {
    background: #ff6b6b;
    color: white;
}

.upgrade-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.featured-plan .upgrade-btn {
    background: white;
    color: #9c27b0;
}

/* Settings Styles */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.setting-group {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.setting-group h4 {
    margin: 0 0 15px 0;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.checkbox-label:hover {
    background: rgba(255, 107, 107, 0.1);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ff6b6b;
}

/* Mobile Responsive for Business Dashboard */
@media (max-width: 768px) {
    .business-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .promotion-manager {
        grid-template-columns: 1fr;
    }
    
    .premium-plans {
        grid-template-columns: 1fr;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

/* Premium Paywall Styles */
.premium-paywall {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin: 20px 0;
}

.paywall-content {
    max-width: 500px;
    margin: 0 auto;
}

.paywall-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.8;
}

.paywall-content h3 {
    font-size: 2em;
    color: #333;
    margin-bottom: 15px;
}

.paywall-content p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.paywall-features {
    list-style: none;
    padding: 0;
    text-align: left;
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.paywall-features li {
    padding: 8px 0;
    font-size: 1.1em;
    color: #495057;
    border-bottom: 1px solid #f8f9fa;
}

.paywall-features li:last-child {
    border-bottom: none;
}

.paywall-pricing {
    margin: 25px 0;
}

.paywall-price {
    font-size: 3em;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 5px;
}

.paywall-price span {
    font-size: 0.4em;
    color: #666;
    opacity: 0.8;
}

.paywall-savings {
    color: #28a745;
    font-weight: bold;
    font-size: 1.1em;
}

.upgrade-premium-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff8a80);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.upgrade-premium-btn:hover {
    background: linear-gradient(45deg, #ff5252, #ff6b6b);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.paywall-note {
    font-size: 0.9em;
    color: #999;
    margin-top: 15px;
    font-style: italic;
}

/* ===== GOOGLE REVIEWS INDICATOR STYLES ===== */
.google-reviews-note {
    font-size: 0.7em;
    color: #999;
    opacity: 0.7;
    font-style: italic;
    margin-left: 8px;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.google-reviews-note:hover {
    opacity: 1;
    color: #4285f4; /* Google blue */
}

.google-reviews-note-modal {
    font-size: 0.65em;
    color: #bbb;
    opacity: 0.6;
    font-style: italic;
    margin-top: 3px;
    text-align: center;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-transform: lowercase;
}

.google-reviews-note-modal:hover {
    opacity: 0.9;
    color: #4285f4; /* Google blue */
    transform: scale(1.05);
}

/* Mobile adjustments for Google notes */
@media (max-width: 768px) {
    .google-reviews-note {
        font-size: 0.65em;
        margin-left: 6px;
    }
    
    .google-reviews-note-modal {
        font-size: 0.6em;
        margin-top: 2px;
    }
}

/* ===== BUSINESS DETAILS MODAL STYLES (MOBILE-FIRST) ===== */
.business-details-modal {
    /* Mobile-first design - NO horizontal scroll */
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    border-radius: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 20%, #f093fb 40%, #f5576c 60%, #4facfe 80%, #00f2fe 100%);
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    animation: modalSlideIn 0.4s ease-out;
    /* Prevent any horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

/* Desktop override */
@media (min-width: 769px) {
    .business-details-modal {
        width: 95%;
        height: auto;
        max-width: 900px;
        max-height: 90vh;
        margin: 3% auto;
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        position: relative;
        top: auto;
        left: auto;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.business-details-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    /* Mobile-first: minimal padding and width control */
    padding: 10px 15px 10px;
    border-radius: 0;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffecd2) 1;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

/* Desktop override */
@media (min-width: 769px) {
    .business-details-header {
        padding: 25px 30px 20px;
        border-radius: 20px 20px 0 0;
    }
}

.business-header-content {
    display: flex;
    align-items: center;
    /* Mobile-first: smaller gap and flexible direction */
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Desktop override */
@media (min-width: 769px) {
    .business-header-content {
        gap: 20px;
        margin-bottom: 15px;
        flex-wrap: nowrap;
    }
}

.business-name-title {
    /* Mobile-first: smaller font size to fit better */
    font-size: 1.4em;
    font-weight: bold;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
    margin: 0 0 5px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    word-break: break-word;
    line-height: 1.1;
}

/* Desktop override */
@media (min-width: 769px) {
    .business-name-title {
        font-size: 2.2em;
        line-height: 1.3;
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.business-category-badge {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.business-rating-display {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2em;
    color: #333;
}

.business-rating-display .stars {
    color: #ffd700;
    font-size: 1.4em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.business-details-content {
    background: rgba(255, 255, 255, 0.98);
    margin: 0;
    /* Mobile-first: constrained width to prevent overflow */
    padding: 15px 10px 80px 10px; /* Extra bottom padding for all buttons */
    border-radius: 0;
    min-height: calc(100vh - 80px); /* Reduced to give more space */
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Desktop override */
@media (min-width: 769px) {
    .business-details-content {
        padding: 30px;
        border-radius: 0 0 20px 20px;
    }
}

.business-info-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Desktop override */
@media (min-width: 769px) {
    .business-info-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 40px;
    }
}

.business-main-info h3,
.business-contact-info h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1) 1;
}

.business-description-section {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    /* Mobile-first: compact padding and width control */
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 2px solid rgba(255, 107, 107, 0.2);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Desktop override */
@media (min-width: 769px) {
    .business-description-section {
        padding: 25px;
        border-radius: 15px;
        margin-bottom: 25px;
    }
}

.business-description-section p {
    /* Mobile-first: readable but compact font size */
    font-size: 1em;
    line-height: 1.5;
    color: #444;
    margin-bottom: 15px;
}

/* Desktop override */
@media (min-width: 769px) {
    .business-description-section p {
        font-size: 1.1em;
        line-height: 1.6;
        margin-bottom: 20px;
    }
}

.lgbtq-friendly-badge {
    text-align: center;
    /* Mobile-first: smaller padding */
    padding: 12px;
    background: linear-gradient(45deg, #e8376a, #ff9a56, #ffdd59, #32c766, #00a8ff, #8e7cc3);
    background-size: 300% 300%;
    animation: rainbowPulse 4s ease-in-out infinite;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Desktop override */
@media (min-width: 769px) {
    .lgbtq-friendly-badge {
        padding: 15px;
        border-radius: 25px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
}

@keyframes rainbowPulse {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 50% 100%; }
    75% { background-position: 100% 0%; }
}

.rainbow-text {
    color: white;
    font-weight: bold;
    /* Mobile-first: smaller font size */
    font-size: 1em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* Desktop override */
@media (min-width: 769px) {
    .rainbow-text {
        font-size: 1.2em;
        letter-spacing: 1px;
    }
}

.special-offer-section {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.15), rgba(245, 87, 108, 0.15));
    padding: 25px;
    border-radius: 15px;
    border: 2px solid rgba(240, 147, 251, 0.3);
    margin-top: 20px;
}

.special-offer-content {
    background: linear-gradient(45deg, #ff6b6b, #f093fb);
    color: white;
    padding: 20px;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    animation: offerGlow 2s ease-in-out infinite alternate;
}

@keyframes offerGlow {
    from { box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3); }
    to { box-shadow: 0 6px 30px rgba(240, 147, 251, 0.5); }
}

.business-contact-info {
    background: linear-gradient(135deg, rgba(69, 183, 209, 0.1), rgba(150, 206, 180, 0.1));
    /* Mobile-first: compact padding and width control */
    padding: 15px;
    border-radius: 10px;
    border: 2px solid rgba(69, 183, 209, 0.2);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Desktop override */
@media (min-width: 769px) {
    .business-contact-info {
        padding: 25px;
        border-radius: 15px;
    }
}

.contact-details {
    /* Mobile-first: smaller margins */
    margin-bottom: 20px;
}

/* Desktop override */
@media (min-width: 769px) {
    .contact-details {
        margin-bottom: 30px;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Mobile-first: smaller padding */
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border-left: 4px solid #4ecdc4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Desktop override */
@media (min-width: 769px) {
    .contact-item {
        gap: 15px;
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 10px;
    }
}

.contact-icon {
    font-size: 1.3em;
    width: 30px;
    text-align: center;
}

.contact-text {
    font-size: 1.1em;
    color: #333;
    font-weight: 500;
}

.contact-link {
    color: #45b7d1;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.business-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Smaller gap between buttons */
    width: 100%;
    /* Ensure no overflow */
    max-width: 100%;
    box-sizing: border-box;
    /* Ensure all buttons are visible on mobile */
    padding-bottom: 20px;
    margin-bottom: 20px;
}

/* Desktop override */
@media (min-width: 769px) {
    .business-action-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

.favorite-btn-large,
.directions-btn-large,
.call-btn-large,
.reviews-btn-large,
.write-review-btn-large {
    /* Mobile-first: ensure buttons fit properly */
    padding: 10px 6px; /* Slightly smaller padding */
    border: none;
    border-radius: 6px; /* Smaller border radius */
    font-size: 0.8em; /* Slightly smaller font */
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1px; /* Less letter spacing */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Smaller shadow */
    min-height: 44px; /* Smaller min height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Desktop override */
@media (min-width: 769px) {
    .favorite-btn-large,
    .directions-btn-large,
    .call-btn-large,
    .reviews-btn-large,
    .write-review-btn-large {
        padding: 15px 20px;
        font-size: 1em;
        min-height: auto;
    }
}

.favorite-btn-large {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
}

.favorite-btn-large:hover {
    background: linear-gradient(45deg, #ff5252, #ff7979);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.directions-btn-large {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: white;
}

.directions-btn-large:hover {
    background: linear-gradient(45deg, #3fb8af, #2c8577);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.call-btn-large {
    background: linear-gradient(45deg, #45b7d1, #2980b9);
    color: white;
}

.call-btn-large:hover {
    background: linear-gradient(45deg, #3498db, #2471a3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 183, 209, 0.4);
}

.reviews-btn-large {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    color: white;
}

.reviews-btn-large:hover {
    background: linear-gradient(45deg, #e056fd, #e74c3c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
}

.write-review-btn-large {
    background: linear-gradient(45deg, #ffd700, #ffb74d);
    color: #333;
}

.write-review-btn-large:hover {
    background: linear-gradient(45deg, #ffc107, #ff9800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.unfavorite-btn-large {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
}

.unfavorite-btn-large:hover {
    background: linear-gradient(45deg, #5a6268, #343a40);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Mobile-first design - all mobile styles are now the defaults above */

/* Mobile Scroll Helper */
.mobile-scroll-helper {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    z-index: 1000;
    animation: fadeInOut 3s ease-in-out;
    pointer-events: none;
}

@media (max-width: 768px) {
    .mobile-scroll-helper {
        display: block;
    }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    20%, 80% { opacity: 1; }
}

.scroll-indicator {
    text-align: center;
    font-size: 0.9em;
    white-space: nowrap;
}

/* Scroll zones for easier mobile navigation */
@media (max-width: 768px) {
    /* Add scroll zones at edges */
    .scroll-zone {
        position: fixed;
        width: 30px;
        height: 100vh;
        top: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(to right, rgba(255,255,255,0.1), transparent);
    }
    
    .scroll-zone.left {
        left: 0;
    }
    
    .scroll-zone.right {
        right: 0;
        background: linear-gradient(to left, rgba(255,255,255,0.1), transparent);
    }
}

/* PWA Install Button */
.install-app-btn {
    background: linear-gradient(45deg, #4caf50, #8bc34a);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    margin: 10px auto;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    animation: pulse 2s infinite;
}

.install-app-btn:hover {
    background: linear-gradient(45deg, #45a049, #7cb342);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Touch-friendly styles for mobile */
@media (max-width: 768px) {
    .install-app-btn {
        width: 90%;
        max-width: 300px;
        padding: 16px 24px;
        font-size: 1.1em;
    }
}

/* ===== BOTTOM NAVIGATION - STICKY TAB BAR ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
}

.bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

.bottom-nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #666;
    min-width: 60px;
}

.bottom-nav-tab.active {
    color: #333;
    background: rgba(161, 196, 253, 0.2);
}

.bottom-nav-tab:hover {
    background: rgba(161, 196, 253, 0.1);
    transform: translateY(-2px);
}

.tab-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.tab-label {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
}

/* ===== COMMUNITY PAGE STYLES ===== */
.community-page {
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.community-header {
    text-align: center;
    margin-bottom: 30px;
    background: rgba(250, 252, 253, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.community-header h2 {
    margin: 0 0 10px 0;
    background: linear-gradient(45deg, #ff6b6b, #ffa500, #ffeb3b, #4caf50, #2196f3, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.community-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 30px;
}

.community-toggle-btn {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.community-toggle-btn::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 25px;
    padding: 3px;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fbc2eb, #a1c4fd, #c2e9fb);
    z-index: -1;
    opacity: 1;
    transition: all 0.25s ease;
    pointer-events: none;
    filter: brightness(1.2);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.community-toggle-btn.active {
    background: linear-gradient(135deg, #d0e7ff, #e0effc);
    color: #1e3a8a;
    font-weight: 600;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(161, 196, 253, 0.4);
}

.community-toggle-btn:hover {
    background: #fafafa;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.community-content {
    background: rgba(248, 253, 250, 0.95);
    border-radius: 15px;
    padding: 25px;
    min-height: 400px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1rem;
}

/* Bottom padding added to existing body style to prevent content from being hidden behind nav */

/* ===== MAP EXPAND/FULLSCREEN FUNCTIONALITY ===== */
.map-container.fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    border-radius: 0 !important;
}

.map-container.fullscreen #map {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
}

body.map-fullscreen {
    overflow: hidden !important;
}

.map-expand-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-expand-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}