.forgot-page {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
}

.forgot-page::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .14);
  left: -260px;
  top: -260px;
}

.forgot-page::after {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: rgba(59, 130, 246, .18);
  right: -260px;
  bottom: -280px;
}

.forgot-center {
  width: min(460px, 100%);
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.forgot-form {
  width: 100%;
  display: grid;
  gap: 18px;
  padding: 38px;
  background: linear-gradient(145deg, rgba(219, 234, 254, .62), rgba(239, 246, 255, .38));
  border: 1px solid rgba(147, 197, 253, .75);
  border-radius: 32px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .13), inset 0 1px 0 rgba(255, 255, 255, .55);
  backdrop-filter: blur(24px);
}

.form-head {
  text-align: center;
  margin-bottom: 4px;
}

.form-head .icon {
  width: 66px;
  height: 66px;
  border-radius: 24px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
  color: #fff;
  font-size: 25px;
  box-shadow: 0 18px 34px rgba(37, 99, 235, .25);
}

.form-head h1 {
  margin: 0;
  color: var(--dark);
  font-size: 25px;
  font-weight: 950;
  letter-spacing: -.5px;
}

.form-head p {
  margin: 10px auto 0;
  max-width: 340px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 650;
}

.form-group label {
  display: block;
  color: #1e293b;
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 8px;
}

.info-box {
  display: flex;
  gap: 11px;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(239, 246, 255, .58);
  border: 1px solid rgba(147, 197, 253, .48);
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

.info-box i {
  color: var(--primary);
  margin-top: 2px;
}

.forgot-form form {
  width: 100%;
  display: grid;
  gap: 18px;
}

.reset-btn {
  width: 100%;
  height: 60px;
  border: none;
  border-radius: 19px;
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 18px 34px rgba(37, 99, 235, .25);
  transition: .22s;
  margin-top: 4px;
}

.reset-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(37, 99, 235, .32);
}

.reset-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.back-login {
  width: 100%;
  height: 52px;
  border-radius: 17px;
  border: 1px solid rgba(147, 197, 253, .78);
  background: rgba(239, 246, 255, .52);
  color: #334155;
  cursor: pointer;
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: .2s;
}

.back-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
  color: var(--primary);
  background: rgba(255, 255, 255, .44);
}

.forgot-footer {
  margin-top: 22px;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
}

.forgot-footer a {
  color: var(--primary);
  font-weight: 900;
}

.method-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:4px;
  border-radius:16px;
  background:rgba(239,246,255,.72);
  border:1px solid rgba(147,197,253,.55);
}
.method-tab{
  border:none;
  background:transparent;
  border-radius:12px;
  height:44px;
  font-weight:900;
  font-size:13px;
  color:#64748b;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition:.18s;
}
.method-tab.is-active{
  background:linear-gradient(135deg,#1d4ed8,#60a5fa);
  color:#fff;
  box-shadow:0 10px 22px rgba(37,99,235,.22);
}
.method-panel{display:grid;gap:18px;}
.phone-step{display:grid;gap:14px;}
.method-panel[hidden],.phone-step[hidden]{display:none!important;}
.ghost-btn{
  width:100%;
  height:46px;
  margin-top:4px;
  border-radius:14px;
  border:1px solid rgba(147,197,253,.7);
  background:rgba(255,255,255,.45);
  color:#334155;
  font-weight:850;
  font-size:13px;
  cursor:pointer;
  transition:.18s;
}
.ghost-btn:hover{color:var(--primary);transform:translateY(-1px);}

@media (max-width: 920px) {
  .forgot-page {
    min-height: 100vh;
    height: auto;
  }

  .forgot-center {
    margin: 50px 0;
  }
}

@media (max-width: 560px) {
  .forgot-page {
    padding: 18px;
  }

  .forgot-form {
    padding: 24px;
    border-radius: 26px;
  }
}
