.dp-tuning-wrap,
.dp-tuning-customer-orders,
.dp-tuning-result {
  box-sizing: border-box;
  max-width: 1180px;
  margin: 36px auto;
  color: #f7f7f7;
  font-family: inherit;
}

.dp-tuning-wrap *,
.dp-tuning-customer-orders *,
.dp-tuning-result * {
  box-sizing: border-box;
}

.dp-tuning-catalog-head {
  margin-bottom: 18px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 236, 102, 0.16), rgba(0, 0, 0, 0) 48%),
    #191919;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.dp-tuning-kicker,
.dp-tuning-summary-kicker,
.dp-tuning-step-head p {
  margin: 0 0 8px;
  color: #c8ec66;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dp-tuning-catalog-head h2 {
  max-width: 720px;
  margin: 0 0 10px;
  color: #fff;
  font-size: 40px;
  line-height: 1.08;
}

.dp-tuning-catalog-head p {
  max-width: 700px;
  margin: 0;
  color: #d7d7d7;
  font-size: 16px;
  line-height: 1.6;
}

.dp-tuning-catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: start;
}

.dp-tuning-price-option {
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #0f0f0f;
}

.dp-tuning-price-option strong,
.dp-tuning-price-option em {
  display: block;
}

.dp-tuning-price-option strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

.dp-tuning-price-option em {
  margin-top: 3px;
  color: #c8ec66;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.dp-tuning-price-option small,
.dp-tuning-option small {
  display: block;
  margin-top: 4px;
  color: #bfbfbf;
  font-size: 11px;
  line-height: 1.35;
}

.dp-tuning-catalog-cta {
  position: sticky;
  top: 24px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: #101010;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.dp-tuning-catalog-cta h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
}

.dp-tuning-catalog-cta p {
  margin: 0 0 18px;
  color: #d4d4d4;
  line-height: 1.6;
}

.dp-tuning-catalog-cta .dp-tuning-secondary {
  width: 100%;
  margin-top: 10px;
}

.dp-tuning-alert {
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 1px solid rgba(200, 236, 102, 0.3);
  border-left: 4px solid #c8ec66;
  border-radius: 8px;
  background: #191919;
  color: #f4f4f4;
}

.dp-tuning-form {
  margin: 0;
}

.dp-tuning-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.dp-tuning-main,
.dp-tuning-summary {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: #101010;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.dp-tuning-main {
  min-width: 0;
  padding: 22px;
}

.dp-tuning-summary {
  position: sticky;
  top: 24px;
  padding: 20px;
}

.dp-tuning-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.dp-tuning-progress li {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #191919;
  color: #9c9c9c;
  font-size: 13px;
  font-weight: 700;
}

.dp-tuning-progress li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2a2a2a;
  color: #fff;
  font-size: 12px;
  flex: 0 0 auto;
}

.dp-tuning-progress li.is-active {
  border-color: rgba(200, 236, 102, 0.55);
  color: #fff;
}

.dp-tuning-progress li.is-active span,
.dp-tuning-progress li.is-complete span {
  background: #c8ec66;
  color: #111;
}

.dp-tuning-step {
  display: none;
}

.dp-tuning-step.is-active {
  display: block;
}

.dp-tuning-step.has-error {
  animation: dpTuningShake 0.24s ease;
}

@keyframes dpTuningShake {
  0%, 100% { transform: translateX(0); }
  33% { transform: translateX(-4px); }
  66% { transform: translateX(4px); }
}

.dp-tuning-step-head {
  margin-bottom: 18px;
}

.dp-tuning-step-head h3 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
}

.dp-tuning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.dp-tuning-wide {
  grid-column: 1 / -1;
}

.dp-tuning-form .dp-tuning-grid label,
.dp-tuning-form .dp-tuning-upload,
.dp-tuning-form .dp-tuning-message {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.dp-tuning-form label span,
.dp-tuning-admin-card label span {
  display: block;
  margin-bottom: 7px;
  color: #f2f2f2;
  font-weight: 800;
}

.dp-tuning-form input[type="text"],
.dp-tuning-form input[type="file"],
.dp-tuning-form textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 12px 13px;
  background: #1b1b1b;
  color: #fff;
  outline: none;
}

.dp-tuning-form input:focus,
.dp-tuning-form textarea:focus {
  border-color: #c8ec66;
  box-shadow: 0 0 0 3px rgba(200, 236, 102, 0.12);
}

.dp-tuning-form textarea {
  min-height: 132px;
  resize: vertical;
}

.dp-tuning-form small {
  display: block;
  margin-top: 7px;
  color: #a9a9a9;
}

.dp-tuning-option-groups {
  display: grid;
  gap: 12px;
}

.dp-tuning-option-group {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: #171717;
}

