@import url('fonts.googleapis.com');

@font-face {
    font-family: Tahomalocal;
    src: local('Tahomalocal'),
        url("../../assets/font/tahoma.ttf") format("truetype");
}

@font-face {
    font-family: tabien;
    src: local('tabien'),
        url("../../assets/font/dadidea.mog") format("truetype");
    /* Other properties like font-weight, font-style, font-display can also be included */
}

/******************
จะทำงานเฉพาะในมือถือ
*******************/
.mobile-only {
    display: none;
    /* ปกติซ่อนไว้ */
}

@media screen and (max-width: 768px) {
    .mobile-only {
        display: inline;
        /* แสดงผลเมื่อหน้าจอเล็ก เพื่อบังคับขึ้นบรรทัดใหม่ */
    }
}

body {
    font-family: -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Thonburi,
        "Sukhumvit Set",
        "Times New Roman",
        Arial,
        "Tahoma",
        sans-serif;
    /*font-family: Tahomalocal, "Times New Roman", Times, serif;*/
}

body,
div,
section,
article,
header,
footer,
aside,
nav,
ul,
li,
a,
span,
p,
br,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0px;
    padding: 0px;
}

/*********************************
* Set z-index for various elements 
**********************************/
.tabien_summary {
    z-index: 1000;
}

.contact-us-section {
    z-index: 2000;
}

.navbar {
    z-index: 3000;
}

.fixed-search-btn {
    z-index: 4000;
}

#goToppage {
    z-index: 4000;
}

#fullScreenOverlay {
    z-index: 5000;
}

#sticky-top {
    z-index: 6000;
}

/*****************************
* Sticky Top Styles
******************************/
#sticky-top {
    position: sticky;
    top: 0px;
}

/*****************************
* Wrapper for whole page
******************************/
#wrapper {
    position: relative;
    margin: 0px auto 0px auto;
    padding: 0 20px 0 20px;
    transition: margin-left .5s;
}

/*****************************
* Button to go to top page
******************************/
#goToppage {
    display: none;
    position: fixed;
    bottom: 45px;
    right: 20px;
    border: none;
    outline: none;
}

/*****************************
* Navbar styles
******************************/
.navbar {
    padding: 0px;
    /*background: #0D1A2D; --> customize.ini 350-background-color */
    /*background:rgba(255, 255, 255, 0.9);*/
    /*border-bottom: 1px solid rgba(0, 0, 0, 0.08); --> customize.ini 350-border-bottom */
}

.nav-inner {
    margin: auto;
    padding: 0.7rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.logo {
    width: 50px;
    /*36px;*/
    height: 50px;
    /*36px;*/
    background: #FF4136;
    /*#0ea5a4;*/
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
}

.brand>.brand-name {
    color: #FFBF00;
    font-family: 'Barlow', sans-serif;
    /* ใช้ฟอนต์ Barlow เป็นหลัก */
    font-size: 48px;
    /* ปรับขนาดตามความเหมาะสม */
    font-weight: 700;
    /* ทำให้ตัวหนาและเด่นชัด */
    text-transform: uppercase;
    /* ทำให้เป็นตัวพิมพ์ใหญ่ทั้งหมด ดูเป็นทางการ */
}

/* Desktop menu */
.nav-links {
    display: none;
    list-style: none;
    align-items: center;
    gap: 0.1rem;
}

.nav-links>li {
    position: relative;
}

.nav-links a {
    padding: 0.5rem 0.75rem;
    display: block;
    text-decoration: none;
    border-radius: 8px;
    color: #ffffff;
    /*color: #111;*/
    font-weight: 500;
}

.nav-links a:hover {
    background: #1A73E8;
    /*background: rgba(0, 0, 0, 0.05);*/
}

/* Desktop Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    /* left: 0;*/
    width: 190px;
    background: #000000;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: 0.18s ease;
    opacity: 0;
    pointer-events: none;
    max-height: 300px;
    overflow: scroll;
}

.dropdown-menu a {
    padding: 0.6rem 1rem;
}

/* show dropdown on hover / focus */
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
}

