.popup-overlay {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999999;
  overflow-y: auto;
  padding: 40px 16px;
}
.mpci-top-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.mpci-link {
  font-size: 14px;
  font-weight: 400;
  color: #e5e7eb;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.9;
}

.mpci-link:hover {
 box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28) !important;
    transform: translateY(-3px);
    transition: 0.3s ease;
}
.mpci-top-links span:hover {
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28) !important;
    transform: translateY(-3px);
    transition: 0.3s ease;
}
a.mpci-link {
    color: white !important;
}
.mpci-top-links span {
    color: white;
}
.mpci-link--primary {
  font-weight: 600;
  color: #ffffff;
}

.create_an_account_steps {
  margin-bottom: 24px;
}

.steps_container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps__step {
  font-size: 14px;
  color: #9ca3af;
  font-weight: 500;
}

.steps__step--current {
  color: #111827;
  font-weight: 700;
}
.form__action-buttons {
  display: flex;
  justify-content: flex-end; 
}

button.btn-primary.goNext {
  background: rgb(64, 161, 255);
  color: white;
}


button.btn-primary.goNext {
  margin-left: 0; 
  background: rgb(64, 161, 255) !important;
  color: #fff;
}

.steps_line_between {
  width: 40px;
  height: 1px;
  background: #d1d5db;
  margin: 0 12px;
}

.popup-content {
  background: #fff;
  width: 100%;
  max-width: 60%;
  max-height: calc(100vh - 80px);
  padding: 32px;
  border-radius: 12px;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 576px) {
  .popup-content {
    padding: 20px;
  }

  .cargo-form input,
  .cargo-form select {
    height: 48px;
    font-size: 13px;
  }

  .form__help-text {
    margin-left: 4px;
  }
}


.cargo-form,
.popup-content form {
  width: 100%;
}

.cargo-form {
  width: 100%;
}

.cargo-form input,
.cargo-form select {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  margin-bottom: 6px;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  background-color: rgba(242, 244, 247, 0.9);
  box-shadow: inset 0 1px 2px rgba(41, 46, 61, 0.1);
}


.cargo-form input::placeholder {
  color: #6b7280;
}

.cargo-form input:focus,
.cargo-form select:focus {
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 1px #4f46e5;
}
.form__help-text {
  margin: 4px 0 14px 12px;
  font-size: 12px;
  line-height: 16px;
  color: #9ca3af;
  font-style: italic;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  font-size: 14px;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
}

.btn-primary,
.btn-disabled {
  /* width: 100%; */
  height: 48px;
  margin-top: 24px;
  border-radius: 8px;
  font-size: 15px;
}


.btn-primary:hover {
  background: #4338ca;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
}

.checkbox-line input {
  position: absolute;
  opacity: 0;
}


.custom-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #9ca3af;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
}

/* SHOW tick on hover */
.checkbox-line:hover .custom-checkbox::after {
  content: "✔";
  position: absolute;
  top: -2px;
  left: 2px;
  font-size: 14px;
  color: #4f46e5;
}

/* CHECKED state */
.checkbox-line input:checked + .custom-checkbox {
  border-color: #4f46e5;
  background: #eef2ff;
}

.checkbox-line input:checked + .custom-checkbox::after {
  content: "✔";
  color: #4f46e5;
}

.user_creation input[type="text"], input[type="url"], input[type="email"], input[type="tel"], input[type="password"] {
        font-family: Roboto, sans-serif !important;
    width: 100% !important;
    padding: 6px 10px !important;
    font-size: 16px !important;
    line-height: 20px !important;
    font-weight: 500 !important;
    box-sizing: border-box !important;
    transition: all .15s cubic-bezier(.2, 1, .68, .99) !important;
    border: none;
    border-radius: 8px !important;
    box-shadow: inset 0 2px 6px 0 rgba(80, 90, 119, .1), inset 0 1px 2px 0 rgba(41, 46, 61, .1) !important;
    background-color: rgba(242, 244, 247, .4) !important;
}
.user_creation input:hover {
  background-color: #ffffff !important;
  box-shadow: inset 0 1px 2px rgba(41, 46, 61, .12),
              0 0 0 1px rgba(64, 161, 255, 0.25) !important;
}
.user_creation input:focus {
  outline: none !important;
  background-color: #ffffff !important;
  box-shadow:
    0 0 0 2px rgba(64, 161, 255, 0.35),
    inset 0 1px 2px rgba(41, 46, 61, .12) !important;
}
.register_form_company_logo {
  margin: 20px 0;
}

.company-logo-upload {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.company-logo-upload:hover {
  background: #dbeafe;
}

.company-logo-upload img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.company-logo-upload.has-image img {
  display: block;
}

.company-logo-upload.has-image .camera-icon {
  display: none;
}

.camera-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step.active {
  display: block;
}
.steps__step--done strong:after {
    font-family: cargox;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    content: var(--icon-checkmark);
    top: 6.5px;
    font-size: 13px;
    color: #fff;
}
steps__step strong:after, .steps__step strong:before {
    display: block;
    content: " ";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
}
.button--back, .button--secondary {
  background: rgb(64, 161, 255) !important; 
  color: #fff !important;
}
.steps__step strong:after {
    width: 26px;
    height: 26px;
    background-color: #fff;
    box-shadow: 0 6px 14px 0 rgba(0, 0, 0, .1), 0 3px 5px 0 rgba(0, 0, 0, .05);
}
.steps_line_between {
    flex: 1 1 auto;
    height: 2px;
    background-color: #dbdde6;
    margin-top: 13px;
}
.steps_container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps__step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 14px;
}

.steps__step .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
}

/* active */
.steps__step--current {
  color: #16a34a;
  font-weight: 600;
}

.steps__step--current .dot {
  background: #16a34a;
}

/* line */
.steps_line_between {
  width: 80px;
  height: 2px;
  background: #e5e7eb;
  margin: 0 16px;
}
.help-text {
    margin: 6px 0 0 10px;
    font-size: 12px;
    line-height: 16px;
    color: #b0b6c9;
    font-style: italic;
    text-align: left;
}
.input--text {
  width: 100%;
  height: 56px;
  padding: 14px 16px;
  border-radius: 8px;
  border: none;
  background: rgba(242,244,247,.6);
  font-size: 15px;
  margin-top: 14px;
}

.input--text:focus {
  outline: none;
  background: #fff;
  border: 1px solid #4f46e5;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
} 

.form__action-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}
.create_an_account_steps {
  margin-bottom: 24px;
}