.wrapper {
  max-width: 900px;
  margin: 30px auto;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-family: Arial, sans-serif;
}

.wrapper h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

/* Form Wrapper */
.zcj-admin-upload-form {
  display: grid !important;
  grid-template-columns: 77% 20.5%;
  gap: 10px !important;
  background: #f9fafb;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin: 0 !important;
}

.zcj-step-table th.zcj-th:last-child,
.zcj-step-table td.zcj-td:last-child {
  text-align: center;
  max-width: 150px;
  width: 150px;
}

.zcj-step-table th.zcj-th:nth-child(3),
.zcj-step-table td.zcj-td:nth-child(3) {
  max-width: 280px;
  width: 280px;
}

/* File Input Wrapper */
.zcj-admin-upload-form .upload-doc-file {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* File Input */
.zcj-admin-upload-form input[type="file"] {
  font-size: 12px;
  padding: 6px;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  transition: border 0.2s ease;
}

.zcj-admin-upload-form input[type="file"]:hover {
  border-color: #04722c;
}

/* Upload Button */
.zcj-admin-upload-form .upload-btns {
  height: 29px !important;
  padding: 0 0px !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #cf2d53 !important;
  font-size: 12px !important;
  font-weight: 500;
  border: 1px solid #cf2d53 !important;
  transition: all 0.2s ease;
  box-shadow: none !important;
}

.zcj-step-table tbody .zcj-tr:last-child .zcj-td {
  border: none;
}

.zcj-admin-upload-form .upload-btns:hover {
  background: #cf2d53 !important;
  color: #fff !important;
}

/* Disabled Button */
.zcj-admin-upload-form .upload-btns:disabled {
  background: #cf2d53 !important;
  cursor: not-allowed;
  color: #fff;
}

#zcj-manage-table tr th:last-child,
#zcj-manage-table tr td:last-child {
  padding-left: 60px !important;
  width: 200px;
  max-width: 200px;
}

/* Message Styling */
.zcj-admin-upload-form .zcj-upload-message {
  font-size: 12px;
  line-height: 1.4;
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
  grid-column: 1 / -1;
}

/* Error Message */
.zcj-admin-upload-form .zcj-upload-message:empty {
  display: none;
}

.zcj-admin-upload-form .zcj-upload-message[style*="red"] {
  background: #fee2e2;
  color: #b91c1c !important;
  border: 1px solid #fecaca;
}

/* Success Message */
.zcj-admin-upload-form .zcj-upload-message[style*="green"] {
  background: #dcfce7;
  color: #166534 !important;
  border: 1px solid #bbf7d0;
}

@media (max-width: 600px) {
  .zcj-admin-upload-form {
    flex-direction: column;
    align-items: stretch;
  }

  .zcj-admin-upload-form .upload-btns {
    width: 100%;
  }
}

.subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.progress-wrap {
  background: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  height: 10px;
  margin-bottom: 25px;
}

.progress-bar {
  height: 10px;
  width: 0%;
  background: #d63638;
  transition: 0.3s ease;
}

.step-title {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.section-box {
  background: #f9fafb;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  margin-bottom: 18px;
}

.field-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eaeaea;
}

.field-row:last-child {
  border-bottom: none;
}

.left-field {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 1;
}

.left-field label {
  font-size: 14px;
  cursor: pointer;
}

.upload-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 240px;
}

.upload-wrap input[type="file"] {
  font-size: 12px;
  padding: 5px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  height: 45px;
}

.upload-wrap input[type="file"]::file-selector-button {
  line-height: 32px;
  margin-right: 10px;
  height: 32px;
  border: none;
  background: #D44264;
  color: #fff;
  border-radius: 3px;
}

.small-note {
  font-size: 12px;
  color: #6b7280;
}

.btn-row {
  display: flex;
  margin-top: 20px;
  gap: 10px;
}

.btn-back {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  background: #e5e7eb;
}

.btn-next {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  background: #d63638;
  color: #fff;
}

.btn-submit {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  background: #16a34a;
  color: #fff;
}

