/* ===========================================
   Google Maps Blocker Styles
   Version: 3.5.3
   =========================================== */

.ccm-maps-placeholder {
    position: relative;
    background: #e5e3df;
    overflow: hidden;
    max-width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Background Pattern (subtle map-like pattern) */
.ccm-maps-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

/* Notice Container */
.ccm-maps-notice {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 30px 20px;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Map Icon */
.ccm-maps-icon {
    font-size: 48px;
    margin-bottom: 15px;
    line-height: 1;
}

/* Location Name */
.ccm-maps-location {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.ccm-maps-location strong {
    font-weight: 600;
}

/* Description Text */
.ccm-maps-notice p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

/* Load Button */
.ccm-maps-load-btn {
    background: #4285f4;
    color: #fff !important;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.ccm-maps-load-btn:hover {
    background: #3367d6;
    transform: translateY(-1px);
}

.ccm-maps-load-btn:active {
    transform: translateY(0);
}

/* Privacy Link */
.ccm-maps-notice a {
    color: #666;
    font-size: 12px;
    text-decoration: underline;
    display: inline-block;
    margin-top: 10px;
}

.ccm-maps-notice a:hover {
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .ccm-maps-placeholder {
        min-height: 250px;
    }
    
    .ccm-maps-notice {
        padding: 20px 15px;
        margin: 10px;
    }
    
    .ccm-maps-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }
    
    .ccm-maps-location {
        font-size: 14px;
    }
    
    .ccm-maps-notice p {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .ccm-maps-load-btn {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
    }
}

/* WordPress Block Editor Compatibility */
.wp-block-embed__wrapper .ccm-maps-placeholder,
.wp-block-html .ccm-maps-placeholder {
    width: 100%;
}

/* Elementor Compatibility */
.elementor-widget-google_maps .ccm-maps-placeholder {
    width: 100%;
    height: 100%;
}

/* Divi Compatibility */
.et_pb_map_container .ccm-maps-placeholder {
    width: 100%;
    height: 100%;
}
