.welcome-content {
  display: block;
  width: 100%;
}
.welcome-content .portal-bg {
  width: 100vw;
  min-height: 100dvh;
  margin-left: calc(50% - 50vw);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.74) 28%, rgba(255, 255, 255, 0.08) 56%), linear-gradient(135deg, #0a5fb4 0%, #2a86d3 30%, #d8ecff 68%, #ffffff 100%);
  overflow-x: hidden;
}
.welcome-content .portal-wrap {
  width: min(1180px, 100%);
  position: relative;
  z-index: 1;
}
.welcome-content .portal-shell {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(440px, 520px);
  gap: 56px;
  align-items: center;
}
.welcome-content .portal-brand-stage {
  min-height: 620px;
  padding: 20px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.welcome-content .portal-auth-stage {
  width: 100%;
  display: flex;
  justify-content: center;
}
.welcome-content .portal-logo {
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 28px rgba(0, 120, 212, 0.12));
}
.welcome-content .portal-card {
  width: min(100%, 500px);
  min-height: 620px;
  padding: 30px 28px !important;
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid rgba(20, 91, 166, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 56px rgba(10, 63, 122, 0.16);
}
.welcome-content .portal-card-title {
  margin: 0 0 14px;
  color: #0f3d73;
  font-size: 2rem;
  font-weight: 700;
}
.welcome-content .ms-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1.5px solid #c4d8ee;
  background: #fff;
  color: #12324d;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}
.welcome-content .ms-btn:hover {
  background: #f4f9ff;
  border-color: #7db2e3;
}
.welcome-content .ms-btn:active {
  transform: translateY(1px);
}
.welcome-content .ms-logo {
  width: 18px;
  height: 18px;
  display: block;
}
.welcome-content .portal-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
.welcome-content .security-link-wrap {
  display: flex;
  justify-content: center;
}
.welcome-content .portal-phone-link {
  color: #0b5cab;
}
.welcome-content .portal-support-note {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #E7ECF2;
}
.welcome-content .customer-link,
.welcome-content .security-link {
  font-weight: 600;
  text-decoration: none;
}
.welcome-content .customer-link i,
.welcome-content .security-link i {
  font-size: 1.1rem;
}
.welcome-content .security-link {
  width: min(100%, 280px);
  padding: 10px 18px;
  border: 1px solid #bfd7f2;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  color: #0b5cab;
  font-size: 0.98rem;
  line-height: 1.4;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.welcome-content .security-link:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e5f1ff 100%);
  border-color: #89b9e7;
  color: #084b8a;
  box-shadow: 0 10px 24px rgba(11, 92, 171, 0.12);
}
.welcome-content .portal-inline-link,
.welcome-content .customer-inline-link {
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  text-decoration: none;
  vertical-align: baseline;
  color: #0b5cab;
}
.welcome-content .modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.18);
}
.welcome-content .modal-header,
.welcome-content .modal-footer {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-color: #dce9f7;
}
.welcome-content .modal-footer {
  align-items: stretch !important;
}
.welcome-content .soft-alert {
  padding: 14px 16px;
  border-radius: 14px;
}
.welcome-content .soft-alert-primary {
  background: linear-gradient(180deg, #eef6ff 0%, #f8fbff 100%);
  color: #12324d;
}
.welcome-content .soft-alert-warning {
  background: #fff8e8;
  color: #5f4700;
}
.welcome-content .soft-alert-info {
  background: #eefaf7;
  color: #0f3f37;
}
.welcome-content .signin-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.welcome-content .step-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #E7ECF2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
}
.welcome-content .step-card-warning {
  border-color: #F2D38B;
  background: #FFFDF7;
}
.welcome-content .step-badge {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0078D4;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}
.welcome-content .step-card-warning .step-badge {
  background: #D97706;
}
.welcome-content .step-content {
  flex: 1 1 auto;
  min-width: 0;
}
.welcome-content .step-title {
  margin-bottom: 6px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.35;
}
.welcome-content .step-text,
.welcome-content .mini-card-text {
  color: #5b6472;
  font-size: 0.95rem;
  line-height: 1.55;
}
.welcome-content .support-list {
  padding-left: 1.1rem;
  color: #5b6472;
}
.welcome-content .support-list li + li {
  margin-top: 4px;
}
.welcome-content .decon-grid,
.welcome-content .compliance-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}
.welcome-content .compliance-modal-content {
  border: 1px solid #d5e6f7;
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}
.welcome-content .compliance-modal-header {
  padding-bottom: 18px;
}
.welcome-content .compliance-modal-header .modal-title {
  color: #0f3d73;
}
.welcome-content .portal-modal-subtitle {
  line-height: 1.55;
}
.welcome-content .compliance-modal-body {
  background: linear-gradient(180deg, #f9fcff 0%, #ffffff 22%);
}
.welcome-content .compliance-intro-panel,
.welcome-content .compliance-doc-panel {
  border: 1px solid #d7e7f8 !important;
  box-shadow: 0 10px 26px rgba(11, 92, 171, 0.08);
}
.welcome-content .compliance-copy {
  color: #456;
  font-size: 0.96rem;
  line-height: 1.65;
  text-align: left;
}
.welcome-content .portal-section-heading {
  color: #4c6b8a !important;
  letter-spacing: 0.08em;
}
.welcome-content .compliance-overview-card,
.welcome-content .compliance-info-card {
  border-color: #d7e7f8;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}
.welcome-content .compliance-overview-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.welcome-content .compliance-info-card {
  position: relative;
}
.welcome-content .compliance-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, #0b5cab 0%, #5aa5e6 100%);
}
.welcome-content .compliance-list {
  font-size: 0.96rem;
  line-height: 1.6;
  text-align: left;
}
.welcome-content .compliance-modal-footer {
  border-top: 1px solid #dce9f7;
}
.welcome-content .mini-card {
  padding: 16px;
  border: 1px solid #E7ECF2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
}
.welcome-content .mini-card-title {
  margin-bottom: 6px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.35;
}
.welcome-content .accordion-item {
  margin-bottom: 10px;
  border: 1px solid #E7ECF2;
  border-radius: 12px !important;
  overflow: hidden;
}
.welcome-content .accordion-button {
  font-weight: 600;
  box-shadow: none !important;
}
.welcome-content .accordion-button:not(.collapsed) {
  background: #f8fbff;
  color: #0f172a;
}
@media (max-width: 1100px) {
  .welcome-content .portal-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .welcome-content .portal-brand-stage {
    min-height: 0;
    padding: 0 0 12px;
  }
  .welcome-content .portal-auth-stage {
    justify-content: center;
  }
  .welcome-content .portal-card {
    width: min(100%, 560px);
    min-height: 0;
  }
}
@media (min-width: 768px) {
  .welcome-content .compliance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .welcome-content .compliance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .welcome-content .portal-bg {
    padding: 18px;
  }
  .welcome-content .portal-logo {
    max-width: 220px;
  }
  .welcome-content .portal-card {
    width: 100%;
    padding: 20px !important;
    border-radius: 22px;
  }
  .welcome-content .portal-card-title {
    font-size: 1.7rem;
  }
  .welcome-content .security-link {
    width: 100%;
  }
}
