/* Кастомные уведомления (Toast System) */

.notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification-toast {
    background-color: var(--4win-card-bg, #fff);
    border-radius: 12px;
    min-width: 320px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border: 1px solid var(--4win-border);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s;
    opacity: 0;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.notification-toast.show {
    transform: translateX(0);
    opacity: 1;
}

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

.notification-content {
    flex-grow: 1;
}

.notification-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--4win-text-main);
    display: block;
    margin-bottom: 2px;
}

.notification-message {
    font-size: 13px;
    color: var(--4win-text-muted);
    line-height: 1.4;
}

/* Типы уведомлений */
.notification-success .notification-icon {
    color: var(--4win-primary);
}

.notification-error .notification-icon {
    color: #ff4d4d;
}

.notification-info .notification-icon {
    color: #3498db;
}

/* Прогресс-бар затухания */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: rgba(0, 0, 0, 0.05);
    width: 100%;
}

.notification-progress-fill {
    height: 100%;
    width: 100%;
    background-color: currentColor;
    opacity: 0.3;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .notification-container {
        left: 15px;
        right: 15px;
        bottom: 85px; /* Выше мобильного таб-бара */
    }
    
    .notification-toast {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
}
