/* Property Type Tabs */
.property-type-tab {
    background-color: transparent;
    color: #6b7280;
    transition: all 0.3s ease;
}

.property-type-tab:hover {
    color: #393186;
}

.property-type-tab.active {
    background-color: #393186;
    color: white;
    box-shadow: 0 2px 8px rgba(57, 49, 134, 0.3);
}

/* Budget Range Slider Styles */
.budget-range-slider-container {
    position: relative;
    width: 100%;
}

.budget-slider-track {
    position: absolute;
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
}

.budget-slider-range {
    position: absolute;
    height: 6px;
    background: #393186;
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.budget-slider {
    position: absolute;
    width: 100%;
    height: 6px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #393186;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.budget-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #393186;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.budget-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.budget-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
}

.budget-slider.budget-slider-max {
    z-index: 3;
}

.budget-range-dropdown-panel {
    max-width: 450px;
    min-width: 420px;
}

/* Property Carousel Styles */
.property-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.property-carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.property-carousel-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.property-carousel-slide img {
    width: 100%;
    height: 256px;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .property-carousel-slide img {
        height: 100%;
        min-height: 240px;
    }
}

/* Carousel Navigation Arrows */
.property-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.property-carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.property-carousel-nav-prev {
    left: 10px;
}

.property-carousel-nav-next {
    right: 10px;
}

.property-carousel-nav i {
    color: #393186;
}

/* Carousel Indicators (Dots) */
.property-carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.property-carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.property-carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.property-carousel-indicator.active-indicator {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* Filter Modal */
.filter-modal-overlay {
    display: none;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.filter-modal-panel {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.filter-modal-overlay[style*="display: block"] .filter-modal-panel {
    transform: translateX(0);
}

/* Filter Options in Modal */
.filter-group {
    margin-bottom: 1.5rem;
}

.filter-option {
    padding: 0.625rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: white;
    color: #4b5563;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.dark .filter-option {
    background-color: #1e293b;
    border-color: #475569;
    color: #cbd5e1;
}

.filter-option:hover {
    border-color: #393186;
    color: #393186;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.filter-option.active {
    background-color: #393186;
    border-color: #393186;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(57, 49, 134, 0.5);
}

.dark .filter-option.active {
    background-color: #393186;
    border-color: #393186;
}

/* Property Cards */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

/* Smooth Transitions */
* {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
.filter-modal-panel::-webkit-scrollbar {
    width: 8px;
}

.filter-modal-panel::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.dark .filter-modal-panel::-webkit-scrollbar-track {
    background: #1e293b;
}

.filter-modal-panel::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.dark .filter-modal-panel::-webkit-scrollbar-thumb {
    background: #475569;
}

.filter-modal-panel::-webkit-scrollbar-thumb:hover {
    background: #393186;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .filter-modal-panel {
        width: 100% !important;
    }
    
    .property-carousel-nav {
        width: 32px;
        height: 32px;
    }
    
    .property-carousel-nav-prev {
        left: 8px;
    }
    
    .property-carousel-nav-next {
        right: 8px;
    }
    
    .budget-range-dropdown-panel {
        left: 0;
        right: 0;
        max-width: calc(100vw - 2rem);
    }
}

/* Property Card Hover Effect */
.bg-white:hover {
    transform: translateY(-4px);
}

/* Dark Mode Budget Slider */
.dark .budget-slider-track {
    background: #475569;
}

.dark .budget-range-dropdown-panel {
    background: #1e293b;
    border-color: #475569;
}

/* Rest of existing CSS... */

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-verified {
    background-color: #10b981;
    color: white;
}

/* Input Styles for Filter Modal */
input[type="number"] {
    appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="checkbox"] {
    cursor: pointer;
}

/* Focus States */
button:focus,
input:focus,
select:focus {
    outline: none;
    ring: 2px;
    ring-color: #393186;
    ring-opacity: 0.5;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
}

.empty-state i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

/* Utility Classes */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.shadow-custom {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-custom-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Price Display */
.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: #393186;
    line-height: 1.2;
}

/* Property Details Grid */
.property-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

/* Filter Chip Animation */
.filter-chip {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sticky Header Compensation */
.sticky-offset {
    scroll-margin-top: 200px;
}

/* Dark Mode Specific Adjustments */
@media (prefers-color-scheme: dark) {
    .bg-white {
        background-color: #1e293b;
    }
    
    .text-gray-900 {
        color: #f1f5f9;
    }
    
    .border-gray-100 {
        border-color: #334155;
    }
}