/* CMDA Land Use Zone Finder Tool Styles */

/* Map Container */
.map-container {
    position: relative;
    height: 600px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
}

#map {
    height: 100%;
    width: 100%;
    z-index: 1;
}

/* Map Instruction */
.map-instruction {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Search Box */
.cmda-search-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
    width: 350px;
}

.cmda-search-box {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s;
}

.cmda-search-box:focus {
    outline: none;
    border-color: #ff6725;
    box-shadow: 0 2px 12px rgba(255, 103, 37, 0.2);
}

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

.cmda-search-result-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.cmda-search-result-item:hover {
    background-color: #f5f5f5;
}

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

/* Map Controls */
.map-controls-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.location-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.location-button:hover {
    background: #ff6725;
    border-color: #ff6725;
    color: white;
    transform: scale(1.05);
}

.location-button.active {
    background: #ff8c5c;
    border-color: #ff8c5c;
    color: white;
    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); }
}

/* Legend */
.cmda-legend {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

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

.legend-item:last-child {
    margin-bottom: 0;
}

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

/* Zone Colors - Orange Theme Based */
.legend-color.primary-residential,
.custom-marker.primary-residential {
    background-color: #FFD4B8; /* Light orange */
}

.legend-color.mixed-residential,
.custom-marker.mixed-residential {
    background-color: #FFB08A; /* Medium light orange */
}

.legend-color.commercial,
.custom-marker.commercial {
    background-color: #FF8C5C; /* Medium orange */
}

.legend-color.institutional,
.custom-marker.institutional {
    background-color: #FF7943; /* Medium dark orange */
}

.legend-color.industrial,
.custom-marker.industrial {
    background-color: #E85D1F; /* Dark orange */
}

.legend-color.open-space,
.custom-marker.open-space {
    background-color: #FFA366; /* Soft orange for green spaces */
}

.legend-color.road,
.custom-marker.road {
    background-color: #D4D4D4; /* Neutral gray for infrastructure */
}

/* Loader - Beautiful Modal Style */
.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2000;
    display: none;
    min-width: 200px;
}

.loader .spinner-border {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 103, 37, 0.2);
    border-right-color: #ff6725;
}

.loader p {
    margin-top: 20px;
    color: #4a5568;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* Result Card - Beautiful Modal Style */
.result-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 420px;
    background: rgba(255, 255, 255, 0.95);
    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.1);
    z-index: 1000;
    display: none;
    max-height: 540px;
    overflow: hidden;
    animation: slideInUp 0.4s ease-out;
}

.result-card .card-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #FF6725 0%, #FF8A56 100%);
    color: white;
    border-radius: 24px 24px 0 0;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(255, 103, 37, 0.2);
}

.result-card .card-body {
    padding: 25px;
    overflow-y: auto;
    max-height: 440px;
}

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

@keyframes pulse-icon {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 103, 37, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(255, 103, 37, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 103, 37, 0.3);
    }
}

/* CTA Button in Result Card */
.result-card .btn-one {
    background: linear-gradient(135deg, #FF6725 0%, #FF8A56 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 103, 37, 0.25);
    font-size: 14px;
    letter-spacing: 0.3px;
    border: none;
    margin-top: 10px;
}

.result-card .btn-one:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 28px rgba(255, 103, 37, 0.35);
    color: white;
}

.result-card .btn-one i {
    transition: transform 0.3s ease;
}

.result-card .btn-one:hover i {
    transform: translateX(3px);
}

/* Result Card Close Button - Beautiful Style */
.result-card .btn-close,
#closeResult {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
    padding: 0;
}

.result-card .btn-close:hover,
#closeResult:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.3);
}

#closeResult i {
    color: white;
    font-size: 14px;
}

.result-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 15px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(255, 103, 37, 0.1);
    transition: all 0.3s ease;
}

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

.result-info:last-child {
    margin-bottom: 0;
}

.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;
}

/* Zone Badge Styles */
.zone-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.zone-primary-residential {
    background-color: #FFE082;
    color: #F57C00;
}

.zone-mixed-residential {
    background-color: #FFCC80;
    color: #E65100;
}

.zone-commercial {
    background-color: #F48FB1;
    color: #880E4F;
}

