:root {
  --auth-page-bg: #F7F8FA;
  --auth-card-bg: #FFFFFF;
  --auth-card-header: #FBFCFE;
  --auth-surface-soft: #F3F6FB;
  --auth-surface-muted: #EEF3FA;
  --auth-border: #E6EAF0;
  --auth-border-soft: #EEF1F7;
  --auth-title: #1F2937;
  --auth-text: #4B5563;
  --auth-muted: #7A8594;
  --auth-blue: #174EA6;
  --auth-blue-soft: #EEF4FF;
  --auth-blue-border: #D7E4FF;
  --auth-blue-hover: #E1ECFF;
  --auth-blue-hover-border: #BFD3FF;
  --auth-blue-hover-text: #0F3E8A;
  --auth-success: #16A34A;
  --auth-shadow-card: 0 8px 24px rgba(20, 24, 40, 0.06);
  --auth-shadow-soft: 0 12px 28px rgba(20, 24, 40, 0.08);
  --auth-space-1: 8px;
  --auth-space-2: 16px;
  --auth-space-3: 24px;
  --auth-space-4: 32px;
  --auth-space-5: 32px;
  --auth-control-height: 44px;
  --auth-button-height: 44px;
  --auth-radius-card: 14px;
  --auth-radius-control: 10px;
  --auth-focus-ring: 0 0 0 4px var(--auth-blue-soft);
}

html,
body {
  min-height: 100%;
  background: var(--auth-page-bg);
  color: var(--auth-text);
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 96px;
  z-index: -1;
  background: linear-gradient(180deg, var(--auth-card-bg) 0%, var(--auth-surface-soft) 100%);
  border-bottom: 1px solid var(--auth-border-soft);
}

