body {
    font-family: "Noto Sans Thai", sans-serif;
}

#header-block {
    position: fixed !important;
    left: 0;
    right: 0;
}

#header-block {
    border-bottom: 1px solid #dee2e6;
}

#sidebar-block {
    border-right: 1px solid #dee2e6;
}

#header-block, #sidebar-block {
    /* box-shadow: none !important; */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.main-block {
    margin-top: 64px;
}

.card {
    border-radius: calc(.625rem + 4px) !important;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05) !important;
}

body.desktop a:hover .card {
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-2px) !important;
}

.filters__container {
    position: relative;
    height: 64px;
}

.filters__inner {
    height: 64px;
    will-change: transform;
    transform: translateZ(0);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background-color .18s ease,
        opacity .18s ease;
    z-index: 1000;
    background: #fff;
}

.shadow-custom {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05) !important;
}

.modal-backdrop {
    opacity: .3 !important;
}

.card-thumbnail {
    padding: 1rem 1rem 0 1rem !important;
}

.card-thumbnail img {
    border-radius: .75rem !important;
}

.card-content {
    padding: 1rem !important;
    min-height: 284px;
    overflow: hidden;
}

.card-content-title {
    font-size: 18px;
}

.font-weight-300 {
    font-weight: 300 !important;
}

.card .price-bf-dc {
    font-size: 14px !important;
    font-weight: 300;
}

.text-black-75 {
    color: rgba(0, 0, 0, .75);
}

.text-black-65 {
    color: rgba(0, 0, 0, .65);
}

.card-content-instructor {
    font-size: 12px;z
}

.btn-filters, .btn-default {
    background-color: #fff;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05) !important;
}

.btn-filters:not(:disabled):hover, .btn-default:not(:disabled):hover {
    background-color: #f5f5f5 !important;
}

.btn-filters-group:not(:disabled):hover, .btn-filters-group:not(:disabled).active {
    background-color: #fff;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05) !important;
}

.btn-filters.disabled, .btn-filters:disabled {
    color: #212529 !important;
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
    opacity: .5 !important;
}

.mt-2px {
    margin-top: 2px !important;
}

.tags-container {
    height: 24px;
    overflow: hidden;
}

.border-top-dashed {
    border-top: 1px dashed #dee2e6 !important;
}

.h-5px {
    height: 5px !important;
}

.badge { padding: 4px 6px; }
.badge-live { background: #dc3545; color: #fff; }

.card .progress-container {
    border-left: 2px solid #e9ecef;
    padding-left: 0.5rem;
}

/* #sidebar-block.expand {
    animation: unset !important;
} */

.modal-backdrop {
    z-index: 1041;
}

.pagination .page-link {
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    border-radius: .5rem !important;
}

ul.pagination li.active a {
    color: #fff !important;
    background: #007bff !important;
    border: 1px solid #007bff !important;
}

.dropdown-menu {
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    min-width: 14rem !important;
}

.dropdown-filters .dropdown-item.active, .dropdown-filters .dropdown-item:hover {
    background-color: #f5f5f5 !important;
    color: #212529 !important;
}

.dropdown-filters .dropdown-item:hover i:before, .dropdown-filters .dropdown-item.active i:before {
    content: "\f192" !important;
}

.dropdown-filters .dropdown-item.active i {
    font-weight: 900 !important;
}

.card-layer {
    position: absolute;
    top: -5px;
    left: 10px;
    right: 10px;
    bottom: 0;
    border-radius: calc(.625rem + 4px) !important;
    z-index: 0;
    transition: box-shadow .25s
    ease, transform .25s
    ease, -webkit-transform .25s
    ease;
}

.card-layer-1 {
    background: #E0E0E0;
}

.card-layer-2 {
    top: -10px;
    left: 18px;
    right: 18px;
    background: #EEEEEE;
}

body.desktop a:hover .card-layer {
    transform: translateY(-2px) !important;
}

.min-h-50vh {
    min-height: 50vh;
}

#header-pathway-info-mobile {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    height: 64px;
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    z-index: 1030;
}

#header-pathway-info-mobile.show {
    display: block !important;
}

.rounded-xxl {
    border-radius: 1.25rem !important;
}

.text-white-65 {
    color: rgba(255, 255, 255, .65);
}

.text-white-75 {
    color: rgba(255, 255, 255, .75);
}

.btn-share {
    color: rgba(255, 255, 255, .75);
    transition: all .2s;
}

.btn-share:hover {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.badge-success-soft {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: default;
}

.badge-primary-soft {
    background: rgba(0, 123, 255, 0.15); /* ฟ้าอ่อนโปร่ง */
    color: #007bff;                     /* ฟ้าหลัก */
    padding: 8px 10px;
    border-radius: 6px;
    cursor: default;
}

.badge-white-soft {
    background: rgba(255, 255, 255, 0.08); /* ฟ้าอ่อนโปร่ง */
    color: rgba(255,255,255,.85);                     /* ฟ้าหลัก */
    padding: 8px 10px;
    border-radius: 6px;
    cursor: default;
}

.badge-dark-soft {
    background: rgba(52, 58, 64, 0.15);
    color: #343a40;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: default;
}

.badge-style-3 {
    padding: 6px 8px !important;
    border-radius: 4px !important;
}

/* .badge-primary-soft:hover {
    background: rgba(0, 123, 255, 0.25);
    transform: translateY(-1px);
    cursor: default;
} */

.table-custom thead th:first-child {
    border-radius: .5rem 0 0 0;
}

.table-custom thead th:last-child {
    border-radius: 0 .5rem 0 0 ;
}

.table-hover tbody tr:hover {
    background-color: #FAFAFA !important;
}

.table-middle td {
    vertical-align: middle;
}

.w-80px {
    width: 80px;
}

.badge-status {
    padding: 8px 10px !important;
    font-size: 12px !important;
}

.btn-flat {
    transition: all .2s;
}

.btn-flat:hover {
    background-color: #eee !important;
}

.font-weight-600 {
    font-weight: 600 !important;
}

.w-28px {
    width: 28px !important;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1320px;
    }
}

.summary-card {
    background: linear-gradient(0deg, #f8f9fa 0%, #ffffff 100%);
}

.text-warning-2 {
    color: #FFB300 !important;
}