.html-template{
    display: none;
}
.header-name {
    background-color: rgb(75 75 75);
    color: white;
    padding: 8px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
label.required:after{
    content: '*';
    color: var(--bs-red);
}
/* Custom Pagination */
.pagination-card{
    position:relative;
    cursor: pointer;
}
.pagination-card .card-action{
    position: absolute;
    cursor: pointer;
    top: 15px;
    right: 16px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}
.pagination-card .card-action i{
    font-size: 1.25em;
}
.pagination-card .card-action i:hover{
    color: var(--bs-danger);
}
.table-bordered > :not(caption) > * {
    border-width: 1px 0 !important;
}
.table-bordered > :not(caption) > * > * {
    border-width: 0 1px !important;
}
.table tbody tr:last-child, .table tfoot tr:last-child {
    border-bottom: 1px solid var(--kt-table-border-color) !important;
}
.table td,
.table th:first-child,
.table th:last-child{
    padding: 10px;
}
.table-billing-detail tr td:first-child{
    font-weight: bold;
    width: 20%;
}
.table-billing-detail .paid-detail{
    display: none;
}
.table-billing-detail.paid .paid-detail{
    display: table-row;
}
.swal2-container .swal2-html-container {
    max-height:max-content;
    overflow: auto;
}
.custom-timeline .timeline-label:before{
    left: 162px;
}
.custom-timeline .timeline-label .timeline-label-custom{
    width: 150px;
}
.custom-timeline .timeline-badge{
    margin-left: 5px;
}
.custom-timeline .timeline-item{
    margin-bottom: 1em;
}

/* Chrome, Safari, Edge, Opera */
input.no-spin::-webkit-outer-spin-button,
input.no-spin::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number].no-spin {
  -moz-appearance: textfield;
}

/* แก้ไขปัญหา dropdown menu ถูก table ทับ - เฉพาะหน้า customer */
.customer-page .pagination-data,
.customer-page .data-zone.card,
.customer-page .data-zone .card-body,
.customer-page .table-responsive {
    overflow: visible !important;
}

.customer-page table,
.customer-page tbody,
.customer-page thead,
.customer-page tr,
.customer-page td,
.customer-page th {
    overflow: visible !important;
}

/* เพิ่ม z-index ให้ dropdown menu เฉพาะหน้า customer */
.customer-page .dropdown-menu,
.customer-page .btn-group .dropdown-menu,
.customer-page ul.dropdown-menu {
    z-index: 9999 !important;
    position: absolute !important;
}