/* PTP_SIMPLE_OTHER_V2 */
.ptp-simple-other-page {
  padding-bottom: 40px;
}

.ptp-simple-other-head,
.ptp-simple-other-form-head,
.ptp-simple-other-toolbar,
.ptp-simple-other-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ptp-simple-other-head {
  margin-bottom: 20px;
}

.ptp-simple-other-head h1,
.ptp-simple-other-form-head h2 {
  margin: 0 0 6px;
}

.ptp-simple-other-head p,
.ptp-simple-other-form-head p {
  margin: 0;
  color: #64748b;
}

.ptp-simple-other-head-actions,
.ptp-simple-other-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ptp-simple-other-primary,
.ptp-simple-other-secondary,
.ptp-simple-other-close,
.ptp-simple-other-actions button {
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.ptp-simple-other-primary {
  padding: 11px 16px;
  color: #fff;
  background: #2563eb;
}

.ptp-simple-other-secondary,
.ptp-simple-other-actions button {
  padding: 9px 12px;
  color: #1e293b;
  background: #eef2f7;
}

.ptp-simple-other-close {
  width: 38px;
  height: 38px;
  font-size: 25px;
  line-height: 1;
  color: #475569;
  background: #f1f5f9;
}

.ptp-simple-other-primary:disabled {
  cursor: wait;
  opacity: .65;
}

.ptp-simple-other-form-card,
.ptp-simple-other-table-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .07);
}

.ptp-simple-other-form-card {
  padding: 20px;
  margin-bottom: 20px;
}

.ptp-simple-other-form-head {
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.ptp-simple-other-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.ptp-simple-other-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ptp-simple-other-grid label > span {
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.ptp-simple-other-grid input,
.ptp-simple-other-grid select,
.ptp-simple-other-grid textarea,
.ptp-simple-other-toolbar input,
.ptp-simple-other-toolbar select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  color: #0f172a;
  background: #fff;
  font: inherit;
}

.ptp-simple-other-grid textarea {
  resize: vertical;
}

.ptp-simple-other-span-2 {
  grid-column: 1 / -1;
}

.ptp-simple-other-money-section {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #f8fbff;
}

.ptp-simple-other-money-section h3 {
  margin: 0;
  color: #1e3a8a;
}

.ptp-simple-other-readout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #fff;
}

.ptp-simple-other-readout span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.ptp-simple-other-readout strong {
  margin-top: 4px;
  color: #0f172a;
  font-size: 16px;
}

.ptp-simple-other-info {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 10px;
  color: #475569;
  background: #f8fafc;
  font-size: 12px;
}

.ptp-simple-other-form-actions {
  justify-content: flex-end;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.ptp-simple-other-toolbar {
  margin: 16px 0;
}

.ptp-simple-other-search {
  position: relative;
  flex: 1;
}

.ptp-simple-other-search span {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
}

.ptp-simple-other-search input {
  padding-left: 38px;
}

.ptp-simple-other-toolbar select {
  width: 190px;
}

.ptp-simple-other-table-wrap {
  overflow: auto;
}

.ptp-simple-other-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
}

.ptp-simple-other-table th,
.ptp-simple-other-table td {
  padding: 13px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}

.ptp-simple-other-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #475569;
  background: #f8fafc;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.ptp-simple-other-table td {
  color: #334155;
  font-size: 13px;
}

.ptp-simple-other-table td strong,
.ptp-simple-other-table td small {
  display: block;
}

.ptp-simple-other-table td small {
  margin-top: 4px;
  color: #64748b;
}

.ptp-simple-other-details-cell {
  max-width: 280px;
  white-space: normal;
}

.ptp-simple-other-status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: #334155;
  background: #e2e8f0;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.ptp-simple-other-status.completed {
  color: #166534;
  background: #dcfce7;
}

.ptp-simple-other-status.cancelled {
  color: #991b1b;
  background: #fee2e2;
}

.ptp-simple-other-status.in_progress,
.ptp-simple-other-status.confirmed {
  color: #1d4ed8;
  background: #dbeafe;
}

.ptp-simple-other-empty {
  padding: 32px !important;
  color: #64748b !important;
  text-align: center !important;
}

#page-simple-other #ptpUnifiedBooking-other,
#page-simple-other .ptp-unified-booking-card[data-service="other"],
#ptpSimpleOtherFormCard .ptp-unified-booking-card[data-service="other"],
.ptp-simple-other-payment-hidden {
  display: none !important;
}

.ptp-simple-other-page .hidden {
  display: none !important;
}

@media (max-width: 760px) {
  .ptp-simple-other-head,
  .ptp-simple-other-form-head,
  .ptp-simple-other-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .ptp-simple-other-head-actions {
    width: 100%;
  }

  .ptp-simple-other-head-actions button {
    flex: 1;
  }

  .ptp-simple-other-grid {
    grid-template-columns: 1fr;
  }

  .ptp-simple-other-span-2 {
    grid-column: auto;
  }

  .ptp-simple-other-toolbar select {
    width: 100%;
  }
}
