:root {
  --ink: #23262d;
  --muted: #67717f;
  --line: #d7dee8;
  --panel: #ffffff;
  --soft: #f5f7fa;
  --accent: #1466b8;
  --accent-strong: #0b4f97;
  --danger: #bd2f2f;
  --success: #1d7f4f;
  --dark: #20242a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #eef2f6;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

body.auth-page {
  background: #fff;
}

body.auth-page .topbar,
body.auth-page .footer {
  display: none;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.topbar {
  background: var(--dark);
  color: #fff;
}

.phone-line {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 42px;
  background: #292d34;
  font-weight: 700;
}

.site-nav {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 42px;
}

.brand img {
  display: block;
  width: min(170px, 38vw);
  max-height: 64px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  display: none;
  min-width: 224px;
  padding: 8px 0;
  background: #212529;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
}

.nav-dropdown-menu a {
  padding: 9px 14px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 38px;
}

body.auth-page .app-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
}

.portal-auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.portal-auth-shell.register-shell {
  align-items: center;
}

.portal-card {
  width: min(100%, 394px);
  padding: 38px 24px 24px;
  background: #fff;
  border-top: 5px solid #337ab7;
  border-radius: 4px;
  box-shadow: 0 11px 25px rgba(0, 0, 0, 0.15);
}

.portal-card.register-card {
  width: min(100%, 390px);
  padding: 0 0 28px;
}

.portal-card.verification-card {
  width: min(100%, 420px);
  padding: 0 0 28px;
}

.portal-card.forgot-card {
  width: min(100%, 390px);
  padding: 0 0 28px;
}

.portal-logo {
  text-align: center;
  margin-bottom: 24px;
}

.portal-logo img {
  width: 236px;
  max-width: 88%;
  max-height: 188px;
  height: auto;
  object-fit: contain;
}

.portal-logo.verification-logo {
  margin: 34px 0 20px;
}

.portal-title {
  margin: 0 0 23px;
  text-align: center;
  color: #222;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.portal-form {
  display: grid;
  gap: 24px;
}

.portal-input-wrap {
  position: relative;
}

.portal-input-wrap input {
  height: 49px;
  min-height: 49px;
  border: 0;
  border-radius: 0;
  background: #e9e9e9;
  color: #252525;
  padding: 12px 16px;
  box-shadow: none;
}

.portal-input-wrap input::placeholder {
  color: #8a8a8a;
  opacity: 1;
}

.portal-input-wrap input:focus {
  border: 0;
  outline: 1px solid rgba(51, 122, 183, 0.45);
}

.portal-input-wrap.has-eye input {
  padding-right: 54px;
}

.password-eye {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 31px;
  height: 31px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #111;
  line-height: 1;
  display: grid;
  place-items: center;
}

.password-eye svg {
  width: 25px;
  height: 25px;
  fill: #111;
}

.portal-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.portal-btn {
  min-width: 67px;
  min-height: 37px;
  padding: 8px 16px;
  border: 0;
  border-radius: 4px;
  background: #337ab7;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.24);
}

.portal-btn:hover {
  background: #28689f;
}

.portal-forgot,
.portal-open-now .link-button,
.portal-auth-head .link-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #0b6ebd;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
}

.portal-open-now {
  text-align: center;
  color: #111;
  font-size: 14px;
}

.portal-auth-head {
  padding: 20px 22px 14px;
  text-align: center;
  border-bottom: 1px solid #e2e2e2;
}

.portal-auth-head h2 {
  margin: 0;
  color: #222;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
}

.portal-auth-head p {
  margin: 4px 0 0;
  color: #555;
  font-size: 14px;
}

