/* トースト通知スタイル */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 320px;
}

.snackbar {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  margin-bottom: 10px;
  animation: fadeInUp 0.3s ease forwards;
  opacity: 0;
  transform: translateY(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  background-color: #202020;
  color: #fff;
}

.snackbar-content {
  display: flex;
  align-items: center;
  flex: 1;
}

.snackbar-icon {
  margin-right: 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.snackbar.success .snackbar-icon {
  color: #4caf50;
}

.snackbar.error .snackbar-icon {
  color: #f44336;
}

.snackbar-close {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  margin-left: 8px;
  opacity: 0.7;
}

.snackbar-close:hover {
  opacity: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
} 