/**
 * Toast Notifications CSS
 * Всплывающие уведомления
 */

.theater-toast {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    max-width: 380px;
    width: calc(100% - 32px);
    padding: 12px 16px;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theater-toast.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.theater-toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.theater-toast-body {
    flex: 1;
    min-width: 0;
}

.theater-toast-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.3;
}

.theater-toast-action {
    flex-shrink: 0;
    background: var(--accent-gold);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.theater-toast-action:hover {
    filter: brightness(1.1);
}

.theater-toast-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    cursor: pointer;
    padding: 2px;
    line-height: 1;
}

.theater-toast.toast-success {
    border-color: rgba(76, 175, 80, 0.3);
}

.theater-toast.toast-warning {
    border-color: rgba(255, 152, 0, 0.3);
}
