/* ========================================
   重置密码页面样式
   ======================================== */

/* 容器样式 */
.find-password-container {
  min-height: 100vh;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* 背景装饰 */
.find-password-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: backgroundMove 40s linear infinite;
}

@keyframes backgroundMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(40px, 40px);
  }
}

/* 卡片包裹容器 */
.find-password-card-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* 主卡片 */
.find-password-card {
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.1) !important;
  animation: cardFadeIn 0.6s ease;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #ffffff;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ========================================
   表单区域
   ======================================== */
.find-password-form-section {
  padding: 50px 40px;
}

.find-password-form-wrapper {
  width: 100%;
}

.find-password-form-header {
  text-align: center;
  margin-bottom: 40px;
}

.find-password-form-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.find-password-form-subtitle {
  font-size: 15px;
  color: #64748b;
  font-weight: 400;
  line-height: 1.6;
}

/* ========================================
   表单输入样式
   ======================================== */
.find-password-form {
  margin-top: 32px;
}

.find-password-input-group {
  margin-bottom: 24px;
}

.find-password-input-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.find-password-input-label .v-icon {
  color: #64748b;
}

.find-password-modern-input.v-text-field {
  font-size: 15px;
}

.find-password-modern-input .v-input__control {
  min-height: 48px !important;
}

.find-password-modern-input.v-text-field--outlined >>> .v-input__control .v-input__slot {
  min-height: 48px !important;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.find-password-modern-input.v-text-field--outlined >>> fieldset {
  border-color: #e2e8f0;
  border-width: 1.5px;
  transition: all 0.3s ease;
}

.find-password-modern-input.v-text-field--outlined:not(.v-input--is-focused):hover >>> fieldset {
  border-color: #cbd5e0;
  background: #ffffff;
}

.find-password-modern-input.v-text-field--outlined.v-input--is-focused >>> fieldset {
  border-color: #3b82f6;
  border-width: 2px;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.find-password-modern-input.v-text-field--outlined.v-input--is-focused >>> .v-input__slot {
  background: #ffffff;
}

.find-password-modern-input >>> input {
  font-size: 15px;
  color: #0f172a;
  padding-top: 2px;
}

.find-password-modern-input >>> input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* ========================================
   错误提示
   ======================================== */
.find-password-modern-alert {
  border-radius: 12px;
  font-size: 14px;
  border-left: 4px solid currentColor;
}

.find-password-modern-alert >>> .v-alert__content {
  font-weight: 500;
}

/* ========================================
   按钮样式
   ======================================== */
.find-password-submit-btn {
  height: 52px !important;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%) !important;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3) !important;
  text-transform: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  margin-bottom: 24px;
}

.find-password-submit-btn:hover {
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4) !important;
  transform: translateY(-2px);
}

.find-password-submit-btn:active {
  transform: translateY(0);
}

.find-password-submit-btn .btn-text {
  color: white;
  font-weight: 600;
}

.find-password-submit-btn >>> .v-icon {
  color: white;
}

/* ========================================
   底部链接
   ======================================== */
.find-password-footer-links {
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  font-size: 14px;
  color: #64748b;
}

.find-password-footer-links a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  margin-left: 8px;
}

.find-password-footer-links a:hover {
  color: #1e40af;
  text-decoration: underline;
}

/* ========================================
   成功状态样式
   ======================================== */
.find-password-success-section {
  padding: 50px 40px;
  text-align: center;
}

.find-password-success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: successPulse 0.6s ease;
}

@keyframes successPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.find-password-success-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.find-password-success-alert {
  border-radius: 12px;
  margin-bottom: 24px;
}

.find-password-success-alert >>> .v-alert__content {
  font-size: 15px;
  font-weight: 500;
}

.find-password-success-desc {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.6;
}

.find-password-success-footer {
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  font-size: 14px;
  color: #64748b;
}

.find-password-success-footer a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  margin-left: 8px;
}

.find-password-success-footer a:hover {
  color: #1e40af;
  text-decoration: underline;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 600px) {
  .find-password-container {
    padding: 10px;
  }

  .find-password-card {
    border-radius: 16px !important;
  }

  .find-password-form-section,
  .find-password-success-section {
    padding: 40px 24px;
  }

  .find-password-form-title,
  .find-password-success-title {
    font-size: 26px;
  }

  .find-password-form-subtitle,
  .find-password-success-desc {
    font-size: 14px;
  }

  .find-password-submit-btn {
    height: 48px !important;
    font-size: 15px !important;
  }

  .find-password-modern-input .v-input__control {
    min-height: 46px !important;
  }

  .find-password-modern-input.v-text-field--outlined >>> .v-input__control .v-input__slot {
    min-height: 46px !important;
  }

  .find-password-success-icon {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 400px) {
  .find-password-form-section,
  .find-password-success-section {
    padding: 32px 20px;
  }
}

/* ========================================
   动画效果
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.find-password-form-wrapper,
.find-password-success-section > * {
  animation: fadeInUp 0.6s ease backwards;
}

.find-password-form-header {
  animation-delay: 0s;
}

.find-password-form {
  animation-delay: 0.1s;
}

.find-password-footer-links {
  animation-delay: 0.2s;
}
