html,
body {
  width: 100%;

  min-height: 100%;

  overflow-x: hidden;

  height: 100%;
  overflow: hidden;
}

.forgot {
  min-height: 100svh;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 24px;

  overflow: hidden;
}

.forgot__background {
  position: absolute;

  inset: 0;

  overflow: hidden;

  pointer-events: none;
}

.symbol {
  position: absolute;

  color: rgba(37, 99, 235, 0.045);

  font-weight: 800;

  animation: float 16s ease-in-out infinite;
}

.s1 {
  top: 8%;
  left: 8%;
  font-size: 4rem;
}

.s2 {
  top: 10%;
  right: 10%;
  font-size: 4rem;
}

.s3 {
  top: 48%;
  left: 6%;
  font-size: 3.5rem;
}

.s4 {
  bottom: 10%;
  left: 14%;
  font-size: 3.8rem;
}

.s5 {
  bottom: 8%;
  right: 10%;
  font-size: 4rem;
}

.s6 {
  top: 58%;
  right: 10%;
  font-size: 3rem;
}

.s7 {
  top: 16%;
  left: 44%;
  font-size: 2.8rem;
}

.s8 {
  bottom: 28%;
  right: 34%;
  font-size: 3rem;
}

.s9 {
  bottom: 12%;
  left: 46%;
  font-size: 3rem;
}

.s10 {
  top: 30%;
  right: 18%;
  font-size: 2.6rem;
}

.s11 {
  bottom: 18%;
  left: 26%;
  font-size: 2.3rem;
}

.s12 {
  top: 36%;
  left: 24%;
  font-size: 2.3rem;
}

.s13 {
  top: 66%;
  right: 22%;
  font-size: 2.5rem;
}

.s14 {
  top: 14%;
  left: 24%;
  font-size: 2.4rem;
}

.forgot__card {
  position: relative;

  z-index: 5;

  background: #ffffff;

  border: #ffffff;

  width: 100%;

  width: 100%;
  max-width: 430px;

  padding: 24px;

  border-radius: 20px;

  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.05);

  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.06);

  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

.forgot__card::-webkit-scrollbar {
  width: 8px;
}

.forgot__card::-webkit-scrollbar-track {
  background: transparent;
}

.forgot__card::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

.forgot__card::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 14px;
  display: block;
  flex-shrink: 0;
}

.logo__icon {
  width: 42px;

  height: 42px;

  border-radius: 14px;

  background: #2563eb;

  color: var(--surface);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 1.05rem;

  font-weight: 800;

  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.18);
}

.logo__text {
  display: flex;

  flex-direction: column;
}

.logo__title {
  font-size: 1rem;

  font-weight: 800;

  color: #0f172a;
}

.logo__subtitle {
  font-size: 0.8rem;

  color: #64748b;
}

.header {
  margin-top: 22px;
}

.badge {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  height: 34px;

  padding: 0 16px;

  border-radius: 999px;

  background: rgba(37, 99, 235, 0.08);

  color: #2563eb;

  font-size: 0.78rem;

  font-weight: 700;
}

.header h1 {
  margin-top: 18px;

  font-size: 2rem;

  font-weight: 900;

  line-height: 1;

  letter-spacing: -0.04em;

  color: #0f172a;
}

.header p {
  margin-top: 10px;

  font-size: 0.94rem;

  line-height: 1.8;

  color: #64748b;
}

form {
  margin-top: 28px;
}

.field {
  display: flex;

  flex-direction: column;

  gap: 10px;
}

.field label {
  font-size: 0.84rem;

  font-weight: 700;

  color: #0f172a;
}

.field input {
  width: 100%;

  height: 58px;

  padding: 0 20px;

  border: 1px solid #d9e3f0;

  border-radius: 18px;

  background: #fff;

  color: #0f172a;

  font-size: 1rem;

  font-weight: 500;

  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}

.field input::placeholder {
  color: #94a3b8;
}

.field input:hover {
  border-color: #c6d4ea;
}

.field input:focus {
  outline: none;

  border-color: #2563eb;

  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.error {
  min-height: 8px;
  margin-top: 2px;

  font-size: 0.74rem;

  color: #dc2626;
}

.security-box {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-top: 8px;

  margin-bottom: 16px;

  padding: 12px 16px;

  border-radius: 16px;

  background: #f8fbff;

  border: 1px solid rgba(37, 99, 235, 0.1);
}

.security-box svg {
  width: 16px;

  height: 16px;

  flex-shrink: 0;

  color: #2563eb;
}

.security-box span {
  font-size: 0.82rem;

  line-height: 1.45;

  color: #64748b;
}

.submit-btn {
  width: 100%;

  height: 50px;

  margin-top: 22px;

  border-radius: 14px;

  font-size: 0.9rem;

  font-weight: 700;
}

.footer {
  margin-top: 26px;

  text-align: center;
}

.footer a {
  font-size: 0.84rem;

  font-weight: 600;

  color: #2563eb;

  transition: color 0.25s ease;
}

.footer a:hover {
  color: #1d4ed8;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cfd8e6;

  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b8c5d8;
}

.toast {
  position: fixed;

  top: 24px;
  right: 24px;

  width: 420px;
  max-width: calc(100vw - 32px);

  display: flex;
  align-items: flex-start;
  gap: 16px;

  padding: 18px;

  background: #ffffff;

  border-radius: 18px;

  border-left: 5px solid #2563eb;

  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.12),
    0 4px 12px rgba(15, 23, 42, 0.06);

  opacity: 0;
  visibility: hidden;

  transform: translateY(-20px);

  transition:
    opacity 0.3s,
    transform 0.3s,
    visibility 0.3s;

  z-index: 99999;
}

.toast.show {
  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}

.toast.success {
  border-left-color: #16a34a;
}

.toast.error {
  border-left-color: #dc2626;
}

.toast-icon {
  width: 46px;
  height: 46px;

  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 50%;

  background: #ecfdf5;

  color: #16a34a;

  font-size: 22px;
  font-weight: 700;

  flex-shrink: 0;
}

.toast.error .toast-icon {
  background: #fef2f2;

  color: #dc2626;
}

.toast-content {
  flex: 1;
}

.toast-content h4 {
  margin: 0;

  font-size: 16px;

  font-weight: 700;

  color: #0f172a;
}

.toast-content p {
  margin-top: 6px;

  color: #64748b;

  font-size: 14px;

  line-height: 1.6;
}

.toast-footer {
  margin-top: 12px;

  padding-top: 12px;

  border-top: 1px solid #eef2f7;

  color: #94a3b8;

  font-size: 13px;
}

.toast-close {
  width: 32px;
  height: 32px;

  border: none;

  background: transparent;

  border-radius: 10px;

  cursor: pointer;

  font-size: 22px;

  color: #94a3b8;

  transition: 0.25s;
}

.toast-close:hover {
  background: #f8fafc;

  color: #0f172a;
}

.cf-turnstile {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}


/* =========================================================
   BAC TRUTH — UNIVERSAL PAGE SCROLLBAR
   Matches the Quran page exactly.
   ========================================================= */
html,
body {
  scrollbar-width: thin;
  scrollbar-color: #b8bec8 transparent;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 5px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: #b8bec8;
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: #aab1bc;
}
