.cookie-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 420px;
    padding: 18px 22px;
    background-color: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    z-index: 9999;
    display: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    line-height: 1.5;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

@keyframes fadeUp {
    from {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.cookie-notification.hiding {
    animation: fadeDown 0.4s forwards;
}

@keyframes fadeDown {
    to {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

.cookie-notification__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}

.cookie-notification__text {
    font-size: 14px;
    margin-bottom: 16px;
    color: #555;
}

.cookie-notification__button {
    width: 100%;
    padding: 12px 20px;
    background-color: #4361ee;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 0 !important;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 0 2px 5px rgba(67, 97, 238, 0.3);
}

.cookie-notification__button:hover {
    background-color: #3a56d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(67, 97, 238, 0.35);
}

.cookie-notification__button:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(67, 97, 238, 0.3);
}

.cookie-notification__link {
    color: #666;
    transition: color 0.2s;
}

.cookie-notification__link:hover {
    color: #4361ee;
    text-decoration: underline;
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    .cookie-notification {
        background-color: #222;
        border-color: rgba(255, 255, 255, 0.1);
    }

    .cookie-notification__title {
        color: #fff;
    }

    .cookie-notification__text {
        color: #bbb;
    }

    .cookie-notification__link {
        color: #aaa;
    }

    .cookie-notification__link:hover {
        color: #4361ee;
    }
}

/* Медиа-запросы для адаптивности */
@media (max-width: 480px) {
    .cookie-notification {
        bottom: 10px;
        width: calc(100% - 20px);
        padding: 16px 18px;
    }
}
