
/* ========================================
   AXVIA PASSWORD RESET PAGE
======================================== */

* {
  box-sizing: border-box;
}

.reset-page {
  min-height: 100vh;
  margin: 0;
  padding: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    180deg,
    #101119 0%,
    #0c0d12 100%
  );

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}


/* ========================================
   RESET CONTAINER
======================================== */

.reset-container {
  width: 100%;
  max-width: 440px;

  padding: 44px 42px;

  background: #151820;
  border: 1px solid #292d39;
  border-radius: 18px;

  color: #ffffff;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.2);
}


/* ========================================
   HEADER
======================================== */

.reset-title {
  margin: 0 0 12px;

  font-size: 26px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.7px;
}

.reset-description {
  margin: 0 0 30px;

  color: #969cad;

  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}


/* ========================================
   RESET FORM
======================================== */

.reset-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.reset-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.reset-field label {
  color: #e1e4ed;

  font-size: 12px;
  font-weight: 600;
}


/* ========================================
   PASSWORD INPUTS
======================================== */

.reset-field input {
  width: 100%;
  min-height: 46px;

  padding: 12px 15px;

  background: #0e1016;
  color: #ffffff;

  border: 1px solid #303442;
  border-radius: 10px;

  font: inherit;
  font-size: 13px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.reset-field input::placeholder {
  color: #66718d;
}

.reset-field input:hover {
  border-color: #464b60;
}

.reset-field input:focus {
  outline: none;
  border-color: #7060ff;

  box-shadow:
    0 0 0 3px rgba(112, 96, 255, 0.12);
}

.reset-hint {
  margin-top: 3px;

  color: #848b9f;

  font-size: 11px;
  line-height: 1.5;
}


/* ========================================
   SUBMIT BUTTON
======================================== */

.reset-button {
  width: 100%;
  min-height: 52px;

  padding: 12px 20px;

  background: #6d5dfc;
  color: #ffffff;

  border: none;
  border-radius: 10px;

  font: inherit;
  font-size: 13px;
  font-weight: 750;

  cursor: pointer;

  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.reset-button:hover {
  background: #5d4dec;

  box-shadow:
    0 8px 24px rgba(109, 93, 252, 0.2);
}

.reset-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}


/* ========================================
   STATUS MESSAGES
======================================== */

.reset-message {
  margin: 20px 0 0;

  color: #a4aabb;

  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.reset-message.success {
  color: #62dba5;
}

.reset-message.error {
  color: #ff8585;
}


/* ========================================
   BACK TO LOGIN
======================================== */

.reset-back {
  display: block;

  margin-top: 26px;

  color: #a99fff;

  font-size: 12px;
  font-weight: 650;
  text-align: center;

  text-decoration: none;

  transition: color 0.2s ease;
}

.reset-back:hover {
  color: #c4bdff;
  text-decoration: underline;
}


/* ========================================
   LOADING STATE
======================================== */

.reset-loading {
  padding: 18px 0;

  color: #a4aabb;

  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}


/* ========================================
   HIDDEN ELEMENTS
======================================== */

[hidden] {
  display: none !important;
}


/* ========================================
   TABLET & MOBILE
======================================== */

@media (max-width: 500px) {

  .reset-page {
    padding: 16px;
  }

  .reset-container {
    padding: 34px 24px;
    border-radius: 14px;
  }

  .reset-title {
    font-size: 23px;
  }

  .reset-description {
    font-size: 12px;
  }

  .reset-button {
    min-height: 48px;
  }

}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 360px) {

  .reset-container {
    padding: 28px 18px;
  }

  .reset-title {
    font-size: 21px;
  }

}
