.form-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

#formContent {
  min-height: 120px;
  padding: 20px;
  border: 1px dashed #cfd8dc;
  border-radius: 12px;
  background: #fafafa;
}

.form-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff4e5;
  border: 1px solid #f5c26b;
  color: #8a4b00;
  font-size: 14px;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group h2 {
  margin: 10px 0 0;
  color: #0b5d3b;
  font-size: 22px;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 10px;
}

label {
  font-weight: 600;
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd8dc;
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
}

input[readonly],
textarea[readonly] {
  background: #f1f5f9;
}

.input-error {
  border-color: #dc2626 !important;
  background: #fff7f7;
}

.error-text {
  min-height: 18px;
  margin-top: 6px;
  font-size: 12px;
  color: #dc2626;
}

.checkbox-wrapper {
  border: 1px solid #cfd8dc;
  border-radius: 10px;
  padding: 16px;
  background: #fff;
  min-height: 60px;
}

.checkbox-wrapper.input-error {
  border-color: #dc2626 !important;
  background: #fff7f7;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 10px 16px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.checkbox-item input {
  width: auto;
  margin: 0;
}

.muted {
  color: #6b7280;
  margin: 0;
}

.repeat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 14px;
}

.repeat-card {
  border: 1px solid #dbe4e8;
  border-radius: 12px;
  background: #ffffff;
  padding: 18px;
}

.repeat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.repeat-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0b5d3b;
}

.repeat-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.btn-secondary {
  background: #e8f5ee;
  color: #0b5d3b;
  border: 1px solid #0b8f4d;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background: #d9efe4;
}

.btn-danger {
  background: #fff1f2;
  color: #b42318;
  border: 1px solid #fda29b;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
}

.btn-danger:hover {
  background: #ffe4e8;
}

.btn-link {
  text-decoration: none;
}

.btn-primary-link {
  background: #0b8f4d;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-link:hover {
  background: #08753f;
}

#jabatanLainnyaWrapper,
#departemenLainnyaWrapper,
#jurusanWrapper,
#fileSimperWrapper,
#fileMinePermitWrapper {
  display: none;
}

/* REVIEW FORMAL */
.review-paper {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.review-paper-header {
  position: relative;
  min-height: 120px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-paper-logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.review-paper-logo img {
  max-width: 120px;
  height: auto;
}

.review-paper-title {
  width: 100%;
  text-align: center;
  padding: 0 140px;
}

.review-paper-title h1 {
  margin: 0;
  font-size: 30px;
  color: #000;
  font-weight: 700;
}

.review-paper-title h2 {
  margin: 4px 0 0;
  font-size: 24px;
  color: #000;
  font-weight: 700;
}

.review-note {
  margin: 6px 0 22px;
  font-size: 15px;
  color: #111827;
}

.review-formal-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-line {
  display: grid;
  grid-template-columns: 250px 20px 1fr;
  gap: 8px;
  align-items: start;
}

.review-line-multiline {
  align-items: start;
}

.review-line-education {
  align-items: center;
}

.review-line-label,
.review-line-separator,
.review-line-value {
  font-size: 15px;
  line-height: 1.45;
}

.review-line-label {
  color: #111827;
}

.review-line-value {
  min-height: 24px;
  border-bottom: 1px dotted #374151;
  padding-bottom: 3px;
  white-space: pre-wrap;
  word-break: break-word;
}

.review-line-value-education {
  border-bottom: none;
  padding-bottom: 0;
  min-height: auto;
}

.education-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.education-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 5px 10px;
  border: 1px solid #9ca3af;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
}

.education-item.active {
  background: #0b8f4d;
  color: #fff;
  border-color: #0b8f4d;
  font-weight: 700;
}

.review-table-section {
  margin-top: 24px;
}

.review-table-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  color: #111827;
}

.table-wrap {
  overflow-x: auto;
}

.formal-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.formal-table th,
.formal-table td {
  border: 1px solid #111827;
  padding: 10px 8px;
  font-size: 14px;
  vertical-align: top;
}

.formal-table th {
  text-align: center;
  background: #f3f4f6;
}

.empty-cell {
  text-align: center;
  color: #6b7280;
}

.review-footer-note {
  margin-top: 20px;
  font-size: 14px;
  color: #374151;
}

.review-actions-formal {
  justify-content: space-between;
  margin-top: 24px;
}

/* TATA TERTIB */
.tt-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.tt-title {
  text-align: center;
  margin-bottom: 24px;
}

