/* ============================================
   One Music - 密码重置页样式
   主题色：#2196F3
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 420px;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(33, 150, 243, 0.15);
  padding: 40px 32px;
}

.logo {
  text-align: center;
  margin-bottom: 8px;
}

.logo img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
}

.title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #212121;
  margin-bottom: 32px;
}

.subtitle {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: #212121;
  margin-bottom: 16px;
}

.section {
  text-align: center;
}

.hidden {
  display: none;
}

.hint {
  color: #757575;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.form-group {
  text-align: left;
  margin-bottom: 16px;
}

.label {
  display: block;
  font-size: 14px;
  color: #616161;
  margin-bottom: 8px;
}

.input {
  width: 100%;
  height: 48px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 16px;
  color: #212121;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus {
  outline: none;
  border-color: #2196f3;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
}

.button {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: #2196f3;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.button:hover {
  background: #1976d2;
}

.button:disabled {
  background: #90caf9;
  cursor: not-allowed;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e3f2fd;
  border-top-color: #2196f3;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f44336;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 56px;
  text-align: center;
  margin: 0 auto 16px;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #4caf50;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 56px;
  text-align: center;
  margin: 0 auto 16px;
}

/* 移动端适配 */
@media (max-width: 480px) {
  .card {
    padding: 32px 24px;
  }
}