/**
 * Water Bodies Finder CSS
 * Orange Theme (#ff6725)
 * Extends find-owner.css styles
 */

/* Import base styles from find-owner.css - but not loader styles */
/* @import url('find-owner.css'); - Removed to avoid conflicts */

:root {
    --water-primary: #ff6725;
    --water-primary-dark: #e55a1f;
    --water-primary-light: #ff8c5c;
    --water-secondary: #4a90e2;
    --water-info: #17a2b8;
    --water-success: #28a745;
    --water-warning: #ffc107;
    --water-danger: #dc3545;
}

/* Container and Layout */
.water-bodies-container {
    background: #fff;
    min-height: calc(100vh - 120px);
}

.water-bodies-content {
    padding: 20px 0;
}

/* Result Cards - Elegant Single Card Design */
.result-card {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    width: 420px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    z-index: 1000 !important;
    animation: slideInUp 0.4s ease;
    display: none;
    overflow: hidden;
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.result-card .card-header {
    padding: 18px 24px;
    background: linear-gradient(135deg, #FF6725 0%, #FF8A56 100%);
    color: white;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-card .card-body {
    padding: 20px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 420px;
    background: white;
}

/* Result Info Style - Elegant Design */
.result-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.result-info:hover {
    background: #f0f0f0;
    transform: translateX(2px);
}

.info-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: #2d3748;
    font-size: 14px;
    text-align: right;
    font-weight: 500;
}

/* Water Body Type Badge */
.water-type-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-tank { background: linear-gradient(135deg, #4a90e2, #5ba3f5); color: white; }
.type-pond { background: linear-gradient(135deg, #5cb85c, #6ec86e); color: white; }
.type-lake { background: linear-gradient(135deg, #337ab7, #4289c9); color: white; }
.type-oorani { background: linear-gradient(135deg, #f0ad4e, #f2bd6e); color: white; }
.type-reservoir { background: linear-gradient(135deg, #5bc0de, #6dcff0); color: white; }
.type-river { background: linear-gradient(135deg, #1e7ba5, #2e8bb5); color: white; }
.type-canal { background: linear-gradient(135deg, #777, #888); color: white; }
.type-unknown { background: linear-gradient(135deg, #6c757d, #7c858d); color: white; }

/* Property Header - Elegant Water Body Title */
.property-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.property-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FF6725 0%, #FF8A56 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.25);
}

.property-title h5 {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: -0.3px;
}

.property-title p {
    margin: 0;
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

/* Info Grid - Modern Card Grid Layout */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.info-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: #ff672540;
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.08);
    transform: translateY(-2px);
}

.info-item-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #ff672510 0%, #ff672508 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ff6725;
    flex-shrink: 0;
}

.info-item-content {
    flex: 1;
    min-width: 0;
}

.info-item-label {
    font-size: 11px;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-item-value {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-word;
}

/* Land Details Section */
.land-details-section {
    animation: fadeInContent 0.5s ease;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Conservation Section Styling */
.conservation-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
}

.conservation-section h6 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 700;
    color: #166534;
    letter-spacing: 0.3px;
}

.conservation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.conservation-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #374151;
    font-size: 13px;
    line-height: 1.6;
}

.conservation-list li:last-child {
    margin-bottom: 0;
}

.conservation-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background: #10b981;
    color: white;
    font-weight: bold;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 2px;
}

/* Close Button Style - Clean Design */
#closeResult,
#closeNearby,
#closeNoWater {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: url(../dashboard/images/icon/pointer.svg), pointer !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

#closeResult:hover,
#closeNearby:hover,
#closeNoWater:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Legend Container - Compact Left Position */
.map-legend,
#mapLegend {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 400 !important;
    background: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #ff672520;
    width: 160px;
}

.map-legend h6 {
    margin: 0 0 12px 0;
    color: #ff6725;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: #2d3748;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-right: 10px;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Stats Badge */
.stats-badge {
    background: linear-gradient(135deg, var(--water-primary) 0%, var(--water-primary-light) 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 103, 37, 0.3);
}

/* Map Container - CRITICAL for map display */
#map {
    height: 600px !important;
    width: 100% !important;
    border-radius: 10px;
    border: 1px solid #ddd;
    position: relative;
    z-index: 1;
}

.map-container {
    position: relative;
    margin: 20px 0;
    width: 100%;
    height: 600px;
}

/* Search Section */
.search-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
}

/* Map Controls Container */
.survey-map-search-container,
.map-controls-container {
    position: absolute !important;
    z-index: 500 !important;
}

.survey-map-search-container {
    top: 15px;
    left: 15px;
    width: 350px;
}

.map-controls-container {
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
}

/* Search Box with Orange Theme */
#waterSearchBox,
.survey-map-search-box {
    width: 100%;
    padding: 12px 20px;
    border-radius: 25px;
    border: 2px solid #ff6725;
    background: white;
    box-shadow: 0 3px 10px rgba(255, 103, 37, 0.15);
    font-size: 14px;
    transition: all 0.3s;
}

#waterSearchBox:focus,
.survey-map-search-box:focus {
    outline: none;
    border-color: #ff8c5c;
    box-shadow: 0 3px 15px rgba(255, 103, 37, 0.25);
}

/* Location Buttons with Orange Theme */
#currentLocationBtn,
#findNearbyBtn,
.location-button {
    background: white;
    border: 2px solid #ff6725;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: url(../dashboard/images/icon/pointer.svg), pointer !important;
    box-shadow: 0 3px 10px rgba(255, 103, 37, 0.15);
    transition: all 0.3s;
    color: #ff6725;
    font-size: 18px;
}

#currentLocationBtn:hover,
#findNearbyBtn:hover,
.location-button:hover {
    background: linear-gradient(135deg, #ff6725, #ff8c5c);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 103, 37, 0.3);
}

#currentLocationBtn:active,
#findNearbyBtn:active,
.location-button:active {
    transform: translateY(0);
}

.water-search-container {
    position: relative;
}

/* Search Results Dropdown - Elegant Style */
#waterSearchResults,
.survey-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #ff6725;
    border-top: none;
    border-radius: 0 0 15px 15px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(255, 103, 37, 0.15);
    z-index: 600;
    display: none;
    margin-top: -2px;
}

.water-search-result-item,
.survey-search-results div {
    padding: 14px 20px;
    border-bottom: 1px solid #f5f5f5;
    cursor: url(../dashboard/images/icon/pointer.svg), pointer !important;
    transition: all 0.2s;
    font-size: 14px;
}

.water-search-result-item:hover,
.survey-search-results div:hover {
    background: #fff5f0;
    padding-left: 25px;
    color: #ff6725;
}

.water-search-result-item:last-child {
    border-bottom: none;
    border-radius: 0 0 13px 13px;
}

.water-search-input {
    height: 48px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.water-search-input:focus {
    border-color: var(--water-primary);
    box-shadow: 0 0 0 3px rgba(255, 103, 37, 0.1);
    outline: none;
}

.water-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.water-search-result-item {
    padding: 12px 15px;
    cursor: url(../dashboard/images/icon/pointer.svg), pointer !important;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.water-search-result-item:hover {
    background: #fff5f1;
    color: var(--water-primary);
}

.water-search-result-item:last-child {
    border-bottom: none;
}

.btn-location {
    background: linear-gradient(135deg, var(--water-primary) 0%, var(--water-primary-light) 100%);
    color: white;
    height: 48px;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-location:hover {
    background: linear-gradient(135deg, var(--water-primary-dark) 0%, var(--water-primary) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.3);
}

.btn-location.active {
    background: var(--water-primary-dark);
    animation: pulse 1.5s infinite;
}

/* Map Container */
.map-wrapper {
    position: relative;
    background: #f5f5f5;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.water-map {
    height: 600px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Map Controls */
.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-map-control {
    width: 44px;
    height: 44px;
    background: white;
    border: 2px solid var(--water-primary);
    border-radius: 10px;
    color: var(--water-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: url(../dashboard/images/icon/pointer.svg), pointer !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-map-control:hover {
    background: var(--water-primary);
    color: white;
    transform: scale(1.1);
}

/* Map Instruction */
.map-instruction {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 103, 37, 0.95);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.map-instruction.visible {
    opacity: 1;
}

/* Map Legend */
.map-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 12px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-legend h6 {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 12px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.legend-color.tank {
    background: #4a90e2;
}

.legend-color.pond {
    background: #17a2b8;
}

.legend-color.lake {
    background: #0056b3;
}

.legend-color.reservoir {
    background: #6610f2;
}

.legend-color.other {
    background: #6c757d;
}

/* Map Instruction */
#mapInstruction {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    z-index: 400;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

#mapInstruction.visible {
    opacity: 1;
}

/* Loader - Centered on Map Container */
#loader {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    text-align: center;
    z-index: 9999;
    display: none;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Loader inner content with background */
#loader .loader-content {
    background: rgba(255, 255, 255, 0.98);
    padding: 30px 40px;
    min-width: 280px;
    max-width: 350px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.loader-content {
    position: relative;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--water-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pulse animation for map markers */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 103, 37, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 103, 37, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 103, 37, 0);
    }
}

.loader-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.loader-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.loader-dots {
    display: inline-block;
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    80%, 100% { content: ''; }
}

/* Result Cards - Beautiful Modal Style */
.water-body-card,
.nearby-card,
.no-water-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 380px;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.water-body-card .card-header,
.nearby-card .card-header {
    background: linear-gradient(135deg, var(--water-primary) 0%, var(--water-primary-light) 100%);
    color: white;
    padding: 18px 20px;
    border-radius: 24px 24px 0 0;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.water-body-card .card-body,
.nearby-card .card-body {
    padding: 20px;
}

.water-body-info {
    background: white;
    border-radius: 12px;
    padding: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #666;
    font-size: 13px;
}

.info-value {
    font-weight: 500;
    color: #333;
    font-size: 13px;
}

.water-type-badge {
    background: var(--water-primary);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Conservation Section */
.conservation-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

.conservation-section h6 {
    color: var(--water-success);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.conservation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.conservation-list li {
    padding: 6px 0;
    font-size: 13px;
    color: #666;
    padding-left: 20px;
    position: relative;
}

.conservation-list li:before {
    content: "•";
    color: var(--water-success);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Nearby Water Bodies */
/* Nearby Water Bodies List - Elegant Card Design */
.nearby-list {
    max-height: 350px;
    overflow-y: auto;
    padding: 4px;
}

.nearby-item {
    padding: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: url(../dashboard/images/icon/pointer.svg), pointer !important;
    position: relative;
    overflow: hidden;
}

.nearby-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, #FF6725 0%, #FF8A56 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nearby-item:hover {
    background: linear-gradient(135deg, #fff5f1 0%, #ffffff 100%);
    border-color: #ff672560;
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.1);
    transform: translateX(6px);
}

.nearby-item:hover::before {
    transform: scaleY(1);
}

.nearby-name {
    font-weight: 700;
    color: #1a202c;
    font-size: 15px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nearby-name i {
    color: #ff6725;
    font-size: 18px;
}

.nearby-details {
    font-size: 12px;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 8px;
    font-weight: 500;
}

.nearby-details br {
    margin: 4px 0;
}

.nearby-distance {
    background: linear-gradient(135deg, #FF6725 0%, #FF8A56 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(255, 103, 37, 0.25);
    letter-spacing: 0.3px;
}

/* No Water Body Card */
.no-water-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 25px;
    text-align: center;
}

.no-water-card h5 {
    color: #666;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.no-water-card p {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}

.no-water-card .btn {
    background: linear-gradient(135deg, var(--water-primary) 0%, var(--water-primary-light) 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.no-water-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.3);
}

/* CTA Boxes */
.cta-box {
    background: linear-gradient(135deg, var(--water-primary) 0%, var(--water-primary-light) 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 103, 37, 0.3);
}

.cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 103, 37, 0.4);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.cta-icon {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h5 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 15px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.btn-cta {
    background: white;
    color: var(--water-primary);
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-cta:hover {
    background: #f0f0f0;
    transform: translateX(5px);
    color: var(--water-primary-dark);
}

/* Stat Cards */
.stat-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--water-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 103, 37, 0.15);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--water-primary);
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Content Sections */
.content-box {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #e0e0e0;
}

.info-box {
    background: white;
    border-left: 4px solid var(--water-primary);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-box h6 {
    color: var(--water-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

/* Custom Markers */
.custom-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.custom-marker.water-body {
    background: var(--water-secondary);
    animation: pulse 2s infinite;
}

.custom-marker.selected {
    background: var(--water-primary);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 103, 37, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 103, 37, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 103, 37, 0);
    }
}

/* Accordion Customization */
.accordion-button {
    background: white;
    color: #333;
    font-weight: 600;
    padding: 15px 20px;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--water-primary) 0%, var(--water-primary-light) 100%);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 20px;
    background: #f8f9fa;
}

/* Alerts */
.alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3f8ff 100%);
    border: 1px solid #90caf9;
    color: #1565c0;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #fff8f0 100%);
    border: 1px solid #ffb74d;
    color: #e65100;
}

/* FAQ Section */
.wb-faq-item { border-bottom: 1px solid #eee; }
.wb-faq-question { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; cursor: url(../dashboard/images/icon/pointer.svg), pointer !important; font-weight: 600; font-size: 15px; }
.wb-faq-question i { transition: transform 0.3s; color: #ff6725; }
.wb-faq-item.open .wb-faq-question i { transform: rotate(180deg); }
.wb-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.wb-faq-item.open .wb-faq-answer { max-height: 500px; }
.wb-faq-answer p { padding: 0 0 15px 0; color: #555; line-height: 1.7; }

/* Responsive Design */
@media (max-width: 768px) {
    .water-map {
        height: 450px;
    }

    .water-body-card,
    .nearby-card,
    .no-water-card {
        width: calc(100% - 20px);
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .map-legend {
        bottom: 60px;
        left: 10px;
        font-size: 11px;
    }

    .map-controls {
        top: 10px;
        right: 10px;
    }

    .stat-number {
        font-size: 24px;
    }

    .cta-box {
        padding: 20px;
    }

    .cta-icon {
        font-size: 36px;
    }
}

/* Scrollbar Styling */
.water-search-results::-webkit-scrollbar,
.nearby-list::-webkit-scrollbar {
    width: 8px;
}

.water-search-results::-webkit-scrollbar-track,
.nearby-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.water-search-results::-webkit-scrollbar-thumb,
.nearby-list::-webkit-scrollbar-thumb {
    background: var(--water-primary);
    border-radius: 10px;
}

.water-search-results::-webkit-scrollbar-thumb:hover,
.nearby-list::-webkit-scrollbar-thumb:hover {
    background: var(--water-primary-dark);
}