/* ==========================================================
   e-MES Admin Dashboard Stylesheet (style.css)
   Clean, Modern, Corporate & Executive Dashboard Theme
   ========================================================== */

:root {
  --primary-color: #0d6efd;
  --primary-hover: #0b5ed7;
  --success-color: #198754;
  --success-hover: #157347;
  --dark-green: #0f5132;
  --teal-blue: #0ea5e9;
  --teal-gradient: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  --green-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --yellow-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --darkgreen-gradient: linear-gradient(135deg, #047857 0%, #064e3b 100%);
  --bg-body: #f4f6f9;
  --sidebar-bg: #1e293b;
  --sidebar-hover: #334155;
  --sidebar-active: #0ea5e9;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius-lg: 1rem;
  --border-radius-md: 0.75rem;
  --border-radius-sm: 0.5rem;
  --transition-speed: 0.25s ease-in-out;
}

body {
  font-family: 'Prompt', 'Sarabun', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ---------------------------------------------------------
   Layout: Sidebar & Main Wrapper
--------------------------------------------------------- */
#wrapper {
  display: flex;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

/* Sidebar Styling (ตรึงแถบเมนูข้างซ้ายให้อยู่กับที่ตลอดการเลื่อนหน้า) */
#sidebar {
  width: 270px;
  min-width: 270px;
  background: var(--sidebar-bg);
  color: #fff;
  transition: all var(--transition-speed);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

#sidebar::-webkit-scrollbar {
  width: 5px;
}

#sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

#sidebar.collapsed {
  margin-left: -270px;
}

@media (max-width: 992px) {
  #sidebar {
    position: fixed;
    top: 0;
    left: -270px;
    height: 100vh;
    z-index: 1050;
    margin-left: 0;
    transition: left var(--transition-speed);
  }
  #sidebar.active {
    left: 0;
  }
  .sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
  }
  .sidebar-backdrop.show {
    display: block;
  }
}

.sidebar-brand {
  padding: 1.5rem 1.25rem;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.4);
}

.sidebar-brand-text {
  line-height: 1.2;
}

.sidebar-brand-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: #f8fafc;
  letter-spacing: 0.5px;
}

.sidebar-brand-text span {
  font-size: 0.78rem;
  color: #94a3b8;
}

.sidebar-nav {
  padding: 1.25rem 0.75rem;
  flex-grow: 1;
  list-style: none;
  margin: 0;
}

.nav-header {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  padding: 0.75rem 1rem 0.25rem;
  font-weight: 600;
}

.sidebar-nav .nav-item {
  margin-bottom: 4px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1rem;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.2s ease;
}

