﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 12px;
  }
}

.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 #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}
.lyot_space {
  width: 60px;
  height: 60px;
}

.plan-card {
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.plan-card:hover {
  border: 2px solid transparent;
  border-color: #007bff; /* Highlight ????? hover */
}

.plan-card input[type="radio"]:checked + .card {
  border: 3px solid transparent;
  border-color: #007bff; /* ??????????????????? */
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.8); /* ???????? */
}
.bging-box {
  background-image: url("/image/box.png"); /* ใส่ URL ของรูปภาพ */
  background-repeat: no-repeat; /* ไม่ให้รูปภาพซ้ำ */
  background-size: cover; /* ปรับขนาดรูปให้เต็มพื้นที่ */
  background-position: center; /* จัดตำแหน่งรูปให้อยู่กึ่งกลาง */
}
.tooltip-nx {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.circle-btn {
  width: 35px;
  height: 35px;
  font-size: 20px;
  padding: 0;
}
.BgDrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2050;
  background-color: rgba(0, 0, 0, 0.75);
}
.hover-card {
  transition: all 0.2s ease-in-out;
}
.hover-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
.fs-10 {
  font-size: 10px;
}
.fs-15 {
  font-size: 0.9rem;
}
.pms-tag {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  user-select: none;
  transition: 0.2s;
}

/* รวม bg + text ให้เรียกง่าย */

.pms-tag-gold {
  background-color: #fdeb9e;
  color: rgba(0, 0, 0, 0.5);
}

.pms-tag-blue {
  background-color: #8ca9ff;
  color: rgba(0, 0, 0, 0.5);
}

.pms-tag-green {
  background-color: #73af6f;
  color: rgba(0, 0, 0, 0.5);
}
.custom-table thead th {


  border: none;
  vertical-align: middle;
  font-weight: 600;
  text-align: center;
}

.custom-table tbody td {
  vertical-align: middle;
  
}
/* ตั้งค่าเริ่มต้นให้ไอคอน */
.arrow-icon {
  display: inline-block; /* สำคัญ: เพื่อให้ transform ทำงานได้ */
  transition: transform 0.3s ease; /* ปรับความเร็วการหมุนที่นี่ */
}

/* เมื่อปุ่มถูกกด (สถานะกางออก หรือ aria-expanded="true") */
.tb-collapse[aria-expanded="true"] .arrow-icon {
  transform: rotate(180deg); /* หมุน 180 องศา (ชี้ขึ้น) */
}
.btn-bg-white {
  --bs-btn-bg: white;
}