/* ========== TPA Claim System - Site Overrides ========== */

/* Focus states */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary);
}

/* Form floating placeholders */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Card defaults */
.card {
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
}

/* Status badges */
.badge-draft       { background: #e2e3e5; color: #41464b; }
.badge-submitted    { background: #cfe2ff; color: #084298; }
.badge-manual-review { background: #f8d7da; color: #842029; }
.badge-tpa-approved { background: #d1e7dd; color: #0f5132; }
.badge-tpa-rejected { background: #f8d7da; color: #842029; }
.badge-insurer-review { background: #cff4fc; color: #055160; }
.badge-paid         { background: #d1e7dd; color: #0f5132; }
.badge-pending-doc  { background: #fff3cd; color: #664d03; }
.badge-completed    { background: #d1e7dd; color: #0f5132; }
.badge-cancelled    { background: #e2e3e5; color: #41464b; }
.badge-expired      { background: #e2e3e5; color: #41464b; }

/* DataTables overrides */
.dataTables_wrapper .dataTables_filter input {
  border-radius: var(--radius-sm);
}

/* SweetAlert2 overrides */
.swal2-popup {
  font-family: 'Inter', 'Noto Sans Thai', sans-serif !important;
}
