@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 */

  &::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;
  }

  /* 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 */

.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: 74px;

  padding: 0 2rem;

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

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

.headerInner a {
  color: rgba(
    255,
    255,
    255,
    0.7
  );

  font-size: 0.9rem;
  font-weight: 500;

  transition: 0.25s ease;

  &:hover {
    color: white;
  }
}

/* CONTENT */

.content {
  flex: 1;

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

  padding: 2rem;

  position: relative;
  z-index: 2;
}

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

/* COPY */

.copy {
  margin-bottom: 2rem;
}

.copy span {
  display: inline-flex;

  margin-bottom: 1rem;

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

  letter-spacing: 0.12em;

  color: #ffb703;
}

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

  font-weight: 600;

  color: white;

  margin-bottom: 0.85rem;
}

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

  font-size: 0.85rem;

  line-height: 1.7;

  margin: 0 auto;
}

/* FORM */

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

  gap: 1.5rem;
}

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

.field label {
  margin-bottom: 0.45rem;

  font-size: 0.85rem;
  font-weight: 500;

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

.field input {
  height: 3rem;

  font-size: 0.88rem;

  border-radius: 14px;
}

.field input::placeholder {
  font-size: 0.85rem;

  color: #e5e7eb;

  opacity: 0.6;
}

/* BUTTON */

.submitBtn {
  width: 100%;

  height: 3rem;

  border-radius: 14px;

  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: 0.25s ease;

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

/* STATUS */

.status {
  margin-bottom: 1rem;

  padding: 0.85rem 1rem;

  border-radius: 12px;

  background: rgba(
    34,
    197,
    94,
    0.12
  );

  border: 1px solid
    rgba(34, 197, 94, 0.2);

  color: #4ade80;

  font-size: 0.9rem;
}

/* FOOTER */

.footerText {
  margin-top: 1.5rem;

  text-align: center;

  font-size: 0.9rem;

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

/* MOBILE */

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

  .content {
    padding: 2rem 1.25rem;
  }

  .wrapper {
    max-width: 100%;
  }
}