.radio-wrap {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.review-box {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 15px;
  border-radius: 10px;
  font-size: 14px;
}

.review-box ul {
  padding-left: 18px;
  margin: 0;
}

.step {
  display: block !important;
  margin-bottom: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.step-title.zcj-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 14px 15px;
  background: #f3f4f6;
  margin: 0;
}

.zcj-step-content {
  padding: 15px;
  background: #fff;
}

.step .zcj-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.step.open .zcj-arrow {
  transform: rotate(180deg);
}

.step.active {
  display: block !important;
}

.review-box li {
  margin-bottom: 6px;
}

.progress-wrap {
  width: 100%;
  height: 10px;
  background: #e9e9e9;
  border-radius: 50px;
  overflow: hidden;
  margin: 15px 0 25px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: #d63638;
  border-radius: 50px;
  transition: width 0.3s ease-in-out;
}

/* Container */
.zcj-review-docs {
  border: none;
  padding: 0;
  max-width: 100%;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

/* Headings */
.zcj-review-docs h3,
.zcj-review-title {
  font-size: 20px;
  font-weight: 600;
  margin: 25px 0 25px !important;
  color: #222;
  font-family: 'Montserrat', sans-serif;
  border-left: 4px solid #cf2d53;
  padding-left: 12px;
  border-radius: 6px;
  padding-block: 6px;
}

.zcj-translation-admin-box {
  font-family: 'Montserrat', sans-serif;
}

/* Blocks */
.zcj-gf-block {
  background: #f9fafb;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #eee;
  font-family: 'Montserrat', sans-serif;
  line-height: 24px;
}

.zcj-gf-block h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0 !important;
  color: #444;
  font-family: 'Montserrat', sans-serif;
}

.zcj-step-table th.zcj-th {
  background-color: transparent;
}

/* Complex values */
.zcj-gf-complex {
  font-size: 14px;
  color: #555;
}

/* Rows (Email / Phone etc.) */
.zcj-gf-row {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
}

.zcj-gf-label {
  width: 30%;
  font-weight: 600;
  color: #333;
}

.zcj-gf-value {
  width: 70%;
  color: #555;
  word-break: break-word;
}

/* Step Box */
.zcj-step-box {
  margin-bottom: 25px;
  border: 1px solid #efecec;
  border-radius: 10px;
  background: #fff;
  padding: 15px;
  box-shadow: 0 0 20px #0000000f;
}

.zcj-step-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 6px;
  color: #222;
  font-family: 'Montserrat', sans-serif;
}

.zcj-ajax-content {
  margin-top: 20px;
}

/* Table */
.zcj-step-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Montserrat', sans-serif;
}

.zcj-th {
  text-align: left;
  padding: 10px;
  background: #f3f4f6;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.zcj-td {
  padding: 10px;
  border-top: 1px solid #eee;
  font-size: 13px;
  vertical-align: middle;
}

/* Alternate row color */
.zcj-tr:nth-child(even) {
  background: #fafafa;
}

/* Files */
.zcj-files-list {
  font-size: 13px;
  color: #666;
}

.zcj-no-file {
  color: #999;
}

/* Upload form alignment */
.zcj-admin-upload-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.zcj-admin-upload-form input[type="file"] {
  font-size: 12px;
}

/* Disabled text */
.zcj-disabled {
  color: #aaa;
  font-style: italic;
}

/* Submission section */
.zcj-submission-box {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-end;
}

.zcj-field {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

.zcj-field label {
  font-size: 13px;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
  font-family: 'Montserrat', sans-serif;
}

.zcj-admin-input {
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
}

/* Checkbox */
.zcj-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: normal;
}

/* Save button */
.zcj-save-submission {
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  height: fit-content;
}

.zcj-save-submission:hover {
  background: #15803d;
}

input.zcj-admin-input {
  height: 30px !important;
}

.zcj-file-row.files-download {
  display: grid;
  margin-left: -10px;
}

.upload-data {
  margin-left: -5px;
}

.zcj-delete-file {
  background: #c0392b;
  color: #fff;
  border: 1px solid #c0392b;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.zcj-delete-file:hover {
  background: #a93226;
  border-color: #a93226;
}

table.dataTable tbody th,
table.dataTable tbody td {
  padding: 8px 10px !important;
}

.zcj-gf-block {
  margin-bottom: 15px;
}

.zcj-gf-row {
  margin-bottom: 15px;
}