.dp-tuning-option-group h4 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 15px;
}

.dp-tuning-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dp-tuning-option-group--single .dp-tuning-option-grid {
  grid-template-columns: 1fr;
}

.dp-tuning-group-hint {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(200, 236, 102, 0.14);
  color: #c8ec66;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.dp-tuning-option {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #0f0f0f;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.dp-tuning-option:hover {
  border-color: rgba(200, 236, 102, 0.45);
  transform: translateY(-1px);
}

.dp-tuning-option:has(input:checked) {
  border-color: #c8ec66;
  background: rgba(200, 236, 102, 0.08);
}

.dp-tuning-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #c8ec66;
  flex: 0 0 auto;
}

.dp-tuning-option span {
  min-width: 0;
}

.dp-tuning-option strong,
.dp-tuning-option em {
  display: block;
}

.dp-tuning-option strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

.dp-tuning-option em {
  margin-top: 3px;
  color: #c8ec66;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.dp-tuning-upload {
  display: block;
  margin-bottom: 16px;
  padding: 24px;
  border: 1px dashed rgba(200, 236, 102, 0.45);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 236, 102, 0.08), rgba(255, 255, 255, 0) 58%),
    #171717;
}

.dp-tuning-upload input {
  margin: 10px 0;
}

.dp-tuning-upload strong {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 4px;
  padding: 0 14px;
  border-radius: 8px;
  background: #c8ec66;
  color: #111;
}

.dp-tuning-message {
  display: block;
  margin-top: 18px;
}

.dp-tuning-confirm {
  padding: 22px;
  border-radius: 8px;
  background: #171717;
}

.dp-tuning-confirm p {
  margin: 0 0 18px;
  color: #d4d4d4;
  line-height: 1.6;
}

.dp-tuning-payline,
.dp-tuning-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.dp-tuning-payline {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(200, 236, 102, 0.35);
  border-radius: 8px;
  background: rgba(200, 236, 102, 0.07);
}

.dp-tuning-payline span,
.dp-tuning-total span {
  color: #bfbfbf;
}

.dp-tuning-payline strong,
.dp-tuning-total strong {
  color: #c8ec66;
  font-size: 24px;
}

.dp-tuning-submit,
.dp-tuning-next,
.dp-tuning-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.dp-tuning-submit,
.dp-tuning-next {
  border: 0;
  background: #c8ec66 !important;
  color: #14210a !important;
  transition: background 0.18s ease, transform 0.18s ease;
}

.dp-tuning-submit:not(:disabled):hover,
.dp-tuning-submit:not(:disabled):focus,
.dp-tuning-next:hover,
.dp-tuning-next:focus {
  background: #b6e04a !important;
  color: #14210a !important;
  transform: translateY(-1px);
}

.dp-tuning-submit {
  width: 100%;
}

.dp-tuning-secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent !important;
  color: #fff !important;
}

.dp-tuning-secondary:hover,
.dp-tuning-secondary:focus {
  border-color: #c8ec66;
  background: rgba(200, 236, 102, 0.08) !important;
  color: #fff !important;
}

.dp-tuning-submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.dp-tuning-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.dp-tuning-selected {
  display: grid;
  gap: 9px;
  min-height: 40px;
  margin: 12px 0 18px;
  color: #bfbfbf;
}

.dp-tuning-selected div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dp-tuning-selected div span {
  color: #fff;
}

.dp-tuning-selected div span small {
  display: block;
  margin-top: 3px;
  color: #9f9f9f;
  font-size: 11px;
  line-height: 1.35;
}

.dp-tuning-selected div strong {
  color: #c8ec66;
  white-space: nowrap;
}

.dp-tuning-summary .dp-tuning-total {
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dp-tuning-summary ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  color: #d8d8d8;
  list-style: none;
}

.dp-tuning-summary li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #c8ec66;
  vertical-align: middle;
}

.dp-tuning-customer-orders {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: #101010;
}

.dp-tuning-customer-orders h2 {
  margin-top: 0;
  color: #fff;
}

.dp-tuning-customer-orders table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.dp-tuning-customer-orders thead,
.dp-tuning-customer-orders thead tr,
.dp-tuning-customer-orders thead th {
  background: #1b1b1b !important;
  background-color: #1b1b1b !important;
}

.dp-tuning-customer-orders thead th {
  padding: 12px 11px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
  color: #c8ec66 !important;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
}

.dp-tuning-customer-orders tbody tr,
.dp-tuning-customer-orders tbody td {
  background: transparent !important;
  background-color: transparent !important;
}

.dp-tuning-customer-orders td {
  padding: 13px 11px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #f4f4f4 !important;
  text-align: left;
  vertical-align: middle;
}