.portal-auth-head.with-back {
  position: relative;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-auth-head.forgot-head {
  justify-content: flex-start;
  padding-left: 98px;
  text-align: left;
}

.circle-back {
  position: absolute;
  left: 12px;
  top: 18px;
  border: 0;
  background: transparent;
  padding: 0;
}

.circle-back img {
  display: block;
  width: 25px;
  height: 25px;
}

.register-form {
  padding: 0 32px;
  gap: 14px;
}

.forgot-form {
  padding: 28px 32px 0;
  gap: 24px;
}

.portal-labeled-field {
  display: grid;
  gap: 6px;
}

.portal-labeled-field label {
  color: #333;
  font-size: 14px;
  font-weight: 400;
}

.portal-labeled-field label span {
  color: #d23434;
}

.portal-labeled-field .portal-input-wrap input {
  height: 43px;
  min-height: 43px;
}

.portal-submit-center {
  display: flex;
  justify-content: center;
}

.portal-countdown {
  margin: 0 0 18px;
  text-align: center;
  color: #333;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 28px;
  align-items: stretch;
}

.intro-panel {
  min-height: 480px;
  padding: 36px;
  background: linear-gradient(135deg, #1f2731, #314154);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 8px;
  overflow: hidden;
}

.intro-panel h1 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: 0;
}

.intro-panel p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.intro-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.intro-steps span {
  display: block;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 13px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(25, 38, 56, 0.08);
}

.auth-card {
  padding: 28px;
}

.auth-card h2,
.form-card h2,
.admin-card h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0;
}

.subtle {
  color: var(--muted);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.tab {
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  min-height: 40px;
  border-radius: 6px;
  font-weight: 700;
}

.tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

label,
.field-label {
  color: #303741;
  font-weight: 700;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #c8d2df;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  padding: 9px 11px;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(20, 102, 184, 0.18);
  border-color: var(--accent);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.choice-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.choice {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
}

.choice input {
  width: auto;
  min-height: 0;
  margin: 3px 0 0;
}

.choice:has(input:checked) {
  border-color: var(--accent);
  background: #eef6ff;
}

.button-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.button-row.end {
  justify-content: flex-end;
}

.primary,
.secondary,
.ghost,
.danger {
  min-height: 40px;
  border-radius: 5px;
  border: 1px solid transparent;
  padding: 8px 16px;
  font-weight: 700;
}

.primary {
  background: var(--accent);
  color: #fff;
}

.primary:hover {
  background: var(--accent-strong);
}

.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.danger {
  background: var(--danger);
  color: #fff;
}

.link-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--accent);
  font-weight: 700;
}

.message {
  padding: 12px 14px;
  margin: 16px 0;
  border-radius: 6px;
  border: 1px solid #c7d7eb;
  background: #eef6ff;
  color: #234b75;
}

.message.error {
  border-color: #e3b7b7;
  background: #fff1f1;
  color: #8b2222;
}

.source-validation-summary {
  margin-top: 8px;
}

.dx-validationsummary-item {
  color: #d9534f;
  cursor: pointer;
  font-size: 13px;
}

.dx-validationsummary-item-content {
  display: inline-block;
  border-bottom: 1px dashed currentColor;
  line-height: normal;
}

.alert {
  position: relative;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

.mt-2 {
  margin-top: 8px;
}

.mt-3 {
  margin-top: 16px;
}

.mb-0 {
  margin-bottom: 0;
}

.source-invalid input,
.source-invalid select,
.source-invalid textarea,
input.source-invalid,
select.source-invalid,
textarea.source-invalid {
  border-color: #d9534f !important;
}

.source-form-card .source-invalid input,
.source-form-card .source-invalid select,
.source-form-card .source-invalid textarea {
  border-bottom-color: #d9534f !important;
}

.portal-card .source-invalid input {
  outline: 1px solid rgba(217, 83, 79, 0.65);
}

.workflow-shell {
  display: grid;
  gap: 22px;
  align-items: start;
}

.stepper {
  display: flex;
  align-items: flex-start;
  padding: 10px 0 14px;
  overflow-x: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  scrollbar-width: thin;
}

.step-item {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: start;
  gap: 7px;
  flex: 1 0 94px;
  min-width: 94px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  text-align: center;
  color: var(--muted);
  border-radius: 0;
}

.step-item::before {
  content: "";
  position: absolute;
  top: 17px;
  left: calc(-50% + 18px);
  right: calc(50% + 18px);
  height: 1px;
  background: #b9c0c8;
}

.step-item:first-child::before {
  display: none;
}

.step-item strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #555;
  border: 1px solid #d0d0d0;
  font-size: 13px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.step-item span {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.58);
}

