/* Password Update Required Dialog Styles */

/* Root + backdrop */
.pwd-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.pwd-modal[aria-hidden='true'] {
  display: none;
}

.pwd-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 26, 0.45);
}

/* Card */
.pwd-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(16, 22, 26, 0.1), 0 4px 8px rgba(16, 22, 26, 0.2), 0 18px 46px 6px rgba(16, 22, 26, 0.2);
}

/* Close button */
.pwd-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #5c7080;
}

.pwd-modal__close:hover {
  color: #182026;
}

/* Header – white, title with small circular icon */
.pwd-modal__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px 8px;
  border-bottom: 1px solid rgba(16, 22, 26, 0.15);
  background: #fff;
  border-radius: 8px 8px 0 0;
}

.pwd-modal__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e1f5fe;
}

.pwd-modal__icon svg {
  width: 14px;
  height: 14px;
  fill: #5c7080;
}

.pwd-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #182026;
}

/* Body – light blue tint */
.pwd-modal__body {
  padding: 14px 20px;
  background: #eaf5fb;
  color: #182026;
  font-size: 14px;
  line-height: 1.5;
}

.pwd-modal__body p {
  margin: 0;
}

/* Footer */
.pwd-modal__footer {
  padding: 0 20px 16px;
  display: flex;
  justify-content: flex-end;
  border-radius: 0 0 8px 8px;
  background: #eaf5fb;
}

/* Button */
.pwd-btn {
  border: 0;
  border-radius: 3px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.pwd-btn--primary {
  background: #137cbd;
  color: #fff;
}

.pwd-btn--primary:hover {
  filter: brightness(0.95);
}

.pwd-btn--primary:active {
  filter: brightness(0.9);
}
