.data-table table {
  width: 100%;
  table-layout: fixed;
  height: auto;
  border-collapse: separate;
  border-spacing: 0;
  border: 0.1rem solid #97d3cb;
  border-radius: 1.5%;
}

.data-table thead th {
  height: auto;
  padding: 1%;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  border-bottom: 0.1rem solid #97d3cb;
}

.data-table tbody {
  border-top: 0.1rem solid #97d3cb;
}

.data-table tbody td {
  text-align: center;
  vertical-align: middle;
  padding: 1%;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 0.1rem solid #97d3cb;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table table {
  border-radius: 5vw; /* ใช้ vw เพื่อให้ขนาดโค้งเปลี่ยนตามความกว้างของ viewport */
}

.data-table tbody td:last-child:last-of-type,
.data-table tbody td:first-child:last-of-type {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

/* li {
  list-style: none; /* ลบ marker ออก */
  /* padding: 0; */
  /* margin: 0; */
/* }  */

.bg-color-white {
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}

.bg-color-whitesmoke {
  align-items: center;
  justify-content: center;
  background-color: #F5F5F5 !important;
}

.bg-rice-menu {
  background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url('../img/background/rice-preciousmemoriesvietnam.jpg');
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover;
}

.bg-garden-menu {
  background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url('../img/background/garden-soo-ann-woon.jpg');
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover;
}

.bg-crop-menu {
  background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url('../img/background/crop-egle-sidaraviciute.jpg');
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover;
}

.bg-livestock-menu {
  background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url('../img/background/animal-carina-chowanek.jpg');
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover;
}

.bg-aqanimal-menu {
  background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url('../img/background/fisher-sinalmultimedia.jpg');
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover;
}

.bg-saltponds-menu {
  background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url('../img/background/saltponds-tweesak-c.jpg');
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover;
}

.bg-agri-menu {
  background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url('../img/background/agri-sasint.jpg');
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover;
}

.bg-cons-menu {
  background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url('../img/background/cons.jpg');
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover;
}

.bg-household-menu {
  background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url('../img/background/householdindustried-mehmet-uzut.jpg');
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover;
}

.bg-disaster-menu {
  background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url('../img/background/disaster-vladyslav-dukhin.jpg');
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover;
}

.bg-ecosystem-menu {
  background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url('../img/background/ecosystem_background.jpg');
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover;
}

.bg-tradition-menu {
  background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url('../img/background/tradition_background.jpg');
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover;
}


.bg-transportation-menu {
  background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url('../img/background/transportation_background.jpg');
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover;
}


.custom-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-content: center;
}


.custom-navbar .left, .custom-navbar .right {
  /* flex: 1; */
  display: flex;
  background-color: #F8F8F8;
  border-radius: 5vw;
}

.title-blue {
  color: #123456;
  font-weight: bold;
}

.color-mediumaquamarine {
  color: #66CDAA;
}

.bg-color-lightorange {
  background-color: #FEE8D6  !important;
}

.custom-navbar .title {
  /* display: flex; */
  font-weight: bold;
  color: #123456;
  align-items:center;
  justify-content: center;
}

.custom-card {
  background-image: linear-gradient(to bottom right, #009BFF 0%, #007BFF 25%, #005BFF 50%, #004BA8 75%);
  border-radius: 15px;
  color: #FFFFFF;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.6) 100%);
  pointer-events: none;
}


.label {
  opacity: 0.8;
}

.value {
  font-weight: bold;
}

.card-footer {
  display: flex;
  justify-content: space-between;
}

.button-with-icon {
  background-color:#E1F2FF;
}

.custom-item-content::before,
.custom-item-content::after {
    background: none !important;
    content: '';
}

.list li:last-child li .item-inner:after {
  background: none !important;
  content: '';
}

.tab-link-highlight {
    background: none !important;
    content: '';
}

.text-outline {
  text-shadow: 
      -1px -1px 0 #000, 
      1px -1px 0 #000, 
      -1px 1px 0 #000, 
      1px 1px 0 #000;
}


.item-input-outline { 
  border-radius: 5vw !important;
}

.garden-form1-btn {
  display: none;
}

.garden-form-confirm-btn {
  display: none;
  background-color: rgba(0, 128, 0, 1);
}
/* .garden-form-confirm-btn {
  display: none;
  background-color: rgba(0, 128, 0, 0.9);
}

.garden-form-confirm-btn:active {
  background-color: rgba(0, 128, 0, 1);
} */

.garden-form-cancel-btn {
  color: #005bc1;
  background-color: white;
  border: 1px solid #005bc1;;
}

/* .item-content.item-input::before {
  content: none; /* ลบเนื้อหาใน pseudo-element ::before */
  /* border: none;  /* ลบเส้นขอบหรือสไตล์ของเส้น */
  /* display: none; ซ่อน ::before element */ 
/* } */ 