/* Dropdown arrow */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-toggle::after {
    content: "▼";
    font-size: 10px;
    transition: 0.2s;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Hamburger menu */
.hamburger {
    display: inline-flex;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    width: 50px;
    /*20px;*/
    height: 10px;
    /*2px;*/
    background-color: #fff;
    /*background: #111;*/
    position: relative;
}

.bar::before,
.bar::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 10px;
    /*2px;*/
    background-color: #fff;
    /*background: #111;*/
    transition: 0.25s;
}

.bar::before {
    top: -15px;
    /*-6px;*/
}

.bar::after {
    bottom: -15px;
    /*-6px;*/
}

.hamburger[aria-expanded="true"] .bar {
    background: transparent;
}

.hamburger[aria-expanded="true"] .bar::before {
    transform: rotate(45deg) translate(3px, 3px);
    top: 0;
}

.hamburger[aria-expanded="true"] .bar::after {
    transform: rotate(-45deg) translate(3px, -3px);
    bottom: 0;
}

/* Mobile menu */
.mobile-panel {
    position: fixed;
    top: 80px;
    /*64px;*/
    left: 0;
    right: 0;
    background: white;
    transform: scaleY(0);
    transform-origin: top;
    transition: .18s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.mobile-panel.open {
    transform: scaleY(1);
}

.mobile-panel nav {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-panel a {
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: #000000;
    font-size: 1.7em;
}

/*********************
mobile-dropdown-menu
**********************/
.mobile-dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
}

.mobile-dropdown-btn span {
    font-weight: normal;
    font-size: 1.7em;
}

.mobile-dropdown-btn .arrow {
    transition: 0.2s;
}

.mobile-dropdown.open .arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    max-height: 300px;
    overflow: scroll;
}

/* เลือกแถวเลขคู่ (even) */
.mobile-dropdown-menu a:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.7);
    /* สีโปร่งแสงสำหรับแถวคู่ */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* เลือกแถวเลขคี่ (odd) */
.mobile-dropdown-menu a:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
    /* สีที่ต่างออกไปสำหรับแถวคี่ */
}

.mobile-dropdown.open .mobile-dropdown-menu {
    display: flex;
}

/*********************
mobile-dropdown-menu 2
**********************/
.mobile-dropdown-btn2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
}

.mobile-dropdown-btn2 span {
    font-weight: normal;
    font-size: 1.7em;
}

.mobile-dropdown-btn2 .arrow2 {
    transition: 0.2s;
}

.mobile-dropdown2.open .arrow2 {
    transform: rotate(180deg);
}

.mobile-dropdown-menu2 {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    max-height: 300px;
    overflow: scroll;
}

/* เลือกแถวเลขคู่ (even) */
.mobile-dropdown-menu2 a:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.7);
    /* สีโปร่งแสงสำหรับแถวคู่ */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* เลือกแถวเลขคี่ (odd) */
.mobile-dropdown-menu2 a:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
    /* สีที่ต่างออกไปสำหรับแถวคี่ */
}

.mobile-dropdown2.open .mobile-dropdown-menu2 {
    display: flex;
}

/*********************
mobile-dropdown-menu 3
**********************/
.mobile-dropdown-btn3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
}

.mobile-dropdown-btn3 span {
    font-weight: normal;
    font-size: 1.7em;
}

.mobile-dropdown-btn3 .arrow3 {
    transition: 0.2s;
}

.mobile-dropdown3.open .arrow3 {
    transform: rotate(180deg);
}

.mobile-dropdown-menu3 {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    max-height: 300px;
    overflow: scroll;
}

/* เลือกแถวเลขคู่ (even) */
.mobile-dropdown-menu3 a:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.7);
    /* สีโปร่งแสงสำหรับแถวคู่ */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* เลือกแถวเลขคี่ (odd) */
.mobile-dropdown-menu3 a:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
    /* สีที่ต่างออกไปสำหรับแถวคี่ */
}

.mobile-dropdown3.open .mobile-dropdown-menu3 {
    display: flex;
}

/*********************
mobile-dropdown-menu 4
**********************/
.mobile-dropdown-btn4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
}

.mobile-dropdown-btn4 span {
    font-weight: normal;
    font-size: 1.7em;
}

