/* ==========================================================
   Charismafy - Forgot Password page
   Pairs visually with login.css (same fonts / palette)
   ========================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Comfortaa', sans-serif;
  background: linear-gradient(213.96deg, #8DD0D7 8.36%, #8DD7FF 90.37%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.page-wrap {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Brand Header ---------- */

.brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}

.arch {
  width: 210px;
  height: 130px;
  background: linear-gradient(180deg, #eab27f 0%, #e5a06a 100%);
  border-radius: 105px 105px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.arch-inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
}

.brand-name {
  font-family: 'Quicksand', serif;
  font-weight: 700;
  font-size: 28px;
  color: #fff35c;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  letter-spacing: 1px;
  margin-top: 14px;
}

.tagline {
  font-size: 14px;
  color: #1c2b4a;
  margin-top: 4px;
}

/* ---------- Card ---------- */

.fp-card {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 44px 34px;
  box-shadow: 4px 8px 10px 0px #0A254066;
  text-align: center;
  background: linear-gradient(158deg, #FFFFFF 25.62%, #E5E4E2 87.76%);
}

.fp-card h1 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #1c2b4a;
  margin-bottom: 14px;
}

.fp-subtitle {
  font-size: 14px;
  line-height: 1.55;
  color: #0A2540;
  max-width: 400px;
  margin: 0 auto 26px;
}

.form-msg {
  font-size: 12px;
  margin-bottom: 16px;
}

.error-msg {
  color: #FF4A5E;
}

.success-msg {
  color: #2fb380;
}

/* ---------- Input ---------- */

.fp-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input-group {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
}

.input-group input {
  width: 100%;
  height: 52px;
  border: 1px solid #0A254099;
  border-radius: 14px;
  padding: 0 44px 0 18px;
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  color: #1c2b4a;
  outline: none;
  transition: border-color 0.2s ease;
  background: #fafbfd;
}

.input-group input::placeholder {
  color: #a6adba;
}

.input-group input:focus {
  border-color: #5a9fdb;
  background: #fff;
}

.input-group.error input {
  border-color: #FF4A5E;
}

.input-group.error input::placeholder {
  color: #FF4A5E;
}

.input-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa4b4;
  font-size: 18px;
  pointer-events: none;
}

/* ---------- Button ---------- */

.reset-btn {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 26px;
  /* background: linear-gradient(180deg, #5b9df0 0%, #3d7fe0 100%); */
  color: #ffffff;
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  background: #2F80ED;
  box-shadow:
    1px 1px 2px 0px #FFFFFF4D inset,
    -1px -2px 2px 0px #FFFFFF1A inset,
    0px 0px 10px 0px #FFFFFF4D inset;

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.reset-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(61, 127, 224, 0.45);
}

.reset-btn:active {
  transform: translateY(0);
}

.back-to-login {
  margin-top: 18px;
  font-size: 14px;
  color: #1c2b4a;
}

.back-to-login a {
  color: #3d7fe0;
  text-decoration: underline;
  font-weight: 600;
}

/* ---------- Footer ---------- */

.fp-footer {
  margin-top: 26px;
  text-align: center;
}

.powered-by {
  font-size: 13px;
  color: rgba(28, 43, 74, 0.55);
}

.powered-by span {
  font-weight: 700;
  color: rgba(28, 43, 74, 0.75);
}

.footer-links {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: rgba(28, 43, 74, 0.45);
}

.footer-links a {
  color: rgba(28, 43, 74, 0.45);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .dot {
  margin: 0 8px;
}

/* ---------- Responsive ---------- */

@media (max-width: 480px) {
  .fp-card {
    padding: 32px 24px 28px;
  }

  .arch {
    width: 170px;
    height: 105px;
  }

  .brand-name {
    font-size: 22px;
  }
}

.input-icon svg {
   width: 20px;
   height: 20px;
   opacity: 0.6;
}