/* ============================================
   Advanced Google Map Widget - Base Styles
   ============================================ */

.unlockafe-google-map-wrapper {
    width: 100%;
    position: relative;
}

.unlockafe-google-map-container {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.unlockafe-google-map-error {
    padding: 20px;
    background: #fee;
    color: #c33;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #fcc;
}

/* Loading State */
.unlockafe-google-map-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
    pointer-events: none;
}

.unlockafe-google-map-container.loaded::before {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .unlockafe-google-map-container {
        height: 400px;
    }
}

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

