/*
|--------------------------------------------------------------------------
| Forgot Password Page
|--------------------------------------------------------------------------
| Dedicated styles for the forgot password screen.
| This file mirrors the visual system used by login and register pages
| to preserve a unified authentication experience.
|--------------------------------------------------------------------------
*/

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 28%),
    radial-gradient(circle at bottom right, rgba(99, 102, 241, 0.20), transparent 30%),
    linear-gradient(180deg, #06101f 0%, #081223 100%);
  color: #e5e7eb;
}

/*
|--------------------------------------------------------------------------
| Auth Shell
|--------------------------------------------------------------------------
*/

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.10) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.28;
  pointer-events: none;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 60rem;
  padding: 42px 52px 34px;
  transform: scale(0.58);
  transform-origin: center;
  border-radius: 34px;
  border: 1px solid rgba(59, 130, 246, 0.12);
  background: linear-gradient(180deg, rgba(7, 17, 34, 0.96) 0%, rgba(6, 16, 31, 0.98) 100%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/*
|--------------------------------------------------------------------------
| Brand
|--------------------------------------------------------------------------
*/

.auth-header {
  margin-bottom: 26px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.auth-logo {
  width: 92px;
  height: auto;
  display: block;
}

.auth-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-brand-sub {
  font-size: 17px;
  letter-spacing: 0.18em;
  color: #9ca3af;
  text-transform: uppercase;
}

.auth-brand-title {
  font-size: 27px;
  font-weight: 700;
  color: #f3f4f6;
  line-height: 1.2;
}

.auth-title {
  margin: 0 14px 14px;
  font-size: 2.4rem;
  line-height: 1.05;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.03em;
}

.auth-description {
  max-width: 560px;
  margin: 0 14px 30px;
  font-size: 19px;
  line-height: 1.7;
  color: #a5b4fc;
}

/*
|--------------------------------------------------------------------------
| Form
|--------------------------------------------------------------------------
*/

.auth-group {
  margin-bottom: 26px;
}

.auth-group label {
  display: block;
  margin-bottom: 12px;
  margin-left: 12px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #cbd5e1;
}

.auth-input {
  position: relative;
}

.auth-input i {
  position: absolute;
  top: 50%;
  left: 22px;
  transform: translateY(-50%);
  font-size: 22px;
  color: #9ca3af;
  pointer-events: none;
}

.auth-input input {
  width: 100%;
  height: 86px;
  padding: 0 24px 0 68px;
  border: 1px solid rgba(59, 130, 246, 0.14);
  border-radius: 22px;
  background: rgba(2, 8, 23, 0.92);
  color: #e5e7eb;
  font-size: 22px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-input input::placeholder {
  color: #6b7280;
}

.auth-input input:focus {
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10);
  background: rgba(3, 12, 28, 0.98);
}

/*
|--------------------------------------------------------------------------
| Switch Link
|--------------------------------------------------------------------------
*/

.auth-switch {
  position: relative;
  z-index: 1;
  margin: 6px 0 24px 12px;
  font-size: 1.35rem;
  color: #9ca3af;
}

.auth-switch a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/*
|--------------------------------------------------------------------------
| Primary Button
|--------------------------------------------------------------------------
*/

.auth-button {
   width: 100%;
  height: 80px;
  border-radius: 12px;
  border: none;
  background: linear-gradient( 90deg, #4c86e8, #7275e9);
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all .25s ease;
}

.auth-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.35);
}

.auth-button:active {
  transform: translateY(0);
}

.auth-button i {
  font-size: 20px;
}

/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.auth-footer {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.login-footer__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: #9ca3af;
  font-size: 14px;
}

.login-footer__chip i {
  color: #9ca3af;
  font-size: 14px;
}

.auth-copy {
  font-size: 14px;
  color: #6b7280;
  text-align: right;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {
  .auth-page {
    padding: 24px 14px;
  }

  .auth-card {
    padding: 28px 22px 24px;
    border-radius: 26px;
  }

  .auth-brand {
    gap: 12px;
    margin-bottom: 24px;
  }

  .auth-logo {
    width: 70px;
  }

  .auth-brand-sub {
    font-size: 13px;
  }

  .auth-brand-title {
    font-size: 20px;
  }

  .auth-title {
    font-size: 42px;
  }

  .auth-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .auth-group {
    margin-bottom: 20px;
  }

  .auth-group label {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .auth-input i {
    left: 18px;
    font-size: 18px;
  }

  .auth-input input {
    height: 68px;
    padding-left: 56px;
    font-size: 18px;
    border-radius: 18px;
  }

  .auth-switch {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .auth-button {
    height: 72px;
    font-size: 18px;
    border-radius: 20px;
  }

  .auth-footer {
    margin-top: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-copy {
    text-align: left;
  }
}