.cw-cookie[hidden],
.cw-cookie__settings[hidden],
.cw-cookie__button[hidden] {
    display: none !important;
}

.cw-cookie {
    position: fixed;
    z-index: 99999;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.cw-cookie__panel {
    width: min(760px, 100%);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
    padding: 14px 16px;
    color: #0f172a;
    font-family: inherit;
    pointer-events: auto;
}

.cw-cookie__content {
    max-width: 100%;
}

.cw-cookie__eyebrow {
    margin: 0 0 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.cw-cookie__title {
    margin: 0 0 5px;
    font-size: 18px;
    line-height: 1.2;
    color: #0f172a;
}

.cw-cookie__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #334155;
}

.cw-cookie__links {
    margin: 7px 0 0;
    font-size: 13px;
    color: #475569;
}

.cw-cookie__links a,
.cw-cookie-settings-link {
    color: #0f766e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cw-cookie__settings {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.cw-cookie__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    padding: 10px 12px;
    background: #f8fafc;
}

.cw-cookie__option strong {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    color: #0f172a;
}

.cw-cookie__option p,
.cw-cookie__option small {
    display: block;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: #475569;
}

.cw-cookie__option input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    accent-color: #0f766e;
}

.cw-cookie__badge {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #e2e8f0;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #334155;
}

.cw-cookie__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

.cw-cookie__button,
.cw-cookie-settings-link {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.cw-cookie__button {
    padding: 9px 14px;
    font-size: 14px;
}

.cw-cookie__button--primary {
    background: #0f766e;
    color: #ffffff;
}

.cw-cookie__button--secondary {
    background: #e2e8f0;
    color: #0f172a;
}

.cw-cookie__button--ghost {
    background: transparent;
    color: #0f766e;
    box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.35);
}

.cw-cookie-settings-link {
    display: inline-flex;
    background: transparent;
    padding: 0;
}

@media (max-width: 640px) {
    .cw-cookie {
        right: 8px;
        bottom: 8px;
        left: 8px;
    }

    .cw-cookie__panel {
        max-height: calc(100vh - 16px);
        overflow: auto;
        border-radius: 14px;
        padding: 13px;
    }

    .cw-cookie__title {
        font-size: 17px;
    }

    .cw-cookie__text {
        font-size: 13px;
    }

    .cw-cookie__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cw-cookie__button {
        width: 100%;
        padding: 10px 12px;
    }

    .cw-cookie__button--primary {
        grid-column: 1 / -1;
    }
}