.user-recent-table tbody td form.zcj-action-form {
  margin-bottom: 0;
}

#zcj-manage-table tr td:first-child {
  padding-left: 10px !important;
}

.zcj-file-actions a.zcj-btn,
.zcj-file-actions .zcj-delete-file {
  font-size: 12px !important;
  padding: 0 7px !important;
  line-height: 26px !important;
  height: 26px !important;
  border-radius: 5px !important;
  border-width: 1px !important;
  font-weight: 500;
}


.zcj-approve-btn,
button.zcj-approve-all-translations {
  padding: 5px 0;
  margin: 0;
  width: 110px;
  border-radius: 5px;
  border: 1px solid #b8860b;
  background-color: #fdf3d0;
  font-size: 13px;
  color: #7a5800;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.zcj-approve-btn:hover,
button.zcj-approve-all-translations:hover {
  background-color: #f5e199;
  border-color: #8a6400;
}

.zcj-unapprove-btn,
button.zcj-unapprove-all-translations {
  padding: 5px 0;
  margin: 0;
  width: 110px;
  border-radius: 5px;
  background-color: #d2182524;
  border: 1px solid #d21825;
  color: #d21825;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.zcj-unapprove-btn:hover,
button.zcj-unapprove-all-translations:hover {
  background-color: #f8d0d2;
}

.zcj-translation-admin-box .zcj-file-actions {
  justify-content: start;
}

.zcj-translation-admin-box td.zcj-ajax-td {
  position: relative;
}

.zcj-translation-admin-box input.zcj-admin-translation-doc {
  position: absolute;
  top: 8px;
  left: 0;
  margin: 0;
}

.zcj-translation-admin-box th {
  font-weight: 600;
}

.zcj-translation-admin-box .zcj-file-name {
  font-weight: 500;
  color: #666666;
}

.zcj-translation-admin-box .zcj-step-table tr th,
.zcj-translation-admin-box .zcj-step-table tr td {
  padding-left: 0 !important;
}

.zcj-translation-admin-box button.zcj-unapprove-all-translations {
  background-color: #d21825 !important;
  /* background-color: #d2182524 !important; */
  border-color: #d21825 !important;
  color: #fff !important;
  width: 148px;
  height: 36px;
}

.zcj-translation-admin-box button.zcj-approve-all-translations {
  border: 1px solid #ff8018 !important;
  /* background-color: #ff801817 !important; */
  background-color: #ff8018 !important;
  color: #fff !important;
  width: 148px;
  height: 36px;
}

.email-translator {
  margin-top: 50px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 84% 14%;
  gap: 0 20px;
}

.email-translator label {
  grid-column: 1/-1;
  margin-bottom: 10px;
}

.email-translator input {
  width: 100%;
  font-weight: 500;
}

.email-translator .zcj-send-to-translator {
  margin: 0 !important;
  padding-block: 3px;
}

.zcj-tr:nth-child(even) form.zcj-admin-upload-form {
  background-color: #fff;
}

.zcj-tr:nth-child(even) form.zcj-admin-upload-form .upload-doc-file input {
  background-color: #fafafa;
}

/* Responsive */
@media only screen and (max-width: 1800px) {

  .zcj-step-table th.zcj-th:nth-child(1),
  .zcj-step-table td.zcj-td:nth-child(1) {
    width: 140px;
  }

  .zcj-admin-upload-form {
    grid-template-columns: 75% 22%;
  }
}

@media (max-width: 768px) {
  .zcj-gf-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .zcj-gf-label,
  .zcj-gf-value {
    width: 100%;
  }

  .zcj-submission-box {
    flex-direction: column;
  }
}

@media(max-width:700px) {
  .field-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .upload-wrap {
    min-width: 100%;
    width: 100%;
  }
}

/* ---- Completed stage: subtle checkmark only, no green borders ---- */
.step.zcj-section-complete > .step-title.zcj-toggle {
  border-bottom: none;
}

.step.zcj-section-complete {
  border-color: #e5e7eb;
}

.zcj-stage-badge {
  font-size: 11px;
  font-weight: 500;
  color: #888;
  padding: 0 4px;
  margin-right: 4px;
  white-space: nowrap;
}

