.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 10040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 920px;
    margin: 0 auto;
    padding: 16px 20px;
    background: #fff;
    color: #0f172a;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.cookie-consent-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
}

.cookie-consent-actions {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}

.cookie-consent-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-consent-btn-reject {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.cookie-consent-btn-reject:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.cookie-consent-btn-allow {
    background: #1a6dff;
    border: 1px solid #1a6dff;
    color: #fff;
}

.cookie-consent-btn-allow:hover {
    background: #0052cc;
    border-color: #0052cc;
}

button.js-cookie-settings {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

button.js-cookie-settings:hover {
    text-decoration: underline;
}

html[dir="rtl"] .cookie-consent-actions {
    flex-direction: row-reverse;
}

@media (max-width: 720px) {
    .cookie-consent {
        flex-direction: column;
        align-items: stretch;
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 14px 16px;
    }

    .cookie-consent-actions {
        width: 100%;
    }

    .cookie-consent-btn {
        flex: 1;
    }
}
