#search-form{
  background:#fff;
  padding:20px;
  border-radius:16px;
  box-shadow:0 4px 12px rgba(0,0,0,.06);
}

.law-control{
  height:52px;
  border-radius:10px;
  border:1px solid #e5e7eb;
}

.law-control.is-search{
  background:#f9fafb;
}

.btn-law{
  height:52px;
  border-radius:10px;
  background:#0a2654;
  color:#fff;
  border:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.btn-law:hover{ background:#5da17a; }

.btn-warn{ background:#f59e0b; }
.btn-warn:hover{ background:#d97706; }

.search-title{
  font-weight:600;
  color:#305497;
}

/* =========================
   LAWDOCS : Locked Filters (Red Theme)
========================= */

/* ช่อง select / input ที่ถูกล็อก */
.filter-locked,
select:disabled,
input:disabled{
  background:#f1f1f1 !important;
  border:1px solid #686868 !important;
  color:#305497 !important;
  font-weight:600;
  cursor:not-allowed;
  opacity:1 !important;   /* กันมันซีด */
}

/* placeholder */
select:disabled option{
  color:#842029;
}

/* focus (กัน browser บางตัว) */
select:disabled:focus,
input:disabled:focus{
  outline:none;
  box-shadow:0 0 0 0.15rem rgba(220,53,69,.25);
}

/* ===== Select ที่มีค่าแล้ว ===== */
select.has-value {
  border: 2px solid #c82333;     /* แดงเข้ม */
  background-color: #fff5f5;     /* ชมพูอ่อน */
  color: #721c24;
  font-weight: 600;
}

.lawdocs-search-form{
  width:100%;
}

.search-form-head{
  margin-bottom:18px;
}

.search-form-title{
  margin:0;
  font-size:24px;
  font-weight:800;
  color:#1c2738;
}

.search-form-sub{
  margin-top:6px;
  color:#64748b;
  font-size:14px;
  line-height:1.6;
}

.law-label{
  font-weight:700;
  color:#334155;
  margin-bottom:8px;
  font-size:14px;
}

.law-control{
  min-height:50px;
  border-radius:12px;
  border:1px solid #dbe4f0;
  box-shadow:none;
  font-size:15px;
  color:#1e293b;
  transition:.2s ease;
}

.law-control:focus{
  border-color:#305497;
  box-shadow:0 0 0 .2rem rgba(48,84,151,.12);
}

.is-search{
  padding-left:14px;
}

.btn-law{
  min-height:50px;
  border:none;
  border-radius:12px;
  padding:0 18px;
  font-weight:700;
  background:#305497;
  color:#fff;
  transition:.25s ease;
}

.btn-law:hover{
  background:#243f77;
  transform:translateY(-1px);
}

.btn-law.btn-warn{
  background:#f1f5f9;
  color:#334155;
  border:1px solid #dbe4f0;
}

.btn-law.btn-warn:hover{
  background:#e2e8f0;
  color:#1e293b;
}