consent-widget {
    all: initial;
    font-family: var(--text-font-family);
}

.consent-decided consent-widget {
    display: none !important;
}

consent-widget .backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9998;
}

consent-widget .panel {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: min(720px, calc(100% - 32px));
    background: #fff;
    border-radius: var(--cta-radius, 8px);
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
    z-index: 9999;
}

consent-widget h5 {
    margin: 0 0 8px;
    font-family: var(--title-font-family);
    font-size: var(--p-size, 8px);
}

consent-widget p {
    margin: 0 0 12px;
    color: var(--text-color, #666);
    line-height: 1.5;
    font-size: var(--small-size);
}

consent-widget .actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

consent-widget button {
    flex: 1;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    border: none;
}

consent-widget .deny-consent {
    background: #eee;
    color: #333;
}

consent-widget .accept-consent {
    background: var(--cta-secondary, #ff5c35);
    color: white;
}

@media (max-width: 648px) {
    consent-widget .actions {
        flex-direction: column;
    }
}