/* =========================================================
   Poolbaas Password Reset V2
   Alleen presentatie; geen resetlogica.
   ========================================================= */

.pb-reset-page .pb-login-panel-inner {
  width: min(100%, 520px);
}

.pb-reset-heading {
  margin-bottom: 28px;
}

.pb-reset-heading h2 {
  max-width: 12ch;
}

.pb-reset-security-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.04)
    );
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.pb-reset-security-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: #f6d75a;
  color: #07130f;
  font-size: 26px;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(246, 215, 90, 0.28);
}

.pb-reset-security-card__kicker {
  display: block;
  margin-bottom: 6px;
  color: #f6d75a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.pb-reset-security-card h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.1;
}

.pb-reset-security-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.pb-reset-form {
  display: grid;
  gap: 18px;
}

.pb-reset-field {
  display: grid;
  gap: 9px;
}

.pb-reset-field > span,
.pb-reset-link-field > span,
.pb-reset-admin-form label > span {
  color: #17233a;
  font-size: 13px;
  font-weight: 850;
}

.pb-reset-field input,
.pb-reset-admin-form input,
.pb-reset-link-field input {
  width: 100%;
  min-width: 0;
  border: 1px solid #ccd4df;
  border-radius: 14px;
  background: #f8fafc;
  color: #101827;
  font: inherit;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.pb-reset-field input {
  min-height: 54px;
  padding: 0 16px;
}

.pb-reset-field input:focus,
.pb-reset-admin-form input:focus,
.pb-reset-link-field input:focus {
  border-color: #6b55d9;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(107, 85, 217, 0.13);
}

.pb-reset-field input::placeholder,
.pb-reset-admin-form input::placeholder {
  color: #8a94a6;
}

.pb-reset-privacy-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid #dce3eb;
  border-radius: 14px;
  background: #f6f8fb;
}

.pb-reset-privacy-note > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #ece9ff;
  color: #5037bd;
  font-size: 12px;
  font-weight: 950;
}

.pb-reset-privacy-note p {
  margin: 2px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

.pb-reset-submit,
.pb-reset-primary-link {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #f6d75a, #ffeb8e);
  color: #111927;
  font: inherit;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(246, 215, 90, 0.24);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.pb-reset-submit {
  justify-content: space-between;
  padding: 0 18px;
}

.pb-reset-submit:hover,
.pb-reset-primary-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(246, 215, 90, 0.32);
}

.pb-reset-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
  padding: 17px;
  border: 1px solid #dbe4df;
  border-radius: 16px;
  background: #f5faf7;
}

.pb-reset-state--error {
  border-color: #f0d2cf;
  background: #fff7f6;
}

.pb-reset-state__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: #173d31;
  color: #fff;
  font-weight: 950;
}

.pb-reset-state--error .pb-reset-state__icon {
  background: #a63c35;
}

.pb-reset-state h3 {
  margin: 0 0 5px;
  color: #152237;
  font-size: 17px;
}

.pb-reset-state p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

.pb-reset-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.pb-reset-actions a {
  color: #5e50b6;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.pb-reset-actions a:hover {
  text-decoration: underline;
}

.pb-reset-security-note {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid #e5e9ef;
  color: #7b8494;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.pb-reset-panel-footer {
  display: grid;
  gap: 4px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid #e5e9ef;
  text-align: center;
}

.pb-reset-panel-footer > span {
  color: #43368f;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.pb-reset-panel-footer small {
  color: #8b94a5;
  font-size: 11px;
  line-height: 1.45;
}

/* Admin */

.pb-reset-admin-hero {
  margin-bottom: 22px;
}

.pb-reset-admin-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pb-reset-admin-mode {
  font-size: clamp(25px, 3vw, 38px) !important;
}

.pb-reset-admin-card,
.pb-reset-link-card {
  margin-top: 22px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(77, 63, 154, 0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(40, 31, 89, 0.08);
}

.pb-reset-admin-card__head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.pb-reset-admin-card__head h2 {
  margin: 6px 0;
}

.pb-reset-admin-card__head p {
  max-width: 720px;
  margin: 0;
  color: #70758a;
  line-height: 1.55;
}

.pb-reset-admin-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.pb-reset-admin-form label {
  display: grid;
  gap: 8px;
}

.pb-reset-admin-form input {
  min-height: 48px;
  padding: 0 14px;
}

.pb-reset-admin-count {
  display: grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: #eeeafd;
  color: #4e3dad;
  font-size: 17px;
  font-weight: 950;
}

.pb-reset-admin-list {
  display: grid;
  gap: 10px;
}

.pb-reset-admin-request {
  display: grid;
  grid-template-columns:
    minmax(220px, 1.3fr)
    minmax(170px, 0.8fr)
    auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid #e4e7ed;
  border-radius: 17px;
  background: #fbfcfd;
}

.pb-reset-admin-request__identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.pb-reset-admin-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #2d1c71, #765bd8);
  color: #fff;
  font-size: 17px;
  font-weight: 950;
}

