.material-symbols-outlined {
    font-variation-settings: 'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}

html, body {
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: #111921;
    overscroll-behavior-y: none;
    overscroll-behavior: none;
    touch-action: pan-y;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
}

#listingsContainer {
    position: relative;
    width: 100%;
    height: 100%;
    overscroll-behavior-y: none;
    touch-action: pan-y;
}

.listing-card {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
    will-change: transform;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.listing-card:active {
    cursor: grabbing;
}

.listing-card.swiping {
    transition: transform 0.1s ease-out;
}

.listing-card.swipe-up {
    transform: translateY(-100vh) rotate(-10deg);
    opacity: 0;
}

.listing-card.swipe-down {
    transform: translateY(100vh) rotate(10deg);
    opacity: 0;
}

.swipe-color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    border-radius: 1rem;
    transition: opacity 0.2s ease-out;
    mix-blend-mode: overlay;
}

.listing-card.swipe-left,
.listing-card.swipe-right {
    transition: transform 0.3s ease-out;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-size: cover;
    background-position: center;
}

.image-slide.active {
    opacity: 1;
    z-index: 1;
}

.photo-indicators-container {
    z-index: 10;
    padding: 1rem 1.5rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
}

.photo-indicator {
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 3px;
    border-radius: 2px;
}

.text-overlay {
    z-index: 10;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    padding: 1.5rem;
    padding-top: 2rem;
}

.listing-title {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.listing-details {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    margin-top: 0.75rem;
}

#noListings {
    padding: 3rem 1.5rem;
}

#noListings p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

#noListings a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #197fe6;
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

#noListings a:hover {
    background-color: #1565c0;
}

.form-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s forwards;
    cursor: default;
    touch-action: auto;
    user-select: auto;
    -webkit-user-select: auto;
}

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

#formContainer {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Allow scrolling on getliked.html page */
.getliked-page {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100vh;
}

html:has(.getliked-page) {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
}