.dp-tuning-customer-orders td strong,
.dp-tuning-customer-orders td small {
  display: block;
}

.dp-tuning-customer-orders td small {
  margin-top: 3px;
  color: #aaa;
}

.dp-tuning-customer-orders .dp-status {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #ddd;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.dp-tuning-customer-orders .dp-status-paid,
.dp-tuning-customer-orders .dp-status-completed {
  border-color: rgba(200, 236, 102, 0.4);
  background: rgba(200, 236, 102, 0.1);
  color: #c8ec66;
}

.dp-tuning-customer-orders .dp-status-in_progress {
  border-color: rgba(130, 205, 255, 0.38);
  background: rgba(130, 205, 255, 0.11);
  color: #9bd8ff;
}

.dp-tuning-customer-orders .dp-status-awaiting_payment {
  border-color: rgba(255, 212, 111, 0.38);
  background: rgba(255, 212, 111, 0.11);
  color: #ffd46f;
}

.dp-tuning-customer-orders .dp-status-payment_cancelled,
.dp-tuning-customer-orders .dp-status-payment_failed,
.dp-tuning-customer-orders .dp-status-cancelled,
.dp-tuning-customer-orders .dp-status-refunded {
  border-color: rgba(234, 10, 11, 0.34);
  background: rgba(234, 10, 11, 0.1);
  color: #ff9d9d;
}

.dp-tuning-file-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 8px;
  background: #c8ec66;
  color: #111;
  font-weight: 900;
  text-decoration: none;
}

.dp-tuning-result {
  max-width: 920px;
}

.dp-tuning-result-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 236, 102, 0.1), rgba(255, 255, 255, 0) 54%),
    #101010;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.dp-tuning-result-cancelled .dp-tuning-result-card {
  background:
    linear-gradient(135deg, rgba(242, 171, 65, 0.14), rgba(255, 255, 255, 0) 54%),
    #101010;
}

.dp-tuning-result-pending .dp-tuning-result-card,
.dp-tuning-result-neutral .dp-tuning-result-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 54%),
    #101010;
}

.dp-tuning-result h2 {
  max-width: 720px;
  margin: 0 0 10px;
  color: #fff;
  font-size: 36px;
  line-height: 1.12;
}

.dp-tuning-result p {
  max-width: 720px;
  margin: 0;
  color: #d7d7d7;
  font-size: 16px;
  line-height: 1.6;
}

.dp-tuning-result-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
}

.dp-tuning-result-summary div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #171717;
}

.dp-tuning-result-summary span,
.dp-tuning-result-summary strong {
  display: block;
}

.dp-tuning-result-summary span {
  margin-bottom: 5px;
  color: #aaa;
  font-size: 12px;
  font-weight: 800;
}

.dp-tuning-result-summary strong {
  color: #fff;
  overflow-wrap: anywhere;
}

.dp-tuning-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.dp-tuning-result-actions .dp-tuning-submit,
.dp-tuning-result-actions .dp-tuning-secondary {
  width: auto;
}

@media (max-width: 980px) {
  .dp-tuning-catalog-layout,
  .dp-tuning-shell,
  .dp-tuning-grid {
    grid-template-columns: 1fr;
  }

  .dp-tuning-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dp-tuning-summary {
    position: static;
  }

  .dp-tuning-catalog-head {
    padding: 24px;
  }

  .dp-tuning-catalog-cta {
    position: static;
  }

  .dp-tuning-result-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dp-tuning-wrap {
    margin: 22px auto;
  }

  .dp-tuning-catalog-head h2 {
    font-size: 30px;
  }

  .dp-tuning-main {
    padding: 16px;
  }

  .dp-tuning-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dp-tuning-option-grid {
    grid-template-columns: 1fr;
  }

  .dp-tuning-nav {
    flex-direction: column;
  }

  .dp-tuning-secondary,
  .dp-tuning-next {
    width: 100%;
  }

  .dp-tuning-result-card {
    padding: 24px;
  }

  .dp-tuning-result h2 {
    font-size: 30px;
  }

  .dp-tuning-result-summary {
    grid-template-columns: 1fr;
  }

  .dp-tuning-result-actions .dp-tuning-submit,
  .dp-tuning-result-actions .dp-tuning-secondary {
    width: 100%;
  }
}

.dp-tuning-pagination {
  margin-top: 16px;
}

.dp-tuning-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dp-tuning-pagination li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dp-tuning-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #141414;
  color: #f4f4f4;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.dp-tuning-pagination a.page-numbers:hover {
  border-color: rgba(200, 236, 102, 0.5);
  color: #fff;
}

.dp-tuning-pagination .page-numbers.current {
  border-color: #c8ec66;
  background: rgba(200, 236, 102, 0.12);
  color: #c8ec66;
}

.dp-tuning-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}
