/* ===== COMPONENTS STYLES ===== */
/**
 * @file: components/toast.css
 * @description: 토스트 컨테이너 스타일
 * @components: 토스트 컨테이너
 * @usage: 토스트 컨테이너 스타일링
 */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
}

.toast-message {
  background-color: #1a73e8;
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  animation: slideInUp 0.5s ease;
  max-width: 400px;
  min-width: 200px;
  pointer-events: auto;
  text-align: center;
  justify-content: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 0; /* 초기 z-index */
}

.toast-message.active {
  z-index: 1001; /* 활성화 시 z-index */
}

.toast-message.success {
  background-color: #34a853;
}

.toast-message.error {
  background-color: #ea4335;
}