a {
  color: var(--auth-blue);
  font-weight: 800;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

a:hover,
a:focus {
  color: var(--auth-blue-hover-text);
  text-decoration: none;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.AuthShell,
.rc-auth-page {
  width: 100%;
  min-height: 100vh;
  padding: var(--auth-space-4) var(--auth-space-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.AuthShell__inner,
.rc-simple-wrap,
.rc-register-wrap {
  width: 100%;
}

.AuthShell__inner,
.rc-simple-wrap {
  max-width: 420px;
}

.rc-register-wrap {
  max-width: 600px;
}

.AuthShell--register .AuthShell__inner,
.AuthShell--register .rc-register-wrap {
  max-width: 600px;
}

.AuthShell--reset .AuthShell__inner,
.AuthShell--reset .rc-simple-wrap {
  max-width: 440px;
}

.AuthHeader,
.rc-simple-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--auth-space-1);
  margin-bottom: var(--auth-space-2);
  text-align: center;
}

.rc-login-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--auth-card-bg);
  border: 1px solid var(--auth-blue-border);
  box-shadow: var(--auth-shadow-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rc-login-brand-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.rc-simple-title {
  margin: 0;
  padding: 0;
  text-align: inherit;
}

.rc-simple-title h1 {
  margin: 0 0 var(--auth-space-1);
  color: var(--auth-title);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.rc-simple-title p {
  margin: 0;
  color: var(--auth-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.AuthCard,
.rc-login-card,
.rc-auth-card {
  overflow: hidden;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius-card);
  background: var(--auth-card-bg);
  box-shadow: none;
}

.rc-login-header,
.rc-auth-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--auth-border-soft);
  background: linear-gradient(180deg, var(--auth-card-header) 0%, var(--auth-card-bg) 100%);
}

.rc-login-header-inner,
.rc-auth-header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rc-login-icon,
.rc-auth-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 13px;
  border: 1px solid var(--auth-blue-border);
  background: var(--auth-blue-soft);
  color: var(--auth-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rc-login-icon svg,
.rc-auth-icon svg {
  width: 19px;
  height: 19px;
  display: block;
}

.rc-login-title,
.rc-auth-title {
  margin: 0;
  color: var(--auth-title);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.rc-login-subtitle,
.rc-auth-subtitle {
  margin: 4px 0 0;
  color: var(--auth-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.AuthCard__body,
.rc-login-body,
.rc-auth-body {
  padding: var(--auth-space-3);
}

.AuthShell--register .AuthCard__body,
.AuthShell--register .rc-auth-body {
  padding: var(--auth-space-3);
}

.AuthShell--register .row {
  margin-right: calc(var(--auth-space-1) * -1);
  margin-left: calc(var(--auth-space-1) * -1);
}

.AuthShell--register .FormField[class*="col-"] {
  padding-right: var(--auth-space-1);
  padding-left: var(--auth-space-1);
}

.FormField,
.rc-form-group {
  margin-bottom: var(--auth-space-2);
}

.rc-form-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--auth-space-2);
  margin-bottom: var(--auth-space-1);
}

.rc-login-card label,
.rc-auth-card label {
  margin-bottom: var(--auth-space-1);
  color: var(--auth-title);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.rc-form-row-between label {
  margin-bottom: 0;
}

.rc-field-label-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-height: 18px;
  margin-bottom: var(--auth-space-1);
}

.rc-login-card .rc-field-label-row > label,
.rc-auth-card .rc-field-label-row > label {
  margin-bottom: 0;
  line-height: 18px;
}

.rc-register-email-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--auth-blue-border);
  border-radius: 50%;
  background-color: var(--auth-blue-soft);
  color: var(--auth-blue);
  line-height: 1;
  cursor: help;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.rc-register-email-info:hover,
.rc-register-email-info:focus {
  border-color: var(--auth-blue-hover-border);
  background-color: var(--auth-blue-hover);
  color: var(--auth-blue-hover-text);
}

.rc-register-email-info:focus {
  box-shadow: 0 0 0 3px var(--auth-blue-soft);
}

.rc-info-mark {
  position: relative;
  display: block;
  width: 2px;
  height: 6px;
  border-radius: 999px;
  background-color: currentColor;
  transform: translateY(2px);
}

.rc-info-mark::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background-color: currentColor;
}

.rc-field-label-row::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 40;
  width: 100%;
  max-width: 340px;
  padding: 9px 11px;
  border: 1px solid var(--auth-border);
  border-radius: 10px;
  background-color: var(--auth-card-bg);
  color: var(--auth-text);
  box-shadow: var(--auth-shadow-soft);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  text-align: left;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  pointer-events: none;
  box-sizing: border-box;
}

.rc-field-label-row:hover::after,
.rc-field-label-row:focus-within::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rc-login-card .form-control,
.rc-auth-card .form-control,
.rc-auth-card .custom-select {
  height: var(--auth-control-height);
  min-height: var(--auth-control-height);
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius-control);
  background: var(--auth-card-bg);
  color: var(--auth-title);
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
  padding: 0 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.rc-login-card .form-control:focus,
.rc-auth-card .form-control:focus,
.rc-auth-card .custom-select:focus {
  border-color: var(--auth-blue-hover-border);
  background: var(--auth-card-bg);
  box-shadow: var(--auth-focus-ring);
}

.rc-login-card .invalid-feedback,
.rc-auth-card .invalid-feedback {
  margin-top: 7px;
  font-size: 12px;
  font-weight: 700;
}

.rc-auth-card .input-group {
  align-items: stretch;
  flex-wrap: wrap;
}

.rc-auth-card .input-group > .invalid-feedback {
  flex: 0 0 100%;
  width: 100%;
}

.rc-auth-card .input-group > .form-control,
.rc-auth-card .input-group > .custom-select {
  height: var(--auth-control-height);
  min-height: var(--auth-control-height);
}

.rc-auth-card .input-group > .form-control:not(:last-child),
.rc-auth-card .input-group > .custom-select:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.rc-auth-card .input-group > .form-control:not(:first-child),
.rc-auth-card .input-group > .custom-select:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.rc-auth-card .input-group.rc-email-domain-group > .custom-select:nth-last-child(2) {
  border-top-right-radius: var(--auth-radius-control);
  border-bottom-right-radius: var(--auth-radius-control);
}

.rc-auth-card div.input-group-append {
  height: var(--auth-control-height);
  display: flex;
  align-items: stretch;
}

.rc-auth-card select.input-group-append {
  display: block;
}

.rc-auth-card div.input-group-append .rc-btn {
  height: var(--auth-control-height);
  min-height: var(--auth-control-height);
  padding: 0 15px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: var(--auth-radius-control);
  border-bottom-right-radius: var(--auth-radius-control);
  transform: none;
}

.rc-auth-card div.input-group-append .rc-btn:hover {
  transform: none;
}

.rc-login-card .custom-control,
.rc-auth-card .custom-control {
  min-height: 22px;
}

.rc-login-card .custom-control-label,
.rc-auth-card .custom-control-label {
  color: var(--auth-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
  cursor: pointer;
}

.rc-login-card .custom-control-input:checked ~ .custom-control-label::before,
.rc-auth-card .custom-control-input:checked ~ .custom-control-label::before {
  border-color: var(--auth-success);
  background-color: var(--auth-success) !important;
  box-shadow: none;
}

.rc-login-card .custom-control-input:checked:focus ~ .custom-control-label::before,
.rc-auth-card .custom-control-input:checked:focus ~ .custom-control-label::before {
  border-color: var(--auth-success);
  background-color: var(--auth-success) !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16);
}

.rc-login-card .was-validated .custom-control-input:valid ~ .custom-control-label,
.rc-auth-card .was-validated .custom-control-input:valid ~ .custom-control-label,
.rc-login-card .custom-control-input.is-valid ~ .custom-control-label,
.rc-auth-card .custom-control-input.is-valid ~ .custom-control-label {
  color: var(--auth-muted);
}

.rc-login-card .was-validated .custom-control-input:valid ~ .custom-control-label::before,
.rc-auth-card .was-validated .custom-control-input:valid ~ .custom-control-label::before,
.rc-login-card .custom-control-input.is-valid ~ .custom-control-label::before,
.rc-auth-card .custom-control-input.is-valid ~ .custom-control-label::before {
  border-color: var(--auth-border);
  background-color: var(--auth-card-bg);
}

.rc-login-card .was-validated .custom-control-input:valid:checked ~ .custom-control-label::before,
.rc-auth-card .was-validated .custom-control-input:valid:checked ~ .custom-control-label::before,
.rc-login-card .custom-control-input.is-valid:checked ~ .custom-control-label::before,
.rc-auth-card .custom-control-input.is-valid:checked ~ .custom-control-label::before {
  border-color: var(--auth-success);
  background-color: var(--auth-success) !important;
}

.rc-btn {
  height: var(--auth-button-height);
  min-height: var(--auth-button-height);
  border-radius: var(--auth-radius-control);
  padding: 0 var(--auth-space-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.rc-btn:hover,
.rc-btn:focus {
  transform: none;
  text-decoration: none;
}

.rc-btn:disabled,
.rc-btn.disabled {
  cursor: not-allowed;
  opacity: .66;
  transform: none !important;
  box-shadow: none !important;
  border-color: var(--auth-border) !important;
  background: var(--auth-surface-muted) !important;
  color: var(--auth-muted) !important;
}

.PrimaryButton,
.rc-btn-primary {
  border-color: var(--auth-blue);
  background: var(--auth-blue);
  color: var(--auth-card-bg) !important;
}

.PrimaryButton:hover,
.PrimaryButton:focus,
.rc-btn-primary:hover,
.rc-btn-primary:focus {
  border-color: var(--auth-blue-hover-text);
  background: var(--auth-blue-hover-text);
  color: var(--auth-card-bg) !important;
  box-shadow: none !important;
}

.PrimaryButton:active,
.rc-btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--auth-focus-ring) !important;
}

.SecondaryButton,
.rc-btn-secondary {
  border-color: var(--auth-border);
  background: var(--auth-card-bg);
  color: var(--auth-text) !important;
}

.SecondaryButton:hover,
.SecondaryButton:focus,
.rc-btn-secondary:hover,
.rc-btn-secondary:focus {
  border-color: var(--auth-blue-border);
  background: var(--auth-blue-soft);
  color: var(--auth-blue) !important;
}

.rc-btn-block {
  width: 100%;
}

.rc-btn-icon {
  width: 15px;
  height: 15px;
  display: block;
  flex: 0 0 15px;
}

.rc-divider {
  display: flex;
  align-items: center;
  gap: var(--auth-space-2);
  margin: var(--auth-space-2) 0;
  color: var(--auth-muted);
  font-size: 12px;
  font-weight: 600;
}

.rc-divider::before,
.rc-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--auth-border-soft);
}

