﻿.cookie-notice {
    position: fixed;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, var(--color-primary), #000000);
    color: var(--color-hero-text);
    padding: 14px 20px;
    font-size: 15px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    animation: slide-up 0.4s ease;
    width: fit-content;
    border-top-left-radius: 5px;
    max-width: 500px;
}

    .cookie-notice p {
        margin: 0;
        line-height: 1.4;
    }

    .cookie-notice a {
        color: #fece58;
        text-decoration: underline;
    }

        .cookie-notice a:hover {
            color: var(--color-hero-text);
        }

.cookie-close {
    background: transparent;
    border: none;
    color: var(--color-hero-text);
    font-size: 22px;
    cursor: pointer;
    margin-left: 10px;
    transition: color 0.2s;
}

    .cookie-close:hover {
        color: var(--color-accent);
    }

@keyframes slide-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 500px) {
    .cookie-notice {
        padding: 10px 14px;
        font-size: 14px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        animation: slide-down 0.4s ease;
        border-top-left-radius: unset;
    }

    @keyframes slide-down {
        from {
            transform: translateY(-100%);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .cookie-close {
        font-size: 20px;
    }
}
