/* Customer password reset page */

.page-password-reset {
  background: #eef1f5;
  min-height: 100vh;
}

.reset-hero-bg {
  background-image:
    linear-gradient(180deg, rgba(0, 26, 68, 0.25) 0%, rgba(0, 45, 114, 0.45) 50%, rgba(0, 26, 68, 0.65) 100%),
    url("../../assets/images/Aeroplane Scenary.jpg");
  background-size: cover;
  background-position: center center;
}

@media (min-width: 960px) {
  .reset-hero .login-hero-content {
    justify-content: flex-end;
  }
}

.page-password-reset .input-wrap {
  background: #f3f4f6;
  border-color: #e5e7eb;
}

.page-password-reset .input-wrap:focus-within {
  background: #fff;
}

.page-password-reset .form-input[readonly] {
  color: #6b7280;
  cursor: default;
}

.reset-field--hidden {
  display: none !important;
}

.reset-back-link {
  margin: 1.35rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.reset-back-sep {
  color: #9ca3af;
}

.login-error--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.reset-back-link a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.reset-back-link a:hover {
  text-decoration: underline;
}

.site-footer--reset {
  margin-top: 0;
  flex-shrink: 0;
  background: #e5e7eb;
  border-top: 1px solid #d1d5db;
  padding: 1.1rem 0;
}

.reset-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.reset-footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: #6b7280;
}

.reset-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.reset-footer-links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
}

.reset-footer-links a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* Success modal */
.reset-success-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.reset-success-modal--hidden {
  display: none;
}

.reset-success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.reset-success-panel {
  position: relative;
  width: min(440px, 100%);
  padding: 2rem 1.75rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  text-align: center;
}

.reset-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
}

.reset-success-title {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.reset-success-text {
  margin: 0 0 1.35rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #4b5563;
}

.reset-success-btn {
  width: 100%;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.reset-success-btn:hover {
  background: var(--navy-dark);
}
