/* PCM Public Popup Styles */
#pcm-consent-popup {
    position: fixed;
    z-index: 999999;
    display: none;
}

.pcm-overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.pcm-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.pcm-overlay .pcm-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    width: 90%;
}

.pcm-quiet {
    max-width: 400px;
}

.pcm-pos-bottom-right {
    bottom: 20px;
    right: 20px;
}

.pcm-pos-bottom-left {
    bottom: 20px;
    left: 20px;
}

.pcm-pos-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pcm-modal {
    background: var(--pcm-bg, #fff);
    color: var(--pcm-text, #333);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.pcm-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.pcm-link {
    color: var(--pcm-link, #0073aa);
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 16px;
}

.pcm-link:hover {
    text-decoration: none;
}

.pcm-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.pcm-btn {
    background: var(--pcm-btn-bg, #0073aa);
    color: var(--pcm-btn-text, #fff);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pcm-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.pcm-btn-accept {
    background: var(--pcm-accept-bg, var(--pcm-btn-bg, #28a745));
    color: var(--pcm-accept-text, var(--pcm-btn-text, #fff));
}

.pcm-btn-essential {
    background: var(--pcm-essential-bg, var(--pcm-btn-bg, #ffc107));
    color: var(--pcm-essential-text, var(--pcm-btn-text, #000));
}

.pcm-btn-decline {
    background: var(--pcm-decline-bg, var(--pcm-btn-bg, #dc3545));
    color: var(--pcm-decline-text, var(--pcm-btn-text, #fff));
}

@keyframes pcmFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pcmSlideUp {
    from {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

#pcm-consent-popup {
    animation: pcmFadeIn 0.3s ease-out;
}

.pcm-overlay .pcm-modal {
    animation: pcmSlideUp 0.3s ease-out;
}

@media (max-width: 600px) {
    .pcm-overlay .pcm-modal {
        width: 95%;
        max-width: none;
    }
    
    .pcm-quiet {
        left: 10px !important;
        right: 10px !important;
        max-width: none !important;
    }
    
    .pcm-actions {
        flex-direction: column;
    }
    
    .pcm-btn {
        width: 100%;
    }
}