.rc-login-extra,
.rc-auth-extra {
  margin-top: var(--auth-space-2);
  padding-top: 0;
  border-top: 0;
  color: var(--auth-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
}

.AuthSwitch {
  margin-top: var(--auth-space-2);
  color: var(--auth-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}

.AuthSwitch__question {
  color: var(--auth-muted);
}

.AuthSwitch__action {
  margin-left: 6px;
  color: var(--auth-blue);
  font-weight: 500;
  text-decoration: none;
}

.AuthSwitch--single .AuthSwitch__action {
  margin-left: 0;
}

.AuthSwitch__action:hover,
.AuthSwitch__action:focus {
  color: var(--auth-blue-hover-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rc-login-step-note,
.rc-info-box,
.rc-closed-box {
  margin: 0 0 var(--auth-space-2);
  padding: 12px;
  border-radius: var(--auth-radius-control);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.rc-login-step-note {
  border: 1px solid var(--auth-border-soft);
  background: var(--auth-surface-soft);
  color: var(--auth-text);
}

.rc-info-box {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--auth-muted);
}

.rc-closed-box {
  border: 1px solid var(--auth-border);
  background: var(--auth-surface-soft);
  color: var(--auth-text);
}

.rc-login-email-help {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: var(--auth-space-2);
  margin: 0 0 var(--auth-space-2);
  padding: 14px 15px 14px 14px;
  overflow: hidden;
  border: 1px solid var(--auth-border);
  border-radius: 12px;
  background: var(--auth-card-bg);
  color: var(--auth-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.65;
}

.rc-login-email-help::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--auth-blue);
  opacity: .58;
}

.rc-login-email-help-icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border: 1px solid var(--auth-blue-border);
  border-radius: var(--auth-radius-control);
  background: var(--auth-blue-soft);
  color: var(--auth-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-login-email-help-icon svg {
  width: 17px;
  height: 17px;
  display: block;
}

.rc-login-email-help-content {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.rc-login-email-help-title {
  margin: 0 0 4px;
  color: var(--auth-title);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.rc-login-email-help-text {
  margin: 0;
}

.rc-login-email-help a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 1px 7px;
  border: 1px solid var(--auth-blue-border);
  border-radius: var(--auth-radius-control);
  background: var(--auth-blue-soft);
  color: var(--auth-blue);
  font-size: 12px;
  line-height: 1.45;
  vertical-align: baseline;
}

.rc-login-email-help-list {
  list-style: none;
  margin: 9px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.rc-login-email-help-list li {
  position: relative;
  padding-left: 15px;
  color: var(--auth-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.65;
}

.rc-login-email-help-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .78em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--auth-blue);
  opacity: .72;
}

.rc-simple-footer {
  margin-top: var(--auth-space-1);
  color: var(--auth-muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  opacity: .52;
}

.AuthFooterLink,
.rc-login-extra a,
.rc-auth-extra a {
  font-weight: 500;
}

.AuthFooter a,
.AuthFooterLink {
  color: var(--auth-muted);
}

.AuthFooter a,
.AuthFooter .AuthFooterLink {
  font-weight: 500;
}

.AuthFooter a:hover,
.AuthFooter a:focus,
.AuthFooterLink:hover,
.AuthFooterLink:focus {
  color: var(--auth-blue);
  opacity: 1;
}

.pwindicator {
  margin-top: 8px;
  display: none;
}

.pwindicator .bar {
  width: 0;
  height: 6px;
  border-radius: var(--auth-radius-control);
  background: var(--auth-border-soft);
  transition: width .25s ease, background-color .25s ease;
}

.pwindicator .label {
  margin-top: 6px;
  color: var(--auth-muted);
  font-size: 12px;
  font-weight: 500;
}

.pwindicator.is-visible {
  display: block;
}

.pwindicator.strength-1 .bar {
  width: 20%;
  background-color: var(--auth-muted);
}

.pwindicator.strength-2 .bar {
  width: 40%;
  background-color: var(--auth-blue-border);
}

.pwindicator.strength-3 .bar {
  width: 60%;
  background-color: var(--auth-blue-hover-border);
}

.pwindicator.strength-4 .bar {
  width: 80%;
  background-color: var(--auth-blue);
}

.pwindicator.strength-5 .bar {
  width: 100%;
  background-color: var(--auth-blue-hover-text);
}

.modal-backdrop.show {
  opacity: .38;
}

.modal-content {
  overflow: hidden;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius-card);
  background: var(--auth-card-bg);
  box-shadow: var(--auth-shadow-soft);
}

.modal-header {
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--auth-border-soft);
  background: linear-gradient(180deg, var(--auth-card-header) 0%, var(--auth-card-bg) 100%);
  align-items: center;
}

.modal-title {
  color: var(--auth-title);
  font-size: 16px;
  font-weight: 900;
}

.modal-header .close {
  width: 34px;
  height: 34px;
  margin: -3px -3px -3px auto;
  padding: 0;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius-control);
  background: var(--auth-card-bg);
  color: var(--auth-muted);
  text-shadow: none;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-header .close:hover {
  background: var(--auth-blue-soft);
  color: var(--auth-blue);
}

.modal-body {
  padding: 20px;
}

.rc-telegram-help {
  margin: 16px 0 12px;
  color: var(--auth-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.rc-telegram-code {
  min-width: 150px;
  height: 52px;
  padding: 0 20px;
  border: 1px solid var(--auth-blue-border);
  border-radius: var(--auth-radius-control);
  background: var(--auth-blue-soft);
  color: var(--auth-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .06em;
}

.swal2-popup {
  border: 1px solid var(--auth-border) !important;
  border-radius: var(--auth-radius-card) !important;
  box-shadow: var(--auth-shadow-soft) !important;
}

.swal2-title {
  color: var(--auth-title) !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.swal2-html-container {
  color: var(--auth-text) !important;
  font-weight: 600 !important;
  line-height: 1.7 !important;
}

.swal2-styled.swal2-confirm {
  border: 1px solid var(--auth-blue) !important;
  border-radius: var(--auth-radius-control) !important;
  background: var(--auth-blue) !important;
  color: var(--auth-card-bg) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
  box-shadow: none !important;
}

.swal2-styled.swal2-confirm:hover,
.swal2-styled.swal2-confirm:focus {
  border-color: var(--auth-blue-hover-text) !important;
  background: var(--auth-blue-hover-text) !important;
  color: var(--auth-card-bg) !important;
  box-shadow: var(--auth-focus-ring) !important;
}

@media (max-width: 767.98px) {
  body::before {
    height: 80px;
  }

  .section {
    align-items: stretch;
  }

  .AuthShell,
  .rc-auth-page {
    min-height: auto;
    padding: var(--auth-space-3) 12px;
  }

  .rc-simple-wrap,
  .rc-register-wrap {
    max-width: 100%;
  }

  .rc-simple-brand {
    margin-bottom: var(--auth-space-2);
  }

  .rc-login-brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .rc-login-brand-logo img {
    width: 30px;
    height: 30px;
  }

  .rc-simple-title {
    padding: 0 2px;
  }

  .rc-simple-title h1 {
    font-size: 21px;
  }

  .rc-login-header,
  .rc-auth-header {
    padding: 16px;
  }

  .AuthCard__body,
  .rc-login-body,
  .rc-auth-body {
    padding: var(--auth-space-3) var(--auth-space-2);
  }

  .rc-login-header-inner,
  .rc-auth-header-inner {
    align-items: flex-start;
  }

  .rc-form-row-between {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--auth-space-1);
  }

  .rc-btn {
    width: 100%;
  }

  .rc-auth-card .input-group.rc-code-group,
  .rc-auth-card .input-group.rc-email-domain-group {
    flex-wrap: wrap;
    gap: var(--auth-space-1);
  }

  .rc-auth-card .input-group.rc-code-group > .form-control,
  .rc-auth-card .input-group.rc-code-group > div.input-group-append,
  .rc-auth-card .input-group.rc-email-domain-group > .form-control,
  .rc-auth-card .input-group.rc-email-domain-group > .custom-select {
    flex: 1 1 100%;
    width: 100%;
  }

  .rc-auth-card .input-group.rc-code-group > .form-control,
  .rc-auth-card .input-group.rc-email-domain-group > .form-control,
  .rc-auth-card .input-group.rc-email-domain-group > .custom-select {
    border-radius: var(--auth-radius-control);
  }

  .rc-auth-card .input-group.rc-code-group > div.input-group-append .rc-btn {
    width: 100%;
    border-radius: var(--auth-radius-control);
  }

  .rc-auth-card div.input-group-append .rc-btn {
    padding: 0 12px;
  }

  .modal-dialog {
    margin: 12px;
  }
}