* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #F9FAFB;
    color: #111827;
}

:root {
    --primary: #f43f5e;
    --primary-dark: #e11d48;
    --secondary: #06b6d4;
    --white: #F9FAFB;
}

.gradient-bg {
    background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
}

.shadow-custom {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -12px rgba(244, 63, 94, 0.15);
}

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

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

.animate-fadeIn {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-scale {
    animation: scaleIn 0.2s ease-out;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.slider-container {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease-out;
}

.slider-image {
    min-width: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.map-container {
    height: 400px;
    width: 100%;
    border-radius: 16px;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container .leaflet-container {
    border-radius: 16px;
    overflow: hidden;
}

.leaflet-control-zoom {
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
    font-size: 18px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease;
}

.leaflet-control-zoom-in:hover,
.leaflet-control-zoom-out:hover {
    background-color: #f43f5e !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.3) !important;
}

.custom-marker {
    background: white;
    border: 3px solid #f43f5e;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-marker:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(244, 63, 94, 0.3);
}

.leaflet-popup-content-wrapper {
    border-radius: 16px !important;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    padding: 4px !important;
}

.leaflet-popup-content {
    margin: 0;
    min-width: 200px;
    font-size: 14px;
}

.feature-badge {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #cbd5e1;
    transition: all 0.2s ease;
    color: #1e293b;
}

.feature-badge:hover {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-color: #818cf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(129, 140, 248, 0.2);
}

.feature-badge i {
    color: #6366f1;
}

.pb-safe {
    padding-bottom: env(safe-area-inset-bottom);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    ring: 2px solid var(--primary);
    border-color: var(--primary);
}

/* Enhanced Input Styling */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
textarea:hover,
select:hover {
    border-color: var(--primary);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

/* Button Styling */
button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

button:active {
    transform: scale(0.98);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.toast {
    min-width: 300px;
    max-width: 500px;
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-left-color: #d1fae5;
}

.toast.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-left-color: #fee2e2;
}

.toast.info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-left-color: #dbeafe;
}

.toast.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-left-color: #fef3c7;
}

.toast .icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast .content {
    flex: 1;
}

.toast .close-btn {
    background: none;
    border: none;
    color: currentColor;
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
    transition: opacity 0.2s;
}
.leaflet-container .text-white {
    color: var(--white);
}

.leaflet-container .leaflet-popup-content p {
  margin: 17px 0;
  margin: 8px 0;
}

/* Wishlist Button Styling */
.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border: none;
    background-color: rgba(255, 255, 255, 0.95);
    color: #f43f5e;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0;
    font-size: 14px;
}

.wishlist-btn:hover {
    background-color: #f43f5e;
    color: white;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.2);
    transform: scale(1.08);
}

.wishlist-btn-active {
    background-color: #f43f5e;
    color: white;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.25);
}

.wishlist-btn-active:hover {
    background-color: #e11d48;
    transform: scale(1.08);
}

.wishlist-btn-guest {
    color: #999 !important;
    pointer-events: auto;
}

.wishlist-btn-guest:hover {
    color: #f43f5e !important;
}