.step-item.active {
  color: var(--accent);
}

.step-item.active strong,
.step-item.done strong {
  background: #337ab7;
  border-color: #337ab7;
  color: #fff;
}

.step-item.done::before,
.step-item.active::before {
  background: #337ab7;
}

.step-item.active span,
.step-item.done span {
  color: #337ab7;
}

.step-item:disabled {
  opacity: 0.55;
  cursor: default;
}

.form-card {
  padding: 0;
  overflow: hidden;
}

.source-form-card {
  width: min(100%, 1140px);
  margin: 0 auto;
  border-top: 5px solid #337ab7;
  border-radius: 5px;
  box-shadow: 0 9px 16px rgba(159, 162, 191, 0.18), 0 2px 2px rgba(159, 162, 191, 0.32);
}

.card-header {
  padding: 16px 24px 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.source-form-card .card-header h2 {
  color: #337ab7;
  font-weight: 700;
  font-size: 24px;
}

.card-header p {
  margin: 6px 0 0;
  color: var(--muted);
}

.card-body {
  padding: 22px 24px 24px;
}

.source-form-card .field label,
.source-form-card .field-label {
  color: rgba(0, 0, 0, 0.6);
  font-size: 13px;
  font-weight: 500;
}

.source-form-card input,
.source-form-card select,
.source-form-card textarea {
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.42);
  border-radius: 4px 4px 0 0;
  background: #f5f5f5;
  padding: 12px 12px 9px;
  color: rgba(0, 0, 0, 0.87);
}

.source-form-card input:focus,
.source-form-card select:focus,
.source-form-card textarea:focus {
  outline: 0;
  border-bottom: 2px solid #337ab7;
}

.source-form-card .choice input[type="checkbox"],
.source-form-card .choice input[type="radio"] {
  width: auto;
  min-height: 0;
  height: auto;
  margin: 3px 0 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.42);
  border-radius: initial;
  background: initial;
}

.personal-source-stack {
  display: grid;
  gap: 15px;
}

.source-row {
  display: grid;
  gap: 18px;
}

.source-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.source-row.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-row.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.source-row .span-2 {
  grid-column: span 2;
}

