.form-popup {
  z-index: 1;
  width: 100%;
  max-width: 1060px;
  background: var(--color-white);
  border: 2px solid var(--color-white);
  box-shadow: 2px 5px 20px rgb(99, 99, 99);
  margin-top: 100px;
}

.form-popup .form-box {
  display: flex;
}

.form-box .form-details {
  width: 100%;
  color: var(--color-white);
  max-width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.welcome-head {
  color: var(--color-primary);
}
.id-gen .form-details {
  padding: 0 40px;
  background: url("../../../../assets/images/login-img.jpg");
  background-position: center;
  background-size: cover;
}

.form-box .form-content {
  width: 100%;
  padding: 35px;
}

form .form-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.form-box h2 {
  text-align: center;
  margin-bottom: 29px;
}
.form-box .address-head {
  margin-top: 1rem;
}
form .input-field {
  position: relative;
  height: 50px;
  width: 100%;
  margin-top: 10px;
  flex: 1 1 200px; /* Grow, shrink, min width */
  min-width: 150px; /* Minimum width before wrapping */
}

.input-field .input,
.input-field .select,
#profile-img-input {
  height: 100%;
  width: 100%;
  background: none;
  outline: none;
  font-size: 0.95rem;
  padding: 0 15px;
  border: 1px solid #717171;
  border-radius: 3px;
}
#profile-img-input {
  margin-top: 1rem;
  padding: 0px;
}
#profile-img-input::-webkit-file-upload-button {
  background-color: var(--color-black);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  height: 50px;
  font-size: 0.95rem;
  padding: 0rem 1rem;
}
.input-field label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #4a4646;
  pointer-events: none;
  transition: 0.2s ease;
}

.input-field .input:is(:focus, :valid),
.input-field .select:is(:focus, :valid) {
  padding: 16px 15px 0;
}

.input-field .input:is(:focus, :valid) ~ label,
.input-field .select:is(:focus, :valid) ~ label {
  transform: translateY(-120%);
  color: var(--color-primary);
  font-size: 0.75rem;
}
.input-field #dob {
  background-color: var(--color-white);
  padding-right: 0.8rem;
}
.form-box a {
  color: var(--color-primary);
  text-decoration: none;
}

.form-box a:hover {
  text-decoration: underline;
}

form button {
  width: 100%;
  color: var(--color-white);
  border: none;
  outline: none;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  margin: 25px 0;
  background: var(--color-primary);
  transition: 0.2s ease;
  display: inline;
}

form button:hover {
  background: var(--color-primary-hover);
}

.phone-show {
  display: none;
}

/* Isntruction CSS */
.modal {
  display: block; /* Show on page load */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-content {
  background-color: var(--color-white);
  margin: 10% auto;
  padding: 20px;
  border-radius: 5px;
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.photo-examples {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.photo-examples div {
  width: 45%;
}

.photo-examples img {
  max-width: 120px;
  max-height: 120px;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  margin-top: 0.5rem;
}

.continue-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
ol {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
ol li {
  text-align: left;
  margin-left: 1rem;
}

.continue-btn:hover {
  background-color: #0056b3;
}

/* instruction CSS END */

/* Responsive */
@media (max-width: 953px) {
  .form-popup {
    width: 95%;
  }
}
@media (max-width: 768px) {
  .form-box,
  .form-slider,
  .form {
    width: 100%;
  }
}

@media (max-width: 760px) {
  html {
    font-size: 90%;
  }

  .form-box .form-details {
    display: none;
  }
  .phone-show {
    display: block;
  }
  .pc-show {
    display: none;
  }
  .form-box .form-content {
    padding: 30px 20px;
  }
}

@media (max-width: 476px) {
  html {
    font-size: 80%;
  }
  .dashboard {
    display: none;
  }
}