.mobile-dropdown-btn4 .arrow4 {
    transition: 0.2s;
}

.mobile-dropdown4.open .arrow4 {
    transform: rotate(180deg);
}

.mobile-dropdown-menu4 {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    max-height: 300px;
    overflow: scroll;
}

/* เลือกแถวเลขคู่ (even) */
.mobile-dropdown-menu4 a:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.7);
    /* สีโปร่งแสงสำหรับแถวคู่ */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* เลือกแถวเลขคี่ (odd) */
.mobile-dropdown-menu4 a:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
    /* สีที่ต่างออกไปสำหรับแถวคี่ */
}

.mobile-dropdown4.open .mobile-dropdown-menu4 {
    display: flex;
}

/*********************
mobile-dropdown-menu 5
**********************/
.mobile-dropdown-btn5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
}

.mobile-dropdown-btn5 span {
    font-weight: normal;
    font-size: 1.7em;
}

.mobile-dropdown-btn5 .arrow5 {
    transition: 0.2s;
}

.mobile-dropdown5.open .arrow5 {
    transform: rotate(180deg);
}

.mobile-dropdown-menu5 {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    max-height: 300px;
    overflow: scroll;
}

/* เลือกแถวเลขคู่ (even) */
.mobile-dropdown-menu5 a:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.7);
    /* สีโปร่งแสงสำหรับแถวคู่ */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* เลือกแถวเลขคี่ (odd) */
.mobile-dropdown-menu5 a:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
    /* สีที่ต่างออกไปสำหรับแถวคี่ */
}

.mobile-dropdown5.open .mobile-dropdown-menu5 {
    display: flex;
}

@media (min-width:800px) {
    .hamburger {
        display: none;
    }

    .nav-links {
        display: flex;
    }

    .mobile-panel {
        display: none;
    }
}

/*****************************
* Form Search Tabien Styles
* any config in 
* customize.ini and default.js
******************************/
#form-search-tabien {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    text-align: center;
    margin: 5px auto 0 auto;
    padding: 5px 10px 10px 10px;
    /*background-color: #0D1A2D; --> customize.ini */
    /*border: 1px solid #0D1A2D; --> customize.ini */
    /*border-radius: 10px; --> customize.ini */
    /*box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; --> customize.ini */
}

#form-search-tabien>select,
input {
    font-size: 2.0em;
    /* font-size มีการปรับใน default.js */
    background-color: #fff;
    border: 1px solid #caced1;
    border-radius: 0.25rem;
    color: #000;
    cursor: pointer;
    margin: 5px 5px 0 5px;
}

#form-search-tabien>p {
    flex: 80%;
    font-size: 25px;
    /* font-size มีการปรับใน default.js */
}

#form-search-tabien>#tabien_text {
    flex: 47%;
}

#form-search-tabien>#tabien_number {
    flex: 47%;
}

#form-search-tabien>#price {
    flex: 20%;
}

#form-search-tabien>#tabien_summary {
    flex: 20%;
}

#form-search-tabien>#tabien_cartype_sq {
    flex: 20%;
}

#form-search-tabien>button {
    /*flex: 30%;*/
    width: 50%;
    font-size: 2em;
    /* font-size มีการปรับใน default.js */
    margin: 20px 10px 10px 10px;
    padding: 10px 5px;
    cursor: pointer;
}

#form-search-tabien>button:hover {
    background-color: #0056b3;
}

#form-search-tabien>button:active {
    transform: translateY(2px);
}

#form-search-tabien>button img {
    width: auto;
    height: 45px;
    vertical-align: middle;
    margin-right: 4px;
}

/*************************
* Start tabien-list display
* (tabien is image ifle)
*************************/
#tabien-list {
    margin: 10px auto 10px auto;
    padding: 10px 0 10px 0;
    background-color: #C0C0C0;
    border: 1px solid #C0C0C0;
    border-radius: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.tabien-contianer {
    min-width: 688px;
    display: flex;
    flex-flow: row wrap;
    row-gap: 2px;
    margin: auto;
    /*border:1px solid red;*/
}

