/* Common Modal Styles */
.signup-modal .modal-content {
  background-color: transparent;
  border: none;
  box-shadow: none;
}

/* Override Bootstrap's modal width constraints */
.signup-modal .modal-dialog {
  max-width: 800px; /* Increased to accommodate the 737px content with padding */
}

/* Ensure the modal dialog is properly centered */
.signup-modal .modal-dialog.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

.modal-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/signup-bg.png);
  background-size: cover;
  background-position: center;
  filter: brightness(0.8);
  z-index: -1;
}

.close-btn {
  position: absolute;
  top: 40px;
  right: 115px;
  color: white;
  background: transparent;
  border: none;
  font-size: 24px;
  z-index: 1050;
  cursor: pointer;
  height: 48px;
  width: 48px;
}

/* Step 1 Styles */
.signup-card-step1 {
  background-color: #000;
  /* color: white; */
  padding: 30px 71px;
  border-radius: 16px;
  width: 100%;
  max-width: 460px;
  height: 398px;
  margin: 0 auto;
}

.signup-card-step1-5 {
  background-color: #000;
  /* color: white; */
  padding: 30px;
  border-radius: 16px;
  width: 100%;
  max-width: 460px;
  height: 398px;
  margin: 0 auto;
  color: #ccc;
}

.signup-card-step1-5 p {
  margin-top: 80px;
  margin-bottom: 22px;
}

.signup-card-step4 {
  background-color: #000;
  /* color: white; */
  padding: 30px 71px;
  border-radius: 16px;
  width: 100%;
  max-width: 533px;
  height: 448px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  overflow: auto;
}

.signup-card-step4 .congratulations-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 65px;
}
.signup-card-step4 .congratulations-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  color: white;
  font-size: 16px;
  letter-spacing: 1%;
  margin-top: 23px;
}
.signup-card-step4 .congratulations-container p {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 400;
  color: #aaa;
  font-size: 13px;
  color: #ffffffa1;
  margin-top: 22px;
}
.signup-card-step4 .congratulations-container .congratulations-icon {
  width: 62px;
  height: 62px;
}

.signup-card-step1 .signup-form .logo,
.signup-card-step2 .signup-form .logo,
.signup-card-step3 .signup-form .logo,
.signup-card-step4 .signup-form .logo,
.signup-card-step1-5 .logo {
  text-align: center;
  align-items: center;
  width: 141px;
  height: auto;
}

/* Step 2 Styles */
.signup-card-step2 {
  background-color: #000;
  color: white;
  padding: 30px 40px;
  border-radius: 16px;
  width: 737px; /* Set exact width instead of max-width */
  /* height: auto; */
  height: 600px;
  overflow-y: auto;
  scrollbar-width: none;
  margin: 0 auto;
}

