.gap-installment-toggle-wrapper {
  margin: 15px 0 5px 0;
  padding: 12px 15px;
  background: #fff8f2;
  border: 1px solid #f5821f;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  flex-wrap: wrap;
}
.gap-installment-toggle-wrapper input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #f5821f;
}
.gap-installment-toggle-wrapper label {
  font-weight: bold;
  color: #f5821f;
  margin: 0;
  cursor: pointer;
  font-size: 14px;
}
.gap_enable_installment_description {
  display: block;
  width: 100%;
  font-size: 14px;
  color: #f5903a;
  font-weight: 400;
}

.gap-check-calculator {
  width: 100%;
  padding: 20px;
  margin: 10px 0 20px 0;
  border: 2px dashed #f5821f;
  border-radius: 12px;
  background: #fffdfa;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  font-family: inherit;
  box-sizing: border-box;
  display: none;
}
.gap-check-calculator.active {
  display: block;
}
.gap-check-calculator *, .gap-check-calculator *::before, .gap-check-calculator *::after {
  box-sizing: border-box;
}
.gap-calc-field {
  margin-bottom: 15px;
}
.gap-calc-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #444;
}
.gap-calc-field input, .gap-calc-field select, .gap-calc-field button {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}
.gap-calc-field input, .gap-calc-field select {
  border: 1px solid #ccc;
  outline: none;
  background: #fff;
}
.gap-calc-field input:focus, .gap-calc-field select:focus {
  border-color: #f5821f;
}
.gap-btn {
  background: #f5821f;
  color: #fff;
  border: 0;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
  text-align: center;
}
.gap-btn:hover {
  background: #ff7600;
}
.gap-error {
  background: #f8d7da;
  color: #721c24;
  padding: 12px;
  border-radius: 8px;
  margin-top: 15px;
  border: 1px solid #f5c6cb;
  font-size: 13.5px;
}
.gap-note {
  background: #fff3cd;
  color: #856404;
  padding: 12px;
  border-radius: 8px;
  margin: 15px 0;
  font-size: 13px;
  border: 1px solid #ffeeba;
  line-height: 1.6;
}
.gap-summary {
  background: #f8f9fa;
  border-right: 4px solid #f5821f;
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
}
.gap-summary h3 {
  margin-top: 0;
  color: #f5821f;
  font-size: 15px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 8px;
}
.gap-summary p {
  margin: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  gap: 10px;
  flex-wrap: wrap;
}
.gap-amount-control-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  padding: 3px 6px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
}
.gap-amount-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: #f5821f !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: bold !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  display: flex !important;
	align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s, transform 0.1s !important;
  user-select: none;
  flex: 0 0 40px;
}
.gap-amount-btn:hover {
  background: #ff7600;
}
.gap-editable-prepayment {
  width: 100%;
  padding: 6px !important;
  border: none !important;
  text-align: center;
  font-weight: bold;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  min-width: 0;
  background: transparent !important;
}
.gap-check-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 13px;
}
.gap-check-table th, .gap-check-table td {
  border: 1px solid #e0e0e0;
  padding: 8px 6px;
  text-align: center;
}
.gap-check-table th {
  background: #f1f3f5;
  color: #495057;
}
.gap-flex-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.gap-card-detail {
  flex: 1 1 140px;
  background: #f1f5f9;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  min-width: 0;
}
.gap-card-detail span {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 3px;
}
.gap-card-detail strong {
  font-size: 14px;
  color: #1e293b;
}
.gap-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.gap-action-row .gap-btn {
  width: 100%;
}