/* Toast notification styles */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toast {
  min-width: 320px;
  max-width: 420px;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: toastIn 0.3s ease;
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
.toast.toast-out {
  animation: toastOut 0.3s ease forwards;
}
.toast-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}
.toast-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}
.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.toast-message {
  flex: 1;
}
.toast-title {
  font-weight: 600;
  margin-bottom: 2px;
}
.toast-desc {
  font-size: 13px;
  opacity: 0.8;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}
/* Form loading state */
.form-submit.is-loading {
  opacity: 0.7;
  pointer-events: none;
}
.form-submit.is-loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
