@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Noto+Sans+Thai:wght@100..900&display=swap');

body {
    font-size: .875rem;
    font-family: 'Chakra Petch', 'Courier New', Courier, monospace;
}

/* แก้ไขชื่อ Class ตรงนี้ เพื่อไม่ให้ทับกับ Bootstrap */
.card-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* เพิ่มเพื่อให้รองรับมือถือ */
    margin: 20px 0;
    font-family: "Chakra Petch", Arial, sans-serif;
}

/* เปลี่ยนชื่อจาก .card เป็น .status-card */
.status-card {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: calc(33.33% - 20px);
    text-align: center;
    min-height: 100px; /* ใช้ min-height แทน height ตายตัว */
    font-weight: bolder;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
    .status-card {
        font-size: 14px;
        width: 100%; /* มือถือให้การ์ดเรียงลงมาเต็มจอ */
        margin-bottom: 15px;
    }
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/* Sidebar & Navbar */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: sticky;
    top: 48px;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .80);
}