.kc-consent[hidden],
.kc-consent [hidden] {
    display: none !important;
}

.kc-consent {
    position: fixed;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 1000;
    width: 44px;
    height: 44px;
    pointer-events: none;
    color: #222;
    text-align: start;
}

.kc-consent [data-consent-panel] {
    max-height: min(68vh, 34rem);
    overflow: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    width: min(25rem, calc(100vw - max(10px, env(safe-area-inset-left)) - max(10px, env(safe-area-inset-right))));
    pointer-events: auto;
    padding: .75rem;
    border: 1px solid #c2cfc7;
    border-radius: .65rem;
    background: #fff;
    box-shadow: 0 .25rem 1rem rgb(0 0 0 / 16%);
}

.kc-consent .kc-consent-question {
    margin: 0 0 .5rem;
    color: #263e33;
    font-size: .9375rem;
    line-height: 1.35;
}

.kc-consent a {
    color: #244639;
    text-decoration: underline;
}

.kc-consent fieldset {
    margin: .75rem 0;
    padding: 0;
}

.kc-consent legend {
    margin-block-end: .25rem;
    font-size: 1rem;
    font-weight: 600;
}

.kc-consent label {
    display: block;
    padding-block: .25rem;
}

.kc-consent .kc-consent-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.kc-consent button {
    min-height: 2.75rem;
    padding: .45rem .7rem;
    border: 1px solid #456055;
    border-radius: .3rem;
    background: #fff;
    color: #244639;
    font: inherit;
    cursor: pointer;
}

.kc-consent button:hover {
    background: #f1f6f3;
}

.kc-consent [data-consent-action="accept"] {
    background: #244c3d;
    border-color: #244c3d;
    color: #fff;
}

.kc-consent [data-consent-action="accept"]:hover {
    background: #173b2d;
}

.kc-consent .kc-consent-actions button {
    font-weight: 600;
}

.kc-consent .kc-consent-actions [aria-pressed="true"]::after {
    content: " ✓";
}

.kc-consent-options {
    margin-top: .5rem;
}

.kc-consent-options summary {
    cursor: pointer;
    color: #244639;
    text-decoration: underline;
}

.kc-consent [data-consent-open][aria-expanded="true"] {
    display: none;
}

.kc-consent :focus-visible {
    outline: 2px solid #244639;
    outline-offset: 2px;
}

.kc-consent [data-consent-open] {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-height: 0;
    padding: 0;
    border: 1px solid #c2cfc7;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgb(24 49 37 / 12%);
    pointer-events: auto;
}

.kc-consent [data-consent-open][aria-expanded="false"] {
    transform: translateY(var(--kc-privacy-offset, 0px));
}

.kc-consent[data-dock-right] {
    margin-left: auto;
}

.kc-consent[data-dock-right] [data-consent-panel] {
    left: auto;
    right: 0;
}

.kc-consent-lock {
    position: relative;
    box-sizing: border-box;
    width: 16px;
    height: 12px;
    margin-top: 6px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.kc-consent-lock::before {
    content: "";
    position: absolute;
    box-sizing: border-box;
    left: 1px;
    top: -9px;
    width: 10px;
    height: 8px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
}

.kc-consent .kc-consent-status {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 2rem);
    margin: 0;
    padding: .5rem .75rem;
    border-radius: .4rem;
    background: #244639;
    color: #fff;
    box-shadow: 0 2px 6px rgb(24 49 37 / 12%);
    font-size: .875rem;
    text-align: center;
    pointer-events: none;
}

.kc-consent-label,
.kc-consent .kc-consent-status:empty {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    margin: 0;
    padding: 0;
}
