.cookie-consent {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9998;
    box-sizing: border-box;
    padding: 14px 20px;
    color: #334155;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(1, 58, 107, 0.12);
    box-shadow: 0 -8px 32px rgba(1, 58, 107, 0.08);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent.show {
    transform: translateY(0);
}

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

.cookie-consent,
.cookie-consent * {
    box-sizing: border-box;
}

.cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto;
    gap: 24px;
}

.cookie-consent__text {
    flex: 1;
    min-width: 0;
}

.cookie-consent__title {
    margin: 0 0 4px;
    color: #004e8d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.cookie-consent__desc {
    margin: 0;
    color: #475569;
    font-size: 11.5px;
    line-height: 1.6;
}

.cookie-privacy-link {
    color: #004e8d;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-privacy-link:hover,
.cookie-privacy-link:focus {
    color: #C1134E;
}

.cookie-consent__buttons {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 170px;
    gap: 8px;
}

.cookie-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    margin: 0;
    padding: 0 12px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.cookie-btn--accept {
    color: #fff;
    background: #C1134E;
    border: 1px solid #C1134E;
    box-shadow: 0 2px 8px rgba(193, 19, 78, 0.15);
}

.cookie-btn--accept:hover,
.cookie-btn--accept:focus {
    background: #a50f41;
    border-color: #a50f41;
    box-shadow: 0 4px 12px rgba(193, 19, 78, 0.25);
    transform: translateY(-1px);
}

.cookie-btn--reject {
    color: #64748b;
    background: transparent;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.cookie-btn--reject:hover,
.cookie-btn--reject:focus {
    color: #334155;
    background: rgba(100, 116, 139, 0.04);
    border-color: #64748b;
}

#scrollFloating.cookie-banner-active,
#bottomActionBar.cookie-banner-active,
.bg-floating.cookie-banner-active,
.floating.cookie-banner-active,
.fixed-bottom.cookie-banner-active {
    bottom: 112px !important;
}

body.cookie-banner-active {
    padding-bottom: 112px;
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 12px 14px;
    }

    .cookie-consent__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cookie-consent__buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 8px;
    }

    .cookie-btn {
        height: 38px;
        padding: 0 8px;
        font-size: 12px;
    }

    #scrollFloating.cookie-banner-active,
    #bottomActionBar.cookie-banner-active,
    .bg-floating.cookie-banner-active,
    .floating.cookie-banner-active,
    .fixed-bottom.cookie-banner-active {
        bottom: 126px !important;
    }

    body.cookie-banner-active {
        padding-bottom: 126px;
    }
}