.tabien-contianer a {
    color: #000000;
    text-decoration: none;
}

.tabien-contianer>h1 {
    flex: 100%;
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 10px;
    padding: 2px 0 2px 20px;
    /*color: #FFFFFF;*/
    /*background-color:#0b5345;*/
    /*border-color:#FFFFFF;*/
    border-radius: 10px 10px 0px 0px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.tabien_box {
    margin: 0 1px 0 1px;
    background-color: #FFFFFF;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    /*border: 1px solid;*/
    border-color: #FFFFFF;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.tabien-img {
    position: relative;
    /* ตั้งค่าให้เป็นตัวอ้างอิง */
    width: 170px;
    /*190px;*/
    height: 87px;
    /*auto;*/
    text-align: center;
}

.tabien-img>img {
    /*border: 1px solid;*/
    border-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.tabien-text-onplate {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 170px;
    /*190px;*/
    font-size: 3.8em;
    background-color: rgba(0, 0, 0, 0);
    /* transparent background */
}

.tabien-price-onplate {
    position: absolute;
    bottom: 0%;
    left: 0%;
    width: 170px;
    /*190px;*/
    font-size: 2.5em;
    background-color: rgba(0, 0, 0, 0);
    /* transparent background */
}

.tabien_summary {
    position: absolute;
    /*left: 161px;*/
    right: 0px;
    /*top:57px;*/
    bottom: 0px;
}

.saloon {
    color: #000000;
}

.pickup {
    color: #034f17;
}

.van {
    color: #22078f;
}

.tabien-price {
    margin: 0 auto 0 auto;
    font-weight: bold;
    width: 95%;
    text-align: center;
    font-size: 1.5em;
    color: #0D1A2D;
    background-color: #FFFFFF;
    border: 1px solid;
    border-color: #FFFFFF;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

/**********************
* tabien-display-detail
***********************/
#tabien-display-detail {
    position: relative;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    margin: 0.3em auto 1em auto;
    padding: 0.5em 0 1em 0;
    background-color: #C0C0C0;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

#tabien-display-detail>picture>img {
    object-fit: contain;
    border: 1px solid;
    border-color: #818181;
    border-radius: 18px;
    /*box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;*/
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.tabien_user_code {
    font-size: 0.2em;
    font-weight: lighter;
    /*display: flex;*/
    /*justify-content: flex-end;*/
    /* จัดเนื้อหาชิดขวา (ค่าเริ่มต้น) */
    /*align-items: center;*/
    /* (ตัวเลือก) จัดให้อยู่กึ่งกลางแนวตั้ง */
    /*gap: 10px;*/
    /* (ตัวเลือก) ระยะห่างระหว่างไอเทม */
    /*margin-right: 5px;*/
}

/****************** 
* คอนเทนเนอร์ของดาว 
*******************/
.star-rating {
    display: inline-flex;
    font-size: 1.8rem;
    /* ปรับขนาดดาวที่นี่ */
    gap: 4px;
    unicode-bidi: bidi-override;
    direction: rtl;
    /* ทำให้ดาวเรียงจากขวาไปซ้าย (เพื่อให้เต็มจากซ้าย) */
}

.star-rating span {
    color: #ddd;
    /* สีดาวเปล่า */
    transition: color 0.2s;
}

/* ดาวที่เต็ม (ตามคะแนน) */
.star-rating span.filled {
    color: #f5b301;
    /* สีดาวเต็ม (ทอง) */
}

/* รองรับครึ่งดาว */
.star-rating span.half {
    background: linear-gradient(90deg, #f5b301 50%, #ddd 50%);
    /*-webkit-background-clip: text;*/
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ข้อความแสดงคะแนน */
.rating-text {
    margin-left: 10px;
    font-size: 1rem;
    color: #555;
}

/*****************************
* For long-form articles
******************************/
#long-form-articles {
    padding: 10px 15px;
    margin-top: 5px;
    color: #E0E0E0;
    background-color: #121212;
    border: 1px solid #818181;
}

#long-form-articles a {
    color: #ffffff;
}

/*****************************
* Contact Us Section
******************************/
.contact-us-section {
    display: flex;
    justify-content: center;
    position: sticky;
    bottom: 0;
    background: #000;
}

.contact-us-section>a {
    display: flex;
    text-decoration: none;
    align-items: center;
    font-weight: bold;
    font-size: 35px;
    /*1.5em;*/
    background-color: #FFFFFF;
    padding: 0px 3px 0px 0px;
    margin: 5px 2px;
    border: 1px solid;
    border-color: #FFFFFF;
    border-radius: 5px;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.contact-us-section>a>img {
    width: auto;
    height: 45px;
}

/*****************************
* For information       
******************************/
#info {
    position: relative;
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
}

#info .info_h1 {
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFFFF;
    text-align: center;
    background-color: #9932CC;
}

#info .info_h2 {
    font-size: 1.1em;
    color: #006400;
}

/*****************************
* For payment       
******************************/
#payment {
    position: relative;
    margin-right: auto;
    margin-left: auto;
    margin-top: 10px;
}

