/**
 * Стили для уведомления об использовании cookie
 */

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f4bc15;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.4s ease-out;
}

.cookie-notice.hide {
    animation: slideDown 0.4s ease-out forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-notice__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-notice__content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
    min-width: 250px;
}

.cookie-notice__icon {
    font-size: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.cookie-notice__text {
    color: #333333;
    margin: 0;
}

.cookie-notice__title {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.cookie-notice__description {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.95;
}

.cookie-notice__btn {
    flex-shrink: 0;
    padding: 12px 30px;
    background-color: #ffffff;
    color: #333333;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.cookie-notice__btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cookie-notice__btn:active {
    transform: translateY(0);
}

/* Адаптивный дизайн для мобильных устройств */
@media (max-width: 768px) {
    .cookie-notice {
        padding: 15px;
    }

    .cookie-notice__container {
        flex-direction: column;
        gap: 15px;
    }

    .cookie-notice__content {
        width: 100%;
    }

    .cookie-notice__btn {
        width: 100%;
        padding: 14px 20px;
    }

    .cookie-notice__icon {
        font-size: 28px;
        width: 36px;
        height: 36px;
    }

    .cookie-notice__title {
        font-size: 15px;
    }

    .cookie-notice__description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cookie-notice {
        padding: 12px;
    }

    .cookie-notice__icon {
        font-size: 24px;
        width: 32px;
        height: 32px;
    }

    .cookie-notice__title {
        font-size: 14px;
    }

    .cookie-notice__description {
        font-size: 12px;
    }

    .cookie-notice__btn {
        font-size: 13px;
        padding: 12px 16px;
    }
}
