:root {
  --primary-color: #3949ab;
  --primary-light: #6f74dd;
  --primary-dark: #00227b;
  --text-dark: #333333;
  --text-light: #6c757d;
  --background: #f5f7fb;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 500px;
  width: 100%;
}

.forgot-password-card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-header {
  background-color: var(--white);
  padding: 25px 30px 0;
  text-align: center;
  border-bottom: none;
}

.card-body {
  padding: 20px 30px 30px;
}

.logo-container {
  margin-bottom: 10px;
}

.logo {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.logo i {
  color: var(--white);
  font-size: 2.5rem;
}

.title {
  color: var(--primary-color);
  margin-bottom: 5px;
  font-weight: 600;
}

.subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.reset-options {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.reset-option {
  flex: 1;
  background-color: var(--white);
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 20px 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.reset-option:hover {
  border-color: var(--primary-color);
  background-color: rgba(57, 73, 171, 0.05);
  transform: translateY(-3px);
}

.reset-option.active {
  border-color: var(--primary-color);
  background-color: rgba(57, 73, 171, 0.05);
}

.reset-option i {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}

.reset-option h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.reset-option p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

.form-label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-control {
  height: 38px;
  /* Reduced from 50px */
  border-radius: 8px;
  /* Slightly reduced from 10px for better proportion */
  border: 1px solid #e1e5eb;
  padding: 8px 15px;
  /* Adjusted padding */
  font-size: 15px;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(57, 73, 171, 0.15);
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  height: 38px;
  /* Reduced from 50px */
  border-radius: 8px;
  /* Slightly reduced from 10px for better proportion */
  font-size: 15px;
  /* Slightly reduced from 16px */
  font-weight: 500;
  transition: all 0.3s;
  margin-top: 10px;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.back-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--primary-color);
}

.alert {
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.method-forms {
  width: 100%;
}

#emailForm,
#securityForm {
  display: none;
}

@media (max-width: 576px) {
  .reset-options {
    flex-direction: column;
  }

  .container {
    padding: 0 10px;
  }

  .card-header,
  .card-body {
    padding-left: 20px;
    padding-right: 20px;
  }
}