/* ================================
   JOB ACCORDION (FIXED)
   ================================ */

.job-row {
  border: 1px solid #ddd;
  margin-bottom: 14px;
}

/* HEADER */
.job-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;

  font-size: 22px;
  font-weight: 700;
  color: #000;
}

/* BODY (HIDDEN BY DEFAULT) */
.job-body {
  display: none;
  padding: 16px;
  background: #fff;
}

/* ACTIVE STATE */
.job-row.active .job-body {
  display: block;
}

.job-row.active .toggle {
  transform: rotate(45deg);
}

/* TOGGLE ICON */
.toggle {
  font-size: 22px;
  transition: 0.3s;
}


/* ================================
   BUTTONS
   ================================ */

.apply-btn {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 260px;
  padding: 14px 30px;

  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;

  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.apply-btn::after {
  content: " →";
  font-size: 18px;
  margin-left: 8px;
  transition: 0.25s;
}

.apply-btn:hover {
  background: #f9fafb;
}

.apply-btn:hover::after {
  transform: translateX(4px);
}


/* ================================
   FORM
   ================================ */

.apply-form {
  margin-top: 16px;
}

.apply-form input,
.apply-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;

  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.apply-form button[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 300px;
  margin: 22px auto 0;

  padding: 10px 20px;
  border-radius: 999px;

  background: #000;
  color: #fff;

  font-size: 15px;
  font-weight: 600;
  border: 1px solid #000;
  cursor: pointer;
}

.apply-form button[type="submit"]::after {
  content: " →";
  margin-left: 12px;
  font-size: 20px;
}

.apply-form button[type="submit"]:hover {
  background: #111;
}


/* ================================
   MODAL
   ================================ */

/* ================================
   MODAL – PROFESSIONAL CENTER FIX
   ================================ */

.roi10x-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;


  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;
}



/* MAIN BOX */
.roi10x-modal-box {
  background: #ffffff;

  width: 100%;
  max-width: 520px;   /* 🔥 perfect desktop width */
  
  border-radius: 18px;
  padding: 28px;
    margin: auto;

  box-shadow: 0 25px 80px rgba(0,0,0,0.2);

  position: relative;

  /* 🔥 FIX SCROLL */
  max-height: 90vh;
  overflow-y: auto;
}

/* HEADER */
.roi10x-modal-box h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 18px;
}

/* CLOSE BUTTON */
.roi10x-close {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 22px;
  cursor: pointer;
}

/* ================================
   FORM PERFECT ALIGN
   ================================ */

.apply-form {
  width: 100%;
}

/* INPUTS */
.apply-form input,
.apply-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;

  border-radius: 10px;
  border: 1px solid #e5e7eb;

  font-size: 14px;
}

/* FILE INPUT CLEAN */
.apply-form input[type="file"] {
  padding: 10px;
}

/* BUTTON CENTER PERFECT */
.apply-form button[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 320px;
  margin: 24px auto 0;

  padding: 14px;
  border-radius: 999px;

  background: #000;
  color: #fff;

  font-size: 15px;
  font-weight: 600;

  cursor: pointer;
}

/* ================================
   REMOVE SCROLL GLITCH
   ================================ */

body.modal-open {
  overflow: hidden;
}


/* ================================
   THANK YOU
   ================================ */

.thankyou-msg {
  display: none;
  background: #000;
  color: #fff;
  padding: 10px;
  margin-top: 10px;
  text-align: center;
}


/* ================================
   MOBILE
   ================================ */

@media (max-width: 480px) {
  .apply-btn {
    width: 100%;
  }

  .roi10x-modal-box {
    padding: 18px;
  }
}