.pca-consent[hidden],
.pca-consent [hidden],
.pca-consent-reopen[hidden],
.pca-consent-inline-button[hidden] {
    display: none !important;
}

.pca-consent {
    bottom: 18px;
    color: #18243a;
    left: 18px;
    max-height: calc(100vh - 36px);
    max-width: 560px;
    overflow-y: auto;
    position: fixed;
    right: 18px;
    z-index: 2147483000;
}

.pca-consent-panel {
    background: #fff;
    border: 1px solid #d9e0e9;
    border-radius: 14px;
    box-shadow: 0 18px 60px rgba(15, 28, 51, .24);
    padding: 18px;
}

.pca-consent-copy h2 {
    color: #18243a;
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 9px;
}

.pca-consent-copy p {
    color: #46556c;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 7px;
}

.pca-consent-policy {
    color: #284f80;
    display: inline-block;
    font-size: 14px;
    font-weight: 650;
    margin-top: 3px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pca-consent-actions,
.pca-consent-preference-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
}

.pca-consent-button,
.pca-consent-inline-button,
.pca-consent-reopen {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    min-height: 44px;
    padding: 10px 14px;
}

.pca-consent-button:focus-visible,
.pca-consent-inline-button:focus-visible,
.pca-consent-reopen:focus-visible,
.pca-consent input:focus-visible {
    outline: 3px solid #e8ad19;
    outline-offset: 2px;
}

.pca-consent-accept,
.pca-consent-save {
    background: #18345b;
    border: 2px solid #18345b;
    color: #fff;
}

.pca-consent-reject {
    background: #fff;
    border: 2px solid #18345b;
    color: #18345b;
}

.pca-consent-settings {
    background: #eef2f7;
    border: 2px solid #c5cfdd;
    color: #18345b;
}

.pca-consent-button:hover,
.pca-consent-inline-button:hover,
.pca-consent-reopen:hover {
    filter: brightness(.94);
}

.pca-consent-preferences {
    border-top: 1px solid #dfe4eb;
    margin-top: 18px;
    padding-top: 5px;
}

.pca-consent-category {
    align-items: center;
    border-bottom: 1px solid #e8ecf1;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 13px 2px;
}

.pca-consent-category strong,
.pca-consent-category span {
    display: block;
}

.pca-consent-category strong {
    color: #18243a;
    font-size: 15px;
    margin-bottom: 3px;
}

.pca-consent-category span {
    color: #5d697a;
    font-size: 13px;
    line-height: 1.45;
}

.pca-consent-category label {
    align-items: center;
    color: #34445c;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 7px;
    white-space: nowrap;
}

.pca-consent-category input {
    height: 20px;
    margin: 0;
    width: 20px;
}

.pca-consent-reopen {
    background: #fff;
    border: 2px solid #18345b;
    bottom: 14px;
    box-shadow: 0 6px 20px rgba(15, 28, 51, .16);
    color: #18345b;
    min-height: 38px;
    padding: 8px 11px;
    position: fixed;
    right: 14px;
    z-index: 2147482999;
}

.pca-consent-inline-button {
    background: #18345b;
    border: 2px solid #18345b;
    color: #fff;
}

[data-pca-consent][data-pca-kind] {
    display: none !important;
}

.pca-consent-embed-placeholder {
    align-items: center;
    background: #f3f5f8;
    border: 1px solid #d8dfe8;
    border-radius: 8px;
    color: #34445c;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    min-height: 220px;
    padding: 22px;
    text-align: center;
}

.pca-consent-embed-placeholder strong {
    color: #18243a;
    font-size: 16px;
}

.pca-consent-embed-placeholder span {
    max-width: 520px;
}

@media (max-width: 680px) {
    .pca-consent {
        bottom: 8px;
        left: 8px;
        max-height: calc(100vh - 16px);
        right: 8px;
    }

    .pca-consent-panel {
        border-radius: 10px;
        padding: 17px;
    }

    .pca-consent-actions,
    .pca-consent-preference-actions {
        grid-template-columns: 1fr;
    }

    .pca-consent-category {
        align-items: flex-start;
        grid-template-columns: 1fr;
        gap: 8px;
    }
}
