/* FWB Tabs Animation */
.fwb-tabs {
    text-align: center;
    margin: 0px auto;
    position: absolute;
    z-index: 9999999;
    height: 35px;
    width: 100%;
    max-width: calc(100% - 70px);
    border-bottom: 1px solid #000;
    padding: 5px 0px 5px 0px;
}

.tab-btn {
    background: #080808;
    color: #fff;
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    transition: background 0.3s;
    /* width: 33.33%; */
    font-size: 12px;
    font-family: 'Noto Sans Thai';
}

.tab-btn.active, .tab-btn:hover {
    background: #080808;
}

.tab-content {
    display: none;
    background: #f9f9f900;
    padding: 0px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.4s forwards;
    position: relative;
    top: 0px;
    overflow: hidden;
    width: calc(100% + 0px);
    height: calc(100dvh - 230px);
}

.tab-content.active {
    display: block;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

button.tab-btn.tab-3.active {
    width: fit-content;
    position: relative;
    float: right;
	margin-left: 5px;
    padding: 10px 10px;
}

button.tab-btn.tab-3 {
    width: fit-content;
    float: right;
    margin-left: 5px;
    padding: 10px 10px;
    position: relative;
    z-index: 1;
}

button.tab-btn.tab-2.active {
    width: fit-content;
    position: relative;
    float: right;
	margin-left: 5px;
    padding: 10px 10px;
}

button.tab-btn.tab-2 {
    width: fit-content;
    float: right;
    margin-left: 5px;
    padding: 10px 10px;
    position: relative;
    z-index: 1;
}

button.tab-btn.tab-1 {
    float: left;
    position: relative;
    z-index: 1;
}

.tab-content {
    /* scrollbar-width: thin; */ /* Firefox */
    /* scrollbar-color: transparent transparent; */ /* Firefox: scrollbar เป็นใส */
}

/* Chrome, Edge, Safari */
.tab-content::-webkit-scrollbar {
    width: 0px;   /* กว้าง scrollbar 0px */
    height: 0px;  /* สำหรับ scroll แนวนอน */
}

.tab-content::-webkit-scrollbar-thumb {
    background: transparent; /* ตัว scrollbar เป็นใส */
}
