/* Toast уведомления */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px) saturate(180%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateX(400px) scale(0.9);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  cursor: pointer;
}

.toast-show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.toast-hide {
  opacity: 0;
  transform: translateX(400px) scale(0.8);
}

.toast-icon {
  font-size: 18px;
  font-weight: bold;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.toast-message {
  flex: 1;
  line-height: 1.4;
}

/* Типы Toast */
.toast-success {
  border-color: rgba(67, 181, 129, 0.5);
}

.toast-success .toast-icon {
  background: rgba(67, 181, 129, 0.2);
  color: #43b581;
  text-shadow: 0 0 8px rgba(67, 181, 129, 0.8);
}

.toast-error {
  border-color: rgba(240, 71, 71, 0.5);
}

.toast-error .toast-icon {
  background: rgba(240, 71, 71, 0.2);
  color: #f04747;
  text-shadow: 0 0 8px rgba(240, 71, 71, 0.8);
}

.toast-info {
  border-color: rgba(0, 191, 255, 0.5);
}

.toast-info .toast-icon {
  background: rgba(0, 191, 255, 0.2);
  color: #00bfff;
  text-shadow: 0 0 8px rgba(0, 191, 255, 0.8);
}

.toast-warning {
  border-color: rgba(250, 166, 26, 0.5);
}

.toast-warning .toast-icon {
  background: rgba(250, 166, 26, 0.2);
  color: #faa61a;
  text-shadow: 0 0 8px rgba(250, 166, 26, 0.8);
}

.toast:hover {
  transform: translateX(-5px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

/* Мобильная адаптация */
@media (max-width: 480px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }
  
  .toast {
    min-width: auto;
    width: 100%;
  }
}