.zone-institutional {
    background-color: #CE93D8;
    color: #6A1B9A;
}

.zone-industrial {
    background-color: #90CAF9;
    color: #0D47A1;
}

.zone-open-space {
    background-color: #A5D6A7;
    color: #1B5E20;
}

.zone-road {
    background-color: #BDBDBD;
    color: #424242;
}

.zone-outside {
    background-color: #E0E0E0;
    color: #616161;
}

/* Custom Marker */
.custom-marker {
    width: 15px !important;
    height: 15px !important;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: dropIn 0.5s ease;
}

@keyframes dropIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.custom-marker.outside-cmda {
    background-color: #9E9E9E;
}

/* Regulations List - Beautiful Style */
#regulationsSection,
#setbackSection,
#permittedSection {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(255, 103, 37, 0.1);
}

#regulationsSection h6,
#setbackSection h6,
#permittedSection h6 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.regulations-list li {
    padding: 10px 15px;
    padding-left: 35px;
    position: relative;
    font-size: 13px;
    line-height: 1.6;
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.regulations-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(255, 103, 37, 0.1);
}

.regulations-list li::before {
    content: "✓";
    position: absolute;
    left: 12px;
    color: #ff6725;
    font-weight: bold;
    font-size: 16px;
}

/* Setback Details - Beautiful Style */
.setback-details {
    font-size: 13px;
}

.setback-item {
    margin-bottom: 15px;
    padding: 12px;
    background: white;
    border-radius: 10px;
    border: 1px solid rgba(255, 103, 37, 0.1);
}

.setback-item strong {
    color: #2d3748;
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.setback-details .badge {
    font-weight: 500;
    padding: 6px 12px;
    margin: 3px;
    background: linear-gradient(135deg, #FF6725 0%, #FF8A56 100%);
    color: white;
    border: none;
    font-size: 11px;
    text-transform: capitalize;
}

.setback-details .alert {
    border-radius: 10px;
    font-size: 12px;
    border: none;
}

.setback-details .alert-info {
    background: rgba(66, 153, 225, 0.1);
    color: #2b6cb0;
}

.setback-details .alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
}

/* Permitted Uses - Beautiful Style */
.permitted-uses {
    font-size: 13px;
}

.permitted-uses .badge {
    font-weight: 500;
    padding: 6px 14px;
    margin: 3px;
    font-size: 12px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.2s ease;
}

.permitted-uses .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.permitted-uses .badge.bg-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%) !important;
}

.permitted-uses .badge.bg-warning {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%) !important;
}

