@charset "UTF-8";
.line-text {
  color: #2e86de;
}

.line-link {
  color: #d82744;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #fff !important;
}

input[type=radio],
input[type=checkbox] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  width: 16px;
  /* ปรับขนาดตามต้องการ */
  height: 16px;
  /* ปรับขนาดตามต้องการ */
  border-radius: 50%;
  /* สำหรับ radio button */
  border: 2px solid green;
  /* สีกรอบ */
  cursor: pointer;
}

input[type=radio]:checked,
input[type=checkbox]:checked {
  accent-color: green;
  /* เปลี่ยนสีเมื่อถูกเลือก (สำหรับ browsers ที่รองรับ) */
  background-color: green;
  border-color: green;
}

input[type=radio]:checked:disabled,
input[type=checkbox]:checked:disabled {
  /* ทำให้สีเขียวคงอยู่แม้จะ disabled (อาจต้องใช้ vendor prefixes ในบาง browsers) */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: green;
  width: 16px;
  /* ปรับขนาดตามต้องการ */
  height: 16px;
  /* ปรับขนาดตามต้องการ */
  border-radius: 50%;
  /* สำหรับ radio button */
  border: none;
  cursor: not-allowed;
  position: relative;
}

input[type=checkbox]:checked:disabled {
  border-radius: 2px;
  /* สำหรับ checkbox */
}

input[type=checkbox]:checked:disabled::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.hidden {
  position: fixed;
  top: -9999px;
  width: 0px;
  height: 0px;
}

.modal-print .modal-dialog {
  height: calc(100% - 60px);
}

.modal-print .modal-content {
  height: 100%;
  overflow: auto;
}

.modal-print .modal-body {
  height: calc(100% - 115px);
}

.modal-print .loading-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
}

.modal-print .loading-bg .fa {
  font-size: 2cm;
}

.div_header {
  background-color: #ffffff;
  width: 100%;
  height: 80px;
  opacity: 1;
  color: #ffffff;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 0.25rem;
  box-shadow: 0px 2px 0px #eeeeee;
}

.div_header_link {
  text-decoration: none !important;
  color: rgba(37, 113, 228, 0.8431372549) !important;
}

.div_header_arrow {
  max-width: 40px;
  margin-left: 30px;
  margin-right: 20px;
  padding-bottom: 10px;
}

.div_menu_row {
  margin-left: 65px;
}

.div_menu_link {
  text-decoration: none;
}

.div_menu_index {
  opacity: 1;
  border: 3px solid rgba(0, 110, 255, 0.6039215686);
  color: #666666;
  padding-top: 20px;
  padding-left: 20px;
  padding-bottom: 20px;
  border-radius: 50px;
  box-shadow: 2px 2px 3px #000000;
  background-color: #ffffff;
  width: 100%;
}

.div_menu_index:hover {
  background-color: #c2dafd !important;
  color: #666666;
}

.div_menu_index_norequire {
  opacity: 1;
  border: 3px solid #01195f;
  color: #01195f;
  padding-top: 20px;
  padding-left: 20px;
  padding-bottom: 20px;
  border-radius: 10px;
  box-shadow: 2px 2px 3px #000000;
  background-color: #ffffff;
  width: 100%;
}

.div_menu_index_norequire:hover {
  background-color: #01195f !important;
  color: #ffffff;
}

.norequire_dot {
  margin-right: 20px;
  margin-left: 10px;
  height: 5px;
  width: 5px;
  background-color: #01195f;
  border-radius: 50%;
  display: inline-block;
}

.index_norequire {
  margin-left: 10px;
  color: #929292;
}

.custom-file-button input[type=file] {
  margin-left: -2px !important;
}

.custom-file-button input[type=file]::-webkit-file-upload-button {
  display: none;
}

.custom-file-button input[type=file]::file-selector-button {
  display: none;
}

.custom-file-button:hover label {
  background-color: #dde0e3;
  cursor: pointer;
}

.table-head {
  font-size: 0.8rem;
  color: #fff !important;
  border: 1px solid #fff;
  padding: 0.5rem !important;
  text-align: center;
  vertical-align: middle;
  background-color: #01195f !important;
}

.table-head-rv {
  font-size: 0.8rem;
  color: #fff !important;
  border: 1px solid #fff;
  padding: 0.5rem !important;
  text-align: center;
  vertical-align: middle;
  background-color: #3653a1 !important;
}

