/* PTP_PASSWORD_FLOW_V1 */
.ptp-password-backdrop {
  position: fixed;
  z-index: 30000;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, .66);
  padding: 18px;
}

.ptp-password-backdrop.hidden {
  display: none !important;
}

.ptp-password-card {
  width: min(470px, 100%);
  overflow: hidden;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 28px 85px rgba(15, 23, 42, .32);
}

.ptp-password-head {
  padding: 22px 23px 17px;
  border-bottom: 1px solid #edf1f7;
}

.ptp-password-head h2 {
  margin: 0;
  color: #172033;
  font-size: 22px;
}

.ptp-password-head p {
  margin: 7px 0 0;
  color: #70809d;
  font-size: 13px;
  line-height: 1.5;
}

#ptpPasswordForm {
  padding: 21px 23px 23px;
}

.ptp-password-field {
  display: block;
  margin-bottom: 15px;
}

.ptp-password-field span {
  display: block;
  margin-bottom: 7px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.ptp-password-field input {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  border: 1px solid #dbe3ef;
  border-radius: 11px;
  padding: 10px 12px;
  color: #172033;
  outline: none;
}

.ptp-password-field input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .11);
}

.ptp-password-help {
  margin: -5px 0 15px;
  color: #8190a8;
  font-size: 11px;
}

.ptp-password-error,
.ptp-password-success {
  margin-bottom: 15px;
  border-radius: 11px;
  padding: 11px 13px;
  font-size: 12px;
}

.ptp-password-error {
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #b91c1c;
}

.ptp-password-success {
  border: 1px solid #bbf7d0;
  background: #ecfdf5;
  color: #047857;
}

.ptp-password-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.ptp-password-save {
  border: 0;
  border-radius: 11px;
  background: #2563eb;
  padding: 11px 17px;
  color: #fff;
  font-weight: 850;
}

.ptp-password-save:disabled {
  cursor: wait;
  opacity: .65;
}