.phone-combo {
  display: grid;
  grid-template-columns: minmax(132px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
}

.phone-combo select,
.phone-combo input {
  min-width: 0;
}

.source-empty-field {
  min-height: 1px;
}

.with-help::after {
  content: "Phone numbers are checked for validity in the country that your are applying";
  color: rgba(0, 0, 0, 0.6);
  font-size: 12px;
  line-height: 1.2;
  text-align: right;
}

.source-checkbox-line {
  margin-top: 2px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.source-checkbox-line label {
  margin: 0;
}

.source-checkbox-line input[type="checkbox"] {
  width: auto;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.42);
  border-radius: initial;
  background: initial;
}

.source-inline-field {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
}

.source-inline-field .field-label {
  margin: 0;
  white-space: nowrap;
}

.source-inline-field .choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.source-inline-field .choice {
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.source-inline-field .choice:has(input:checked) {
  border-color: transparent;
  background: transparent;
}

.section-title {
  margin: 28px 0 14px;
  font-size: 18px;
}

.section-title:first-child {
  margin-top: 0;
}

.option-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.option-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.option-card:has(input:checked) {
  border-color: var(--accent);
  background: #eef6ff;
}

.option-card input {
  width: auto;
  min-height: 0;
}

.option-card strong {
  font-size: 15px;
}

.option-card span {
  color: var(--muted);
  font-size: 13px;
}

.table-form {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.table-form th,
.table-form td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.table-form th {
  background: var(--soft);
  color: #374150;
}

.upload-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
}

.source-proof-upload {
  display: block;
  text-align: center;
}

.source-proof-upload p {
  margin: 0 0 14px;
}

.source-proof-select {
  width: min(100%, 320px);
  margin: 0 auto;
}

.source-proof-instruction {
  text-align: left;
}

.source-proof-files {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
}

.source-file-uploader {
  display: grid;
  align-items: start;
  gap: 8px;
}

.source-file-uploader input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.source-file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  padding: 7px 16px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.14);
  color: rgba(0, 0, 0, 0.87);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.source-file-button:hover {
  background: #f5f5f5;
}

.source-file-name {
  min-height: 20px;
  color: rgba(0, 0, 0, 0.7);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.source-file-name a {
  color: #337ab7;
  text-decoration: none;
}

.note {
  color: rgba(0, 0, 0, 0.6);
  font-size: 12px;
  line-height: 1.6;
}

.source-file-uploader.source-invalid .source-file-button,
.source-file-uploader.source-invalid + .note {
  border-color: #d9534f;
  color: #d9534f;
}

.submitted {
  text-align: center;
  padding: 60px 24px;
}

.submitted h2 {
  font-size: 30px;
}

.admin-shell {
  display: grid;
  gap: 20px;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.admin-card {
  padding: 22px;
}

.list-tools {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-table .select-cell {
  width: 42px;
  text-align: center;
}

.admin-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.status {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e8edf3;
  color: #3a4654;
  font-size: 12px;
  font-weight: 700;
}

.status.submitted,
.status.reviewing {
  background: #eaf4ff;
  color: var(--accent-strong);
}

.status.approved {
  background: #e9f7ef;
  color: var(--success);
}

.status.rejected {
  background: #fff0f0;
  color: var(--danger);
}

.profile-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 20px;
}

.profile-summary div {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  min-width: 0;
}

.profile-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.profile-summary strong {
  display: block;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.data-block {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.data-block h3 {
  margin: 0;
  padding: 12px 14px;
  background: var(--soft);
  font-size: 15px;
}

.data-block dl {
  margin: 0;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: 8px 12px;
}

.data-block dt {
  color: var(--muted);
  font-weight: 700;
}

.data-block dd {
  margin: 0;
  word-break: break-word;
}

.footer {
  display: none;
}

.footer img {
  width: 92px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .site-nav {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 18px 24px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .auth-layout,
  .workflow-shell {
    grid-template-columns: 1fr;
  }

  .stepper {
    display: flex;
  }

  .option-list,
  .source-row.four,
  .source-row.three,
  .source-row.two,
  .choice-grid.four,
  .choice-grid.five,
  .field-grid.three,
  .profile-summary,
  .source-proof-files,
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .phone-line,
  .site-nav,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .auth-layout,
  .intro-steps,
  .field-grid,
  .field-grid.three,
  .choice-grid,
  .choice-grid.three,
  .choice-grid.four,
  .choice-grid.five,
  .option-list,
  .source-row.four,
  .source-row.three,
  .source-row.two,
  .source-proof-files,
  .profile-summary,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .stepper {
    display: flex;
  }

  .source-row .span-2 {
    grid-column: auto;
  }

  .source-inline-field {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .source-inline-field .field-label {
    white-space: normal;
  }

  .intro-panel {
    min-height: 360px;
    padding: 24px;
  }

  .card-body,
  .card-header,
  .auth-card {
    padding: 20px;
  }

  .button-row {
    flex-direction: column-reverse;
  }

  .button-row .primary,
  .button-row .secondary,
  .button-row .danger {
    width: 100%;
  }

  .admin-toolbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-table {
    display: block;
    overflow-x: auto;
  }
}
