.pk-site-consent[hidden] {
    display: none !important;
}

.pk-site-consent.is-minimized {
    pointer-events: none;
}

.pk-site-consent.is-minimized .pk-site-consent__backdrop,
.pk-site-consent.is-minimized .pk-site-consent__panel {
    display: none !important;
}

.pk-site-consent {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-family: Arial, sans-serif;
}

.pk-site-consent__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.pk-site-consent__panel {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: calc(100vh - 32px);
    overflow: auto;
    box-sizing: border-box;
    padding: 18px;
    border: 1px solid #D4DD4C;
    border-radius: 8px;
    background: #E7F1EC;
    color: #000000;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
}

.pk-site-consent__minimize {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 24px;
    box-sizing: border-box;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #ffffff;
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.pk-site-consent__restore {
    position: fixed;
    left: 50%;
    bottom: 10px;
    z-index: 1000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    pointer-events: auto;
    box-sizing: border-box;
    padding: 8px 14px;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #E7F1EC;
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

.pk-site-consent__restore[hidden] {
    display: none !important;
}

.pk-site-consent__main h2 {
    margin: 0 0 10px;
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.pk-site-consent__main p {
    margin: 8px 0;
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
}

.pk-site-consent__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 12px 0;
}

.pk-site-consent__links a,
.pk-cookie-settings-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 6px 9px;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #ffffff;
    color: #000000 !important;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
}

.pk-site-consent__settings {
    display: grid;
    gap: 8px;
    margin: 12px 0;
}

.pk-site-consent__settings[hidden] {
    display: none !important;
}

.pk-site-consent__option {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 8px;
    align-items: start;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #ffffff;
    color: #000000;
}

.pk-site-consent__option input {
    margin-top: 2px;
}

.pk-site-consent__option strong,
.pk-site-consent__option small {
    display: block;
    color: #000000;
    font-family: Arial, sans-serif;
}

.pk-site-consent__option strong {
    font-size: 14px;
    font-weight: 700;
}

.pk-site-consent__option small {
    margin-top: 3px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

.pk-site-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
}

.pk-site-consent__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid #D4DD4C;
    border-radius: 5px;
    background: #ffffff;
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.pk-site-consent__button--primary {
    background: #D4DD4C;
}

body.pk-site-consent-locked {
    overflow: hidden;
}

@media (max-width: 600px) {
    .pk-site-consent {
        align-items: flex-end;
        padding: 10px;
    }

    .pk-site-consent__panel {
        padding: 14px;
    }

    .pk-site-consent__restore {
        left: 10px;
        right: 10px;
        width: auto;
        transform: none;
    }

    .pk-site-consent__actions,
    .pk-site-consent__links {
        flex-direction: column;
    }

    .pk-site-consent__button,
    .pk-site-consent__links a,
    .pk-cookie-settings-button {
        width: 100%;
    }
}