.tt-title h1 {
  margin: 0 0 8px;
  color: #0b5d3b;
  font-size: 32px;
}

.tt-viewer {
  border: 1px solid #d1d5db;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 20px;
}

.tt-viewer iframe {
  width: 100%;
  height: 700px;
  border: none;
}

.signature-box {
  border: 1px solid #cfd8dc;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  margin-top: 12px;
}

.signature-pad {
  width: 100%;
  height: 220px;
  border: 1px dashed #9ca3af;
  border-radius: 10px;
  display: block;
  background: #fff;
  touch-action: none;
}

.signature-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.agreement-box {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #dbe4e8;
  border-radius: 12px;
  background: #f9fafb;
}

.checkbox-inline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-inline input {
  width: auto;
  margin-top: 3px;
}

@media (max-width: 768px) {
  .form-grid,
  .repeat-card-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .repeat-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .review-paper,
  .tt-section {
    padding: 20px;
  }

  .review-paper-header {
    position: static;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .review-paper-logo {
    position: static;
    transform: none;
    justify-content: center;
  }

  .review-paper-title {
    padding: 0;
  }

  .review-paper-title h1 {
    font-size: 22px;
  }

  .review-paper-title h2 {
    font-size: 18px;
  }

  .review-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .review-line-separator {
    display: none;
  }

  .review-actions-formal {
    flex-direction: column;
  }

  .review-actions-formal a,
  .review-actions-formal button,
  .form-actions a,
  .form-actions button {
    width: 100%;
  }

  .tt-viewer iframe {
    height: 500px;
  }
}
/* SUCCESS PAGE MODERN */
.success-section-modern {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
  border-radius: 24px;
  padding: 40px 36px 44px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid #e5efe9;
}

.success-header {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.success-logo {
  width: 220px;
  max-width: 100%;
  height: auto;
}

.success-checkmark-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.success-checkmark {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b8f4d 0%, #0b6d3c 100%);
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(11, 143, 77, 0.22);
}

.success-content {
  max-width: 760px;
  margin: 0 auto;
}

.success-title-main {
  margin: 0 0 20px;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
  color: #0b5d3b;
  letter-spacing: 0.5px;
  text-align: center;
}

.modern-message-box {
  background: #ffffff;
  border: 1px solid #dbe9e1;
  border-radius: 18px;
  padding: 24px 26px;
  margin: 0 auto 28px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.success-text {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.8;
  color: #1f2937;
}

.success-text:last-child {
  margin-bottom: 0;
}

.success-text-main {
  font-size: 22px;
  font-weight: 700;
  color: #0b5d3b;
}

.success-text-highlight {
  font-weight: 700;
  color: #0b8f4d;
}

.modern-summary {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  border: 1px solid #dbe4e8;
  border-radius: 18px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.success-summary-title {
  font-size: 20px;
  font-weight: 700;
  color: #0b5d3b;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eef3f0;
}

.success-summary-item {
  display: grid;
  grid-template-columns: 180px 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f4;
}

.success-summary-item:last-child {
  border-bottom: none;
}

.success-summary-item .label {
  font-weight: 700;
  color: #0b5d3b;
}

.success-summary-item .label::after {
  content: "";
}

.success-summary-item .value {
  color: #111827;
  line-height: 1.6;
  word-break: break-word;
}

.success-summary-item::before {
  content: "";
}

.success-summary-item .label {
  position: relative;
}

.success-summary-item .label + .value {
  grid-column: 3;
}

.success-summary-item {
  position: relative;
}

.success-summary-item::after {
  content: ":";
  position: absolute;
  left: 190px;
  top: 12px;
  color: #374151;
  font-weight: 600;
}

@media (max-width: 768px) {
  .success-section-modern {
    padding: 28px 20px 32px;
    border-radius: 18px;
  }

  .success-logo {
    width: 180px;
  }

  .success-checkmark {
    width: 72px;
    height: 72px;
    font-size: 36px;
  }

  .success-title-main {
    font-size: 34px;
  }

  .modern-message-box,
  .modern-summary {
    padding: 18px;
  }

  .success-text {
    font-size: 16px;
    line-height: 1.7;
  }

  .success-text-main {
    font-size: 19px;
  }

  .success-summary-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .success-summary-item::after {
    display: none;
  }

  .success-summary-item .label + .value {
    grid-column: auto;
  }
}
.success-submit-time {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.8;
  color: #4b5563;
  text-align: center;
}
#namaPerusahaanLainnyaWrapper {
  display: none;
}
