.border > div {
    border: 1px solid red;
}

a:hover {
    text-decoration: none;
}
/*****Gap *******/
.ui-gap-2 {
    gap: 2px;
}
.ui-gap-5 {
    gap: 5px;
}
.ui-gap-10 {
    gap: 10px;
}
.ui-gap-12 {
    gap: 12px;
}
.ui-gap-15 {
    gap: 15px;
}
.ui-gap-20 {
    gap: 20px;
}

/*****Padding *******/
.ui-pl-10 {
    padding-left: 10px;
}
.ui-pl-15 {
    padding-left: 15px;
}
.ui-pl-20 {
    padding-left: 20px;
}
.ui-pl-25 {
    padding-left: 25px;
}
.ui-pl-30 {
    padding-left: 30px;
}
.ui-pl-35 {
    padding-left: 30px;
}
.ui-pl-40 {
    padding-left: 40px;
}
.ui-pl-45 {
    padding-left: 45px;
}
.ui-pl-50 {
    padding-left: 50px;
}
.ui-pl-55 {
    padding-left: 55px;
}
.ui-pl-60 {
    padding-left: 60px;
}

.ui-pr-10 {
    padding-right: 10px;
}
.ui-pr-15 {
    padding-right: 15px;
}
.ui-pr-20 {
    padding-right: 20px;
}
.ui-pr-25 {
    padding-right: 25px;
}
.ui-pr-30 {
    padding-right: 30px;
}
.ui-pr-35 {
    padding-right: 30px;
}
.ui-pr-40 {
    padding-right: 40px;
}
.ui-pr-45 {
    padding-right: 45px;
}

/*****Margin *******/
.ui-mt-5 {
    margin-top: 5px;
}
.ui-mt-8 {
    margin-top: 8px;
}
.ui-mt-10 {
    margin-top: 10px;
}
.ui-mt-30 {
    margin-top: 30px;
}
.ui-mt-50 {
    margin-top: 50px;
}
.ui-mt-120 {
    margin-top: 120px;
}
.ui-mt-130 {
    margin-top: 130px;
}
.ui-mt-140 {
    margin-top: 140px;
}
.ui-mt-150 {
    margin-top: 150px;
}

.ui-mb-20 {
    margin-bottom: 20px;
}

.ui-mtb-150 {
    margin-top: 150px;
    margin-bottom: 150px;
}

.ui-txt-transform-none {
    text-transform: none;
}
.ui-txt-transform-lowercase {
    text-transform: lowercase;
}

.ui-col {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 0;
    padding-left: 0;
}

.isPC .ui-col-md-x5,
.isTablet .ui-col-md-x5 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}

ul {
    padding-inline-start: 0;
}

ul.list-bullet {
    list-style: disc;
}
ul.list-bullet li {
    margin-bottom: 10px;
}

ol {
    padding-left: 20px;
}

.text-md {
    font-size: 0.9em;
}

.text-s,
.text-sm {
    font-size: 0.85em;
}

.text-xs {
    font-size: 0.8em;
}

.text-dim {
    color: black;
    opacity: 0.4;
}

.text-error {
    color: red;
}

.text-desc {
    color: grey;
    font-size: 0.9em;
}
.text-note {
    color: #a6a5a5;
    font-size: 0.85em;
}

.text-step-no {
    color: white;
    background: orange;
    padding: 0 5px;
    border-radius: 0.2rem;
    display: inline-block;
}

.ui-form-group .text-note {
    margin-top: 10px;
}

.ui-form-group .display-text {
    color: black;
}

.ui-form-group label {
    margin-bottom: 0.4rem;
}

label {
    margin-bottom: 0.1rem;
}

hr.h-line {
    border-top: 1px solid #dfdfe1;
    margin: 30px 0;
}
hr.h-line.gap-md {
    margin: 20px 0;
}

.link {
    color: blue !important;
    cursor: pointer;
    font-weight: 600;
    /* text-decoration: underline!important;*/
}

.no-itm-msg {
    display: flex;
    min-height: 100px;
    background: #f5f5f5;
    justify-content: center;
    align-items: center;
}

