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

.budkosht-cookie-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 100000;
    width: min(720px, calc(100% - 40px));
    max-height: calc(100dvh - 40px);
    margin: 0 auto;
    overflow-y: auto;
    padding: 24px;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 12px 50px rgba(15, 23, 42, .2);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
}

.budkosht-cookie-banner h2 {
    margin: 0 0 8px;
    font-size: 21px;
    line-height: 1.3;
}

.budkosht-cookie-banner p {
    margin: 0 0 12px;
    color: #475569;
}

.budkosht-cookie-banner a {
    color: #0f56c7;
    text-decoration: underline;
}

.budkosht-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.budkosht-cookie-banner button {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #1367e8;
    border-radius: 10px;
    background: #fff;
    color: #0f56c7;
    font: inherit;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}

.budkosht-cookie-banner button[data-budkosht-consent="accept"],
.budkosht-cookie-banner button[data-budkosht-consent="reject"] {
    flex: 1 1 160px;
}

.budkosht-cookie-banner button:hover {
    background: #eff6ff;
}

.budkosht-cookie-banner button:focus-visible,
.budkosht-cookie-banner input:focus-visible,
.budkosht-cookie-settings:focus-visible {
    outline: 3px solid #1367e8;
    outline-offset: 3px;
}

#budkoshtCookieDetails {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

#budkoshtCookieDetails label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    cursor: pointer;
}

#budkoshtCookieDetails input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: #1367e8;
}

.budkosht-cookie-settings {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 520px) {
    .budkosht-cookie-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: calc(100% - 24px);
        max-height: calc(100dvh - 24px);
        padding: 18px;
        border-radius: 14px;
    }

    .budkosht-cookie-banner__actions > button {
        flex: 1 1 100%;
        width: 100%;
    }
}
