/**
 * GDPR Map Component Styles
 */

.gdpr-map-container {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gdpr-map-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.gdpr-map-consent-content {
    text-align: center;
    max-width: 500px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #dee2e6;
}

.gdpr-map-placeholder {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    opacity: 0.7;
    filter: grayscale(50%);
}

.gdpr-map-placeholder-default {
    margin-bottom: 20px;
    color: #6c757d;
}

.gdpr-map-placeholder-default i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #3c9959;
}

.gdpr-map-placeholder-default h4 {
    margin: 0 0 10px 0;
    color: #495057;
    font-size: 24px;
    font-weight: 600;
}

.gdpr-map-consent-text h5 {
    color: #3c9959;
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.gdpr-map-consent-text p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 25px 0;
    font-size: 14px;
}

.gdpr-map-consent-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.gdpr-map-accept-btn,
.gdpr-map-decline-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
}

.gdpr-map-accept-btn {
    background: #3c9959;
    color: white;
}

.gdpr-map-accept-btn:hover {
    background: #2d7a42;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(60, 153, 89, 0.3);
}

.gdpr-map-decline-btn {
    background: #6c757d;
    color: white;
}

.gdpr-map-decline-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.gdpr-map-privacy-link {
    display: block;
    margin-top: 15px;
}

.gdpr-map-privacy-link a {
    color: #3c9959;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.gdpr-map-privacy-link a:hover {
    color: #2d7a42;
}

.gdpr-map-content {
    width: 100%;
    height: 100%;
}

.gdpr-map-declined {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    color: #6c757d;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gdpr-map-consent-overlay {
        padding: 15px;
    }
    
    .gdpr-map-consent-content {
        padding: 20px;
    }
    
    .gdpr-map-consent-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .gdpr-map-accept-btn,
    .gdpr-map-decline-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .gdpr-map-placeholder-default i {
        font-size: 36px;
    }
    
    .gdpr-map-placeholder-default h4 {
        font-size: 20px;
    }
    
    .gdpr-map-consent-text h5 {
        font-size: 16px;
    }
    
    .gdpr-map-consent-text p {
        font-size: 13px;
    }
}

/* Animation for loading */
.gdpr-map-content {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.gdpr-map-content.loaded {
    opacity: 1;
}

/* Loading spinner */
.gdpr-map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

.gdpr-map-loading::after {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3c9959;
    border-radius: 50%;
    animation: gdpr-map-spin 1s linear infinite;
}

@keyframes gdpr-map-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}