/* =========================================================
   LUPA PASSWORD PAGE - MODERN STYLES
   ========================================================= */

/* === Forgot Password Container === */
.forgot-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1rem;
}

.forgot-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(21, 128, 61, 0.1);
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.forgot-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 2rem 2rem 2.5rem;
  text-align: center;
  position: relative;
}

.forgot-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 40px;
  background: white;
  border-radius: 50% 50% 0 0;
}

.forgot-icon {
  width: 64px;
  height: 64px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.forgot-header h1 {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.forgot-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* === Form Body === */
.forgot-body {
  padding: 2.5rem 2rem 2rem;
}

/* === Alert Box === */
.alert-box {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.alert-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.alert-box .alert-icon {
  font-size: 1.1rem;
}

/* === Method Selection === */
.method-group {
  margin-bottom: 1.5rem;
}

.method-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--color-text-main);
  font-size: 0.9rem;
}

.method-options {
  display: flex;
  gap: 1rem;
}

.method-option {
  flex: 1;
  position: relative;
}

.method-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.method-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}

.method-option input[type="radio"]:checked + label {
  background: #ecfdf5;
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.method-option label:hover {
  border-color: #d1d5db;
}

.method-option .method-icon {
  font-size: 1.1rem;
}

/* === Form Group === */
.forgot-form .form-group {
  margin-bottom: 1.25rem;
}

.forgot-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text-main);
  font-size: 0.9rem;
}

.forgot-form .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--color-text-main);
  transition: all 0.2s ease;
  background: #fafafa;
}

.forgot-form .form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.1);
}

.forgot-form .form-input::placeholder {
  color: #9ca3af;
}

.forgot-form .form-hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* === Submit Button === */
.btn-submit {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.4);
}

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

/* === Footer Link === */
.forgot-footer {
  text-align: center;
  padding: 1.5rem 2rem 2rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.forgot-footer a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.forgot-footer a:hover {
  text-decoration: underline;
}

/* === Info Card === */
.info-notice {
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border: 1px solid #fef08a;
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.info-notice .info-title {
  font-weight: 700;
  color: #854d0e;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-notice p {
  font-size: 0.85rem;
  color: #713f12;
  margin: 0;
  line-height: 1.5;
}

/* === Responsive === */
@media (max-width: 480px) {
  .forgot-header {
    padding: 1.5rem 1.5rem 2rem;
  }

  .forgot-body {
    padding: 2rem 1.5rem 1.5rem;
  }

  .method-options {
    flex-direction: column;
    gap: 0.75rem;
  }
}