.table-background-striped {
  box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
  background-color: var(--bs-table-bg);
  --bs-table-accent-bg: var(--bs-table-striped-bg);
}

.table-body-rv {
  border: 1px solid #000;
  text-align: center;
  vertical-align: middle;
}

.table-body-rv-left {
  border: 1px solid #000;
  text-align: left;
  vertical-align: middle;
}

.card-header-rv {
  background-color: #3653a1 !important;
  color: #fff !important;
}

.btn-rv {
  background-color: #5ba5e5 !important;
  color: #fff !important;
}

.row-text-rv {
  padding-left: 10px;
}

.top-header-table {
  color: #3653a1 !important;
}

.text-32 {
  font-size: 1.5rem;
}

.div_menu_index > .default-text {
  font-size: 1.3rem;
}

/* Background Soil Table Styling - Shared between BackgroundForm and BackgroundDetail */
/* Modern Table Styling */
.modern-table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
}

.modern-table th {
  background: #495057 !important;
  color: white !important;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #6c757d !important;
  padding: 12px 8px;
  font-size: 0.85rem;
}

/* แก้ไข text-muted ใน header ให้เป็นสีขาว */
.modern-table th .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Override สีสำหรับ bg-info-subtle, bg-warning-subtle, bg-success-subtle */
.modern-table th.bg-info-subtle,
.modern-table th.bg-warning-subtle,
.modern-table th.bg-success-subtle {
  background: #495057 !important;
  color: white !important;
}

.modern-table td {
  border: 1px solid #dee2e6;
  vertical-align: top;
  transition: all 0.2s ease;
}

/* Sticky Header - แก้ไขให้ทำงานถูกต้อง */
.sticky-top {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1020;
  background: #495057 !important;
}

/* Sticky First Column - แก้ไขการหายไปของ column */
.sticky-column {
  /* position: sticky !important; */
  left: 0 !important;
  z-index: 1030 !important;
  background: #f8f9fa !important;
  border-right: 2px solid #495057 !important;
}

/* แก้ไข sticky column ใน header */
.sticky-top .sticky-column {
  background: #495057 !important;
  z-index: 1031 !important;
}

/* แก้ไข sticky column ใน tbody */
tbody .sticky-column {
  background: #ffffff !important;
  z-index: 1025 !important;
}

/* เพิ่ม shadow เมื่อ scroll */
.table-responsive::after {
  content: "";
  position: absolute;
  top: 0;
  left: 60px;
  /* ความกว้างของ sticky column */
  width: 10px;
  height: 100%;
  pointer-events: none;
  z-index: 1024;
}

/* Row Hover Effects */
.data-row {
  transition: all 0.3s ease;
}

.data-row:hover {
  background-color: rgba(73, 80, 87, 0.05);
  transform: translateY(-1px);
}

.data-row:hover .sticky-column {
  background-color: rgba(248, 249, 250, 0.95) !important;
}

/* Parameter Info */
.parameter-info {
  min-width: 200px;
}

/* Test and Display Containers */
.test-container,
.display-container {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 15px;
  min-width: 250px;
}

.input-section,
.display-section {
  background: white;
  border-radius: 6px;
  padding: 10px;
  border: 1px solid #e9ecef;
}

/* Values Container - Shared for both input and display */
.values-container,
.display-values-container {
  max-height: 200px;
  overflow-y: auto;
  background: white;
  border-radius: 6px;
  padding: 8px;
  border: 1px solid #e9ecef;
}

.values-container::-webkit-scrollbar,
.display-values-container::-webkit-scrollbar {
  width: 6px;
}

.values-container::-webkit-scrollbar-track,
.display-values-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.values-container::-webkit-scrollbar-thumb,
.display-values-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

