/* Custom styles */
.password-reset-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  /* white: on the old #f9f9f9 the blue link and card text was below 4.5:1 contrast */
  background: #fff;
}

.password-suggestion {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.password-suggestion input {
  flex-grow: 1;
}

.logo {
  display: block;
  margin: 0 auto 20px;
  /* Center the logo and add space below */
  max-width: 100%;
  /* Ensure the logo is responsive */
  height: auto;
}

.language-selector {
  min-width: 8rem;
  max-width: 10rem;
}

.language-select {
  cursor: pointer;
}

.flag-icon {
  /* Example padding, adjust as needed */
  padding: 5px;
  /* Keeping your flag icon size controlled */
  width: 40px;
  height: 40px;
  margin-left: 5px;
}

.img-flag {
  height: 12px;
  width: 18px;
  margin-right: 10px;
}

#displayname {
  font-weight: bold;
}

#resetPwForm {
  width: 100%;
}

.hidden {
  display: none;
}

.full-modal {
  opacity: 1 !important;
  background-color: #ffffff;
}


/* account and action cards (btn-check radios) */
.radiobutton-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Bootstrap's focus ring is a faint shadow that disappears in high contrast mode */
.btn-check:focus-visible + .btn {
  outline: 3px solid #0a58ca;
  outline-offset: 2px;
}

/* the selected card is marked with more than colour */
.radiobutton-container .btn {
  position: relative;
  padding-right: 2.25rem;
}

.btn-check:checked + .btn::after {
  content: "\2713";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
}

/* the username is what the user chooses on, so it wraps instead of being cut off */
.upnItem {
  font-size: 16px;
  overflow-wrap: anywhere;
}

.samaccountnameItem {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.account-card {
  display: block;
  position: relative;
  padding-right: 2.25rem;
  text-decoration: none;
}

.account-card-action {
  display: inline-block;
  margin-top: .5rem;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
}

.account-card-action:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 2px;
}

.account-profile {
  max-width: 620px;
}

.profile-list dt {
  color: #495057;
  font-size: .875rem;
  font-weight: 600;
}

.profile-list dd {
  overflow-wrap: anywhere;
}

#wizardAccount {
  overflow-wrap: anywhere;
}


/* authentication methods */
.country-code {
  max-width: 70px;
}

.method-text {
  min-width: 0;
  overflow-wrap: anywhere;
}


/* guided phone setup */
.wizard-progress {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.wizard-progress li {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #dcdcdc;
}

.wizard-progress li.done {
  background: rgb(13 110 253);
}

/* access pass spelled out character by character: tiles that wrap, 4 across on a phone,
   fewer when the text is enlarged, never sideways scrolling */
.tap-chars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.75rem, 1fr));
  gap: 6px;
  margin-bottom: 0;
}

.tap-chars li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 2px;
  border: 1px solid #c8c8c8;
  border-radius: 5px;
  background: #f8f9fa;
  text-align: center;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.guide-step {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 14px;
}

.guide-step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgb(13 110 253);
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}