.pb-reset-admin-request h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.pb-reset-admin-request p {
  margin: 0;
  color: #777f90;
  font-size: 13px;
  line-height: 1.45;
}

.pb-reset-admin-request__meta {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.pb-reset-admin-request__meta small {
  color: #81899a;
}

.pb-reset-status {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eceaf6;
  color: #55488f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pb-reset-status.is-sent,
.pb-reset-status.is-manual_ready {
  background: #e6f6ed;
  color: #28744b;
}

.pb-reset-status.is-failed {
  background: #fde9e6;
  color: #a33e36;
}

.pb-reset-status.is-used,
.pb-reset-status.is-superseded,
.pb-reset-status.is-expired {
  background: #edf0f3;
  color: #6d7480;
}

.pb-reset-admin-error {
  color: #aa3f38 !important;
  font-weight: 800;
}

.pb-reset-admin-request__action {
  justify-self: end;
}

.pb-reset-admin-closed {
  color: #858d9c;
  font-size: 13px;
  font-weight: 750;
}

.pb-reset-admin-empty {
  padding: 42px 20px;
  border: 1px dashed #d6dbe3;
  border-radius: 18px;
  background: #fafbfc;
  text-align: center;
}

.pb-reset-admin-empty > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: #e7f5ed;
  color: #2d7650;
  font-weight: 950;
}

.pb-reset-admin-empty h3 {
  margin: 0 0 5px;
}

.pb-reset-admin-empty p {
  margin: 0;
  color: #7b8391;
}

/* Eenmalige link */

.pb-reset-link-card {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
}

.pb-reset-link-player {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.pb-reset-link-player span:not(.pb-reset-admin-avatar) {
  color: #6d7390;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.pb-reset-link-player h2 {
  margin: 4px 0 2px;
}

.pb-reset-link-player p {
  margin: 0;
  color: #757d8e;
}

.pb-reset-link-warning {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 22px 0;
  padding: 15px;
  border: 1px solid #ebd68e;
  border-radius: 15px;
  background: #fff9df;
}

.pb-reset-link-warning > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 9px;
  background: #f6d75a;
  color: #2d2a1d;
  font-weight: 950;
}

.pb-reset-link-warning p {
  margin: 2px 0 0;
  color: #635c3c;
  line-height: 1.55;
}

.pb-reset-link-field {
  display: grid;
  gap: 9px;
}

.pb-reset-link-field > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.pb-reset-link-field input {
  min-height: 49px;
  padding: 0 13px;
}

.pb-reset-link-expiry {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e5e7ec;
}

.pb-reset-link-expiry span {
  color: #7d8493;
}

@media (max-width: 900px) {
  .pb-reset-admin-request {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .pb-reset-admin-request__meta {
    grid-column: 1;
    padding-left: 56px;
  }

  .pb-reset-admin-request__action {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 760px) {
  .pb-reset-security-card {
    display: none;
  }

  .pb-reset-admin-summary {
    grid-template-columns: 1fr;
  }

  .pb-reset-admin-form,
  .pb-reset-link-field > div {
    grid-template-columns: 1fr;
  }

  .pb-reset-admin-form .button,
  .pb-reset-link-field .button {
    width: 100%;
  }

  .pb-reset-admin-card__head {
    display: grid;
  }

  .pb-reset-admin-request {
    grid-template-columns: 1fr;
  }

  .pb-reset-admin-request__meta {
    grid-column: auto;
    padding-left: 56px;
  }

  .pb-reset-admin-request__action {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
    padding-left: 56px;
  }

  .pb-reset-admin-request__action .button {
    width: 100%;
  }

  .pb-reset-link-expiry {
    display: grid;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .pb-reset-page .pb-login-panel-inner {
    width: 100%;
  }

  .pb-reset-heading {
    margin-bottom: 22px;
  }

  .pb-reset-field input {
    min-height: 52px;
  }

  .pb-reset-submit,
  .pb-reset-primary-link {
    min-height: 52px;
  }

  .pb-reset-admin-request__meta,
  .pb-reset-admin-request__action {
    padding-left: 0;
  }
}
