/* reset-password.php - 页面样式（当前使用 style.css，此文件预留） */

.language-switch-container {
  display: none;
}

/* 自定义弹窗 - 风格与确认删除弹窗一致（居中、白底、圆角、警告图标） */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 480px;
  width: 100%;
  padding: 36px 32px;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.modal-overlay.is-open .modal-box {
  transform: scale(1);
}

.modal-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(220, 53, 69, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon {
  font-size: 42px;
  color: #dc3545;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.3;
}

.modal-message {
  font-size: 16px;
  color: #444;
  line-height: 1.55;
  margin-bottom: 28px;
  white-space: pre-line;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.modal-btn {
  min-width: 120px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.modal-btn:active {
  transform: scale(0.98);
}

.modal-btn-primary {
  background: linear-gradient(135deg, #56ccf2, #004ff9);
  color: #fff;
}

.modal-btn-primary:hover {
  background: linear-gradient(135deg, #45b8e0, #003dd4);
}