.sidebar-nav .nav-link i {
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.sidebar-nav .nav-link:hover {
  background: var(--sidebar-hover);
  color: #fff;
}

.sidebar-nav .nav-link:hover i {
  color: #38bdf8;
}

.sidebar-nav .nav-link.active {
  background: linear-gradient(90deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.sidebar-nav .nav-link.active i {
  color: #fff;
}

.sidebar-footer {
  padding: 1rem 1.25rem;
  background: rgba(15, 23, 42, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------------------------------------------------------
   Main Content Area
--------------------------------------------------------- */
#content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background-color: var(--bg-body);
}

/* Top Navbar */
.top-navbar {
  background: #ffffff;
  padding: 0.85rem 1.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 99;
}

.navbar-toggle-btn {
  background: transparent;
  border: none;
  color: #475569;
  font-size: 1.35rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s;
}

.navbar-toggle-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.navbar-action-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav-login {
  background-color: #198754;
  border-color: #198754;
  color: #ffffff;
  font-weight: 500;
  padding: 0.45rem 1.25rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(25, 135, 84, 0.25);
  transition: all 0.2s ease;
}

.btn-nav-login:hover {
  background-color: #157347;
  border-color: #157347;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(25, 135, 84, 0.35);
}

.btn-nav-register {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #ffffff;
  font-weight: 500;
  padding: 0.45rem 1.25rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.25);
  transition: all 0.2s ease;
}

.btn-nav-register:hover {
  background-color: #0b5ed7;
  border-color: #0b5ed7;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(13, 110, 253, 0.35);
}

/* ---------------------------------------------------------
   Page Main Content
--------------------------------------------------------- */
.main-container {
  padding: 1.5rem 2rem 2.5rem;
}

/* ---------------------------------------------------------
   Countdown Timer Bar (ระบบนับถอยหลัง)
--------------------------------------------------------- */
.countdown-wrapper {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
  color: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.countdown-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.countdown-title-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.countdown-icon-pulse {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #facc15;
  animation: pulse-ring 2s infinite ease-out;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(250, 204, 21, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

.countdown-label {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.countdown-sub {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-top: 2px;
}

.countdown-boxes {
  display: flex;
  align-items: center;
  gap: 12px;
}

.time-box {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  min-width: 80px;
  padding: 0.75rem 0.65rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.time-box:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.time-box .time-num {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  font-family: 'Prompt', monospace, sans-serif;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.time-box .time-unit {
  font-size: 0.8rem;
  color: #93c5fd;
  margin-top: 4px;
  font-weight: 500;
}

/* ---------------------------------------------------------
   4 Info Boxes (กล่องแสดงสถิติ)
--------------------------------------------------------- */
.info-box-card {
  border-radius: var(--border-radius-lg);
  border: none;
  color: #ffffff;
  overflow: hidden;
  position: relative;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-speed);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.info-box-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.info-box-card .card-body {
  padding: 1.5rem 1.5rem 1.25rem;
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

.info-box-bg-icon {
  position: absolute;
  right: 15px;
  bottom: 30px;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.16);
  z-index: 1;
  pointer-events: none;
  transition: all var(--transition-speed);
}

.info-box-card:hover .info-box-bg-icon {
  transform: scale(1.1) rotate(6deg);
  color: rgba(255, 255, 255, 0.24);
}

.info-box-card .stat-number {
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}

.info-box-card .stat-label {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
  opacity: 0.95;
}

/* Card 1: สีฟ้า-เขียว (Teal-Cyan) */
.box-teal {
  background: var(--teal-gradient);
}

/* Card 2: สีเขียว (Green) */
.box-green {
  background: var(--green-gradient);
}

/* Card 3: สีเหลือง (Yellow/Amber) */
.box-yellow {
  background: var(--yellow-gradient);
}

/* Card 4: สีเขียวเข้ม (Dark Green) */
.box-darkgreen {
  background: var(--darkgreen-gradient);
}

/* ลิงก์ เพิ่มเติม... ➔ */
.info-box-card .card-footer-link {
  background: rgba(0, 0, 0, 0.16);
  padding: 0.65rem 1.5rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
  z-index: 2;
}

.info-box-card .card-footer-link:hover {
  background: rgba(0, 0, 0, 0.28);
  color: #ffffff;
  padding-right: 1.25rem;
}

.info-box-card .card-footer-link .arrow-icon {
  transition: transform 0.2s ease;
}

.info-box-card .card-footer-link:hover .arrow-icon {
  transform: translateX(4px);
}

/* ---------------------------------------------------------
   News Section (แบนเนอร์ข่าวประชาสัมพันธ์)
--------------------------------------------------------- */
.news-header-banner {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
  padding: 1.15rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
}

.news-header-banner h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.3px;
}

.news-header-banner .badge-news-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
}

.news-card-container {
  background: #ffffff;
  border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-top: none;
}

.news-item {
  padding: 1.25rem;
  border-radius: 12px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
  margin-bottom: 1rem;
}

.news-item:last-child {
  margin-bottom: 0;
}

.news-item:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.news-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
}

.news-badge.important {
  background-color: #fee2e2;
  color: #dc2626;
}

.news-badge.guide {
  background-color: #e0f2fe;
  color: #0284c7;
}

.news-badge.general {
  background-color: #f1f5f9;
  color: #475569;
}

.news-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0.4rem 0 0.5rem;
  line-height: 1.4;
}

.news-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.news-title a:hover {
  color: #0284c7;
}

.news-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.news-meta {
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ---------------------------------------------------------
   Quick Info / Status Bar
--------------------------------------------------------- */
.status-indicator-bar {
  background-color: #ffffff;
  border-radius: var(--border-radius-md);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 4px solid #10b981;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  font-size: 0.9rem;
}

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
.main-footer {
  margin-top: auto;
  background: #ffffff;
  padding: 1.25rem 2rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------------------------------------------------
   Responsive Tweaks
--------------------------------------------------------- */
@media (max-width: 992px) {
  #sidebar {
    margin-left: -270px;
    position: fixed;
    height: 100vh;
  }
  #sidebar.active {
    margin-left: 0;
  }
  .sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  .sidebar-backdrop.show {
    display: block;
  }
  .countdown-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .countdown-boxes {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .main-container {
    padding: 1rem;
  }
  .countdown-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .time-box {
    min-width: unset;
  }
  .navbar-action-buttons .btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
  }
}

/* ---------------------------------------------------------
   Budget Reconciliation Module Styles (ระบบการกระทบยอดงบประมาณ)
--------------------------------------------------------- */
.reconciliation-header-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem 1.75rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.recon-summary-card {
  background: #ffffff;
  border-radius: var(--border-radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--card-shadow);
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  height: 100%;
}

.recon-summary-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

.recon-summary-card .recon-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.recon-summary-card .recon-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.recon-summary-card .recon-sub {
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Reconciliation Status Badges */
.badge-recon-matched {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-recon-discrepancy {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-recon-pending {
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Table Styling */
.recon-table-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  margin-bottom: 2rem;
}

.recon-table-card .card-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.2rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.recon-table th {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  background-color: #f8fafc;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid #e2e8f0;
}

.recon-table td {
  padding: 1.15rem 1.25rem;
  vertical-align: middle;
  font-size: 0.92rem;
  border-bottom: 1px solid #f1f5f9;
}

.recon-system-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.recon-progress {
  height: 8px;
  border-radius: 10px;
  background-color: #e2e8f0;
  margin-top: 6px;
  overflow: hidden;
}

.recon-progress .progress-bar {
  border-radius: 10px;
}

/* ==========================================================
   Universal High-Contrast Checkbox & Radio Button Styling
   สำหรับทุกโมดูล: ปรับให้เส้นขอบคมชัด โดดเด่น เห็นได้ทันที ไม่กลืนกับพื้นหลัง
   ========================================================== */
.form-check-input,
input[type="checkbox"].form-check-input,
input[type="radio"].form-check-input,
.form-check-official input[type="radio"],
.form-check-official input[type="checkbox"] {
  width: 1.35rem !important;
  height: 1.35rem !important;
  border: 2.2px solid #64748b !important; /* ขอบเข้มคมชัด มองเห็นชัดเจน 100% ไม่จาง */
  background-color: #ffffff !important;
  cursor: pointer;
  transition: all 0.18s ease-in-out;
  flex-shrink: 0;
  vertical-align: middle;
}

.form-check-input:hover,
input[type="checkbox"]:hover,
input[type="radio"]:hover {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important;
  transform: scale(1.08);
}

.form-check-input:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25) !important;
  outline: none;
}

.form-check-input:checked,
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background-color: #2563eb !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 2px 5px rgba(37, 99, 235, 0.3) !important;
}

/* Radio Button Circle Dot */
.form-check-input[type="radio"],
input[type="radio"] {
  border-radius: 50% !important;
}

/* Checkbox Rounded Corners */
.form-check-input[type="checkbox"],
input[type="checkbox"] {
  border-radius: 0.35rem !important;
}

/* ป้ายกำกับ Form Check Label ให้คลิกได้และตัวหนังสือชัด */
.form-check-label {
  cursor: pointer;
  user-select: none;
}

/* ปรับแต่งพิเศษสำหรับตัวเลือก ใช่ / ไม่ใช่ (Yes / No) ให้มีสีสันชัดเจน สังเกตง่าย */
.form-check-input[value="yes"]:checked,
.form-check-input[value="1"]:checked {
  background-color: #16a34a !important; /* เขียวสดเมื่อเลือก ใช่ */
  border-color: #15803d !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25) !important;
}

.form-check-input[value="no"]:checked,
.form-check-input[value="0"]:checked {
  background-color: #dc2626 !important; /* แดงสดเมื่อเลือก ไม่ใช่ */
  border-color: #b91c1c !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25) !important;
}
