/* modules/khach-hang/public/khach-hang.css */
/* Bổ sung kiểu hiển thị cho khu khách hàng WSI, không dùng style nội tuyến (tuân thủ CSP) */

/* In ấn phiếu đề nghị thanh toán / hóa đơn */
@media print {
  .print-hide,
  .wai-header,
  .wai-footer,
  .wai-skip,
  .wai-review {
    display: none !important;
  }
  body {
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .invoice-print__wrap {
    padding: 0 !important;
    background: #fff !important;
  }
}

.invoice-print__wrap {
  background: #fff;
  min-height: 100vh;
  padding: 40px 20px;
}

.invoice-print__container {
  max-width: 800px;
  margin: 0 auto;
  font-family: inherit;
  color: var(--wai-ink, #203C4A);
}

.invoice-print__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wai-line, #D5E2E8);
}

.invoice-print__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.invoice-print__brand-title {
  font-size: 24px;
  color: var(--wai-blue, #054F88);
  margin: 0 0 8px 0;
}

.invoice-print__muted {
  margin: 2px 0 0 0;
  color: var(--wai-muted, #496571);
}

.invoice-print__meta {
  text-align: right;
}

.invoice-print__meta-title {
  font-size: 20px;
  margin: 0 0 4px 0;
}

.invoice-print__meta-num {
  margin: 0;
  font-weight: bold;
  color: var(--wai-blue, #054F88);
}

.invoice-print__customer {
  background: var(--wai-soft, #F4F8FA);
  border: 1px solid var(--wai-line, #D5E2E8);
  border-radius: var(--wai-radius-md, 8px);
  padding: 16px;
  margin-bottom: 24px;
}

.invoice-print__customer h3 {
  font-size: 16px;
  margin: 0 0 8px 0;
  color: var(--wai-blue, #054F88);
}

.invoice-print__customer p {
  margin: 0 0 4px 0;
}

.invoice-print__customer p:last-child {
  margin-bottom: 0;
}

.invoice-print__table-wrap {
  margin-bottom: 24px;
}

.invoice-print__table {
  width: 100%;
  border-collapse: collapse;
}

.invoice-print__table th {
  background: var(--wai-blue, #054F88);
  color: #fff;
  padding: 10px;
  border: 1px solid var(--wai-blue, #054F88);
}

.invoice-print__table td {
  padding: 10px;
  border: 1px solid var(--wai-line, #D5E2E8);
}

.invoice-print__table tr.total-row {
  background: var(--wai-soft, #F4F8FA);
  font-weight: bold;
  font-size: 16px;
  color: var(--wai-blue, #054F88);
}

.invoice-print__bank {
  border: 1px dashed var(--wai-muted, #819DAA);
  border-radius: var(--wai-radius-md, 8px);
  padding: 16px;
  margin-bottom: 32px;
}

.invoice-print__bank h3 {
  font-size: 15px;
  margin: 0 0 8px 0;
  color: var(--wai-blue, #054F88);
}

.invoice-print__bank p {
  margin: 0 0 4px 0;
}

.invoice-print__bank p:last-child {
  margin-bottom: 0;
}

.invoice-print__signatures {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin-top: 48px;
}

.invoice-print__sig-col {
  width: 40%;
}

.invoice-print__sig-title {
  font-weight: bold;
  margin-bottom: 60px;
}

/* Các lớp tiện ích bố cục & bảng */
.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.inline-form {
  display: inline-block;
  margin: 0;
}

.th-code {
  width: 80px;
}

.th-source {
  width: 180px;
}

.th-status {
  width: 220px;
}

.th-feature {
  width: 240px;
}

.th-req {
  width: 140px;
}

/* Khoảng cách & đường kẻ */
.mt-xs { margin-top: 4px; }
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.pt-xs { padding-top: 4px; }
.pt-sm { padding-top: 8px; }
.pt-md { padding-top: 16px; }
.pb-sm { padding-bottom: 8px; }
.border-top { border-top: 1px solid var(--wai-line, #D5E2E8); }
.border-top-thick { border-top: 2px solid var(--wai-line, #D5E2E8); }
.total-highlight {
  color: var(--wai-blue, #054F88);
  font-size: 1.25rem;
  font-weight: bold;
}

.progress-full {
  width: 100%;
  height: 12px;
  border-radius: 8px;
}

/* Thẻ tin nhắn hỗ trợ */
.ticket-container {
  max-width: 900px;
  margin-inline: auto;
}

.ticket-staff-card {
  border-left: 4px solid var(--wai-blue, #054F88);
}

.ticket-staff-badge {
  margin-left: 8px;
}

.ticket-msg-meta {
  font-size: 13px;
}

.ticket-msg-header {
  padding-bottom: 8px;
}

.ticket-msg-body {
  padding-top: 0;
}

/* Danh sách gói dịch vụ so sánh */
.plan-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.plan-list-item {
  border-bottom: 1px solid var(--wai-line, #D5E2E8);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.plan-list-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.plan-price-highlight {
  color: var(--wai-blue, #054F88);
  font-weight: bold;
}

.plan-desc {
  font-size: 14px;
  margin-top: 4px;
  color: var(--wai-muted, #496571);
}
