#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-cba .card-header {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}
.result-card.not-in-cba .card-header {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}
.result-card.near-cba .card-header {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    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;
}
.cba-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.cba-status.in-zone {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.cba-status.not-in-zone {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.cba-status.near-zone {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}
.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-cba {
    background-color: #28a745;
}
.custom-marker.not-in-cba {
    background-color: #dc3545;
}
.custom-marker.near-cba {
    background-color: #17a2b8;
}
.cba-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.cba-zone {
    background-color: rgba(40, 167, 69, 0.3);
    border: 2px solid #28a745;
}
.parameters-list, .provisions-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}
.parameters-list li, .provisions-list li {
    background-color: #f8f9fa;
    padding: 6px 10px;
    margin: 3px 0;
    border-radius: 4px;
    border-left: 3px solid #28a745;
    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;
}
.cba-search-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    width: calc(100% - 100px);
    max-width: 400px;
}
.cba-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;
}
.cba-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;
}
.cba-search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}
.cba-search-result-item:hover {
    background-color: rgba(40, 167, 69, 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(40, 167, 69, 0.2);
    padding-bottom: 5px;
}
.place-popup-title.in-cba {
    color: #28a745;
}
.place-popup-title.not-in-cba {
    color: #dc3545;
}
.place-popup-title.near-cba {
    color: #17a2b8;
}
.place-popup-button {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    transition: all 0.3s ease;
}
.place-popup-button:hover {
    background-color: #218838;
}
