/* Aquifer Zone Check - Map & Result Styles */
#map {
    height: 500px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
}
.map-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    font-size: 12px;
}
.result-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 20px;
    display: none;
}
.result-card.in-aquifer .card-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}
.result-card.not-in-aquifer .card-header {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}
.result-card.near-aquifer .card-header {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: white;
}
.result-card .card-header {
    padding: 15px;
    font-weight: 600;
}
.result-card .card-body {
    padding: 20px;
}
.result-info {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}
.result-info:last-child {
    border-bottom: none;
}
.info-label {
    font-weight: 600;
    color: #555;
}
.info-value {
    color: #333;
}
.aquifer-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.aquifer-status.in-zone {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.aquifer-status.not-in-zone {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.aquifer-status.near-zone {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}
.loader {
    display: none;
    text-align: center;
    padding: 20px;
}
.loader .spinner-border {
    width: 3rem;
    height: 3rem;
    color: #FF6725;
}
.map-instruction {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 400;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 20px;
    border-radius: 30px;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.map-instruction.visible {
    opacity: 1;
}
.custom-marker {
    border: 2px solid white;
    border-radius: 50%;
    width: 15px !important;
    height: 15px !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.custom-marker.in-aquifer {
    background-color: #007bff;
}
.custom-marker.not-in-aquifer {
    background-color: #dc3545;
}
.custom-marker.near-aquifer {
    background-color: #ffc107;
}
.aquifer-legend {
    position: absolute;
    bottom: 24px;
    left: 10px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 12px;
}
.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    margin-right: 8px;
}
.legend-color.aquifer-zone {
    background-color: rgba(0, 123, 255, 0.3);
    border: 2px solid #007bff;
}
.restrictions-list, .recommendations-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}
.restrictions-list li, .recommendations-list li {
    background-color: #f8f9fa;
    padding: 6px 10px;
    margin: 3px 0;
    border-radius: 4px;
    border-left: 3px solid #007bff;
    font-size: 13px;
}
.location-button {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    margin-bottom: 10px;
}
.location-button:hover {
    background-color: #FF6725;
    color: #fff;
}
.location-button.active {
    background-color: #FF6725;
    color: #fff;
}
.aquifer-search-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    width: calc(100% - 100px);
    max-width: 400px;
}
.aquifer-search-box {
    width: 100%;
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 14px;
}
.aquifer-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1001;
}
.aquifer-search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}
.aquifer-search-result-item:hover {
    background-color: rgba(0, 123, 255, 0.1);
}
.map-controls-container {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}
.leaflet-popup-content-wrapper {
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.place-popup-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(0, 123, 255, 0.2);
    padding-bottom: 5px;
}
.place-popup-title.in-aquifer {
    color: #007bff;
}
.place-popup-title.not-in-aquifer {
    color: #dc3545;
}
.place-popup-title.near-aquifer {
    color: #ffc107;
}
.place-popup-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    transition: all 0.3s ease;
}
.place-popup-button:hover {
    background-color: #0056b3;
}

/* FAQ Section */
.az-faq-item {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.az-faq-item:hover { border-color: #ffd4c2; }
.az-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    background: #fff;
    transition: background 0.2s;
    cursor: url(../dashboard/images/icon/pointer.svg), pointer !important;
}
.az-faq-question:hover { background: #fafafa; }
.az-faq-question i {
    font-size: 12px;
    color: #999;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
}
.az-faq-item.open .az-faq-question i {
    transform: rotate(180deg);
    color: #ff6725;
}
.az-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.az-faq-item.open .az-faq-answer {
    max-height: 500px;
}
.az-faq-answer p {
    padding: 0 20px 16px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}