.permitted-uses .badge.bg-danger {
    background: linear-gradient(135deg, #fc8181 0%, #f56565 100%) !important;
}

/* CTA Section */
.cmda-cta-section {
    background: linear-gradient(135deg, #ff6725 0%, #ff8c5c 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.cmda-cta-section .wave-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.cmda-cta-section h4 {
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.cmda-cta-section p {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

.cmda-cta-button {
    display: inline-block;
    background: white;
    color: #ff6725;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cmda-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #ff8c5c;
    text-decoration: none;
}

/* Place Popup */
.place-popup {
    min-width: 250px;
    max-width: 350px;
    font-family: 'Inter', sans-serif;
}

.place-popup-title {
    font-weight: 600;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.place-popup-content {
    padding: 4px 8px;
}

.place-popup-row {
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(0,0,0,0.02);
}

.place-popup-label {
    font-weight: 500;
    color: #666;
}

.place-popup-value {
    color: #333;
    font-weight: 400;
}

.place-popup-title.primary-residential {
    background-color: #FFE082;
    color: #F57C00;
}

.place-popup-title.mixed-residential {
    background-color: #FFCC80;
    color: #E65100;
}

.place-popup-title.commercial {
    background-color: #F48FB1;
    color: #880E4F;
}

.place-popup-title.institutional {
    background-color: #CE93D8;
    color: #6A1B9A;
}

.place-popup-title.industrial {
    background-color: #90CAF9;
    color: #0D47A1;
}

.place-popup-title.open-space {
    background-color: #A5D6A7;
    color: #1B5E20;
}

.place-popup-title.road {
    background-color: #BDBDBD;
    color: #424242;
}

.place-popup-title.outside-cmda {
    background-color: #FFE5D9;
    color: #ff6725;
    border: 1px solid #ff6725;
}

/* Data unavailable card - Beautiful Modal Style */
.data-unavailable-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 420px;
    background: rgba(255, 255, 255, 0.95);
    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.1);
    padding: 40px 30px;
    text-align: center;
    z-index: 1000;
    animation: slideInUp 0.4s ease-out;
}

.data-unavailable-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(135deg, #FF6725 0%, #FF8A56 100%);
    border-radius: 24px 24px 50% 50%;
    z-index: -1;
}

.data-unavailable-card h5 {
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

.data-unavailable-card h5 i {
    display: block;
    font-size: 36px;
    margin-bottom: 10px;
    animation: pulse-icon 2s infinite;
}

.data-unavailable-card p {
    margin-bottom: 20px;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    padding-top: 10px;
}

.data-unavailable-card .btn {
    background: linear-gradient(135deg, #FF6725 0%, #FF8A56 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 103, 37, 0.3);
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.data-unavailable-card .btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(255, 103, 37, 0.4);
}

.data-unavailable-card .btn i {
    transition: transform 0.3s ease;
}

.data-unavailable-card .btn:hover i {
    transform: translateX(3px);
}

.place-popup div {
    margin: 5px 0;
    font-size: 13px;
}

/* Zone Overview Container */
.zone-overview-container {
    background: linear-gradient(135deg, #fff8f5 0%, #fff5f0 100%);
    border: 2px solid #ff6725;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 5px 25px rgba(255, 103, 37, 0.1);
}

.zone-overview-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 15px;
}

.zone-overview-header i {
    font-size: 28px;
    color: #ff6725;
}

.zone-overview-header h6 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.zone-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.zone-overview-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.zone-overview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(255, 103, 37, 0.2);
}

.zone-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: white;
}

.zone-icon.primary-residential {
    background: linear-gradient(135deg, #FFD4B8 0%, #FFB08A 100%);
    color: #E85D1F;
}

.zone-icon.mixed-residential {
    background: linear-gradient(135deg, #FFB08A 0%, #FF8C5C 100%);
    color: #fff;
}

.zone-icon.commercial {
    background: linear-gradient(135deg, #FF8C5C 0%, #FF7943 100%);
    color: #fff;
}

.zone-icon.institutional {
    background: linear-gradient(135deg, #FF7943 0%, #ff6725 100%);
    color: #fff;
}

.zone-icon.industrial {
    background: linear-gradient(135deg, #E85D1F 0%, #D4501A 100%);
    color: #fff;
}

.zone-icon.open-space {
    background: linear-gradient(135deg, #FFA366 0%, #FF8C5C 100%);
    color: #fff;
}

.zone-overview-item h6 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.zone-overview-item p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Important Note Box */
.important-note-box {
    background: linear-gradient(135deg, #ff6725 0%, #ff8c5c 100%);
    color: white;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 25px rgba(255, 103, 37, 0.2);
}

.note-icon {
    font-size: 36px;
    min-width: 50px;
}

.note-content h6 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.note-content p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

/* Guidelines Box */
.guidelines-box {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
}

.guideline-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.guideline-item:hover {
    box-shadow: 0 4px 20px rgba(255, 103, 37, 0.15);
}

.guideline-item i {
    font-size: 24px;
    min-width: 30px;
    margin-top: 3px;
}

.guideline-item h6 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.guideline-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

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

    .zone-overview-container {
        padding: 20px;
    }

    .zone-overview-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .zone-overview-item {
        padding: 15px;
    }

    .zone-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .important-note-box {
        flex-direction: column;
        text-align: center;
    }

    .guidelines-box {
        padding: 20px;
    }

    .cmda-search-container {
        width: calc(100% - 40px);
        max-width: 300px;
    }

    .result-card {
        width: calc(100% - 40px);
        max-width: 350px;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .cmda-legend {
        bottom: auto;
        top: 80px;
        right: 10px;
        font-size: 12px;
    }

    .legend-color {
        width: 15px;
        height: 15px;
    }

    .cmda-cta-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 400px;
    }

    .cmda-search-container {
        top: 10px;
        left: 10px;
        right: 60px;
        width: auto;
    }

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

    .location-button {
        width: 35px;
        height: 35px;
    }
}