/* ============================================
   Toast-уведомления
   Файл: css/toast.css
   ============================================ */

.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 400px;
}

.toast {
    min-width: 250px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
    word-wrap: break-word;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Типы уведомлений */
.toast.success { background-color: #4CAF50; }
.toast.error   { background-color: #dc3545; }
.toast.info    { background-color: #004d80; }
.toast.warning { background-color: #ff9900; }

/* Мобильная версия */
@media (max-width: 480px) {
    .toast-container {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
    .toast {
        min-width: auto;
        max-width: 100%;
        padding: 12px 16px;
        font-size: 13px;
    }
}