.site-auth-modal .modal-content {
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(4, 24, 46, 0.18);
}

.site-auth-modal .modal-header {
  padding: 22px 24px 0;
  border-bottom: 0;
}

.site-auth-modal .modal-title {
  margin: 0;
  color: #0d2240;
  font-size: 28px;
  font-weight: 800;
}

.site-auth-modal .modal-body {
  padding: 18px 24px 22px;
}

.site-auth-modal .modal-footer {
  padding: 0 24px 22px;
  border-top: 0;
}

.site-auth-intro {
  margin: 0 0 18px;
  color: #5e6c81;
  line-height: 1.7;
}

.site-auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 14px;
}

.site-auth-alert-danger {
  background: #fff4f4;
  color: #991b1b;
}

.site-auth-alert-success {
  background: #f2fff6;
  color: #166534;
}

.site-auth-label {
  display: block;
  margin-bottom: 8px;
  color: #13263d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-auth-helper {
  margin-top: 7px;
  color: #667182;
  font-size: 12px;
  line-height: 1.5;
}

.site-auth-input-group {
  position: relative;
}

.site-auth-input-group .form-control {
  min-height: 48px;
  border-radius: 14px;
  border-color: #d4deeb;
  padding-right: 46px;
}

.site-auth-input-group .form-control:focus {
  border-color: #0b2f57;
  box-shadow: 0 0 0 4px rgba(18, 59, 104, 0.08);
}

.site-auth-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5f6d82;
}

.site-auth-toggle:hover,
.site-auth-toggle:focus {
  background: rgba(11, 47, 87, 0.08);
  color: #0b2f57;
}

.site-auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.site-auth-actions .btn {
  min-height: 48px;
  border-radius: 14px;
  font-weight: 800;
}

.site-auth-links {
  display: grid;
  gap: 8px;
}

.site-auth-links a {
  color: #0b2f57;
  font-weight: 700;
}

.site-auth-password-meter {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.site-auth-password-meter .password-meter-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #e8eef7;
}

.site-auth-password-meter .password-meter-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #dc2626;
  transition: width .2s ease, background-color .2s ease;
}

.site-auth-password-meter .password-meter-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-auth-password-meter .password-meter-label {
  color: #13263d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-auth-password-meter .password-meter-value {
  color: #667182;
  font-size: 13px;
  font-weight: 700;
}

.site-auth-password-checklist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-auth-password-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  font-size: 12px;
}

.site-auth-password-checklist li i {
  width: 14px;
  text-align: center;
  color: #94a3b8;
}

.site-auth-password-checklist li.is-met {
  color: #166534;
}

.site-auth-password-checklist li.is-met i {
  color: #16a34a;
}

.site-auth-password-match {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
}

.site-auth-password-match.is-match {
  color: #166534;
}

.site-auth-password-match.is-mismatch {
  color: #991b1b;
}

.site-auth-submit.is-loading {
  cursor: wait;
  opacity: 0.82;
}
