/* Custom Styles */

body {
    font-family: 'Inter', sans-serif;
}

/* Map specific styles */
#map {
    z-index: 1;
}

/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Card Hover Effects */
.property-card {
    transition: all 0.2s ease-in-out;
}

.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Leaflet Popup Customization */
.leaflet-popup-content-wrapper {
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 0;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0;
    line-height: 1.5;
}

.popup-header {
    background-color: #2563eb;
    /* blue-600 */
    color: white;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.95rem;
}

.popup-body {
    padding: 16px;
    font-size: 0.875rem;
    color: #374151;
    /* gray-700 */
}

/* Custom Marker Cluster */
.marker-cluster-small {
    background-color: rgba(181, 226, 140, 0.6);
}

.marker-cluster-small div {
    background-color: rgba(110, 204, 57, 0.6);
}

.marker-cluster-medium {
    background-color: rgba(241, 211, 87, 0.6);
}

.marker-cluster-medium div {
    background-color: rgba(240, 194, 12, 0.6);
}

.marker-cluster-large {
    background-color: rgba(253, 156, 115, 0.6);
}

.marker-cluster-large div {
    background-color: rgba(241, 128, 23, 0.6);
}

/* Toast Animation */
@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.toast-show {
    animation: slideIn 0.3s ease-out forwards;
}

.toast-hide {
    animation: fadeOut 0.3s ease-out forwards;
}

/* Golden Gradient Text */
.text-gradient-gold {
    background-image: linear-gradient(90deg, #E7612E 0%, #F4A836 50%, #FCD647 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-gold {
    background-image: linear-gradient(90deg, #E7612E 0%, #F4A836 50%, #FCD647 100%);
}

/* New Header Styles */
:root {
    --tipp-blue: #003399;
    --tipp-gold: #FFD700;
    --vibrant-pink: #E6007E;
}

.header-banner {
    position: relative;
    background-image: url('./assets/images/hero_banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-overlay {
    background: linear-gradient(90deg, rgba(0, 51, 153, 0.95) 0%, rgba(0, 51, 153, 0.8) 60%, rgba(0, 51, 153, 0.4) 100%);
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Color Utilities */
.bg-tipp-blue {
    background-color: var(--tipp-blue);
}

.text-tipp-blue {
    color: var(--tipp-blue);
}

.bg-vibrant-pink {
    background-color: var(--vibrant-pink);
}

.text-vibrant-pink {
    color: var(--vibrant-pink);
}

.bg-tipp-gold {
    background-color: var(--tipp-gold);
}

.text-tipp-gold {
    color: var(--tipp-gold);
}

/* Rates Calculator Button Styles */
.calculate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    /* Standard padding */
    /* Create a diagonal gradient from purple to blue */
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white;
    border: none;
    border-radius: 4px;
    /* Standard rounding */
    font-family: sans-serif;
    font-size: 12px;
    /* Standard text size */
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    /* Ensure it fits the container */
    margin-top: 0.5rem;
}

/* Style for the icon image */
.btn-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    filter: brightness(0) invert(1);
    /* Make sure icon is white */
}

/* Hover effect */
.calculate-btn:hover {
    /* Move the button up slightly and increase shadow on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}/* Custom Scrollbar for map.html */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.5); /* Tailwind gray-400 with opacity */
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: rgba(107, 114, 128, 0.8); /* Tailwind gray-500 */
}
