/* Iframe Embed Partial — Consent Overlay */

.iframe-embed .iframe-embed__container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.5rem;
}

.iframe-embed .iframe-embed__container iframe {
    display: block;
    border: 0;
}

/* Consent overlay — fills the container */
.iframe-embed .iframe-embed__consent {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(209, 213, 219, 0.6), rgba(156, 163, 175, 0.4));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(209, 213, 219, 0.5);
    border-radius: 0.5rem;
}

/* Frosted card in center */
.iframe-embed .iframe-embed__consent-card {
    text-align: center;
    max-width: 42rem;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.iframe-embed .iframe-embed__consent-icon {
    color: #6b7280;
    margin-bottom: 1rem;
}

.iframe-embed .iframe-embed__consent-icon svg {
    margin: 0 auto;
}

.iframe-embed .iframe-embed__consent-text {
    color: #374151;
    font-size: 0.938rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.iframe-embed .iframe-embed__readmore {
    display: inline-block;
    font-size: 0.813rem;
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-bottom: 1rem;
    transition: color 0.2s;
}

.iframe-embed .iframe-embed__readmore:hover {
    color: #1d4ed8;
}

.iframe-embed .iframe-embed__consent-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.iframe-embed .iframe-embed__remember-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.813rem;
    color: #6b7280;
    cursor: pointer;
}

.iframe-embed .iframe-embed__remember-label input[type="checkbox"] {
    accent-color: #2563eb;
}

.iframe-embed .iframe-embed__consent-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.75rem;
    background: #2563eb;
    color: #fff;
    font-size: 0.938rem;
    font-weight: 500;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.iframe-embed .iframe-embed__consent-btn:hover {
    background: #1d4ed8;
}
