*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  color: #444444;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 300;
  margin: 0;
  padding: 0;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.wizard-content-left {
  flex: 0 0 42%;
  background-blend-mode: darken;
  background-color: rgba(0, 0, 0, 0.45);
  background-image: url('https://www.wintrustunion.com/signup/form-wizard-bg-2.jpg');
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.wizard-content-left h1 {
  color: #ffffff;
  font-size: 38px;
  font-weight: 600;
  padding: 12px 20px;
  text-align: center;
  margin: 0;
}

.form-panel {
  flex: 1;
  overflow-y: auto;
}

.form-wizard {
  color: #888888;
  padding: 30px 40px;
  max-width: 640px;
}

.form-wizard-header {
  text-align: center;
}

.form-wizard-header p {
  margin: 0 0 8px;
  font-size: 14px;
}

.form-wizard-steps {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  display: flex;
}

.form-wizard-steps::after {
  content: '';
  display: table;
  clear: both;
}

.form-wizard-steps li {
  width: 25%;
  position: relative;
  text-align: center;
}

.form-wizard-steps li::after {
  background-color: #f3f3f3;
  content: '';
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  border-bottom: 1px solid #dddddd;
  border-top: 1px solid #dddddd;
  z-index: 0;
}

.form-wizard-steps li span {
  background-color: #dddddd;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  position: relative;
  text-align: center;
  z-index: 1;
  color: #ffffff;
  font-weight: 600;
}

.form-wizard-steps li:last-child::after {
  width: 50%;
}

.form-wizard-steps li.active span,
.form-wizard-steps li.activated span {
  background-color: #008000;
  color: #ffffff;
}

.form-wizard-steps li.active::after,
.form-wizard-steps li.activated::after {
  background-color: #008000;
  left: 50%;
  width: 50%;
  border-color: #008000;
}

.form-wizard-steps li.activated::after {
  width: 100%;
  border-color: #008000;
}

.form-wizard-steps li:last-child::after {
  left: 0;
}

.wizard-fieldset {
  display: none;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.wizard-fieldset.show {
  display: block;
}

.wizard-fieldset h5 {
  color: #515365;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px;
}

.form-group {
  position: relative;
  margin: 25px 0;
}

.form-control {
  font-weight: 300;
  height: auto !important;
  padding: 15px;
  color: #888888;
  background-color: #f1f1f1;
  border: none;
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  border-radius: 0;
}

.form-control:focus {
  box-shadow: none;
  outline: none;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.wizard-form-text-label {
  position: absolute;
  left: 10px;
  top: 16px;
  transition: 0.2s linear all;
  pointer-events: none;
}

.focus-input .wizard-form-text-label {
  color: #d65470;
  top: -18px;
  transition: 0.2s linear all;
  font-size: 12px;
}

.wizard-form-error {
  display: none;
  background-color: #d70b0b;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
}

.wizard-form-error.visible {
  display: block;
}

.wizard-password-eye {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888888;
  user-select: none;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  gap: 12px;
}

.form-wizard-next-btn,
.form-wizard-previous-btn,
.form-wizard-submit,
.form-wizard-login-btn {
  color: #ffffff;
  display: inline-block;
  min-width: 120px;
  padding: 10px 16px;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
}

.form-wizard-next-btn,
.form-wizard-submit {
  background-color: #008000;
  margin-left: auto;
}

.form-wizard-previous-btn {
  background-color: #fb1647;
}

.form-wizard-login-btn {
  background-color: transparent;
  color: #4361ee;
  min-width: auto;
  padding: 10px 0;
}

.form-wizard-next-btn:hover,
.form-wizard-next-btn:focus,
.form-wizard-previous-btn:hover,
.form-wizard-previous-btn:focus,
.form-wizard-submit:hover,
.form-wizard-submit:focus {
  color: #ffffff;
  opacity: 0.6;
  text-decoration: none;
}

.identity-intro {
  margin-bottom: 24px;
  line-height: 1.5;
}

.info-cards {
  margin-bottom: 24px;
}

.info-card {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.info-card-icon {
  flex: 0 0 36px;
  color: #4361ee;
  font-size: 28px;
  line-height: 1;
}

.info-card h6 {
  margin: 0 0 4px;
  color: #515365;
  font-size: 15px;
  font-weight: 600;
}

.info-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.profile-pic-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.pic-holder {
  text-align: center;
  position: relative;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  background: #f1f1f1;
}

.pic-holder .pic {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.pic-holder .upload-file-block,
.pic-holder .upload-loader {
  position: absolute;
  inset: 0;
  background-color: rgba(90, 92, 105, 0.7);
  color: #f8f9fc;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.pic-holder .upload-file-block {
  cursor: pointer;
}

.pic-holder:hover .upload-file-block {
  opacity: 1;
}

.pic-holder.upload-in-progress .upload-file-block {
  display: none;
}

.pic-holder.upload-in-progress .upload-loader {
  opacity: 1;
}

.uploadProfileInput {
  display: none;
}

.upload-label-text {
  font-size: 14px;
  color: #515365;
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.snackbar {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 30px;
  font-size: 14px;
  transform: translateX(-50%);
}

.snackbar.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from { bottom: 0; opacity: 0; }
  to { bottom: 30px; opacity: 1; }
}

@keyframes fadeout {
  from { bottom: 30px; opacity: 1; }
  to { bottom: 0; opacity: 0; }
}

.success-panel {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.success-panel.show {
  display: block;
}

.success-panel h5 {
  color: #008000;
  font-size: 22px;
  margin-bottom: 12px;
}

@media screen and (max-width: 991px) {
  .layout {
    flex-direction: column;
  }

  .wizard-content-left {
    flex: none;
    min-height: 220px;
  }

  .form-wizard {
    padding: 24px 20px;
  }
}

@media screen and (max-width: 767px) {
  .wizard-content-left {
    min-height: 180px;
  }

  .wizard-content-left h1 {
    font-size: 28px;
  }

  .info-card {
    flex-direction: column;
    gap: 8px;
  }
}