#payment .pay_h1 {
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFFFF;
    text-align: center;
    background-color: #666666;
}

#payment .pay_h2 {
    font-size: 1em;
    font-weight: bold;
    text-align: center;
}

#payment h1 {
    font-size: 1.5em;
    font-weight: bold;
    color: blue;
    margin-top: 0;
    margin-bottom: 0;
}

#pay1 {
    margin-top: 1.5em;
    margin-left: 1em;
    float: left;
    width: 30%;
    text-align: center;
    font-size: 1.1em;
    border: 1px solid green;
}

#pay2 {
    margin-top: 1.5em;
    margin-right: 1em;
    float: left;
    width: 30%;
    text-align: center;
    font-size: 1.1em;
    border: 1px solid green;
}

/*****************************
* For method           
******************************/
#method {
    position: relative;
    margin: 10px 0 0 0;
}

#method table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #228B22;
}

#method tr td {
    border: 1px solid #228B22;
}

#method th {
    text-align: center;
    border: 1px solid #228B22;
}

#method h1 {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFFFFF;
    text-align: center;
    padding: 3px 0 3px 0;
    background-color: #228B22;
}

span.h3 {
    font-size: 1.5em;
    font-weight: bold;
    color: #000000;
    text-align: center;
    padding: 0 0 0 0;
}

#method .group1 {
    width: 50%;
    background-color: #A9A9A9;
}

#method .group2 {
    background-color: #FFB6C1;
}

#method .group3 {
    background-color: #98FB98;
}

#method .group4 {
    background-color: #C5FFC5;
}

/******************************
* download_doc             
*******************************/
#download_doc {
    position: relative;
    margin: 10px 0 10px 0;
}

#download_doc_header {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    background-color: #59a3fc;
}

#download_doc_list table {
    margin-right: auto;
    margin-left: auto;
    border-collapse: collapse;
    width: 100%;
    border: 1px solid green;
}

#download_doc_list td {
    border: 1px solid #73C0D4;
    height: 1.7em;
}

/* สไตล์พื้นฐานสำหรับปุ่มทั้งหมด */
/*
-สีน้ำเงิน/ฟ้า (Primary/Info): การกระทำหลัก, ข้อมูลทั่วไป, ไปต่อ, ดูรายละเอียด
    <button class="btn-primary">ดำเนินการต่อ</button>
-สีเขียว (Success/Add): การกระทำที่สำเร็จ, เพิ่ม, ยืนยัน, ทำรายการต่อ
    <button class="btn-success">เพิ่มรายการ</button>
-สีแดง (Danger/Delete): การกระทำอันตราย, ลบ, ยกเลิก, หยุด
    <button class="btn-warning">แก้ไขข้อมูล</button>
-สีเหลือง/ส้ม (Warning/Edit): แก้ไข, ตั้งค่า, แจ้งเตือน, ระวัง
    <button class="btn-danger">ลบรายการ</button>
-สีเทา/ขาว (Secondary/Default): การกระทำรอง, ปิด, กลับ, ปุ่มทั่วไปที่ไม่เน้น
    <button class="btn-secondary">กลับหน้าหลัก</button>
*/
.btn {
    border: none;
    padding: 10px 20px;
    margin: 0px;
    /*5px*/
    border-radius: 5px;
    /* มุมมนเล็กน้อย */
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
    color: white;
    /* เริ่มต้นใช้ตัวอักษรสีขาว */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* เพิ่มเงาเล็กน้อย */
}