/****************************************************************************/
/********* BUTTON STYLE  */
/****************************************************************************/
.form-btn-gp {
}
.ui-btn-gp {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: right;
    width: 100%;
}

.ui-btn {
    display: inline-block;
    font-weight: 600;
    color: white;
    color: #4b2e2e;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    font-size: 1em;
    line-height: 1.5;
    border-radius: 0.3rem;
    padding: 0.3rem 0.85rem;
    background: #ea0d0e;
    background: linear-gradient(
        45deg,
        #ffd700,
        #ffa500
    ); /* gold → orange-gold */
    background: linear-gradient(135deg, #f9e79f, #b7950b, #7d6608);
    background: linear-gradient(135deg, #f9e79f, #b7950b);
    background: linear-gradient(135deg, #fff5c2 10%, #f1c40f 40%, #b8860b 90%);
    background: linear-gradient(135deg, #fff5c2 10%, #f1c40f 40%, #fff5c2 90%);
    /* background: linear-gradient(135deg, #7d6608 10%, #f9e79f 50%, #7d6608 100%);
    background: linear-gradient(135deg, #b7950b, #f9e79f, #b7950b, #7d6608);*/
    border: 1px solid gold;
    transition: all 0.4s ease-in-out;
    white-space: nowrap;
    text-transform: uppercase;
    display: flex;
    align-self: center;
}

button.ui-btn,
a.ui-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    line-height: 1.1;
}

.ui-btn i {
    line-height: 1;
    vertical-align: middle;
}

a.ui-btn:hover {
    color: #4b2e2e;
    background: linear-gradient(135deg, #fff5c2 10%, #f1c40f 40%, #b8860b 90%);
}

.btn-long {
    padding-left: 4rem;
    padding-right: 4rem;
}
.btn-line {
    background: transparent;
    border: 2px solid var(--color-orange);
    padding: 3px;
    color: var(--color-orange);
}

.btn-line:hover {
    background: transparent !important;
}

.btn-fit,
.bth-fit {
    width: 100%;
}

.btn-lg {
    padding: 10px 20px !important;
}

.btn-md {
    padding: 5px 15px !important;
    font-size: 0.9em;
}

.btn-s,
.btn-sm {
    padding: 4px 5px !important;
    font-size: 0.8em;
}

.btn-s,
.btn-xs {
    padding: 1px 3px !important;
    font-size: 0.8em;
}

.btn-disable {
    filter: grayscale(1);
    opacity: 0.3;
}

/****************************************************************************/
/********* Radio BTN  */
/****************************************************************************/
.ui-radio {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 1em;
    user-select: none;
}

.ui-radio input[type="radio"] {
    margin-right: 10px;
}

/****************************************************************************/
/********* STandar CHECKBOX  */
/****************************************************************************/
label.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

/****************************************************************************/
/********* CUSTOM CHECKBOX  */
/****************************************************************************/
/* container */
.ui-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 1em;
    color: rgb(209 213 219); /* text color, you can change */
    user-select: none;
}

/* hide default checkbox */
.ui-checkbox input {
    display: none;
}

/* custom box */
.ui-checkbox .checkmark {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 4px;
    border: 1px solid #d4af37; /* gold border */
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: all 0.3s ease;
}

/* checkmark tick */
.ui-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #4b2e2e;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* checked state */
.ui-checkbox input:checked + .checkmark {
    background: linear-gradient(145deg, #ffe680, #f1c40f, #b7950b);
    border-color: #f1c40f;
}

.ui-checkbox input:checked + .checkmark::after {
    display: block;
}
/****************************************************************************/
/********* INPUT  */
/****************************************************************************/

::placeholder {
    color: #b7b7b7 !important;
    opacity: 1; /* Firefox */
}

::-ms-input-placeholder {
    /* Edge 12 -18 */
    color: #929393 !important;
}

.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:ring-2:focus {
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    background: white;
    border-radius: 0.3rem;
    padding: 12px;
    /* width:100%;*/
    border: 1px solid #d9d9d9;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus {
    outline: none; /* remove default focus outline */
    box-shadow: rgba(255, 215, 0, 0.6) 0px 0px 10px 2px;
    border: 1px solid gold; /* optional: gold border */
}

input[readonly] {
    color: grey;
    border: 1px solid #d9d9d9 !important;
}
input[readonly]:focus {
    box-shadow: none !important;
}

/* Fix text selection color */
::-moz-selection {
    background: rgb(72, 190, 206) !important;
    color: #ffffff !important;
}

::selection {
    background: rgb(72, 190, 206) !important;
    color: #ffffff !important;
}

*::-moz-selection {
    background: rgb(72, 190, 206) !important;
    color: #ffffff !important;
}

*::selection {
    background: rgb(72, 190, 206) !important;
    color: #ffffff !important;
}

input.input-lg {
    padding: 15px !important;
}

input.input-md {
    padding: 12px !important;
}
input.input-sm {
    padding: 4px !important;
}

input.input-wit-icon-front {
    padding-left: 40px !important;
}

input.input-r {
    text-align: right;
}

input[type="file"] {
    -webkit-appearance: none;
    appearance: none;
}
.custom-file-input {
    position: absolute;
    z-index: 2;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    top: 0;
    left: 0;
}

select.select-sm {
    padding: 5px !important;
}

.filter-option-gp {
    margin-bottom: 30px;
}
.filter-option-gp > [class*="col-"] {
    align-self: center;
}

.filter-option-gp .form-control {
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 1;
    height: calc(1em + 0.75rem + 2px);
}

.filter-option-gp .filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.filter-option-gp .filter-row input,
.filter-option-gp .filter-row select {
    width: auto;
    padding: 5px;
}

select.form-control {
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 1;
    height: calc(1em + 0.75rem + 2px);
    font-size: 1.1em;
}
/****************************************************************************/
/*********TXT CHOPPED */
/****************************************************************************/

li:has(.txt-chopped),
div:has(.txt-chopped),
a:has(.txt-chopped) {
    /*max-width: 200px; */
}

/*Parent need to define width*/
.txt-chopped {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
    flex-grow: 1;
    min-width: 0; /* required for ellipsis to work with flex */
}
.txt-chopped-1line-only {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.txt-chopped-2line-only {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/****************************************************************************/
/*********ROW EQUAL HEIGHT */
/****************************************************************************/
.row-child-equal-height {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 equal-width columns */
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    align-items: stretch;
    /* gap: 20px;*/ /* optional spacing */
}

.row-child-equal-height > * {
    /*height: 100%; */ /* stretch each direct child */
}
/****************************************************************************/
/*********ROW GRID LAYOUT */
/****************************************************************************/

.row-grid-layout {
    margin-left: -10px;
    margin-right: -10px;
}
.row-grid-layout > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

.row-gap-md {
    margin-left: -8px;
    margin-right: -8px;
}
.row-gap-md > [class*="col"] {
    padding-left: 8px;
    padding-right: 8px;
}

.row-gap-sm {
    margin-left: -5px;
    margin-right: -5px;
}
.row-gap-sm > [class*="col"] {
    padding-left: 5px;
    padding-right: 5px;
}

/****************************************************************************/
/*********INPUT DATE */
/****************************************************************************/

input[type="date"]::-webkit-calendar-picker-indicator {
    /*    display: none;
    -webkit-appearance: none;*/
    /* width: 15px;
    padding: 0px;
    margin: 0px;
    margin-top: 10px;*/
    filter: var(--color-filter-orange);
}

/****************************************************************************/
/*********CHECK BOX */
/****************************************************************************/
/*input[type="checkbox"]{

}
.ui-checkbox {
  display: block;
  position: relative;

  cursor: pointer;

  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

    .ui-checkbox input {
      position: absolute;
      opacity: 0;
      cursor: pointer;
      height: 0;
      width: 0;
    }
    .ui-checkbox .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 15px;
        width: 15px;
        border-radius: 3px;
        transition: all 1s ease;
        border: 2px solid  #f6ab08;
    }
    .ui-checkbox:hover input ~ .checkmark {
       background-color: #ccc;
        border: 2px solid #f6ab08;
    }
    .ui-checkbox input:checked ~ .checkmark {
      background-color: var(--color-orange);
    }
    .ui-checkbox .checkmark:after {
      content: "";
      position: absolute;
      display: none;
    }
    .ui-checkbox input:checked ~ .checkmark:after {
      display: block;
    }
    .ui-checkbox .checkmark:after {
        left: 3px;
        top: 0px;
        width: 5px;
        height: 10px;
        border: solid #fff;
        border-width: 0 3px 3px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }*/

/****************************************************************************/
/********* STRETCH PANE FULL HEIGHT */
/****************************************************************************/

body.stretch-to-fill {
    display: flex !important;
    flex-direction: column;
    min-height: 100vh;
}

.stretch-to-body {
    flex-grow: 1;
    display: flex !important;
    flex-direction: column;
}

.stretch-inside {
    flex: 1;
    display: flex !important;
    flex-direction: column;
}

/****************************************************************************/
/*********GRID Layout */
/****************************************************************************/
.grid-layout {
    display: grid !important;
    /*flex-wrap: wrap;*/
    grid-gap: 5px;
    gap: 10px; /* modern version of grid-gap */
    grid-template-columns: repeat(7, 1fr);
}

.grid-layout-auto-fit {
    display: grid !important;
    grid-gap: 5px;
    gap: 5px; /* modern version of grid-gap */
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
}
/****************************************************************************/
/*********TAB WIT HORIZONTAL DISPLAY LOGO*/
/****************************************************************************/

.tab {
    display: flex;
}

.tab-slim li a {
    padding: 5px 10px;
}
.tab-wit-hlogo .nav-link {
    flex-direction: row !important;
    flex-shrink: 0;
    justify-content: center;
    margin: 0 !important;
}

.tab-wit-hlogo .inner-wrapper {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.tab-wit-hlogo .logo img {
    width: 20px;
    margin-right: 5px;
}
/****************************************************************************/
/*********EQUAL WIDTH TAB */
/****************************************************************************/

.equal-width-tabs .nav-item {
    flex: 1 1 0;
}

.equal-width-tabs .nav-link {
    width: 100%;
    text-align: center;
}

/* Use JS to auto-detect the widest link and apply it */
.tab-wrap-equal-width .nav-link {
    min-width: var(--tab-width);
    text-align: center;
}

.tab.scroll-x .nav-item > .nav-link {
    white-space: nowrap;
}
/****************************************************************************/
/*********TAB A (PILL STAYLE) */
/****************************************************************************/

.tab-a .nav-link {
    background: var(--color-lg-grey);
    background: linear-gradient(146deg, #ededed 10%, #d5d6d9 100%);
    margin: 5px;
    color: black;
    border-radius: 10px;
}

.tab-a .nav-link.active {
    /*    background: linear-gradient(142deg, #f991ae 10%, #e3385d 100%);
    background: linear-gradient(142deg, #fdf4da 30%, #f9d38d 100%);*/
    background: linear-gradient(142deg, #fdedbe 30%, #f9d38d 100%);
    font-weight: 600;
    color: var(--color-orange);
}

/****************************************************************************/
/*********TAB B (LEFT SHARP & RIGHT EOUND CORNER) */
/****************************************************************************/

.tab-gp.tab-b .nav-link.active {
    /*    background: linear-gradient(142deg, #f991ae 10%, #e3385d 100%);*/
    background: linear-gradient(142deg, #f7ce8f 10%, #ffa700 100%);
    /*background: linear-gradient(142deg, #ffe1b2 10%, #efb038 100%);*/
    color: black;
    font-weight: 600;
}

.tab-gp.tab-b .nav-link {
    font-size: 0.75rem;
    padding: 0.3rem 0.5rem;
    border-top-left-radius: 0rem;
    border-top-right-radius: 0.5rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: #e7e1e1;
    padding-bottom: 0.2rem;
    margin-right: 0.5rem;
    color: #4d4b4b;
    white-space: nowrap;
}

.tab-gp.tab-b.tab-fat .nav-link {
    padding: 0.5rem 0.8rem;
    padding-bottom: 0.5rem;
}

/****************************************************************************/
/*********TAB C (UNDERLINE STAYLE) */
/****************************************************************************/
.tab-c > .nav-item {
    margin: 0 9px;
}
.tab-c > .nav-item > a {
    padding: 0;
}
.tab-c .nav-item a.active {
    color: #fe5a43;
    font-weight: 600;
    border-bottom: 2px solid #fe5a43;
    border-radius: 0;
    background: transparent;
}
/****************************************************************************/
/*********TAB D  (ROUND TAB IN A BAR)*/
/****************************************************************************/
.tab-d {
    padding: 5px;
    border-radius: 3rem;
    background: #f3f5f6;
    background: #ebebeb;
}
.tab-d .nav-item a {
    color: #6d7b85;
}
.tab-d .nav-item a.active {
    color: white;
    font-weight: 600;
    border-radius: 3rem;
    background: #ff8a00;
}

/****************************************************************************/
/*********TAB E  (MINI ROUND TAB IN A BAR)*/
/****************************************************************************/
.tab-e {
    padding: 3px;
    border-radius: 0.3rem;
    background: #f3f5f6;
    background: #ebebeb;
    background: linear-gradient(92deg, #ededed 10%, #d5d6d9 100%);
    background: linear-gradient(179deg, #f9e1ac 10%, #f1ede5 100%);
    display: flex;
    gap: 25px;
}
.tab-e .nav-item a {
    color: #6d7b85;
    color: #814a05;
}
.tab-e .nav-item a.active {
    color: white;
    font-weight: 600;
    border-radius: 0.3rem;
    background: #ff8a00;
    background: var(--color-grd-orange);
}
/****************************************************************************/
/*********BOX EQUAL HEIGH */
/****************************************************************************/
.nav-pills {
    display: flex;
    align-items: stretch;
}

.nav-pills .nav-item {
    /*flex: 1 1 auto;*/ /* optional: allow tabs to grow evenly */
    display: flex;
    align-items: stretch;
}

.nav-pills .nav-link {
    display: flex;
    flex-direction: column;
    /*  justify-content: center;*/
    align-items: center;
    width: 100%; /* ensure it fills parent */
}

/****************************************************************************/
/*********ALIGN ITMS */
/****************************************************************************/

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.scroll-x {
    overflow-x: auto;
}
.scroll-x > div,
.scroll-x > ul {
    overflow-x: auto;
    -ms-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
}

/****************************************************************************/
/*********SCROLLBAR */
/****************************************************************************/

.hide-scrollbar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/****************************************************************************/
/*********TABLE STYLE */
/****************************************************************************/
.table-scroll,
.table-scroll-x {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 20px; /*handle to give  extra space for  dropdownmenu display in table*/
}
.mobile .table-scroll,
.mobile .table-scroll-x {
    overflow-x: auto;
    width: 100%;
}
.mobile .table-scroll::-webkit-scrollbar,
.mobile .table-scroll-x::-webkit-scrollbar {
    display: none;
}

.table-scroll > table,
.table-scroll-x > table {
    /* width: max-content;*/ /* Ensures the table can exceed container width */
    /* min-width: 100%;
    border-collapse: collapse;*/
}

table {
    font-size: 0.95em;
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 2px;
    margin-bottom: 10px;
    color: black;
}

.rounded-table {
    border-collapse: separate !important;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
}

.table-alt tbody tr:nth-child(odd) {
    background: #edecec;
    background: var(--color-md1-grey);
}
/*
.table-round{
    border-radius: 10px;
}
    .table-round thead tr th:first-child{
        border-top-left-radius: 10px;
    }
    .table-round thead tr th:last-child{
        border-top-right-radius: 10px;
    }
    .table-round tbody tr:last-child td:first-child{
        border-bottom-left-radius: 10px;
    }
    .table-round tbody tr:last-child td:last-child{
        border-bottom-right-radius: 10px;
    }
*/

table.no-wrap thead tr th,
table.no-wrap tbody tr td {
    white-space: nowrap;
}
table tbody.no-wrap tr td {
    white-space: nowrap;
}

table thead tr th {
    padding: 8px 8px;
    color: #6a6b75;
    font-size: 0.9em;
    border-top: 1px solid #d1dadf; /*#f7f7f7;*/
    /*border-bottom: 1px solid #d1dadf;*/
}

table thead.border th {
    border-right: 1px solid #bebebe;
    border-bottom: 1px solid #979797;
    border-top: 1px solid #979797;
}

table tbody tr {
    background: var(--color-table-row-even);
}

table tbody tr:first-child td {
    border-top: 1px solid #d1dadf;
}
table.row-hover tbody tr:hover td {
    background: linear-gradient(to right, #946736, #e3cc6a, #8d8247);
    background: linear-gradient(to right, #656469, #d3b570, #5f607b);
    background: linear-gradient(to right, #656469, #d3d6ed, #b3b3c4);
    background: linear-gradient(
        to right,
        #d9d9b8 40%,
        #ebcf7a 70%,
        #d5d4be 90%
    ) !important;

    background: #ddc79c !important;
    background: #e1da75 !important;
    background: #f9e79f !important;
    cursor: pointer;
}
table tr td {
    padding: 8px;
}
table tr td:first-child {
    /* border-top-left-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;*/
}
table tr td:last-child {
    /*  border-top-right-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;*/
}
.table-alt tbody tr:nth-child(odd) {
    background: #edecec;
    background: var(--color-table-row-odd);
}
table .logo {
    width: 40px;
    margin-right: 5px;
    margin-left: 10px;
}
table .icon-act-gp {
    text-align: right;
    padding-right: 15px;
}
table .icon-action {
    padding: 5px 5px;
    border-radius: 15px;
    display: inline-block;
    background: #f1eaea;
    margin-right: 5px;
}
table .icon-action:hover {
    /*background: var(--color-orange);*/
}
table .icon-action:hover > img {
    /*filter: var(--color-filter-white);  */
}
table .icon-action > img {
    width: 25px;
    filter: var(--color-filter-orange);
}

table .icon-s {
    width: 14px;
    margin-right: 3px;
}
table .icon-md {
    width: 20px;
    margin-right: 3px;
}

table.td-1st-head td:first-child {
    font-weight: 600;
    background: #d9e1e7;
}

table .divider td {
    background: white !important;
    padding: 2px;
}

table .hl td {
    background: var(--color-table-hl) !important;
    font-weight: 600;
}

table .icon-label {
    font-size: 0.9em;
    margin-left: 5px;
    align-self: center;
    line-height: 12px;
}

table .no-itm-msg {
    height: 80px;
    display: table-cell;
}

table.row-hover tbody tr.no-hover:hover td {
    background: white !important;
}

table input[type="text"],
table input[type="number"] {
    width: 100px !important;
    border-radius: 0.2rem;
    padding: 3px !important;
}
table select {
    width: 100px !important;
    border-radius: 0.2rem;
    padding: 5px !important;
    font-size: 1em;
}
table th .input-icon {
    position: relative;
}
table th .input-icon:before {
    content: attr(data-symbol);
    position: absolute;
    left: 10px;
    top: 0;
    opacity: 0.7;
}

.table-option-gp {
    font-size: 0.9em;
}

table .ui-btn {
    background: #ff8a50;
    background: var(--color-grd-orange);
    border: 0;
    color: white;
    padding: 5px;
}
table .ui-btn:focus {
    background: #ff8a50;
    border: 0;
    color: white;
    padding: 4px 5px;
}

.table-btn-gp {
    border-bottom: 1px solid #dbdada;
    border-top: 1px solid #dbdada;
    display: flex;
    gap: 10px;
    padding: 5px;
    justify-content: flex-end;
    background: #ebe4e4;
    background: #e4e4eb;
    background: #fbfbfb;
    background: #faf7ff;
    font-size: 0.9em;
}

.pagination-gp select,
.pagination-gp input,
.table-option-gp select {
    width: auto !important;
    border-radius: 0.2rem;
    padding: 2px !important;
}

/***************************************************************/
.box {
    padding: 20px;
}
.box-title {
}

/* .side-menu {
    width: 250px;
    transition: width 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.side-menu.collapsed {
    width: 0; 
    padding: 0; 
} */

/* Simple menu toggle button */
.btn-menu-toggle {
    background: transparent; /* blends with header/sidebar */
    border: none; /* remove border */
    font-size: 1.5rem; /* bigger ☰ */
    cursor: pointer;
    padding: 0.25rem 0.5rem; /* clickable area */
    color: #333; /* default text color */
    transition: color 0.2s ease, transform 0.2s ease;
}

.btn-menu-toggle:hover {
    color: #ff5722; /* highlight on hover */
    transform: scale(1.1); /* slight grow */
}

.btn-menu-toggle:focus {
    outline: none; /* remove focus outline */
}

.page-title {
    margin: 10px 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
}
.note {
    font-size: 0.65rem;
    color: rgba(0, 0, 0, 0.65);
}

/**************************************************************************************************/
/*** START Customize scrollbar ******************************************************************************/
/**************************************************************************************************/
/* width */
/* ::-webkit-scrollbar {
  width: 5px;
  height:5px;
  margin:0;

} */

/* Track */
::-webkit-scrollbar-track {
    background: #ccc;
    border-radius: 50px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #ffc107;
    background: #666464;
    border-radius: 50px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--color-lg-orange);
}

.drop-shadow-eff {
    box-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.1) !important;
}
/**************************************************************************************************/
/*** BTN ******************************************************************************/
/**************************************************************************************************/

.neumorphism-eff,
.emboss-eff {
    position: relative;
    background: linear-gradient(
        138deg,
        rgba(244, 242, 242, 1) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 1) 100%
    );
    border: 2px solid white;
    box-shadow: 10px 20px 15px 0px rgba(0, 0, 0, 0.1);
    border-radius: 0.3rem;
}
.neumorphism-eff:before,
.emboss-eff:before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.3rem;
    box-shadow: -10px -5px 15px 5px rgba(255, 255, 255, 0.9);
}

/**************************************************************************************************/
/*** ICON EMAIL / CHAT / NOTIFICATION ******************************************************************************/
/**************************************************************************************************/
.ui-icon-email {
    position: relative;
}
.ui-icon-email.top-right span:after {
    content: attr(data-value);
    position: absolute;
    top: -5px;
    right: 4px;
    border-radius: 3rem;
    background: #f15252;
    min-width: 20px;
    text-align: center;
    font-size: 0.8em;
    padding-right: 3px;
    padding-left: 3px;
    color: white;
}

/**************************************************************************************************/
/*** ICON WALLET ******************************************************************************/
/**************************************************************************************************/
.ui-icon-wallet {
    display: flex;
    align-self: center;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    background: #efecec;
    border-radius: 0.3rem;
    padding: 0 5px;
}

.ui-icon-lang > a {
    display: flex;
    align-self: center;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    padding: 0 5px;
}
.ui-icon-lang:hover {
    cursor: pointer;
}
.ui-icon-lang .header_dropdown_custom.dropdown-menu {
    background-color: white;
    left: 0 !important;
    padding: 5px;
    min-width: 70px;
    min-width: 0;
    border-radius: 0.3rem;
    top: 5px !important;
}

.ui-icon-lang .header_dropdown_custom.dropdown-menu li {
    margin: 5px 0;
    padding: 0 10px;
    font-size: 0.9em;
}
/**************************************************************************************************/
/*** MARQUEE ******************************************************************************/
/**************************************************************************************************/

.ui-marquee {
    width: 100%;
    overflow-x: hidden;
}

@keyframes infiniteScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.horizontal-scrolling-items {
    color: white;
    display: flex;
    width: 100%;
    max-width: 10rem;
    animation-name: infiniteScroll;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
.horizontal-scrolling-items:hover {
    animation-play-state: paused;
    cursor: pointer;
}

.horizontal-scrolling-items__item {
    white-space: nowrap;
}

.horizontal-scrolling-items__item span {
    color: #ffeb3b;
    color: #ad0b42;
    margin: 0 0.5rem;
    font-size: 1em;
}
.horizontal-scrolling-items__item bold {
    font-size: 1.1em;
    font-weight: 600;
    color: #ff8f00;
}

/**************************************************************************************************/
/*** TOGGLE SWITCH  ******************************************************************************/
/**************************************************************************************************/
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch.switch-s {
    width: 50px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
.switch.switch-s .slider:before {
    height: 19px;
    width: 19px;
    left: 1px;
}

input:checked + .slider {
    background-color: #2196f3;
    background-color: #ffa700;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
/**************************************************************************************************/
/*** FORM SELECT PHONE FLAG  ******************************************************************************/
/**************************************************************************************************/
.custom-select-phone {
    position: relative;
    width: 100%;
}
.custom-select-phone .options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-md1-grey);
    border-radius: 0.25rem;
    z-index: 10;
    width: 200px;
}
.custom-select-phone.open .options {
    display: flex;
}
.custom-select-phone.open .options li span {
    margin-left: 5px;
}

.custom-select-phone .selected {
    font-size: 0.95rem;
    border: 1px solid var(--color-form-itm);
    border-radius: 15px;
    padding: 12px 15px;
    height: auto;
}

.custom-select-phone .options li {
    margin: 3px 0;
    padding: 7px 10px;
}
.custom-select-phone .selected,
.custom-select-phone .options li {
    display: flex;
    align-items: center;
    background: #fff;
    cursor: pointer;
}

.custom-select-phone img {
    width: 20px;
    margin-right: 10px;
    border-radius: 50%;
}

/**************************************************************************************************/
/*** FORM INPUT WTH INNER BTN  ******************************************************************************/
/**************************************************************************************************/

.input-with-button {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 400px; /* adjust as needed */
}

.input-with-button input {
    padding-right: 120px; /* make space for button */
    box-sizing: border-box;
}

.input-with-button button {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    padding: 8px 10px;
    background: linear-gradient(85deg, #ff2626 10%, #cd2228 100%);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
}

/**************************************************************************************************/
/*** FORM INPUT WTH EYE ******************************************************************************/
/**************************************************************************************************/
.ui-form-group {
    margin: 20px 0;
}

.ui-form-control {
}
.password-wrapper {
    position: relative;
}
.password-wrapper input {
    width: 100%;
    padding-right: 40px;
    box-sizing: border-box;
}
.password-wrapper .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    color: #666;
    opacity: 0.5;
}
/**************************************************************************************************/
/*** BANNER RATIO CONTAINER  ******************************************************************************/
/**************************************************************************************************/

/*Aspect-ratio  only support in all modern browser*/
/*  aspect-ratio: 16 / 6.7; */
.aspect-16-7-fill {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
    display: block;
    object-fit: fill; /*Stretch the img to fit the container*/
}
.aspect-16-7-contain {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
    display: block;
    object-fit: contain; /*fit to the container with keep ratio, so will display center*/
}
.aspect-16-7-chop {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
    display: block;
    object-fit: cover; /*choppped img to fit in the container*/
}

.aspect-16-4-fill {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 4;
    display: block;
    object-fit: fill; /*Stretch the img to fit the container*/
}

/*FAllback method for Safari < 15 , aspect-ratio only support in Safari 15 and above */
.aspect-ratio-16-7-box {
    position: relative;
    width: 100%;
    padding-top: 43.75%; /* 16:7 ratio = 7/16 * 100 */
    overflow: hidden;
}
.aspect-ratio-16-7-box img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: fill;
}

/* Optional: Reset padding if native aspect-ratio is supported */
@supports (aspect-ratio: 16 / 7) {
    .aspect-ratio-16-7-box {
        aspect-ratio: 16 / 7;
        padding-top: 0; /* cancel fallback */
        position: relative; /* still needed for absolute image */
    }

    /*  .aspect-ratio-box img {
    position: absolute;
    width: 100%;
    height: 100%;
  }*/
}
