body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f5f5f5;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: 0;
}

.form-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 50px;
  max-width: 500px;
  width: 100%;
}

.form-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-subtitle {
  color: #666;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #f8f9fa;
  width: 100%;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: none;
  background: white;
  outline: none;
}

.form-control::placeholder {
  color: #aaa;
}

.btn-primary {
  background: #000;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 1rem;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
}

.btn-primary.disabled,
.btn-primary:disabled {
  opacity: 0.65;
  pointer-events: none;
}

.btn-primary .spinner-border {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
  vertical-align: text-bottom;
}

.email-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  pointer-events: none;
}

.input-wrapper {
  position: relative;
}

.back-link {
  text-align: center;
  margin-top: 1.5rem;
}

.back-link a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-link a:hover {
  color: #0056b3;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .form-container {
    padding: 40px 30px;
    margin: 10px;
    border-radius: 15px;
  }

  .form-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  body {
    padding: 10px;
  }

  .form-container {
    padding: 30px 20px;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .form-control,
  .btn-primary {
    padding: 12px 15px;
    font-size: 15px;
  }
}
