.cookie-consent {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 440px;
    padding: 20px 24px;
    background: #c81919;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

.cookie-consent__text a,
.cookie-consent__text a:hover,
.cookie-consent__text a:focus {
    color: #fff;
    text-decoration: underline;
}

.cookie-consent__text a:hover {
    text-decoration: none;
}

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

.cookie-consent__btn {
    box-sizing: border-box;
    min-width: 120px;
    margin: 0;
    padding: 9px 16px;
    border: 1px solid #fff;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-consent__btn--accept {
    background: #fff;
    color: #c81919;
}

.cookie-consent__btn--accept:hover,
.cookie-consent__btn--accept:focus {
    background: #f2f2f2;
    border-color: #f2f2f2;
}

.cookie-consent__btn--decline {
    background: transparent;
    color: #fff;
}

.cookie-consent__btn--decline:hover,
.cookie-consent__btn--decline:focus {
    background: #e31d1d;
}

@media (max-width: 767px) {
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        max-width: none;
        padding: 16px;
    }

    .cookie-consent__buttons {
        flex-direction: row;
    }

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

@media (prefers-reduced-motion: reduce) {
    .cookie-consent {
        transition: none;
    }
}
