/**
 * Focus Laser Maps - Styles
 */

/* Map Container */
.focus-laser-map-container {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Map Tabs */
.focus-laser-map-tabs {
    display: inline-flex;
    position: absolute;
    top: 28px;
    left: 20px;
    gap: 0;
    background: #ffffff;
    border-radius: 24px;
    padding-inline: 8px;
    margin: 0 0 16px 0;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.focus-map-tab {
    padding: 10px 24px;
    border: none;
    background: transparent;
    border-radius: 15px;
    cursor: pointer;
    font-size: 24px;
    font-weight: 600;
    color: #282353;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    white-space: nowrap;
}

.focus-map-tab:hover,
.focus-map-tab.active {
    color: #A6228E;
    background-color: transparent;
}

.tab-icon {
    display: none;
}

.tab-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Map Canvas */
.focus-laser-map-canvas {
    width: 100%;
    height: 500px;
    position: relative;
    z-index: 1;
    background: #f5f5f5;
}

/* Error Message */
.focus-laser-error {
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    color: #856404;
    text-align: center;
    font-weight: 600;
}

/* Google Maps Controls Styling */
.focus-laser-map-canvas .gm-style .gm-style-iw-c {
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.focus-laser-map-canvas .gm-style .gm-style-iw-d {
    overflow: auto !important;
}

.focus-laser-map-canvas .gm-style .gm-style-iw-t::after {
    background: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .focus-map-tab {
        padding: 10px 20px;
        font-size: 14px;
    }

    .focus-laser-map-canvas {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .focus-laser-map-tabs {
        display: flex;
        width: 100%;
        border-radius: 0;
        padding: 0;
        margin: 0;
        box-shadow: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .focus-map-tab {
        flex: 1;
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 0;
    }

    .focus-laser-map-canvas {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .focus-map-tab {
        padding: 10px 12px;
        font-size: 12px;
    }

    .focus-laser-map-canvas {
        height: 300px;
    }
}

/* Loading State */
.focus-laser-map-canvas.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.focus-laser-map-canvas.loading::after {
    content: 'Loading map...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 16px;
    z-index: 11;
}

/* Custom Marker Pulse Effect */
@keyframes markerPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(233, 30, 99, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(233, 30, 99, 0);
    }
}

/* Print Styles */
@media print {
    .focus-laser-map-tabs {
        display: none;
    }

    .focus-laser-map-canvas {
        height: 400px;
        page-break-inside: avoid;
    }

    .info-clinic-link {
        display: none;
    }
}
