.kda-consent[hidden],
.kda-cookie-settings[hidden] {
    display: none !important;
}

.kda-consent {
    position: fixed;
    z-index: 999999;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    max-width: 64rem;
    margin: 0 auto;
    padding: 1.15rem;
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 55px rgba(15, 23, 42, .2);
    color: #172033;
    gap: 1rem;
    align-items: stretch;
    flex-direction: column;
}

.kda-consent__copy > strong {
    display: block;
    margin-bottom: .35rem;
    font-size: 1.05rem;
}

.kda-consent__copy p {
    margin: 0 0 .35rem;
    line-height: 1.5;
}

.kda-consent__copy a {
    color: #3453d1;
    font-weight: 650;
}

.kda-consent__choices {
    display: grid;
    margin: 0;
    padding: 0;
    border: 0;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kda-consent__choice {
    display: flex;
    padding: .85rem;
    border: 1px solid rgba(38, 59, 133, .25);
    border-radius: .75rem;
    background: #f8faff;
    cursor: pointer;
    gap: .7rem;
    align-items: flex-start;
}

.kda-consent__choice input {
    width: 1.15rem;
    height: 1.15rem;
    margin: .15rem 0 0;
    accent-color: #263b85;
    flex: 0 0 auto;
}

.kda-consent__choice strong,
.kda-consent__choice small {
    display: block;
}

.kda-consent__choice strong {
    margin-bottom: .2rem;
}

.kda-consent__choice small {
    color: #46536b;
    line-height: 1.4;
}

.kda-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    justify-content: flex-end;
}

.kda-button,
.kda-inline-settings,
.kda-cookie-settings {
    min-height: 2.75rem;
    padding: .7rem 1rem;
    border: 1px solid #263b85;
    border-radius: .65rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    background: #fff;
    color: #263b85;
}

.kda-inline-settings,
.kda-cookie-settings {
    background: #fff;
    color: #263b85;
}

.kda-button:hover,
.kda-button:focus-visible,
.kda-inline-settings:hover,
.kda-inline-settings:focus-visible,
.kda-cookie-settings:hover,
.kda-cookie-settings:focus-visible {
    outline: 3px solid rgba(52, 83, 209, .25);
    outline-offset: 2px;
}

.kda-cookie-settings {
    position: fixed;
    z-index: 999998;
    right: auto;
    bottom: 1rem;
    left: 1rem;
    min-height: auto;
    padding: .45rem .7rem;
    border-color: rgba(38, 59, 133, .35);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
    color: #263b85;
    font-size: .82rem;
}

@media (max-width: 760px) {
    .kda-consent__choices {
        grid-template-columns: 1fr;
    }

    .kda-consent__actions {
        min-width: 0;
        flex-direction: column;
    }

    .kda-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kda-consent,
    .kda-button,
    .kda-cookie-settings {
        scroll-behavior: auto;
        transition: none;
    }
}
