.cookie-consent[hidden],
.cookie-consent__settings[hidden],
.cookie-consent__actions [hidden] {
    display: none;
}

.cookie-consent {
    position: fixed;
    z-index: 10001;
    right: 20px;
    bottom: 20px;
    width: min(520px, calc(100vw - 40px));
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: #101820;
    color: #f3f4f6;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    font: 15px/1.5 Inter, Arial, sans-serif;
}

.cookie-consent h2 {
    margin: 0 0 8px;
    color: #fff;
    font: 700 1.25rem/1.25 Outfit, Arial, sans-serif;
}

.cookie-consent p {
    margin: 0 0 16px;
}

.cookie-consent a {
    color: #ffb52e;
    text-decoration: underline;
}

.cookie-consent__settings {
    margin: 16px 0;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.cookie-consent__option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    cursor: pointer;
}

.cookie-consent__option input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #ffad19;
}

.cookie-consent__option strong,
.cookie-consent__option small {
    display: block;
}

.cookie-consent__option small,
.cookie-consent__note {
    color: #c4cbd2;
    font-size: 0.84rem;
}

.cookie-consent .cookie-consent__note {
    margin: 8px 0 0;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-consent__actions button {
    flex: 1 1 110px;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #ffad19;
    border-radius: 7px;
    background: #ffad19;
    color: #171717;
    font: 700 0.92rem/1.2 Inter, Arial, sans-serif;
    cursor: pointer;
}

.cookie-consent__actions button[data-action="reject"] {
    background: #ffad19;
    color: #171717;
}

.cookie-consent__actions button[data-action="preferences"] {
    background: #27333d;
    border-color: #87939e;
    color: #fff;
}

.cookie-consent__actions button:hover,
.cookie-consent__manage:hover {
    filter: brightness(1.12);
}

.cookie-consent__manage {
    position: fixed;
    z-index: 10000;
    bottom: 16px;
    left: 16px;
    padding: 8px 13px;
    border: 1px solid #ffad19;
    border-radius: 20px;
    background: #101820;
    color: #fff;
    font: 600 0.85rem Inter, Arial, sans-serif;
    cursor: pointer;
}

@media (max-width: 560px) {
    .cookie-consent {
        right: 10px;
        bottom: 10px;
        width: calc(100vw - 20px);
        padding: 17px;
    }

    .cookie-consent__manage {
        bottom: 10px;
        left: 10px;
    }
}
