@font-face {
    font-family: 'LINESeedSansTH';
    src: url('fonts/LINESeedSansTH_W_Rg.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'LINESeedSansTH';
    src: url('fonts/LINESeedSansTH_W_Bd.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'LINESeedSansTH';
    src: url('fonts/LINESeedSansTH_W_He.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'LINESeedSansTH';
    src: url('fonts/LINESeedSansTH_W_Th.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'LINESeedSansTH';
    src: url('fonts/LINESeedSansTH_W_XBd.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'LINESeedSansTH', sans-serif;
}
body{
  min-height: 100vh;
  width: 100%;
  background: #fff;
}
.container{
  max-width: 430px;
  margin: auto;
  width: 100%;
  background: #fff;
  padding: 20px 25px;
}

.title-text h1 {
    text-align: center;
    font-size: 26px;
}
.title-text h2 {
    text-align: center;
    font-size: 20px;
    margin: -5px;
}
.title-text p {
    text-align: center;
    font-size: 12px;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px #dbdbdb solid;
    border-radius: 5px;
    padding: 10px;
    margin-top: 20px;
}
.search-box input {
    border: none;
    padding-left: 10px;
    font-size: 16px;
    width: 100%;
}
.search-box input:focus {
    outline: none;
}
.clean {
    border: none;
    background-color: #f0f0f0;
    width: 50px;
    height: 30px;
    border-radius: 20px;
    cursor: pointer;
    color: #000;
}
.btn-search {
    margin-left: 10px;
    width: 120px;
    height: 30px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    background-color: #5aba3f;
    color: #fff;
}
.btn-search:hover {
    background-color: #1e8a00;
}

.tag {
    display: flex;
    gap: 5px;
    overflow-x: auto; /* เปิด Scrollbar แนวนอน */
    white-space: nowrap; /* ป้องกันการขึ้นบรรทัดใหม่ */
    border-radius: 5px;
    margin-top: 10px;
    -ms-overflow-style: none; /* สำหรับ Internet Explorer และ Edge */
    scrollbar-width: none; /* สำหรับ Firefox */
    color: #000;
}
.tag::-webkit-scrollbar {
    display: none; /* ซ่อน Scrollbar สำหรับ Chrome, Safari และ Edge */
}
.tag button {
    background-color: #f9f9f9;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    white-space: nowrap;
    color: #000;
}
.tag button:hover {
    background-color: #f0f0f0;
}

.data-show {
    margin-top: 20px;
}
.data-show-box1 {
    background-color: #eaf3e8;
    padding: 20px;
    border-radius: 10px;
}
.detail {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.detail button {
    width: 65px;
    height: 30px;
    border: none;
    background-color: #fff;
    border-radius: 10px;
}

.data-show-box2 {
    text-align: center;
    background-color: #eaf3e8;
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
}

.progress-bar-container {
    width: 100%;
    height: 10px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-top: 10px;
}

.progress-bar {
    height: 100%;
    width: 0; /* เริ่มต้นความกว้างเป็น 0 */
    border-radius: 10px;
    transition: width 0.5s ease-in-out; /* เสริมเอฟเฟกต์เมื่อ width ถูกเปลี่ยน */
}
