/* SiliwangiStay Mobile-First Smartphone Styling */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #e2e8f0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-tap-highlight-color: transparent;
}

/* Smartphone Shell Container */
.smartphone-shell {
    width: 100%;
    height: 100dvh;
    background-color: #f8fafc;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

@media (min-width: 640px) {
    .smartphone-shell {
        width: 420px;
        height: 860px;
        max-height: 93vh;
        border-radius: 42px;
        box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 0 12px #1e293b, 0 0 0 14px #334155;
    }
}

/* Sembunyikan scrollbar horizontal */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom Scrollbar tipis vertikal */
.thin-scroll::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
.thin-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.thin-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

/* Animasi Modal & Toast */
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0.4; }
    to { transform: translateY(0); opacity: 1; }
}
.animate-slide-up {
    animation: slideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}
.animate-fade-in {
    animation: fadeIn 0.2s ease-out forwards;
}

/* Range Slider Harga */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
    background: #dbeafe;
    height: 0.45rem;
    border-radius: 999px;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -5px;
    background-color: #2563eb;
    height: 1.15rem;
    width: 1.15rem;
    border-radius: 999px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
}

/* Leaflet Map Container */
#kos-google-map {
    width: 100%;
    height: 290px;
    border-radius: 18px;
    z-index: 10;
}
