body {
    padding-top: 150px;
}

body #localnav-fixed {
    display: none !important;
}

.icw .mb-8 {
    margin-bottom: 8px;
}

.icw .mb-16 {
    margin-bottom: 16px;
}

.icw .mb-24 {
    margin-bottom: 24px;
}

.icw .mb-24-16 {
    margin-bottom: 24px;
}

.icw .text-center {
    text-align: center;
}

.icw .text-dark {
    color: #333333;
}

.icw .text-grey {
    color: #666666;
}

.icw .container {
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
    max-width: 1172px;
}

@media screen and (max-width: 767px) {
    body {
        padding-top: 84px;
    }
}



/* ################# table ################# */
.table-section .table-content {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
}

.table-section .table-content thead {
    background-color: #00A850;
}

.table-section .table-content tbody {
    border: 1px solid #E8E8E8;
}

.table-section .table-content thead th,
.table-section .table-content thead td,
.table-section .table-content tbody td {
    padding: 16px 24px;
    border: 1px solid #E8E8E8;
    color: #666666;
}

.table-section .table-content thead th {
    padding: 24px;
    font-size: 18px;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.table-section .table-content .cell-no {
    min-width: 70px;
    width: 10.77%;
}

.table-section .table-content .cell-province {
    min-width: 140px;
    width: 17.8%;
}

.table-section .table-content .cell-district {
    min-width: 136px;
    width: 17.8%;
}

.table-section .table-content .cell-id {
    min-width: 165px;
    width: 15.52%;
}

.table-section .table-content .cell-name {
    min-width: 300px;
    width: 38.84%;
}

.table-scrollbar-top {
    display: none;
}

.table-section .custom-scrollbar {
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}

.table-section .custom-scrollbar .hint-swipe-table {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #333333;
    margin-bottom: 16px;
}

.table-section .custom-scrollbar-track {
    width: 100%;
    height: 3px;
    background: #d9d9d9;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

.table-section .tableContainer {
    cursor: url('/SiteCollectionDocuments/branch/revamp/img/icon-hand-default.png'), grab;
    user-select: none;
}

.table-section .tableContainer:hover {
    cursor: url('/SiteCollectionDocuments/branch/revamp/img/icon-hand-default.png'), grab;
}

.table-section .tableContainer.grabbing {
    cursor: url('/SiteCollectionDocuments/branch/revamp/img/icon-hand-drag.png'), grabbing;
}

.table-section .custom-scrollbar-thumb {
    max-width: 100%;
    height: 3px;
    background: #00A94F;
    border-radius: 10px;
    position: absolute;
    left: 0;
    cursor: url('/SiteCollectionDocuments/branch/revamp/img/icon-hand-default.png'), grab;
    transition: background 0.2s ease;
}

.table-section .custom-scrollbar-thumb:hover {
    cursor: url('/SiteCollectionDocuments/branch/revamp/img/icon-hand-default.png'), grab;
    background: #00A94F;
}

.table-section .custom-scrollbar-thumb:active {
    cursor: url('/SiteCollectionDocuments/branch/revamp/img/icon-hand-drag.png'), grabbing;
    background: #00A94F;
}

.table-section .drag-hint-overlay {
    position: absolute;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    left: 50%;
    transform: translateX(-50%);
}

.table-section .drag-hint-overlay.show {
    opacity: 1;
    flex-direction: column;
    display: flex !important;
}

.table-section .drag-hint-overlay.hiding {
    opacity: 0;
}

.table-section .drag-hint-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.table-section .drag-hint-hand {
    width: 40px;
    height: 50px;
    animation: swipeLeftRight 2s ease-in-out infinite;
}

.table-section .drag-hint-text {
    font-size: 14px;
    color: #666;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

@keyframes swipeLeftRight {
    0% {
        -webkit-transform: translateX(-30px);
        transform: translateX(-30px);
    }
    50% {
        -webkit-transform: translateX(30px);
        transform: translateX(30px);
    }
    100% {
        -webkit-transform: translateX(-30px);
        transform: translateX(-30px);
    }
}

.table-section .table-fade-wrapper {
    position: relative;
    overflow: hidden;
}

.table-section .hint-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-bottom: 16px;
    margin-top: 0;
}

/* ซ่อน scrollbar ด้านล่างของตาราง */
.table-section .table::-webkit-scrollbar {
    display: none;
}

.table-section .table {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: auto;
    padding-inline: 10px;
    padding: 0 4px !important;
}

.table-section .table-fade-wrapper {
    position: relative;
    overflow: hidden;
}

.table-section .table-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.table-section .table-fade-right {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.table-section .table-fade-right.show {
    opacity: 1;
}

@media screen and (max-width: 767px) {
    .table-section .table-fade-wrapper {
        margin-top: 16px;
    }

    .table-section .table-content thead th,
    .table-section .table-content thead td,
    .table-section .table-content tbody td {
        padding: 8px 16px;
        font-size: 13px;
    }

    .table-section .table-content .cell-district {
        min-width: 120px;
    }

    .table-section .table-content .cell-id {
        min-width: 116px;
    }

    .table-section .drag-hint-overlay {
        left: 50%;
    }
}

/* ################# end table ################# */



.sc-breadcrumb .list-breadcrumb {
    font-size: 13px;
    font-weight: 600;
}

.sc-breadcrumb .list-breadcrumb .chevron-right {
    margin: 0 10px;
}

.sc-breadcrumb .list-breadcrumb .current-page {
    color: #00a94f;
}

.sc-detail .sc-inner {
    padding-top: 48px;
    padding-bottom: 64px;
}

.sc-detail .sc-heading {
    margin-bottom: 24px;
}

@media screen and (max-width:767px){
    .icw .mb-24-16 {
        margin-bottom: 16px;
    }

    .sc-detail .sc-inner {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .sc-detail .sc-heading {
        margin-bottom: 32px;
    }
}