/* Add responsive styles for step2 card */
@media (max-width: 992px) {
  .signup-card-step2 {
    width: 600px;
  }

  .signup-modal .modal-dialog {
    max-width: 650px;
  }

  .signup-card-step1 .signup-form .logo,
  .signup-card-step2 .signup-form .logo,
  .signup-card-step3 .signup-form .logo {
    text-align: center;
    align-items: center;
    width: 110px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .signup-card-step2 {
    width: 500px;
    height: 545px !important;
    padding: 30px 25px;
  }

  .signup-modal .modal-dialog {
    max-width: 550px;
  }
  .close-btn {
    position: absolute;
    top: 20px;
    right: 15px;
    color: white;
    background: transparent;
    border: none;
    font-size: 24px;
    z-index: 1050;
    cursor: pointer;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .signup-card-step2 {
    width: 100%;
    padding: 30px 20px;
  }

  .signup-modal .modal-dialog {
    margin: 0.5rem;
  }

  .signup-form .form-control {
    background-color: transparent !important;
    border: none;
    border-bottom: 1px solid #ffffff36 !important;
    border-radius: 0;
    color: rgba(255, 255, 255, 1);
    padding: 10px 0 !important;
    margin-bottom: 5px;
  }

  .signup-form input {
    font-size: 0.9rem;
  }
  .signup-card-step3 {
    width: 100%;
    height: 567px;
    padding: 30px 30px !important;
    margin-top: 50px !important;
    /* padding: 30px 20px; */
  }
  .profile-avatar {
    width: 190px !important;
    height: 190px !important;
  }
  .finish-btn {
    display: flex;
    justify-content: center !important;
  }
}

/* Step 3 Styles */
.signup-card-step3 {
  background-color: #000;
  color: white;
  padding: 30px 40px;
  width: 100%;
  max-width: 737px;
  border-radius: 16px;
  overflow: auto;
  /* min-height: 615px; */
  margin: 0 auto;
}

/* Common form styles */
.signup-form p {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 21px;
  font-weight: 400;
  color: #ffffffa3;
}

.signup-card-step2 h2,
.signup-card-step3 h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.step-indicator {
  text-align: right;
  color: #aaa;
  font-size: 14px;
}

.signup-form .form-control {
  background-color: transparent !important;
  border: none;
  border-bottom: 1px solid #ffffff36 !important;
  border-radius: 0;
  color: rgba(255, 255, 255, 1);
  padding: 20px 0;
  margin-bottom: 5px; /* Reduced margin to align error message better */
}
select option {
  color: #aaa;
  background-color: #000;
}

.signup-form .form-control:focus {
  background-color: transparent !important;
  color: white !important;
  box-shadow: none;
  border-color: #666;
}

.signup-form .form-control::placeholder {
  color: #555;
}

.signup-form .form-control option[disabled][selected] {
  color: #555; /* Color for the placeholder when selected */
}

.phone-input-container {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #444;
  margin-bottom: 20px;
}

.country-code {
  display: flex;
  align-items: center;
  padding-right: 10px;
}

.country-code img {
  width: 24px;
  margin-right: 5px;
}

.phone-input-container input {
  border: none;
  flex-grow: 1;
  background-color: transparent;
  color: white;
  padding: 10px 0;
  width: 100%;
}

.phone-input-container input:focus {
  outline: none;
}

.btn-action1 {
  background-color: #333;
  color: white !important;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.btn-action4 {
  background-color: #2e2e2e;
  color: white !important;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  padding: 10px 40px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.btn-action1.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn-action2.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn-action3.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.btn-action1.loading span {
  visibility: hidden;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.btn-action2 {
  background-color: #333;
  color: white;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  margin-top: 47px;
}
.btn-action3 {
  background-color: #333;
  color: white;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  margin-top: 77px;
}

.btn-action:hover {
  background-color: #444;
  color: white;
}

.btn-action2.loading span {
  visibility: hidden;
}

.error-message {
  color: red;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.error-message-otp {
  color: red;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}
.invalid-phone {
  color: red;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}
.phone-required {
  color: red;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

/* Updated style for apply-field-error to align with input */
.apply-field-error {
  color: #eb3a4b;
  font-size: 12px;
  margin-top: 5px;
  padding-left: 71px; /* Matches the left padding of signup-card-step1 */
  display: none;
}

.download-app {
  text-align: center;
  margin-top: 40px;
}

.download-app a {
  color: white;
  text-decoration: underline;
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
}

.profile-upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.profile-avatar {
  width: 228px;
  height: 228px;
  border-radius: 50%;
  background: linear-gradient(180deg, #0a0a0a 0%, #181818 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar .avatar-placeholder {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  opacity: 0.5;
}

.upload-btn {
  background-color: transparent;
  color: white;
  font-size: 13px;
  margin-top: 48px;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
}

.upload-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

#file-input {
  display: none;
}

/* Added style for disabled button */
.btn-action2:disabled,
.btn-action1:disabled,
.btn-action3:disabled {
  background-color: #666;
  cursor: not-allowed;
}

/* Error styles for Step 2 */
.invalid-email,
.invalid-linkedin,
.email-exists {
  color: #eb3a4b;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}
/* Step 1.5 Styles */
.auth-box {
  background-color: #000;
  color: #ccc;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  max-width: 500px;
  margin: 50px auto;
}
.auth-box h2 {
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  color: #fff;
  margin-bottom: 30px;
}
.digit-input {
  width: 50px;
  height: 60px;
  font-size: 24px;
  text-align: center;
  border: 1px solid #555;
  background: #111;
  color: #fff;
  margin: 0 5px;
  border-radius: 5px;
}
.resend-text {
  margin-top: 30px;
  color: #ccc;
}
.resend-text em {
  color: #fff;
}
