/* ban-quyen-truoc-kiem-tra — Brand Stylesheet
   Primary color: #d32f2f (Regulatory Red for legal compliance)
   Brand identity focuses on legal clarity and compliance confidence.
   Load order: tokens → base → app-shell → thuong-hieu (this file) → responsive
*/

:root {
  /* Primary brand color: Regulatory Red */
  --chinh: #d32f2f;
  --chinh-dam: #b71c1c;
  --chinh-nhat: #ffebee;

  /* Accent: Supporting colors */
  --ok: #4caf50;
  --canh-bao: #ff9800;
  --loi: #d32f2f;

  /* Neutral: Text and backgrounds */
  --chu: #333333;
  --chu-mo: #666666;
  --nen: #ffffff;
  --nen-phu: #f5f5f5;
  --vien: #dddddd;
}

/* Apply brand color to key elements */
header {
  border-bottom-color: var(--chinh);
}

h2 {
  color: var(--chinh);
  border-left-color: var(--chinh);
}

.disclaimer strong {
  color: var(--chinh);
}

.fine-band {
  background: var(--chinh-nhat);
  border-color: var(--chinh);
}

.fine-band .amount {
  color: var(--chinh);
}

.cta-button {
  background: #2196f3;
}

.cta-button:hover {
  background: #1976d2;
}

.device-status .status.error {
  background: var(--loi);
}

/* Ensure table consistency with brand colors */
table th {
  background: var(--nen-phu);
}

table tr:nth-child(even) {
  background: #fafafa;
}
