
#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-crz-1 .card-header {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}
.result-card.in-crz-2 .card-header {
    background: linear-gradient(135deg, #fd7e14, #e85d04);
    color: white;
}
.result-card.in-crz-3 .card-header {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #333;
}
.result-card.in-crz-4 .card-header {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}
.result-card.not-in-crz .card-header {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}
.result-card.near-crz .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;
}
.crz-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.crz-status.crz-1 {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.crz-status.crz-2 {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}
.crz-status.crz-3 {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}
.crz-status.crz-4 {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.crz-status.not-in-zone {
    background-color: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}
.crz-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-crz-1 {
    background-color: #dc3545;
}
.custom-marker.in-crz-2 {
    background-color: #fd7e14;
}
.custom-marker.in-crz-3 {
    background-color: #ffc107;
}
.custom-marker.in-crz-4 {
    background-color: #28a745;
}
.custom-marker.not-in-crz {
    background-color: #6c757d;
}
.custom-marker.near-crz {
    background-color: #17a2b8;
}
.crz-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.crz-1 {
    background-color: rgba(220, 53, 69, 0.3);
    border: 2px solid #dc3545;
}
.legend-color.crz-2 {
    background-color: rgba(253, 126, 20, 0.3);
    border: 2px solid #fd7e14;
}
.legend-color.crz-3 {
    background-color: rgba(255, 193, 7, 0.3);
    border: 2px solid #ffc107;
}
.legend-color.crz-4 {
    background-color: rgba(40, 167, 69, 0.3);
    border: 2px solid #28a745;
}
.regulations-list, .activities-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}
.regulations-list li, .activities-list li {
    background-color: #f8f9fa;
    padding: 6px 10px;
    margin: 3px 0;
    border-radius: 4px;
    font-size: 13px;
}
.regulations-list li {
    border-left: 3px solid #dc3545;
}
.activities-list li.permitted {
    border-left: 3px solid #28a745;
}
.activities-list li.prohibited {
    border-left: 3px solid #dc3545;
}
.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;
    cursor: url(../dashboard/images/icon/pointer.svg), auto !important;
    margin-bottom: 10px;
}
.location-button:hover {
    background-color: #FF6725;
    color: #fff;
}
.location-button.active {
    background-color: #FF6725;
    color: #fff;
}
.crz-search-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    width: calc(100% - 100px);
    max-width: 400px;
}
.crz-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;
}
.crz-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;
}
.crz-search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    cursor: url(../dashboard/images/icon/pointer.svg), auto !important;
}
.crz-search-result-item:hover {
    background-color: rgba(23, 162, 184, 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(23, 162, 184, 0.2);
    padding-bottom: 5px;
}
.place-popup-title.in-crz-1 {
    color: #dc3545;
}
.place-popup-title.in-crz-2 {
    color: #fd7e14;
}
.place-popup-title.in-crz-3 {
    color: #ffc107;
}
.place-popup-title.in-crz-4 {
    color: #28a745;
}
.place-popup-title.not-in-crz {
    color: #6c757d;
}
.place-popup-title.near-crz {
    color: #17a2b8;
}
.place-popup-button {
    background-color: #17a2b8;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: url(../dashboard/images/icon/pointer.svg), auto !important;
    transition: all 0.3s ease;
}
.place-popup-button:hover {
    background-color: #138496;
}
.crz-cta-section {
    background: linear-gradient(135deg, #013a63, #1e6091, #38a3a5, #56cfe1);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Wave animations using pseudo-elements */
.crz-cta-section::before,
.crz-cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 60px;
    background-repeat: repeat-x;
    z-index: -1;
}

/* Primary wave layer */
.crz-cta-section::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C200,30 400,90 600,60 C800,30 1000,90 1200,60 L1200,120 L0,120 Z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E");
    background-size: 600px 100%;
    animation: wave-motion 20s linear infinite;
}

/* Secondary wave layer */
.crz-cta-section::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,40 Q300,10 600,40 T1200,40 L1200,120 L0,120 Z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
    background-size: 600px 100%;
    animation: wave-motion 30s linear infinite;
    animation-delay: -5s;
    height: 80px;
}

/* Third wave layer - optional for more depth */
.crz-cta-section .wave-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C150,20 350,80 500,50 C650,20 850,80 1000,50 C1150,20 1200,50 1200,50 L1200,120 L0,120 Z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
    background-size: 600px 100%;
    background-repeat: repeat-x;
    animation: wave-motion 25s linear infinite;
    animation-delay: -10s;
    z-index: -1;
}

@keyframes wave-motion {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Ensure content stays above waves */
.crz-cta-section h4,
.crz-cta-section p,
.crz-cta-section .crz-cta-button {
    position: relative;
    z-index: 2;
}

/* Keep your existing button styles */
.crz-cta-section h4 {
    color: white;
    margin-bottom: 15px;
}

.crz-cta-section p {
    margin-bottom: 20px;
    font-size: 16px;
}

.crz-cta-button {
    display: inline-block;
    background-color: white;
    color: #17a2b8;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.crz-cta-button:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
