.lgpd-cookie-scope {
    --lgpd-accent: #1db770;
    --lgpd-accent-hover: #327a41;
    --lgpd-text: #252525;
    --lgpd-popup-bg: #ffffff;
    --lgpd-overlay: rgba(0, 0, 0, 0.45);
}

.lgpd-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: var(--lgpd-overlay);
    padding: 16px;
    align-items: flex-end;
    justify-content: center;
}

.lgpd-overlay.is-visible {
    display: flex;
}

.lgpdpopup {
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--lgpd-popup-bg);
    color: var(--lgpd-text);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.lgpdpopup > p {
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.lgpdpopup a {
    color: var(--lgpd-accent);
    font-weight: 600;
}

.lgpdpopup .cookieoptions {
    display: none;
    margin-bottom: 16px;
}

.lgpdpopup .cookieoptions.is-open {
    display: block;
}

.lgpdpopup .cookieoptions p {
    font-size: 0.875rem;
    line-height: 1.45;
    color: #444;
}

.lgpdpopup .form-check-input:checked {
    background-color: var(--lgpd-accent);
    border-color: var(--lgpd-accent);
}

.lgpdpopup .form-check-input:focus {
    border-color: var(--lgpd-accent);
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--lgpd-accent) 25%, transparent);
}

.lgpdpopup .lgpd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.lgpdpopup .lgpd-btn {
    border: none;
    border-radius: 100px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.lgpdpopup .lgpd-btn-primary {
    background: var(--lgpd-accent);
    color: #fff;
}

.lgpdpopup .lgpd-btn-primary:hover {
    background: var(--lgpd-accent-hover);
    color: #fff;
}

.lgpdpopup .lgpd-btn-outline {
    background: transparent;
    color: var(--lgpd-accent);
    border: 2px solid var(--lgpd-accent);
}

.lgpdpopup .lgpd-btn-outline:hover {
    background: color-mix(in srgb, var(--lgpd-accent) 12%, transparent);
}

@media (max-width: 576px) {
    .lgpdpopup .lgpd-actions {
        flex-direction: column;
    }

    .lgpdpopup .lgpd-btn {
        width: 100%;
    }
}