.btn:hover {
    transform: translateY(-1px);
    /* ขยับขึ้นเล็กน้อยเมื่อโฮเวอร์ */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    /* เพิ่มเงาให้ชัดขึ้น */
}

/* --- 1. สีน้ำเงิน/ฟ้า (Primary/Info) --- */
/* การกระทำหลัก, ไปต่อ, ดูรายละเอียด */
.btn-primary {
    /* สีน้ำเงินมาตรฐาน */
    background-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    /* เข้มขึ้นเมื่อโฮเวอร์ */
}

/* --- 2. สีเขียว (Success/Add) --- */
/* เพิ่ม, ยืนยัน, ทำรายการต่อ */
.btn-success {
    background-color: #28a745;
    /* สีเขียวมาตรฐาน */
}

.btn-success:hover {
    background-color: #218838;
    /* เข้มขึ้นเมื่อโฮเวอร์ */
}

/* --- 3. สีแดง (Danger/Delete) --- */
/* ลบ, ยกเลิก, หยุด, อันตราย */
.btn-danger {
    background-color: #dc3545;
    /* สีแดงมาตรฐาน */
}

.btn-danger:hover {
    background-color: #c82333;
    /* เข้มขึ้นเมื่อโฮเวอร์ */
}

/* --- 4. สีเหลือง/ส้ม (Warning/Edit) --- */
/* แก้ไข, ตั้งค่า, แจ้งเตือน */
.btn-warning {
    background-color: #ffc107;
    /* สีเหลือง/ส้มมาตรฐาน */
    color: #333;
    /* เปลี่ยนสีตัวอักษรเป็นสีเข้มเพื่อให้ตัดกับสีพื้นหลัง */
}

.btn-warning:hover {
    background-color: #e0a800;
    /* เข้มขึ้นเมื่อโฮเวอร์ */
}

/* --- 5. สีเทา/ขาว (Secondary/Default) --- */
/* การกระทำรอง, ปิด, กลับ */
.btn-secondary {
    background-color: #6c757d;
    /* สีเทามาตรฐาน */
}

.btn-secondary:hover {
    background-color: #5a6268;
    /* เข้มขึ้นเมื่อโฮเวอร์ */
}


/*****************************
* CSS Pro Tip
******************************
- box-shadow: [X] [Y] [Blur] [Spread] [Color];
💡 วิธีการตั้งค่าเงา (Box Shadow) ให้ดูดีแบบมืออาชีพ
X: ระยะเงาแนวนอน (ตั้งเป็น 0 เพื่อให้เงาออกซ้ายขวาเท่ากัน)
Y: ระยะเงาแนวตั้ง (ยิ่งมาก เงานยิ่งลงล่าง วัตถุจะดูยิ่งลอยสูง)
Blur: ยิ่งมาก ยิ่งฟุ้ง (แนะนำ 20px - 60px สำหรับความละมุน)
Spread: ขนาดของตัวเงา (ปกติมักปล่อยเป็น 0 หรือค่าติดลบเพื่อให้เงาดูนวลขึ้น)
Color: แนะนำให้ใช้ rgba เพื่อคุมความจาง (เช่น 0.05 ถึง 0.15)
💡 Pro Tip: หากคุณใช้พื้นหลังที่มีสี (ไม่ใช่สีขาว) ให้ลองใช้สีเงาเป็นสีเดียวกับพื้นหลัง
แต่ปรับให้เข้มขึ้นแทนสีดำสนิท จะช่วยให้เงาดู Professional มากขึ้นครับ
คุณสามารถลองปรับแต่งแบบ Real-time 
ได้ที่ CSS Scan - Box Shadow Examples หรือ Shadows-brumm 
ซึ่งเป็นเครื่องมือช่วยเจนเงาแบบซ้อนเลเยอร์ (Layered Shadows) ที่เนียนที่สุดครับ

*/