/* Стили уведомлений - ПОЛНОСТЬЮ ЗАКОММЕНТИРОВАНО */

/*
Все стили уведомлений временно отключены
*/

/* Типы уведомлений */
.notification.success {
    border-left: 4px solid #4caf50;
}

.notification.success::before {
    content: "✓";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #4caf50;
    font-weight: bold;
    font-size: 16px;
}

.notification.error {
    border-left: 4px solid #f44336;
}

.notification.error::before {
    content: "✕";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #f44336;
    font-weight: bold;
    font-size: 16px;
}

.notification.warning {
    border-left: 4px solid #ff9800;
}

.notification.warning::before {
    content: "⚠";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff9800;
    font-weight: bold;
    font-size: 16px;
}

.notification.info {
    border-left: 4px solid #2196f3;
}

.notification.info::before {
    content: "ℹ";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #2196f3;
    font-weight: bold;
    font-size: 16px;
}

/* Заголовок уведомления */
.notification-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
    color: #202124;
    padding-left: 20px;
}

/* Сообщение уведомления */
.notification-message {
    font-size: 13px;
    color: #5f6368;
    line-height: 1.4;
    padding-left: 20px;
}

/* Кнопка закрытия */
.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 16px;
    color: #9aa0a6;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: #f1f3f4;
    color: #5f6368;
}

/* Прогресс-бар для автоскрытия */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow: hidden;
}

.notification-progress-bar {
    height: 100%;
    background: currentColor;
    width: 100%;
    transform: translateX(-100%);
    transition: transform linear;
}

.notification.success .notification-progress-bar {
    background: #4caf50;
}

.notification.error .notification-progress-bar {
    background: #f44336;
}

.notification.warning .notification-progress-bar {
    background: #ff9800;
}

.notification.info .notification-progress-bar {
    background: #2196f3;
}

/* Toast уведомления */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 24px;
    font-size: 14px;
    z-index: 1500;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(100px);
}

/* Уведомления с действиями */
.notification-with-actions {
    padding-bottom: 12px;
}

.notification-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-left: 20px;
}

.notification-actions .btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
    margin: 0;
    width: auto;
    flex: 1;
}

.notification-actions .btn-primary {
    background: #f65446;
    color: white;
    border: none;
}

.notification-actions .btn-secondary {
    background: transparent;
    color: #5f6368;
    border: 1px solid #dadce0;
}

/* Уведомления с иконками */
.notification-with-icon {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.notification-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.notification-content {
    flex: 1;
}

/* Уведомления с изображениями */
.notification-with-image {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-image {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Анимированные уведомления */
.notification.slide-in {
    animation: slideInRight 0.3s ease-out;
}

.notification.slide-out {
    animation: slideOutRight 0.3s ease-in;
}

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

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

/* Уведомления с пульсацией */
.notification.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 4px 20px rgba(246, 84, 70, 0.3);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
}

/* Уведомления с вибрацией */
.notification.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Группы уведомлений */
.notification-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-group .notification {
    margin-bottom: 0;
}

/* Уведомления в центре экрана */
.notification.center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    right: auto;
    margin: 0;
}

.notification.center.show {
    transform: translate(-50%, -50%) scale(1);
}

/* Адаптивность */
@media (max-width: 480px) {
    #notifications {
        right: 10px;
        left: 10px;
    }
    
    .notification {
        max-width: none;
        min-width: auto;
    }
    
    .toast {
        left: 20px;
        right: 20px;
        transform: translateY(100px);
        max-width: none;
    }
    
    .toast.show {
        transform: translateY(0);
    }
    
    .toast.hide {
        transform: translateY(100px);
    }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    .notification {
        background: #202124;
        color: white;
    }
    
    .notification-title {
        color: white;
    }
    
    .notification-message {
        color: #9aa0a6;
    }
    
    .notification-close:hover {
        background: #3c4043;
        color: white;
    }
    
    .toast {
        background: rgba(255, 255, 255, 0.9);
        color: #202124;
    }
}

/* Высокий контраст */
@media (prefers-contrast: high) {
    .notification {
        border-width: 2px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .notification-close {
        border: 1px solid currentColor;
    }
}

/* Уменьшенное движение */
@media (prefers-reduced-motion: reduce) {
    .notification,
    .toast {
        transition: none;
    }
    
    .notification-progress-bar {
        transition: none;
    }
    
    .notification.slide-in,
    .notification.slide-out,
    .notification.pulse,
    .notification.shake {
        animation: none;
    }
} 