/* ===== Forgot Password Wrapper ===== */
.forgot-wrapper {
  max-width: 1100px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background: rgba(10, 17, 49, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  min-height: 520px;
}

/* ===== Left Side: Image ===== */
.forgot-image-side {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 0 !important;
}

.forgot-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.forgot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.forgot-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem;
  background: linear-gradient(transparent, rgba(0, 8, 40, 0.9));
  text-align: center;
}

.forgot-image-overlay h3 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.forgot-image-overlay p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== Right Side: Form ===== */
.forgot-form-side {
  padding: 2.5rem 2.5rem;
  display: flex;
  align-items: center;
  min-height: 520px;
}

.forgot-form-wrapper {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

/* Form Header */
.forgot-header {
  margin-bottom: 1.8rem;
}

.forgot-title {
  font-weight: 800;
  font-size: 2.2rem;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 0.3rem;
}

.forgot-title .highlight {
  color: #8ab4f8;
}

.forgot-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  margin: 0;
}

/* Form Groups */
.forgot-form .form-group {
  margin-bottom: 1.5rem;
}

.forgot-form .form-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.forgot-form .input-group {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.forgot-form .input-group:focus-within {
  border-color: rgba(138, 180, 248, 0.3);
  box-shadow: 0 0 0 3px rgba(83, 100, 247, 0.08);
}

.forgot-form .input-group-text {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  padding: 0.7rem 1rem;
  font-size: 1rem;
}

.forgot-form .form-control {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 0.7rem 0.5rem;
  font-size: 0.95rem;
}

.forgot-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.forgot-form .form-control:focus {
  box-shadow: none;
  background: transparent;
}

/* Info Text */
.forgot-info {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding: 0.8rem 1rem;
  background: rgba(138, 180, 248, 0.04);
  border: 1px solid rgba(138, 180, 248, 0.06);
  border-radius: 10px;
}

.forgot-info i {
  color: #8ab4f8;
  margin-right: 0.5rem;
}

/* ===== Reset Button ===== */
.reset-btn {
  background: linear-gradient(135deg, #5364f7, #8ab4f8);
  border: none;
  border-radius: 60px;
  padding: 0.8rem;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  transition: all 0.3s;
}

.reset-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 25px rgba(83, 100, 247, 0.4);
  color: #ffffff;
}

.forgot-footer-text {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1.2rem;
}

.forgot-link {
  color: #8ab4f8;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.forgot-link:hover {
  color: #6a9ad8;
  text-decoration: underline;
}

/* ===== Success Message ===== */
.success-message {
  display: none;
  text-align: center;
  padding: 1.5rem;
}

.success-message .success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.1);
  border: 2px solid rgba(74, 222, 128, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  font-size: 2rem;
  color: #4ade80;
}

.success-message h4 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.success-message p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .forgot-wrapper {
	border-radius: 20px;
  }
  
  .forgot-image-side {
	min-height: 220px;
  }
  
  .forgot-image-wrapper {
	min-height: 220px;
  }
  
  .forgot-form-side {
	padding: 2rem;
	min-height: auto;
  }
  
  .forgot-title {
	font-size: 1.8rem;
  }
  
  .forgot-image-overlay h3 {
	font-size: 1.2rem;
  }
  
  .forgot-image-overlay p {
	font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .forgot-wrapper {
	border-radius: 16px;
  }
  
  .forgot-image-side {
	min-height: 180px;
  }
  
  .forgot-image-wrapper {
	min-height: 180px;
  }
  
  .forgot-image-overlay {
	padding: 1.2rem 1.5rem;
  }
  
  .forgot-image-overlay h3 {
	font-size: 1rem;
  }
  
  .forgot-image-overlay p {
	font-size: 0.8rem;
  }
  
  .forgot-form-side {
	padding: 1.5rem;
  }
  
  .forgot-title {
	font-size: 1.5rem;
  }
  
  .forgot-subtitle {
	font-size: 0.85rem;
  }
  
  .forgot-form .form-control {
	font-size: 16px;
  }
  
  .forgot-info {
	font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .forgot-wrapper {
	border-radius: 12px;
  }
  
  .forgot-image-side {
	min-height: 140px;
  }
  
  .forgot-image-wrapper {
	min-height: 140px;
  }
  
  .forgot-image-overlay {
	padding: 0.8rem 1rem;
  }
  
  .forgot-image-overlay h3 {
	font-size: 0.9rem;
  }
  
  .forgot-image-overlay p {
	font-size: 0.7rem;
  }
  
  .forgot-form-side {
	padding: 1rem;
  }
  
  .forgot-title {
	font-size: 1.3rem;
  }
  
  .forgot-subtitle {
	font-size: 0.8rem;
  }
  
  .reset-btn {
	font-size: 0.9rem;
	padding: 0.7rem;
  }
  
  .forgot-footer-text {
	font-size: 0.8rem;
  }
  
  .forgot-info {
	font-size: 0.75rem;
	padding: 0.6rem 0.8rem;
  }
}