/**
 * Toast Notifications Styles
 * Минималистичные темные уведомления для Secret Voicer
 */

/* Контейнер для toast-уведомлений */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

/* Базовый стиль toast */
.toast {
    min-width: 250px;
    max-width: 400px;
    padding: 14px 18px;
    background: #2a2a2a;
    color: #ffffff;
    border-radius: 8px;
    border-left: 4px solid #666;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
    word-wrap: break-word;
}

/* Состояние "показан" */
.toast-show {
    opacity: 1;
    transform: translateY(0);
}

/* Типы toast-уведомлений */
.toast-success {
    border-left-color: #198754; /* Bootstrap success green */
}

.toast-error {
    border-left-color: #dc3545; /* Bootstrap danger red */
}

.toast-warning {
    border-left-color: #f8de5a; /* Желтый */
}

.toast-info {
    border-left-color: #0dcaf0; /* Bootstrap info cyan */
}

/* Hover эффект */
.toast:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
    transform: scale(1.02);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .toast-container {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }

    .toast {
        max-width: 100%;
        min-width: unset;
    }
}
