/* The Modal (background) */
#modal-wrapper {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 9999;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.6);
  /* Black w/ opacity */
}

/* Modal Content/Box */
#modal {
  background-color: #fefefe;
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: fit-content;
  /* Could be more or less, depending on screen size */
}

table {
  width: 100%;
  font: 14px;
}


thead tr:first-child {
  -webkit-box-shadow: inset 0px 2px 4px rgba(0, 0, 0, .5);
  box-shadow: inset 0px 2px 4px rgba(0, 0, 0, .5);
}

tr th,
td {
  padding: 15px;
  border-top: 1px solid lightgray
}

th {
  font-weight: 600;
  background-color: #f7f7f7;
}

tbody tr:hover {
  background: #f0f0f0;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, .15);
}

tbody tr .actions {
  visibility: hidden;
}

tbody tr:hover .actions {
  visibility: visible;
}

th .input-group {
  width: 75%;
}

.form-control,
.input-group,
.input-group-addon {
  border: none;
  border-radius: 5px;
}

.input-group-addon {
  background: none;
}

.form-control {
  box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.2);

}


.form-control:focus {
  border-color: unset;
  outline: unset;
  -webkit-box-shadow: inset 0px 2px 4px rgba(0, 0, 0, .5);
  box-shadow: inset 0px 2px 4px rgba(0, 0, 0, .5);
}


/*
*:not(path):not(g) {
  color: hsla(210, 100%, 100%, 0.9) !important;
  background: hsla(210, 100%, 50%, 0.5) !important;
  outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important;
  */

/* show the not-allowed cursor on bootstrap toggles which are disabled */
.disabled-cursor , .disabled-cursor label.toggle-on, .disabled-cursor label.toggle-off, .disabled-cursor span.toggle-handle {
  cursor: not-allowed;
}

.recovery-layout {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 10px 10px 25px;
}

.recovery-layout__column {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.recovery-layout__eyebrow {
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.recovery-layout__description {
  margin-bottom: 0;
  line-height: 1.5;
}

.recovery-layout__alert {
  margin-bottom: 0;
}

.recovery-code-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin: 16px 0;
}

.recovery-action-btn {
  min-width: 180px;
  padding-left: 24px;
  padding-right: 24px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.recovery-code-block-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.recovery-code-block {
  background-color: #f7f7f9;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 28px 32px;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: #a00044;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  white-space: pre-wrap;
  line-height: 1.65;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  box-sizing: border-box;
}

.recovery-code-block code {
  display: block;
  width: 100%;
  white-space: pre-wrap;
  text-align: center;
  margin: 0 auto;
}

.recovery-code-form {
  margin: 0;
  padding: 0;
}

.recovery-code-form__checkbox {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  padding-left: 0;
  margin-left: 0;
  align-items: center;
  width: auto;
}

.recovery-code-form__checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-left: 0;
  width: auto;
  text-align: left;
}

.recovery-code-form__checkbox input[type='checkbox'] {
  position: static;
  margin: 0;
  margin-top: 2px;
}

.recovery-form-actions {
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 767px) {
  .recovery-code-actions {
    flex-direction: column;
    align-items: center;
  }

  .recovery-action-btn {
    width: 100%;
    max-width: 320px;
  }

  .recovery-code-block {
    font-size: 1rem;
    padding: 20px;
    min-height: 180px;
  }

  .recovery-code-form__checkbox {
    justify-content: center;
  }
}

.main-card {
  margin-top: 100px;
  background-color: white;
  border-radius: 20px;
  padding-bottom: 20px;
  padding-top: 20px;
}

.wide-card {
  margin-top: 100px;
  background-color: white;
  border-radius: 20px;
  padding-bottom: 20px;
  padding-top: 20px;
}

@media (max-width: 768px) {
  .main-card,
  .wide-card {
    margin-top: 20px;
    border-radius: 0;
    padding: 15px;
  }

  body {
    overflow-x: hidden;
  }
}

