body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

#destination-hero {
    position: relative;
    transition: background-image 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#destination-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

#destination-hero>* {
    position: relative;
    z-index: 1;
}

.swipe-indicator {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.swipe-indicator.left {
    left: 20px;
}

.swipe-indicator.right {
    right: 20px;
}

.swipe-indicator.active {
    opacity: 0.8;
}

.weather-filter {
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.weather-filter.is-active {
    background-color: #3273dc;
    color: white;
}

@media (max-width: 768px) {
    .hero-body .box {
        padding: 1.5rem;
    }

    .title.is-1 {
        font-size: 2rem;
    }

    .weather-filter {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

.card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#app-container {
    touch-action: pan-y;
}

.navbar.is-transparent {
    background: transparent;
}

.hero-head {
    position: relative;
    z-index: 1000;
}

#destination-hero > .hero-head {
    z-index: 1000;
}

#destination-hero > .hero-body,
#destination-hero > .hero-foot {
    z-index: 1;
}

.auth-controls {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto;
    padding: 0.75rem 1rem;
    z-index: 1001;
}

.mobile-auth-toggle {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 0.45rem;
    color: white;
    background: rgba(0, 0, 0, 0.35);
    font-size: 1.25rem;
    cursor: pointer;
}

.mobile-auth-toggle:hover,
.mobile-auth-toggle:focus-visible {
    background: rgba(0, 0, 0, 0.55);
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 31;
}

.profile-menu {
    position: relative;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 999px;
    padding: 0.25rem 0.65rem 0.25rem 0.25rem;
    color: white;
    background: rgba(0, 0, 0, 0.28);
    cursor: pointer;
}

.profile-trigger:hover,
.profile-trigger:focus-visible {
    background: rgba(0, 0, 0, 0.48);
}

.profile-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: #3273dc;
    background: white;
    font-weight: 700;
    text-transform: uppercase;
}

.profile-name {
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.profile-chevron {
    font-size: 0.7rem;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 13rem;
    padding: 0.5rem 0;
    border-radius: 0.5rem;
    background: white;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.22);
    overflow: hidden;
    z-index: 1003;
}

.profile-dropdown a {
    display: block;
    padding: 0.65rem 1rem;
    color: #363636;
}

.profile-dropdown a:hover {
    background: #f5f5f5;
}

.profile-dropdown a i {
    width: 1.25rem;
    margin-right: 0.35rem;
    color: #3273dc;
}

.profile-dropdown-heading {
    padding: 0.55rem 1rem 0.75rem;
    border-bottom: 1px solid #ededed;
    color: #7a7a7a;
    font-size: 0.75rem;
    line-height: 1.45;
}

.profile-dropdown-heading strong {
    color: #363636;
    overflow-wrap: anywhere;
}

@media screen and (max-width: 768px) {
    body.mobile-auth-open .hero-body {
        pointer-events: none;
    }

    .navbar.is-transparent {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .navbar-brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .auth-controls {
        flex: 0 0 auto;
        padding: 0.65rem 0.75rem;
    }

    .profile-dropdown {
        position: fixed;
        top: 5.5rem;
        right: 0.75rem;
        z-index: 1003;
    }

    .mobile-auth-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .auth-buttons {
        position: fixed;
        top: 5.5rem;
        right: 0.75rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        min-width: 8.5rem;
        padding: 0.5rem;
        border-radius: 0.5rem;
        background: rgba(20, 20, 24, 0.96);
        box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.3);
        z-index: 1000;
        pointer-events: auto;
    }

    .auth-buttons.is-open {
        display: flex !important;
        position: fixed !important;
        z-index: 1002 !important;
    }

    .auth-buttons .button {
        justify-content: center;
        margin: 0.15rem 0;
    }
}

.hero-foot {
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.2);
}

.filter-summary {
    min-height: 4.5rem;
}

#active-filters {
    min-height: 1.75rem;
}

.active-filter-chip {
    margin: 0.15rem;
}

.active-filter-chip .delete {
    margin-left: 0.35rem;
}

.filter-modal-card {
    width: min(720px, calc(100vw - 2rem));
}

.filter-group {
    border-top: 1px solid #ededed;
    padding: 1rem 0 0.5rem;
}

.filter-group:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.filter-group-title {
    color: #4a4a4a;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.filter-group .button {
    margin: 0 0.35rem 0.45rem 0;
}

@media (max-width: 768px) {
    .filter-modal-card {
        align-self: flex-end;
        margin: 0;
        max-height: 92vh;
        width: 100%;
    }

    .filter-modal-card .modal-card-body {
        max-height: 65vh;
    }

    .filter-modal-card .modal-card-foot {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .filter-modal-card .modal-card-foot > div {
        margin-left: auto;
    }
}

.destination-card {
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}
