.cookie-consent {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    width: min(390px, calc(100vw - 36px));
    background: #ffffff;
    color: #0e0f1a;
    border: 1px solid rgba(14, 15, 26, 0.08);
    border-radius: 8px;
    box-shadow: 0 18px 55px rgba(16, 24, 40, 0.18);
    padding: 18px;
    font-family: "Urbanist", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

.cookie-consent__body {
    margin: 0;
    color: #5c606b;
    font-size: 15px;
    line-height: 1.5;
}

.cookie-consent__status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 12px 0 0;
    border-radius: 999px;
    background: #f6f7f9;
    color: #5c606b;
    padding: 7px 10px;
    font-size: 13px;
    line-height: 1.25;
}

.cookie-consent__status strong {
    color: #0e0f1a;
    font-weight: 700;
}

.cookie-consent__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

.cookie-consent__btn {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    padding: 0 16px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-consent__btn--primary {
    background: #ffb950;
    color: #111111;
}

.cookie-consent__btn--secondary {
    background: #eef1f5;
    color: #3f4350;
}

.cookie-consent__btn.is-selected {
    box-shadow: 0 0 0 3px rgba(255, 185, 80, 0.34);
}

.cookie-consent__btn:focus-visible {
    outline: 3px solid rgba(255, 185, 80, 0.45);
    outline-offset: 2px;
}

.cookie-consent-toggle {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 9998;
    min-height: 34px;
    border: 1px solid rgba(14, 15, 26, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: #3f4350;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.12);
    padding: 0 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-consent-toggle:focus-visible {
    outline: 3px solid rgba(255, 185, 80, 0.45);
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .cookie-consent {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
    }

    .cookie-consent__actions {
        flex-direction: column;
    }

    .cookie-consent__btn {
        width: 100%;
    }

    .cookie-consent-toggle {
        right: 12px;
        bottom: 12px;
    }
}
