/* ─── Result card (hiển thị sau khi submit form) ────────────────── */
.laisuat-result {
  margin-top: var(--space-6, 1.5rem);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--color-white, #fff);
  border: 1px solid var(--color-border, #dcdcdc);
  border-radius: var(--radius-xl, 16px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

/* ─── Ảnh xe trong kết quả ──────────────────────────────────────── */
.laisuat-result .preview-image {
  background: var(--color-neutral-50, #f8f8f8);
  border-radius: var(--radius-lg, 12px);
  padding: 1rem;
}

.laisuat-result .preview-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: var(--radius-md, 8px);
}

/* ─── Bảng tóm tắt kết quả ─────────────────────────────────────── */
.laisuat-result .table-theme td,
.laisuat-result .table-theme th {
  padding: 10px 14px;
  font-size: 0.875rem;
  vertical-align: middle;
}

.laisuat-result .table-theme td:first-child {
  color: var(--color-text-secondary, #6b6b6b);
  width: 46%;
}

.laisuat-result .table-theme th {
  font-weight: 600;
  color: var(--color-text-primary, #141414);
}

.laisuat-result .table-result_value.active {
  color: var(--color-red-600, #cc0000);
  font-size: 1rem;
  font-weight: 700;
}

/* ─── Nút "Chi tiết lịch trả" ──────────────────────────────────── */
#preview-button {
  margin-top: 1rem;
}

/* ─── Bảng chi tiết lịch trả góp ──────────────────────────────── */
.action-result-collapse {
  margin-top: 1rem;
}

.table-theme_2 {
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  border: 1px solid var(--color-border, #dcdcdc);
}

.table-theme_2 thead th {
  background: var(--color-neutral-900, #141414);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 12px 14px;
  white-space: nowrap;
  border-color: #333;
}

.table-theme_2 tbody td {
  font-size: 0.875rem;
  padding: 10px 14px;
  border-color: var(--color-neutral-100, #f4f5f5);
}

.table-theme_2 tbody tr:nth-child(even) {
  background: var(--color-neutral-50, #f8f8f8);
}

.table-theme_2 tbody tr:hover {
  background: #fff8f8;
}

/* Dòng tổng cuối bảng */
.table-theme_2 tbody tr:last-child td {
  background: #fff8f8;
  border-top: 2px solid var(--color-border, #dcdcdc);
}

/* ─── Form: radio button alignment ─────────────────────────────── */
.contact-form .form-checks {
  display: flex;
  align-items: center;
}

.contact-form .form-check-inline {
  margin-bottom: 0;
}

/* ─── Mobile (< 768px) ──────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .laisuat-result {
    padding: 1.25rem;
    margin-top: 1.25rem;
  }

  .laisuat-result .table-theme td,
  .laisuat-result .table-theme th {
    padding: 8px 10px;
  }

  .table-theme_2 thead th,
  .table-theme_2 tbody td {
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  .contact-form_item--label {
    margin-bottom: 0.25rem;
  }
}
