:root {
    --bg-color: #000000;
    --bg-card: #1c1c1e;
    --text-color: #ffffff;
    --text-muted: #8e8e93;
    --accent-color: #0a84ff;
    --border-color: #2c2c2e;
    --gradient-1: linear-gradient(135deg, #ff375f, #ff9f0a);
    --gradient-2: linear-gradient(135deg, #30d158, #0a84ff);
    --gradient-3: linear-gradient(135deg, #bf5af2, #ff375f);
}

[data-theme="light"] {
    --bg-color: #f2f2f7;
    --bg-card: #ffffff;
    --text-color: #000000;
    --text-muted: #8e8e93;
    --border-color: #e5e5ea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    padding-bottom: env(safe-area-inset-bottom);
}

/* Hide scrollbars globally */
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    display: none;
}

/* Smooth page transitions */
.page {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-container {
    padding: 1rem;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
}

.location-badge {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-btn-mobile {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Search */
.mobile-search {
    margin-bottom: 2rem;
}

.greeting {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.search-input-mobile {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.search-input-mobile i {
    color: var(--text-muted);
}

.search-input-mobile input {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1rem;
    width: 100%;
    outline: none;
}

.search-input-mobile:focus-within {
    box-shadow: 0 0 0 2px var(--accent-color);
}

.search-clear {
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    display: none;
}

.search-clear.visible {
    display: block;
}

/* Search Suggestions */
.search-suggestions-list {
    background: var(--bg-card);
    border-radius: 16px;
    margin-top: 1rem;
    overflow: hidden;
}

.search-suggestion-item {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

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

.search-suggestion-item:active {
    background: rgba(255, 255, 255, 0.05);
}

.suggestion-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.suggestion-content {
    flex: 1;
}

.suggestion-title {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.suggestion-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Search Categories Grid */
.search-categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem 0;
}

.search-category-card {
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    height: 120px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-category-card:active {
    transform: scale(0.96);
    opacity: 0.9;
}

.search-category-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.search-category-label {
    font-weight: 700;
    font-size: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Category Gradients */
.gradient-1 {
    background: linear-gradient(135deg, #FF6B6B, #EE5D5D);
}

.gradient-2 {
    background: linear-gradient(135deg, #4FACFE, #00F2FE);
}

.gradient-3 {
    background: linear-gradient(135deg, #43E97B, #38F9D7);
}

/* Stories */
.stories-section {
    margin-bottom: 2rem;
    margin-left: -1rem;
    margin-right: -1rem;
}

.stories-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 1rem;
    scrollbar-width: none;
    /* Firefox */
}

.stories-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 70px;
}

.story-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    border: 2px solid var(--bg-color);
    box-shadow: 0 0 0 2px var(--border-color);
}

.gradient-1 {
    background: var(--gradient-1);
}

.gradient-2 {
    background: var(--gradient-2);
}

.gradient-3 {
    background: var(--gradient-3);
}

.story-item span {
    font-size: 0.75rem;
    color: var(--text-color);
}

/* Map Overlay */
.map-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
}

.map-overlay .search-input-mobile {
    background: var(--bg-card);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Feed */
.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feed-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    display: block;
    /* Ensure anchor behaves like block */
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 10;
    /* Above background, below nav */
    cursor: default;
    /* Prevent iOS double-tap for hover */
    touch-action: manipulation;
    transition: transform 0.2s;
}

@media (hover: hover) {
    .feed-card {
        cursor: pointer;
    }
}

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

.feed-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-badge {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.save-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.feed-content {
    padding: 1rem;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}

.feed-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.rating {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating i {
    color: #ff9f0a;
}

.feed-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(28, 28, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 9999;
    /* Always on top */
}

html {
    -webkit-tap-highlight-color: transparent;
}

.nav-item {
    color: var(--text-muted);
    font-size: 1.4rem;
    transition: color 0.2s;
}

.nav-item.active {
    color: var(--accent-color);
}

/* Detail Page Styles */
.detail-hero {
    position: relative;
    margin: -1rem -1rem 0 -1rem;
}

.hero-image {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.hero-gallery {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.hero-gallery::-webkit-scrollbar {
    display: none;
}

.gallery-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 2px solid transparent;
    cursor: pointer;
}

.gallery-thumb.active {
    border-color: var(--accent-color);
}

.detail-content {
    padding: 1rem;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.detail-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.detail-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.detail-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.detail-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.detail-info {
    margin-bottom: 1.5rem;
}

.detail-reviews {
    margin-bottom: 1.5rem;
}

.review-card {
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.review-author {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
}

.review-date {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.review-text {
    line-height: 1.5;
    color: var(--text-muted);
}

/* Action Bar - Reverting to Classic Actions for v84 */
.detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.detail-actions button:last-child {
    grid-column: 1 / -1;
}

/* 
.action-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
} 
*/


.save-btn-large {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.save-btn.active,
.save-btn-large.active {
    background: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
}

/* Map Page Styles */
#map-page {
    padding: 0;
    margin: -1rem;
}

.map-container {
    width: 100%;
    height: 100vh;
}

.map-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
}

.map-popup h4 {
    margin-bottom: 0.5rem;
}

.map-popup p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.map-popup button {
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Favorites Page Styles */
.page-header {
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
}

.favorites-grid {
    display: grid;
    gap: 1rem;
}

/* Profile Page Styles */
.profile-header {
    text-align: center;
    padding: 2rem 0;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0 0.25rem;
}

.profile-email {
    color: var(--text-muted);
}

.settings-section {
    margin-bottom: 2rem;
}

/* Search Page Styles */
.search-header {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
}

.search-header .search-input-mobile {
    flex: 1;
    margin-bottom: 0;
    /* Override default margin if any */
}

/* Subcategory Expandable Grid */
.subcategory-container {
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.subcategory-container.hidden {
    display: none;
}

.subcategory-grid-wrapper {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subcategory-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.subcategory-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.subcategory-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
    /* Row gap, Column gap */
}

.subcategory-item {
    padding: 0.25rem 0;
    background: transparent;
    border-radius: 0;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: none;
    transition: opacity 0.2s;
    font-size: 0.9rem;
    color: var(--text-color);
    border: none;
}

.subcategory-item:active {
    transform: none;
    opacity: 0.6;
    background: transparent;
}

.sub-icon-gray {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    /* Keep gray background for icon */
    color: #6b7280;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sub-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.sub-arrow {
    display: none;
    /* Hide arrow for mini layout */
}

/* Search Result Cards (Ad Style) */
.search-card {
    display: flex;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 12px;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    /* Ensure flex behavior is kept for anchor */
    position: relative;
    z-index: 2000;
    /* Force on top of any overlays */
}

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

.search-card-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.search-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    /* Prevent text overflow issues */
}

.search-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.ad-badge {
    font-size: 0.7rem;
    color: #f59e0b;
    border: 1px solid #f59e0b;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
    line-height: 1.2;
}

.search-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-color);
}

.search-card-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.rating-badge {
    background: #4ade80;
    color: #fff;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.edit-icon,
.view-count {
    display: flex;
    align-items: center;
    gap: 4px;
}

.search-card-category,
.search-card-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bookmark-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #3b82f6;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    z-index: 2;
}

/* Dark mode adjustments */
[data-theme="dark"] .search-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark mode adjustments */
[data-theme="dark"] .sub-icon-gray {
    background: #2c2c2e;
    /* Darker gray for dark mode */
}

/* Tinted Icons */
.sub-icon-gray.text-gradient-1 {
    color: #ff375f;
}

.sub-icon-gray.text-gradient-2 {
    color: #0a84ff;
}

.sub-icon-gray.text-gradient-3 {
    color: #bf5af2;
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.search-filters {
    margin-bottom: 1.5rem;
}

.chips-container {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}

.chips-container::-webkit-scrollbar {
    display: none;
}

.search-placeholder {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
}

/* Mini Map Styles */
.mini-map-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    transition: transform 0.2s, box-shadow 0.2s;
    /* Floating shadow effect requested by user */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    margin-top: 1rem;
    position: relative;
    z-index: 10;
}

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

.mini-map-preview {
    width: 100%;
    height: 150px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-map-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

/* Pulsing Marker Animation */
.pulsing-marker {
    width: 20px;
    height: 20px;
    background-color: #0a84ff;
    /* Blue marker */
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 0 rgba(10, 132, 255, 0.7);
    animation: markerPulse 1.5s infinite;
}

@keyframes markerPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(10, 132, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(10, 132, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(10, 132, 255, 0);
    }
}

.mini-map-pin {
    position: relative;
    z-index: 2;
    color: var(--accent-color);
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    animation: bounce 2s infinite;
}

.mini-map-overlay-text {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 2;
    background: rgba(0, 0, 0, 0.75);
    padding: 8px 16px;
    border-radius: 24px;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    /* Let clicks pass to card */
}

.mini-map-address {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.search-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Page Container */
/* Map Page Styles */
.map-container {
    width: 100%;
    height: 100vh;
    /* Force height */
    position: fixed;
    /* Force fix */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: #e5e5e5;
    /* Fallback color */
}

#map {
    width: 100%;
    height: 100%;
}


/* Similar Places Horizontal Card */
.similar-card {
    min-width: 280px;
    /* Wider for horizontal layout */
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    /* Horizontal layout */
    align-items: center;
    padding: 0.8rem;
    gap: 0.8rem;
}

.similar-card-image {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    position: relative;
}

.similar-card-content {
    flex: 1;
    min-width: 0;
    /* Prevent text overflow issues */
}

.similar-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.similar-card-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.similar-card-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
}

.similar-card-rating i {
    color: #ff9f0a;
    font-size: 0.7rem;
}

/* Save Button Large - Blue Outline */
.save-btn-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    /* Default to blue */
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.save-btn-large.active {
    background: var(--accent-color);
    color: white;
}
/* RuPages Logo in Header */
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-right: 12px;
}

.header-left {
    display: flex;
    align-items: center;
}
/* Header Right Alignment */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Ensure location badge behaves correctly in flex container */
.location-badge {
    margin-left: 0;
    /* Reset previous margin if any */
}