/* Display Value Items */
.display-value-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 8px;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.display-value-item:hover {
  background: #f8f9fa;
  transform: translateX(2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.display-value-number {
  background: #e9ecef;
  color: #495057;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 12px;
  min-width: 30px;
  text-align: center;
}

.display-value-text {
  color: #212529;
  font-weight: 500;
}

/* Results Container */
.results-container {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 12px;
  min-width: 220px;
}

.result-grid {
  display: grid;
  gap: 6px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: white;
  border-radius: 4px;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.result-item:hover {
  transform: translateX(2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-item.highlight {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border-color: #2196f3;
}

.result-label {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 600;
  min-width: 60px;
}

.result-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: #212529;
  text-align: right;
}

/* Alert Styling */
.alert-sm {
  font-size: 0.75rem;
  border-radius: 6px;
  border: none;
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  color: #856404;
}

/* Empty State */
.empty-state {
  padding: 40px 20px;
}

.empty-state i {
  -webkit-animation: pulse 2s infinite;
          animation: pulse 2s infinite;
}

@-webkit-keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}
/* Button Enhancements */
.btn {
  transition: all 0.2s ease;
  border-radius: 6px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

/* Input Enhancements */
.form-control {
  border-radius: 6px;
  border: 1px solid #ced4da;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: #495057;
  box-shadow: 0 0 0 0.2rem rgba(73, 80, 87, 0.25);
}

/* Badge Enhancements */
.badge {
  font-size: 0.8rem;
  padding: 0.5em 0.75em;
}

/* LOQ/LOD Display */
.loq-lod-display {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.loq-lod-item {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 8px 12px;
  flex: 1;
  min-width: 120px;
}

.loq-lod-label {
  background: #495057;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 8px;
}

.loq-lod-label.loq {
  background: #007bff;
}

.loq-lod-label.lod {
  background: #6c757d;
}

.loq-lod-value {
  color: #212529;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Count Display */
.count-display {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 6px;
}

.count-label {
  color: #17a2b8;
  font-weight: 600;
  margin-right: 8px;
}

.count-badge {
  background: #17a2b8;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Responsive Design - Optimized for both components */
@media (max-width: 1200px) {
  .modern-table th,
.modern-table td {
    padding: 8px 6px;
    font-size: 0.8rem;
  }

  .test-container,
.display-container,
.results-container {
    min-width: 200px;
    padding: 10px;
  }
}
@media (max-width: 768px) {
  .modern-table {
    font-size: 0.75rem;
  }

  .test-container,
.display-container,
.results-container {
    min-width: 180px;
    padding: 8px;
  }

  .input-group-text {
    font-size: 0.7rem;
    padding: 0.375rem 0.5rem;
  }

  .result-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .result-label,
.result-value {
    font-size: 0.75rem;
  }

  .loq-lod-display {
    flex-direction: column;
    gap: 8px;
  }

  .loq-lod-item {
    min-width: auto;
  }
}
@media (max-width: 576px) {
  .sticky-column {
    min-width: 50px !important;
  }

  .badge {
    font-size: 0.7rem;
    padding: 0.25em 0.5em;
  }

  .test-container,
.display-container,
.results-container {
    padding: 6px;
  }

  .table-responsive::after {
    left: 50px;
    /* ปรับตาม min-width ของ sticky column */
  }
}
/* End of Background Soil Table Styling - Shared Components */
/* Item Verify Form and Detail Table Styling - START */
.itemVerifyForm,
.itemVerifyDetail {
  /* Ensure the main container doesn't interfere with sticky positioning */
  overflow: visible;
  /* Responsive adjustments */
  /* Alternative layout for very small screens */
  /* Shadow effect for sticky column */
}
.itemVerifyForm .soil-table-container,
.itemVerifyDetail .soil-table-container {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  max-width: 100%;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  max-height: 80vh;
  /* Force creation of stacking context */
  isolation: isolate;
  /* Add subtle background */
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  /* Add shadow for depth */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
}
.itemVerifyForm .soil-table,
.itemVerifyDetail .soil-table {
  margin-bottom: 0;
  position: relative;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
  /* Clean white background for table content */
  background-color: #ffffff;
  /* Special handling for two-row headers */
  /* Special handling for parameter columns in two-row headers */
  /* Body styling */
  /* Ensure sticky headers work across browsers */
  /* Force hardware acceleration for better performance */
}
.itemVerifyForm .soil-table thead,
.itemVerifyDetail .soil-table thead {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 200 !important;
}
.itemVerifyForm .soil-table thead th,
.itemVerifyDetail .soil-table thead th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  /* Use Bootstrap primary theme colors */
  color: #ffffff !important;
  z-index: 100 !important;
  border-bottom: 2px solid #084298;
  white-space: nowrap;
  vertical-align: middle;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  padding: 0.75rem 0.5rem;
  /* Enhanced shadow for better definition */
  box-shadow: 0 2px 4px rgba(13, 110, 253, 0.15), 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  /* Ensure background is solid */
  background-clip: padding-box;
  /* Force hardware acceleration */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  /* Smooth transitions */
  transition: all 0.2s ease-in-out;
  /* Better text rendering */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.itemVerifyForm .soil-table thead th:hover,
.itemVerifyDetail .soil-table thead th:hover {
  transform: translateZ(0) translateY(-1px);
  box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2), 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.itemVerifyForm .soil-table thead tr:first-child th,
.itemVerifyDetail .soil-table thead tr:first-child th {
  top: 0 !important;
  z-index: 101 !important;
  border-bottom: 1px solid #084298;
}
.itemVerifyForm .soil-table thead tr:last-child th,
.itemVerifyDetail .soil-table thead tr:last-child th {
  z-index: 100 !important;
  border-top: none;
}
.itemVerifyForm .soil-table .parameter-column,
.itemVerifyDetail .soil-table .parameter-column {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  color: #212529 !important;
  z-index: 50 !important;
  min-width: 200px;
  max-width: 200px;
  /* Enhanced shadow for sticky column */
  /* Ensure background is solid */
  background-clip: padding-box;
}
.itemVerifyForm .soil-table thead .parameter-column,
.itemVerifyDetail .soil-table thead .parameter-column {
  z-index: 150 !important;
  color: #ffffff !important;
  box-shadow: 2px 2px 8px rgba(13, 110, 253, 0.2), 2px 0 4px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.itemVerifyForm .soil-table thead tr:first-child .parameter-column,
.itemVerifyDetail .soil-table thead tr:first-child .parameter-column {
  z-index: 151 !important;
}
.itemVerifyForm .soil-table thead tr:last-child .parameter-column,
.itemVerifyDetail .soil-table thead tr:last-child .parameter-column {
  z-index: 150 !important;
}
.itemVerifyForm .soil-table tbody tr,
.itemVerifyDetail .soil-table tbody tr {
  transition: all 0.2s ease-in-out;
}
.itemVerifyForm .soil-table tbody tr:nth-child(even),
.itemVerifyDetail .soil-table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}
.itemVerifyForm .soil-table tbody tr:nth-child(odd),
.itemVerifyDetail .soil-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}
.itemVerifyForm .soil-table .nowrap,
.itemVerifyDetail .soil-table .nowrap {
  white-space: nowrap;
}
.itemVerifyForm .soil-table .form-control,
.itemVerifyDetail .soil-table .form-control {
  min-width: 100px;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  transition: all 0.15s ease-in-out;
}
.itemVerifyForm .soil-table .form-control:focus,
.itemVerifyDetail .soil-table .form-control:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.itemVerifyForm .soil-table .form-control:hover,
.itemVerifyDetail .soil-table .form-control:hover {
  border-color: #0d6efd;
}
.itemVerifyForm .soil-table .date-picker-container,
.itemVerifyDetail .soil-table .date-picker-container {
  min-width: 120px;
}
.itemVerifyForm .soil-table .date-picker-container .mx-datepicker,
.itemVerifyDetail .soil-table .date-picker-container .mx-datepicker {
  width: 100% !important;
}
.itemVerifyForm .soil-table .date-picker-container .mx-datepicker .mx-input,
.itemVerifyDetail .soil-table .date-picker-container .mx-datepicker .mx-input {
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  transition: all 0.15s ease-in-out;
}
.itemVerifyForm .soil-table .date-picker-container .mx-datepicker .mx-input:focus,
.itemVerifyDetail .soil-table .date-picker-container .mx-datepicker .mx-input:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.itemVerifyForm .soil-table .lab-select-container,
.itemVerifyDetail .soil-table .lab-select-container {
  min-width: 180px;
}
.itemVerifyForm .soil-table .lab-select-container .v-select .vs__dropdown-toggle,
.itemVerifyDetail .soil-table .lab-select-container .v-select .vs__dropdown-toggle {
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  transition: all 0.15s ease-in-out;
}
.itemVerifyForm .soil-table .lab-select-container .v-select .vs__dropdown-toggle:hover,
.itemVerifyDetail .soil-table .lab-select-container .v-select .vs__dropdown-toggle:hover {
  border-color: #0d6efd;
}
.itemVerifyForm .soil-table .lab-select-container .v-select.vs--open .vs__dropdown-toggle,
.itemVerifyDetail .soil-table .lab-select-container .v-select.vs--open .vs__dropdown-toggle {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.itemVerifyForm .soil-table .lab-select-container .v-select .vs__search,
.itemVerifyDetail .soil-table .lab-select-container .v-select .vs__search {
  font-size: 0.875rem;
}
.itemVerifyForm .soil-table td,
.itemVerifyForm .soil-table th,
.itemVerifyDetail .soil-table td,
.itemVerifyDetail .soil-table th {
  padding: 0.75rem 0.5rem;
  vertical-align: middle;
  border: 1px solid #dee2e6;
  font-size: 0.875rem;
  line-height: 1.4;
}
.itemVerifyForm .soil-table .parameter-content,
.itemVerifyDetail .soil-table .parameter-content {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
  line-height: 1.3;
  font-weight: 500;
  color: #495057;
}
.itemVerifyForm .soil-table thead,
.itemVerifyDetail .soil-table thead {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 200;
}
.itemVerifyForm .soil-table thead th,
.itemVerifyDetail .soil-table thead th {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
@media (max-width: 768px) {
  .itemVerifyForm .soil-table,
.itemVerifyDetail .soil-table {
    /* Adjust sticky header heights for mobile */
  }
  .itemVerifyForm .soil-table .parameter-column,
.itemVerifyDetail .soil-table .parameter-column {
    min-width: 150px;
    max-width: 150px;
  }
  .itemVerifyForm .soil-table .parameter-content,
.itemVerifyDetail .soil-table .parameter-content {
    max-width: 130px;
    font-size: 0.875rem;
  }
  .itemVerifyForm .soil-table td,
.itemVerifyForm .soil-table th,
.itemVerifyDetail .soil-table td,
.itemVerifyDetail .soil-table th {
    padding: 0.5rem 0.25rem;
    font-size: 0.875rem;
  }
  .itemVerifyForm .soil-table .form-control,
.itemVerifyDetail .soil-table .form-control {
    min-width: 80px;
    font-size: 0.875rem;
  }
  .itemVerifyForm .soil-table .date-picker-container,
.itemVerifyDetail .soil-table .date-picker-container {
    min-width: 100px;
  }
  .itemVerifyForm .soil-table .lab-select-container,
.itemVerifyDetail .soil-table .lab-select-container {
    min-width: 150px;
  }
  .itemVerifyForm .soil-table thead tr:last-child th,
.itemVerifyDetail .soil-table thead tr:last-child th {
    top: 38px;
  }
}
@media (max-width: 576px) {
  .itemVerifyForm .soil-table,
.itemVerifyDetail .soil-table {
    /* Adjust sticky header heights for small mobile */
  }
  .itemVerifyForm .soil-table .parameter-column,
.itemVerifyDetail .soil-table .parameter-column {
    min-width: 120px;
    max-width: 120px;
  }
  .itemVerifyForm .soil-table .parameter-content,
.itemVerifyDetail .soil-table .parameter-content {
    max-width: 100px;
    font-size: 0.8rem;
  }
  .itemVerifyForm .soil-table td,
.itemVerifyForm .soil-table th,
.itemVerifyDetail .soil-table td,
.itemVerifyDetail .soil-table th {
    padding: 0.4rem 0.2rem;
    font-size: 0.8rem;
  }
  .itemVerifyForm .soil-table .form-control,
.itemVerifyDetail .soil-table .form-control {
    min-width: 70px;
    font-size: 0.8rem;
  }
  .itemVerifyForm .soil-table .date-picker-container,
.itemVerifyDetail .soil-table .date-picker-container {
    min-width: 90px;
  }
  .itemVerifyForm .soil-table .lab-select-container,
.itemVerifyDetail .soil-table .lab-select-container {
    min-width: 120px;
  }
  .itemVerifyForm .soil-table thead tr:last-child th,
.itemVerifyDetail .soil-table thead tr:last-child th {
    top: 34px;
  }
}
@media (max-width: 480px) {
  .itemVerifyForm .soil-table-container,
.itemVerifyDetail .soil-table-container {
    max-height: 70vh;
  }
  .itemVerifyForm .soil-table,
.itemVerifyDetail .soil-table {
    font-size: 0.75rem;
  }
  .itemVerifyForm .soil-table .parameter-column,
.itemVerifyDetail .soil-table .parameter-column {
    min-width: 100px;
    max-width: 100px;
  }
  .itemVerifyForm .soil-table .parameter-content,
.itemVerifyDetail .soil-table .parameter-content {
    max-width: 80px;
    font-size: 0.7rem;
  }
  .itemVerifyForm .soil-table td,
.itemVerifyForm .soil-table th,
.itemVerifyDetail .soil-table td,
.itemVerifyDetail .soil-table th {
    padding: 0.3rem 0.15rem;
    font-size: 0.75rem;
  }
  .itemVerifyForm .soil-table .form-control,
.itemVerifyDetail .soil-table .form-control {
    min-width: 60px;
    font-size: 0.7rem;
  }
  .itemVerifyForm .soil-table thead tr:last-child th,
.itemVerifyDetail .soil-table thead tr:last-child th {
    top: 30px !important;
  }
}
.itemVerifyForm .soil-table-container::after,
.itemVerifyDetail .soil-table-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 200px;
  bottom: 0;
  width: 5px;
  background: linear-gradient(to right, rgba(13, 110, 253, 0.15), transparent);
  pointer-events: none;
  z-index: 3;
}
@media (max-width: 768px) {
  .itemVerifyForm .soil-table-container::after,
.itemVerifyDetail .soil-table-container::after {
    left: 150px;
  }
}
@media (max-width: 576px) {
  .itemVerifyForm .soil-table-container::after,
.itemVerifyDetail .soil-table-container::after {
    left: 120px;
  }
}

/* Measure Form and Detail Table Styling - START */
.measureForm .measure-row:hover,
.measureDetail .measure-row:hover,
.summaryForm .measure-row:hover,
.summaryDetail .measure-row:hover {
  background-color: #f8f9fa;
}
.measureForm .measure-parameter-cell,
.measureDetail .measure-parameter-cell,
.summaryForm .measure-parameter-cell,
.summaryDetail .measure-parameter-cell {
  min-width: 200px;
  vertical-align: middle;
  border-right: 2px solid #dee2e6;
}
.measureForm .measure-parameter-cell .parameter-info-stacked,
.measureDetail .measure-parameter-cell .parameter-info-stacked,
.summaryForm .measure-parameter-cell .parameter-info-stacked,
.summaryDetail .measure-parameter-cell .parameter-info-stacked {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.measureForm .measure-parameter-cell .parameter-info-stacked .parameter-th,
.measureDetail .measure-parameter-cell .parameter-info-stacked .parameter-th,
.summaryForm .measure-parameter-cell .parameter-info-stacked .parameter-th,
.summaryDetail .measure-parameter-cell .parameter-info-stacked .parameter-th {
  font-weight: 600;
  color: #333;
  font-size: 0.9em;
  line-height: 1.2;
}
.measureForm .measure-parameter-cell .parameter-info-stacked .parameter-eng,
.measureDetail .measure-parameter-cell .parameter-info-stacked .parameter-eng,
.summaryForm .measure-parameter-cell .parameter-info-stacked .parameter-eng,
.summaryDetail .measure-parameter-cell .parameter-info-stacked .parameter-eng {
  font-style: italic;
  color: #666;
  font-size: 0.85em;
  line-height: 1.2;
}
.measureForm .measure-parameter-cell .parameter-info-stacked .parameter-cas,
.measureDetail .measure-parameter-cell .parameter-info-stacked .parameter-cas,
.summaryForm .measure-parameter-cell .parameter-info-stacked .parameter-cas,
.summaryDetail .measure-parameter-cell .parameter-info-stacked .parameter-cas {
  color: #888;
  font-size: 0.8em;
  font-family: monospace;
  line-height: 1.2;
}
.measureForm .measure-data-cell,
.measureDetail .measure-data-cell,
.summaryForm .measure-data-cell,
.summaryDetail .measure-data-cell {
  white-space: nowrap;
  vertical-align: middle;
  font-size: 0.9em;
  padding: 0.5rem;
}
.measureForm .measure-action-cell,
.measureDetail .measure-action-cell,
.summaryForm .measure-action-cell,
.summaryDetail .measure-action-cell {
  vertical-align: middle;
  text-align: center;
  min-width: 120px;
}
.measureForm .measure-action-cell .action-button-single,
.measureDetail .measure-action-cell .action-button-single,
.summaryForm .measure-action-cell .action-button-single,
.summaryDetail .measure-action-cell .action-button-single {
  display: flex;
  justify-content: center;
  align-items: center;
}
.measureForm .measure-action-cell .action-button-single .btn,
.measureDetail .measure-action-cell .action-button-single .btn,
.summaryForm .measure-action-cell .action-button-single .btn,
.summaryDetail .measure-action-cell .action-button-single .btn {
  font-size: 0.75em;
  padding: 0.2rem 0.4rem;
  line-height: 1.2;
  border-radius: 0.25rem;
}
.measureForm .measure-action-cell .action-button-single .btn.btn-xs,
.measureDetail .measure-action-cell .action-button-single .btn.btn-xs,
.summaryForm .measure-action-cell .action-button-single .btn.btn-xs,
.summaryDetail .measure-action-cell .action-button-single .btn.btn-xs {
  font-size: 0.7em;
  padding: 0.15rem 0.3rem;
}
.measureForm .table .measure-parameter-cell,
.measureDetail .table .measure-parameter-cell,
.summaryForm .table .measure-parameter-cell,
.summaryDetail .table .measure-parameter-cell {
  background-color: #f8f9fa;
}
.measureForm .table .measure-row,
.measureDetail .table .measure-row,
.summaryForm .table .measure-row,
.summaryDetail .table .measure-row {
  border-bottom: 1px solid #dee2e6;
}
.measureForm .table .measure-row:last-child,
.measureDetail .table .measure-row:last-child,
.summaryForm .table .measure-row:last-child,
.summaryDetail .table .measure-row:last-child {
  border-bottom: 2px solid #dee2e6;
}
.measureForm .parameter-info-inline,
.measureForm .measure-inline-cell,
.measureForm .action-buttons,
.measureDetail .parameter-info-inline,
.measureDetail .measure-inline-cell,
.measureDetail .action-buttons,
.summaryForm .parameter-info-inline,
.summaryForm .measure-inline-cell,
.summaryForm .action-buttons,
.summaryDetail .parameter-info-inline,
.summaryDetail .measure-inline-cell,
.summaryDetail .action-buttons {
  display: none;
}

/* Measure Form and Detail Table Styling - END */
/* Item Verify Form and Detail Table Styling - END */
.info-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 26, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  -webkit-animation: popupFadeIn 0.3s ease both;
          animation: popupFadeIn 0.3s ease both;
}
.info-popup-overlay.popup-hidden {
  display: none;
}
.info-popup-overlay.popup-closing {
  -webkit-animation: popupFadeOut 0.25s ease both;
          animation: popupFadeOut 0.25s ease both;
}
.info-popup-overlay.popup-closing .info-popup-container {
  -webkit-animation: popupSlideOut 0.25s ease both;
          animation: popupSlideOut 0.25s ease both;
}

.info-popup-container {
  position: relative;
  max-width: 780px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  -webkit-animation: popupSlideIn 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) both;
          animation: popupSlideIn 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.info-popup-container .info-popup-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 72vh;
  -o-object-fit: contain;
     object-fit: contain;
  background: #001a60;
}
@media (max-width: 576px) {
  .info-popup-container .info-popup-image {
    max-height: 60vh;
  }
}

.info-popup-close-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.25s ease;
  z-index: 2;
  line-height: 1;
  padding: 0;
}
.info-popup-close-x:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.12) rotate(90deg);
}
.info-popup-close-x:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.info-popup-footer {
  background: #001a60;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 400px) {
  .info-popup-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
.info-popup-footer .info-popup-label {
  color: rgba(255, 255, 255, 0.82);
  font-family: "Kanit", sans-serif;
  font-size: 13px;
  line-height: 1.4;
}
.info-popup-footer .info-popup-btn {
  flex-shrink: 0;
  background: #ffffff;
  color: #001a60;
  border: none;
  border-radius: 8px;
  padding: 8px 28px;
  font-family: "Kanit", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.info-popup-footer .info-popup-btn:hover {
  background: #ddeeff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}
.info-popup-footer .info-popup-btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.info-popup-footer .info-popup-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@-webkit-keyframes popupFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes popupFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes popupFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@-webkit-keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.86) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.86) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@-webkit-keyframes popupSlideOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
}
@keyframes popupSlideOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
}

/*# sourceMappingURL=custom.css.map*/