#cookie-alert {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
}

#cookie-alert.cookie-alert--bottom {
    bottom: 40px;
}

#cookie-alert.cookie-alert--top {
    top: 0;
    bottom: auto;
    animation: slideDown 0.3s ease-out;
}

#cookie-alert-btn {
    font-size: 18px;
    max-width: 220px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 13px 10px;
}

#cookie-alert.cookie-alert--bottom-left {
    left: 0;
    right: auto;
    max-width: 400px;
    border-radius: 8px;
}

#cookie-alert.cookie-alert--bottom-right {
    right: 0;
    left: auto;
    max-width: 400px;
    border-radius: 8px;
}

.cookie-alert__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 940px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    font-size: 18px;
    border: 1px solid rgba(255, 221, 45, 1);
    border-radius: 16px;
    padding: 32px;
}

.cookie-alert__message {
    flex: 1;
    font-size: 18px;
    min-width: 0;
}

.cookie-alert__button {
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.cookie-alert__button:hover {
    opacity: 0.9;
}

.cookie-alert__button:active {
    opacity: 0.8;
}

.cookie-alert--hidden {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    #cookie-alert {
        padding: 15px;
    }

    .cookie-alert__content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 15px;
    }

    .cookie-alert__message {
        font-size: 16px;
        text-align: center;
    }

    .cookie-alert__message br {
        display: none;
    }

    .cookie-alert__button {
        width: 100%;
        padding: 12px 20px;
    }

    #cookie-alert.cookie-alert--bottom-left,
    #cookie-alert.cookie-alert--bottom-right {
        left: 0;
        right: 0;
        max-width: 100%;
    }

    #cookie-alert-btn {
        max-width: none;

    }

    #cookie-alert.cookie-alert--bottom {
        bottom: 20px;
    }
}