body {
  background: linear-gradient(135deg, #e0f7fa, #e8f5e9);
  font-family: "Microsoft YaHei", sans-serif;
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.forgot-card {
  width: 380px;
  max-width: 100%;
  padding: 30px 24px;
  border-radius: 15px;
  background: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.forgot-card h3 {
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: center;
  font-size: 24px;
}

.forgot-card .subtitle {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.form-group {
  position: relative;
  margin-bottom: 15px;
}

.form-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.form-control {
  border-radius: 10px;
  padding-left: 40px;
  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: #00796b;
  box-shadow: 0 0 0 0.2rem rgba(0, 121, 107, 0.25);
}

.verification-group {
  position: relative;
  display: flex;
  align-items: center;
}

.verification-group .form-control {
  padding-right: 120px;
}

.btn-send-code {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #00796b;
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  padding: 8px 12px;
  white-space: nowrap;
}

.btn-send-code:disabled {
  background: #999;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, #00796b, #00695c);
  border: none;
  border-radius: 10px;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00695c, #005a4f);
}

.forgot-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
}

.back-link {
  color: #00796b;
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

.toast-container {
  margin-top: 20px;
  width: 100%;
  max-width: 500px;
}

.toast {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: none;
  margin-bottom: 10px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast.alert-success {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
}

.toast.alert-error,
.toast.alert-danger {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
}

.toast.alert-warning {
  background: linear-gradient(135deg, #ff9800, #f57c00);
  color: white;
}

.toast.alert-info {
  background: linear-gradient(135deg, #2196f3, #1976d2);
  color: white;
}

.toast-body {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
}

.toast-body .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

@media (max-width: 576px) {
  body {
    align-items: flex-start;
    padding: 24px 16px;
  }

  .forgot-card {
    width: 100%;
    max-width: 420px;
    padding: 24px 18px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }

  .forgot-card h3 {
    font-size: 20px;
  }

  .forgot-card .subtitle {
    font-size: 13px;
  }

  .form-control {
    font-size: 16px;
  }

  .btn-primary {
    padding: 10px;
    font-size: 15px;
  }
}
