/**
 * Стили для уведомления о cookie
 * Компактная плашка в правом нижнем углу
 */

.cookie-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 380px;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-lg);
    z-index: 10000;
    padding: var(--spacing-lg);
    animation: slideInRight 0.4s ease-out;
}

.cookie-notice-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
}

.cookie-notice-text {
    flex: 1;
}

.cookie-notice-text p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-primary);
    line-height: 1.5;
}

.cookie-notice-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-end;
    min-width: 80px;
}

.cookie-notice-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 171, 130, 0.2);
}

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

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

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

/* Адаптивность */
@media (max-width: 576px) {
    .cookie-notice {
        bottom: 15px;
        right: 15px;
        left: 15px;
        max-width: none;
        padding: var(--spacing);
    }
    
    .cookie-notice-btn {
        align-self: stretch;
        width: 100%;
    }
}
