.reset-input{ width:100%; }
/* =========================================================
   Static Noir Mint Dark — Reset Password
   Matches login/register/forgot styles
   ========================================================= */

/* Center the card within the main-content area */
.reset-wrapper {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 12px;
}

/* Translucent card */
.reset-form {
  width: min(520px, 100%);
  background: var(--glass);                 /* ~80% opacity so video shows through */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  backdrop-filter: saturate(1.1) blur(2px);
  padding: var(--pad);
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;                         /* keeps title bar corners clean */
}

/* Title bar — full-width gradient, centered text */
.reset-title {
  margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 12px;
  padding: 12px 14px;
  background: var(--grad-primary);
  color: var(--title-color);                /* unified title color */
  text-align: center;
  border-top-left-radius: calc(var(--radius) - 2px);
  border-top-right-radius: calc(var(--radius) - 2px);
  font-size: 1.25rem;
  line-height: 1.2;
}

/* Labels & inputs */
.reset-label {
  font-weight: 600;
  color: var(--text);
  margin-top: 6px;
}

/* Flash messages */
.message.error {
  background: rgba(255,86,86,.12);
  border: 1px solid rgba(255,86,86,.35);
  color: #ffb4b4;
  border-radius: 12px;
  padding: 10px 12px;
}

.message.success {
  background: rgba(56,189,148,.12);
  border: 1px solid rgba(56,189,148,.35);
  color: #b4ffec;
  border-radius: 12px;
  padding: 10px 12px;
}

/* Button — site gradient style */
.btn.reset-btn {
  width: 100%;
  background: var(--grad-primary);
  color: var(--text);
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow .25s ease, transform .12s ease;
}

.btn.reset-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--glow);
}

.btn.reset-btn:focus-visible {
  outline: 2px solid rgba(56,189,148,.55);
  outline-offset: 2px;
}

/* Small screens */
@media (max-width: 480px) {
  /* relies on global --pad from index.css */
  .reset-title {
    margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 10px;
    padding: 10px 12px;
  }

  .reset-form {
    gap: 10px;
  }

  .btn.reset-btn {
    padding: 12px;
  }
}
