.lk-cookie {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: flex;
    justify-content: center;
    padding: 0 1rem 1rem;
    pointer-events: none;
    font-family: Raleway, "Segoe UI", sans-serif;
    color: #f3f4f6;
}

.lk-cookie[hidden] {
    display: none !important;
}

body.lk-cookie-open {
    padding-bottom: var(--lk-cookie-offset, 7.5rem);
}

.lk-cookie__panel {
    position: relative;
    pointer-events: auto;
    width: min(68rem, 100%);
    background: rgba(18, 18, 18, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 1.5rem);
    overflow: hidden;
    transform: translateY(0.75rem);
    opacity: 0;
}

.lk-cookie.is-in .lk-cookie__panel {
    transform: none;
    opacity: 1;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.lk-cookie__accent {
    height: 0.1875rem;
    background: linear-gradient(90deg, #c44e12 0%, #f7641f 42%, #ff8a4c 100%);
}

.lk-cookie__bar {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.1rem 1.05rem;
}

.lk-cookie__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.lk-cookie__title {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
}

.lk-cookie__text {
    margin: 0;
    color: #b7bcc6;
    font-size: 0.84rem;
    line-height: 1.45;
}

.lk-cookie__text a {
    color: #f7641f;
    text-decoration: underline !important;
    text-underline-offset: 0.15em;
}

.lk-cookie__text a:hover {
    color: #ff8a4c;
}

.lk-cookie__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.lk-cookie__btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-radius: 0.375rem;
    padding: 0.62rem 0.95rem;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lk-cookie__btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
}

.lk-cookie__btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.lk-cookie__btn--primary {
    background: #f7641f;
    border-color: #f7641f;
    color: #fff;
}

.lk-cookie__btn--primary:hover {
    background: #ff7a3d;
    border-color: #ff7a3d;
}

.lk-cookie__prefs {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 1.1rem 1rem;
    overflow: auto;
}

.lk-cookie__prefs[hidden] {
    display: none !important;
}

.lk-cookie__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lk-cookie__name {
    display: block;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
}

.lk-cookie__hint {
    display: block;
    margin-top: 0.15rem;
    color: #9aa1ad;
    font-size: 0.78rem;
    line-height: 1.4;
}

.lk-cookie__switch {
    position: relative;
    width: 2.75rem;
    height: 1.55rem;
    flex: 0 0 auto;
}

.lk-cookie__switch input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.lk-cookie__switch input:disabled {
    cursor: not-allowed;
}

.lk-cookie__switch-ui {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.16);
    position: relative;
    pointer-events: none;
}

.lk-cookie__switch-ui::after {
    content: "";
    position: absolute;
    top: 0.16rem;
    left: 0.16rem;
    width: 1.12rem;
    height: 1.12rem;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.lk-cookie__switch input:checked + .lk-cookie__switch-ui {
    background: #f7641f;
    border-color: #f7641f;
}

.lk-cookie__switch input:checked + .lk-cookie__switch-ui::after {
    transform: translateX(1.18rem);
}

.lk-cookie__switch input:disabled + .lk-cookie__switch-ui {
    opacity: 0.72;
}

.lk-cookie__switch input:focus-visible + .lk-cookie__switch-ui {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.lk-cookie__pref-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding-top: 0.85rem;
}

.lk-cookie__close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.lk-cookie__close[hidden] {
    display: none !important;
}

.lk-cookie__close:hover {
    background: rgba(255, 255, 255, 0.14);
}

.lk-cookie.has-choice .lk-cookie__bar {
    padding-right: 2.6rem;
}

button.footerItem.lk-cookie-footer-btn {
    display: block;
    width: auto;
    margin: 0 0 0.625rem 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
    color: var(--footer-text, #b7bcc6);
}

button.footerItem.lk-cookie-footer-btn:hover {
    color: var(--footer-accent, #f7641f);
}

button.info-btn[data-lk-cookie-open] {
    cursor: pointer;
    font-family: inherit;
}

@media (max-width: 760px) {
    .lk-cookie {
        padding: 0 0.75rem 0.75rem;
    }

    .lk-cookie__bar {
        flex-direction: column;
        align-items: stretch;
        padding-right: 2.4rem;
    }

    .lk-cookie__actions {
        flex-direction: column;
    }

    .lk-cookie__btn {
        width: 100%;
    }

    .lk-cookie__accept {
        order: -1;
    }

    .lk-cookie__pref-actions {
        flex-direction: column;
    }

    .lk-cookie__pref-actions .lk-cookie__btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lk-cookie__panel,
    .lk-cookie.is-in .lk-cookie__panel,
    .lk-cookie__switch-ui::after,
    .lk-cookie__btn {
        transition: none;
    }
}
