@use "../../../styles/abstracts/variables" as *;

.reset {
  min-height: 100vh;

  background: linear-gradient(
    to bottom,
    #0b0d12,
    #05060a
  );

  color: #e5e7eb;

  font-family:
    $font-onest,
    "Instrument Sans",
    sans-serif;

  display: flex;
  flex-direction: column;

  position: relative;
  overflow: hidden;

  /* ======================================== */
  /* NOISE LAYER */
  /* ======================================== */

  &::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: 0.025;

    z-index: 0;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='white'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3Ccircle cx='45' cy='68' r='1'/%3E%3Ccircle cx='91' cy='27' r='1'/%3E%3Ccircle cx='136' cy='95' r='1'/%3E%3Ccircle cx='60' cy='150' r='1'/%3E%3Ccircle cx='168' cy='172' r='1'/%3E%3C/g%3E%3C/svg%3E");

    background-repeat: repeat;
  }

  /* ======================================== */
  /* SOFT GLOW */
  /* ======================================== */

  &::after {
    content: "";

    position: absolute;

    width: 900px;
    height: 900px;

    left: 50%;
    top: 45%;

    transform: translate(-50%, -50%);

    background: radial-gradient(
      circle,
      rgba(255, 183, 3, 0.04) 0%,
      rgba(255, 183, 3, 0.015) 35%,
      transparent 70%
    );

    pointer-events: none;

    z-index: 0;
  }
}

a {
  text-decoration: none;
}

.header,
.content {
  position: relative;
  z-index: 2;
}

.header {
  width: 100%;

  border-bottom: 1px solid
    rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(16px);

  background: rgba(
    5,
    6,
    10,
    0.75
  );

  position: sticky;
  top: 0;

  z-index: 100;
}

.headerInner {
  max-width: 1280px;

  margin: 0 auto;

  height: 72px;

  padding: 0 2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 140px;
  height: auto;
}

.content {
  flex: 1;

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

  padding: 3rem 1.5rem;
}

.wrapper {
  width: 100%;
  max-width: 460px;

  display: flex;
  flex-direction: column;
}

.copy {
  margin-bottom: 2.5rem;

  span {
    display: inline-flex;

    margin-bottom: 1rem;

    font-size: 0.75rem;
    font-weight: 600;

    letter-spacing: 0.12em;

    color: #ffb703;
  }

  h1 {
    font-size: 1.4rem;
    line-height: 1.1;

    font-weight: 600;

    color: white;

    margin-bottom: 0.85rem;
  }

  p {
    color: rgba(
      255,
      255,
      255,
      0.65
    );

    font-size: 0.85rem;

    line-height: 1.7;

    margin: 0 auto;
  }
}

.form {
  display: flex;
  flex-direction: column;

  gap: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
}

 input {
    height: 3rem; /* taller */
    font-size: .82rem;
    border-radius: 14px;

    &::placeholder {
      font-size: 0.8rem !important; /* smaller placeholder */
      opacity: 0.6;
      color: #e5e7eb;
    }
  }

.field label {
  margin-bottom: 0.45rem;

  font-size: 0.76rem;
  font-weight: 400;

  color: rgba(255, 255, 255, 0.8);
}

.passwordWrap {
  position: relative;

  input {
    padding-right: 3rem;
  }
}

.toggle {
  position: absolute;

  right: 1rem;
  top: 50%;

  transform: translateY(-50%);

  cursor: pointer;

  opacity: 0.6;

  transition: 0.2s ease;

  &:hover {
    opacity: 1;
  }
}

.submitBtn {
  width: 100%;

  height: 3rem;

  border-radius: 14px;

  margin-top: 0.5rem;

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

  gap: 0.6rem;

  font-weight: 600;

  background: linear-gradient(
    135deg,
    #ffb703,
    #f59e0b
  );

  color: #000;

  box-shadow:
    0 12px 35px
    rgba(
      255,
      183,
      3,
      0.25
    );

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;

  &:hover:not(:disabled) {
    transform: translateY(-1px);

    box-shadow:
      0 18px 45px
      rgba(
        255,
        183,
        3,
        0.35
      );
  }

  &:disabled {
    opacity: 0.7;

    cursor: not-allowed;
  }
}

.footerText {
  text-align: center;

  margin-top: 1rem;

  font-size: 0.9rem;

  color: rgba(
    255,
    255,
    255,
    0.65
  );
}

.status {
  margin-top: 1rem;

  text-align: center;

  color: #22c55e;

  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .headerInner {
    padding: 0 1rem;
  }

  .content {
    padding: 2rem 1.25rem;
  }

  .copy h1 {
    font-size: 1.6rem;
  }
}