.main-wrapper {
    padding: 2rem 1rem;
    background-color: var(--backgroundGray);
    display: grid;
    row-gap: 1rem;
    align-content: flex-start;
    min-height: calc(100vh - var(--navHeight));
}

.available-listings-main h1 {
    text-align: center;
    font-size: clamp(1.1rem, 5vw + .5rem, 2rem);

}

.no-listing-content {
    /* background-color: pink; */
    text-align: center;
    display: grid;
    row-gap: 2rem;
}

.show-all-listings-container {
    display: grid;
    justify-content: center;
    row-gap: 1rem;
    text-align: center;
}

.view-all-listings-link {
    width: max-content;
    justify-self: center;
}

.listing-info-modal .rating-container,
.listing-info-modal .rating-container > * {
    display: grid;
}

.main-wrapper > .modal-disclaimer {
    z-index: var(--indexNine);
    max-width: 40rem;
    justify-self: center;
}

.listings-notification-button {
    display: none;
}
.listings-notification-button.show {
    display: grid;
}


/* no listings lovable */
/* Upperoom Design System */
:root {
    /* Colors */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(218, 11%, 15%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(218, 11%, 15%);
    --primary: hsl(122, 39%, 49%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-light: hsl(122, 39%, 85%);
    --primary-hover: hsl(122, 39%, 44%);
    --secondary: hsl(210, 40%, 96%);
    --secondary-foreground: hsl(218, 11%, 15%);
    --muted: hsl(210, 20%, 96%);
    --muted-foreground: hsl(218, 11%, 65%);
    --accent: hsl(122, 25%, 95%);
    --accent-foreground: hsl(218, 11%, 15%);
    --border: hsl(214, 20%, 90%);
    --success: hsl(122, 39%, 49%);
    --success-light: hsl(122, 39%, 95%);
    --warning: hsl(45, 93%, 58%);
    --warning-light: hsl(45, 93%, 95%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(122, 39%, 49%) 0%, hsl(122, 39%, 42%) 100%);
    --gradient-soft: linear-gradient(135deg, hsl(122, 25%, 98%) 0%, hsl(210, 20%, 98%) 100%);
    
    /* Shadows */
    --shadow-soft: 0 2px 8px -2px hsl(122, 39%, 49%, 0.1);
    --shadow-medium: 0 8px 24px -4px hsl(122, 39%, 49%, 0.15);
    --shadow-large: 0 20px 40px -8px hsl(122, 39%, 49%, 0.2);
    
    /* Radius */
    --radius: 0.75rem;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dark {
    --background: hsl(218, 11%, 8%);
    --foreground: hsl(210, 40%, 98%);
    --card: hsl(218, 11%, 10%);
    --card-foreground: hsl(210, 40%, 98%);
    --primary: hsl(122, 39%, 54%);
    --primary-foreground: hsl(218, 11%, 8%);
    --primary-light: hsl(122, 39%, 20%);
    --primary-hover: hsl(122, 39%, 59%);
    --secondary: hsl(218, 11%, 15%);
    --secondary-foreground: hsl(210, 40%, 98%);
    --muted: hsl(218, 11%, 15%);
    --muted-foreground: hsl(218, 11%, 65%);
    --accent: hsl(218, 11%, 15%);
    --accent-foreground: hsl(210, 40%, 98%);
    --border: hsl(218, 11%, 20%);
    --success: hsl(122, 39%, 54%);
    --success-light: hsl(122, 39%, 15%);
    --warning: hsl(45, 93%, 63%);
    --warning-light: hsl(45, 93%, 15%);
    --gradient-primary: linear-gradient(135deg, hsl(122, 39%, 54%) 0%, hsl(122, 39%, 47%) 100%);
    --gradient-soft: linear-gradient(135deg, hsl(218, 11%, 12%) 0%, hsl(218, 11%, 8%) 100%);
    --shadow-soft: 0 2px 8px -2px hsl(0, 0%, 0%, 0.3);
    --shadow-medium: 0 8px 24px -4px hsl(0, 0%, 0%, 0.4);
    --shadow-large: 0 20px 40px -8px hsl(0, 0%, 0%, 0.5);
}


/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-soft {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-soft {
    animation: pulse-soft 2s ease-in-out infinite;
}

.animate-fade-in {
    animation: fade-in 0.5s ease-out;
}

.animate-scale-in {
    animation: scale-in 0.3s ease-out;
}

/* Utility Classes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.875rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    height: 2.25rem;
}

.btn-lg {
    padding: 0.75rem 2rem;
    height: 3rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-ghost {
    background: transparent;
    color: var(--muted-foreground);
}

.btn-ghost:hover {
    background: var(--accent);
    color: var(--foreground);
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* Search Bar */
.search-bar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 40;
    padding: 1rem;
}

.search-container {
    max-width: 64rem;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-soft);
}

.search-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 0.875rem;
}

.search-input {
    flex: 1;
    background: transparent;
    color: var(--foreground);
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-input::placeholder {
    color: var(--muted-foreground);
}

/* Empty State */
.empty-state {
    min-height: 80vh;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.empty-content {
    max-width: 48rem;
    width: 100%;
    text-align: center;
}

.hero-illustration {
    margin-bottom: 2rem;
    position: relative;
}

.illustration-wrapper {
    position: relative;
    display: inline-block;
}

.city-image {
    width: 100%;
    max-width: 32rem;
    height: auto;
    margin: 0 auto;
}

.search-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 4rem;
    height: 4rem;
    background: var(--warning-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.main-heading {
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.main-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 28rem;
    margin: 0 auto 1.5rem;
    line-height: 1.75;
}

/* Stats */
.stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 0;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.stat-divider {
    width: 1px;
    height: 3rem;
    background: var(--border);
}

/* Notification Card */
.notification-card {
    background: var(--card);
    border-radius: calc(var(--radius) * 2);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    max-width: 32rem;
    margin: 2rem auto;
    display: none;
}
.notification-card.show {
    display: grid;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    flex-wrap: wrap;
}

.notification-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.notification-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 28rem;
    margin: 2rem auto;
}

@media (min-width: 640px) {
    .action-buttons {
        flex-direction: row;
    }
    
    .main-heading {
        font-size: 3rem;
    }
}

.action-button {
    flex: 1;
}

/* Bottom CTA */
.bottom-cta {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.cta-text {
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

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

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--card);
    border-radius: calc(var(--radius) * 2);
    box-shadow: var(--shadow-large);
    max-width: 28rem;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--success-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.modal-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.close-button {
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--muted-foreground);
    border-radius: 0.25rem;
    transition: var(--transition-smooth);
}

.close-button:hover {
    color: var(--foreground);
    background: var(--accent);
}

/* Browser Tabs */
.browser-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.browser-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--muted-foreground);
    transition: var(--transition-smooth);
    position: relative;
}

.browser-tab.active {
    color: var(--primary);
    background: rgba(76, 175, 80, 0.1);
}

.browser-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.browser-tab:hover:not(.active) {
    color: var(--foreground);
}

/* Modal Content */
.modal-content {
    padding: 1.5rem;
}

.browser-instructions {
    margin-bottom: 1rem;
}

.instructions-title {
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.instructions-list {
    list-style: none;
    padding: 0;
}

.instruction-item {
    display: flex;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.step-number {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.info-box {
    background: rgba(76, 175, 80, 0.1);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.info-text {
    font-size: 0.875rem;
    color: var(--foreground);
}

/* Responsive */
@media (max-width: 768px) {
    .stats {
        gap: 1rem;
    }
    
    .search-badge {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }
    
    .main-heading {
        font-size: 2rem;
    }
}

/* Hover Effects */
.hover-scale {
    transition: var(--transition-smooth);
}

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

.group:hover .group-hover-translate {
    transform: translateX(0.25rem);
}

.group-hover-translate {
    transition: var(--transition-smooth);
}



/* sweet alert for notification and filter */
