.two-factor-shell > .container {
  max-width: 960px;
  margin-top: 42px;
  padding: 28px 34px 32px;
  background: #ffffff;
  border: 1px solid #d7e3e7;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(8, 31, 35, 0.12);
}

.two-factor-shell h1 {
  color: #102d4d;
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.2;
}

.two-factor-shell h2,
.two-factor-shell h3 {
  color: #102d4d;
}

.two-factor-shell p,
.two-factor-shell li {
  color: #536783;
}

.two-factor-shell form table input[type="text"],
.two-factor-shell form table input[type="email"],
.two-factor-shell form table input[type="password"],
.two-factor-shell form table input[type="tel"],
.two-factor-shell form table input[type="number"],
.two-factor-shell form table select {
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  color: #1a2a2e;
  background: #ffffff;
  border: 1px solid #cbd5d5;
  border-radius: 6px;
  font: inherit;
}

.two-factor-shell form table input:focus,
.two-factor-shell form table select:focus {
  border-color: #328e86;
  outline: 2px solid rgba(50, 142, 134, 0.2);
}

.two-factor-shell form input[type="radio"],
.two-factor-shell form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0 8px 0 0;
  padding: 0;
  appearance: none;
  vertical-align: middle;
  background: #ffffff;
  border: 2px solid #9aafb2;
  cursor: pointer;
  flex: 0 0 auto;
}

.two-factor-shell form input[type="radio"] {
  border-radius: 50%;
}

.two-factor-shell form input[type="checkbox"] {
  border-radius: 4px;
}

.two-factor-shell form input[type="radio"]:checked,
.two-factor-shell form input[type="checkbox"]:checked {
  background-color: #0d4d5b;
  border-color: #0d4d5b;
}

.two-factor-shell form input[type="radio"]:checked::after {
  display: block;
  width: 6px;
  height: 6px;
  margin: 4px;
  content: "";
  background: #ffffff;
  border-radius: 50%;
}

.two-factor-shell form input[type="checkbox"]:checked::after {
  display: block;
  width: 5px;
  height: 9px;
  margin: 1px 0 0 4px;
  content: "";
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.two-factor-shell form input[type="radio"]:focus-visible,
.two-factor-shell form input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(50, 142, 134, 0.25);
  outline-offset: 2px;
}

.two-factor-shell form input[type="radio"] + label,
.two-factor-shell form input[type="checkbox"] + label,
.two-factor-shell form label:has(input[type="radio"]),
.two-factor-shell form label:has(input[type="checkbox"]) {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: #536783;
  cursor: pointer;
}

.two-factor-shell form table ul {
  margin: 4px 0 0;
  padding-left: 0;
  list-style: none;
}

.two-factor-shell form table ul li {
  margin-bottom: 8px;
}

.two-factor-shell .btn,
.two-factor-shell form button,
.two-factor-shell form input[type="submit"] {
  min-height: 40px;
  padding: 8px 16px;
  color: #ffffff;
  background: #0d4d5b;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.two-factor-shell .btn:hover,
.two-factor-shell form button:hover,
.two-factor-shell form input[type="submit"]:hover {
  color: #ffffff;
  background: #083b46;
}

.two-factor-shell .btn-link {
  color: #328e86;
  background: transparent;
}

.two-factor-shell .btn-link:hover {
  color: #0d4d5b;
  background: transparent;
}

.two-factor-shell .btn-danger,
.two-factor-shell .btn-warning {
  background: #9d2738;
}

.two-factor-shell .btn-danger:hover,
.two-factor-shell .btn-warning:hover {
  background: #7e1d2c;
}

.two-factor-shell img.bg-white {
  max-width: 100%;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #d7e3e7;
  border-radius: 6px;
}

.two-factor-shell .alert {
  color: #684b00;
  background: #fff7d6;
  border-color: #ead58a;
}

.two-factor-shell a {
  color: #328e86;
}

.two-factor-shell .site-header a,
.two-factor-shell .site-header a:visited,
.two-factor-shell .site-header a:hover,
.two-factor-shell .site-header a:focus-visible {
  color: #ffffff;
}

.two-factor-shell button[disabled] {
  display: none;
}

.profile-shell .container {
  max-width: 1320px;
  margin-top: 42px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.profile-main {
  width: 100%;
}

.profile-intro {
  margin-bottom: 24px;
}

.profile-intro h1 {
  margin-bottom: 4px;
  font-size: 46px;
}

.profile-intro p {
  margin: 0;
  font-size: 18px;
}

.profile-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 170px;
  margin-bottom: 24px;
  padding: 26px 28px;
  background: #ffffff;
  border: 1px solid #d7e3e7;
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(16, 57, 70, 0.12);
}

.profile-card-icon {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  color: #00535d;
  background: #cdf8f1;
  border-radius: 50%;
  font-size: 42px;
  font-weight: 800;
}

.profile-card-icon img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.profile-card-icon-warning {
  color: #d89500;
  background: #fff4d8;
}

.profile-card-icon-danger {
  color: #bd111b;
  background: #fde7eb;
}

.profile-card-content h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.profile-card-content p {
  margin-bottom: 12px;
  font-size: 17px;
}

.profile-card-content p:last-child {
  margin-bottom: 0;
}

.profile-card-title {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.profile-card-title h2 {
  margin-bottom: 0;
}

.profile-pill {
  padding: 5px 12px;
  color: #00736f;
  background: #c7fbf4;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.profile-card-title .pill {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.profile-card-title .pill-warning {
  color: #9a4f00;
  background: #fff1cf;
}

.profile-card ul {
  margin-bottom: 14px;
}

.profile-card li form {
  display: inline;
  margin-left: 10px;
}

.profile-card .btn {
  min-width: 180px;
}

.profile-danger-card {
  grid-template-columns: 104px 1fr;
}

.profile-danger-card .btn-secondary {
  color: #b3131d;
  background: #ffffff;
  border: 2px solid #b3131d;
}

.profile-danger-card .btn-secondary:hover {
  color: #ffffff;
  background: #b3131d;
}

@media (max-width: 680px) {
  .two-factor-shell > .container {
    margin-top: 24px;
    padding: 22px 20px 24px;
  }

  .profile-shell .container {
    margin-top: 28px;
    padding: 0;
  }

  .profile-intro h1 {
    font-size: 34px;
  }

  .profile-card,
  .profile-danger-card {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 22px 20px;
  }

  .profile-card-content h2 {
    font-size: 23px;
  }

  .profile-card .btn {
    width: 100%;
  }
}
