.btn-submit {
    width: auto;
    background-color: #284ab9 !important;
    color: #fff;
    border: none;
}

.btn-delete {
    width: auto;
    background-color: #b92828 !important;
    color: #fff;
    border: none;
}

.btn-copy {
    width: auto;
    background-color: #ffa315 !important;
    color: #fff;
    border: none;
}

.mr-1 {
    margin-right: 10px;
}

body {
    font-size: 1rem !important;
}

@media (max-width: 768px) {
    .custom-width {
        width: 100%;
    }
}

@media (min-width: 769px) {
    .custom-width {
        width: 50%;
    }
}
.selected-content{
    position: relative;
    padding-right: 2.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {

    background-color: #a30000 !important
}

.nav-link {
    color: #000;
}

.nav-sub-menu {
    padding-left: 30px !important;
}

a {
    cursor: pointer;
}

.list-gacha .card {
    position: relative;
}

.list-gacha .card button.detail {
    position: absolute;
    right: 7px;
    top: 7px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    border-width: -0;
    padding: 10px;
    z-index: 1;
}

.slider img {
    width: 100%;
}

.img-banner {
    width: 65% !important;
    height: 65px;
    overflow: hidden;
    object-fit: inherit;
}

.img-gacha-banner {
    height: 60px;
    overflow: hidden;
    object-fit: inherit;
}

.list-gacha .slider .slick-prev:before {
    background: #ffb202;
    padding: 10px;
    border-radius: 50%;
}

.list-gacha .slider .slick-prev {
    left: 8px;
    z-index: 1;
}

.list-gacha .slider .slick-next:before {
    background: #ffb202;
    padding: 10px;
    border-radius: 50%;
}

.list-gacha .slider .slick-next {
    right: 33px;
    z-index: 1;
}

.buy-1 {
    background: #766474;
    border-radius: 6px;
    margin-top: 5px;
    margin-right: 5px;
    width: 50%;
    color: #fff;
    font-weight: bold;
    border: none;
    outline: none;
    padding: 20px;
    box-shadow: inset 1px 1px 10px 1px #fff;
    text-align: center;
    justify-content: center;
    font-size: 23px;
}

.buy-10 {
    background: #bd1b3e;
    border-radius: 6px;
    margin-top: 5px;
    margin-right: 5px;
    width: 50%;
    color: #fff;
    font-weight: bold;
    border: none;
    outline: none;
    padding: 20px;
    box-shadow: inset 1px 1px 10px 1px #fff;
    text-align: center;
    justify-content: center;
    font-size: 23px;
}

.buy-100 {
    background: #ff9900;
    border-radius: 6px;
    margin-top: 5px;
    margin-right: 5px;
    width: 100%;
    color: #fff;
    font-weight: bold;
    border: none;
    outline: none;
    padding: 20px;
    box-shadow: inset 1px 1px 10px 1px #fff;
    text-align: center;
    justify-content: center;
    font-size: 23px;
}

.main .main-menu .nav-item {
    width: 50%;
}

.main a:hover {
    color: unset;
}

.info .point a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    background: #fff;
    border-radius: 9999px;
    cursor: pointer;
    padding: 2px 6px 2px 2px;
    font-size: 14px;
    outline: none;
    text-decoration: none;
}

.info .point a p {
    margin: 0;
}

.info .point a svg {
    width: 20px;
    color: #ffa93e;
    margin-right: 5px;
}

.info .dp {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    background: #fff;
    border-radius: 9999px;
    cursor: pointer;
    padding: 2px 7px 2px 7px;
    font-size: 14px;
    outline: none;
    text-decoration: none;
}

.hight-light {
    margin-top: 60px;
    margin-bottom: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(245, 255, 0, 0.6334908963585435) 0%, rgba(247, 110, 182, 1) 23%, rgba(0, 241, 255, 1) 49%, rgba(243, 0, 254, 1) 72%, rgba(249, 192, 1, 1) 87%, rgba(254, 2, 2, 1) 100%);
}

.footer {
    padding-bottom: 200px;
}

.side-bar {
    background: #00000045;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    z-index: 999;
}

.side-bar .content-bar {
    width: 432px;
    display: block;
    background: #fff;
    position: fixed;
    top: 0;

}

.side-bar .content-bar img {
    width: 100%;
}

@media only screen and (max-width: 713px) {
    .side-bar .content-bar {
        width: 100%;
    }
}

.info-bar {}

.scroll-bar {
    height: 100vh;
    overflow-y: scroll;
}

.b-bar-point {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    background: #ffffff;
    border-radius: 9999px;
    cursor: pointer;
    padding: 4px 6px 4px 5px;
    font-size: 14px;
    outline: none;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.bar-add-point {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    background: #CE3256;
    border-radius: 9999px;
    cursor: pointer;
    padding: 2px 2px 2px 2px;
    font-size: 14px;
    outline: none;
    text-decoration: none;
    width: 100px;
    color: #fff;
    font-weight: bold;
}

.bar-add-point svg {
    width: 27px;
    color: #CE3256;
}

.number-point {
    color: #000;
}

.number-point h5 {
    margin: 0;
    margin-right: 3px;
}

.bar-reff {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    margin-top: 22px;
}

.bar-reff .chakra-text-title-ref {
    color: #CE3256;
    text-align: center;
    font-weight: bold;
}

.referral-code {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 8px;
    background-color: rgb(242, 242, 242);
    border: 1px dashed black;
    border-radius: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
    position: relative;

}

.referral-image {
    position: absolute;
    top: -53px;
    right: 0px;
    height: 53px;
    object-fit: cover;
    width: 13% !important;
}

.referral-text {
    font-size: 40px;
    line-height: 48px;
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 8px;
}

p.chakra-text {
    margin: 0;
}

.copy-code-button {
    background: #CE3256;
    color: #fff;
    border-radius: 17px;
    width: 148px;
    margin-bottom: 6px;
    border: none;
    overflow-y: none;
    padding: 9px;
}

.number_referral {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    width: 100%;
    padding-top: 12px;
    border-top: 1px dashed black;
    gap: 12px;
}

.number_referral button {
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
    color: rgb(60, 60, 60);
    background-color: rgb(217, 217, 217);
    outline: transparent solid 2px;
    border-radius: var(--chakra-radii-md);
    border: none;
    outline: none;
    border-radius: 99999px;
}

.number_referral p {
    line-height: 24px;
    font-weight: 500;
    color: rgb(133, 133, 133);
}

.text-de {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: rgb(60, 60, 60);
}

.stack-ref-point {
    display: flex;
    flex-direction: column;
    background-color: var(--chakra-colors-white);
    border-top: 1px solid rgb(242, 242, 242);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 8px 1px 12px;
    -webkit-box-align: start;
    align-items: start;
    gap: 10px;
    font-size: 14px;
}

.stack-ref-point svg {
    height: 1em;
    display: inline;
    line-height: 1em;
    flex-shrink: 0;
    color: currentcolor;
    margin-inline-end: var(--chakra-space-2);
    vertical-align: text-bottom;
    width: 9px;
    margin-right: 10px;
}

.stack-ref-point ul {
    list-style-type: none;
    font-size: var(--chakra-fontSizes-sm);
    line-height: 20px;
    color: rgb(60, 60, 60);
    padding: 0;
}

.stack-ref-point ul .ref-title {
    font-weight: 700;
}

ul.list-in {
    list-style-type: disc;
    padding-left: 19px;
}

.button-twitter {
    width: 100%;
    height: 33px;
    background-color: rgba(0, 0, 0, 0.06);
    font-size: 14px;
    line-height: 20px;
    color: rgb(60, 60, 60);
    outline: transparent solid 2px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.32);
    border-image: initial;
    border-radius: 17px;
    display: inline-flex;
    appearance: none;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space-collapse: collapse;
    text-wrap: nowrap;
    vertical-align: middle;
    outline-offset: 2px;
    font-weight: 600;
    text-decoration: none;
}

.button-line {
    width: 100%;
    height: 33px;
    background-color: rgba(15, 197, 66, 0.06);
    font-size: var(--chakra-fontSizes-sm);
    line-height: 20px;
    color: rgb(14, 201, 90);
    outline: transparent solid 2px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(15, 197, 66, 0.32);
    border-image: initial;
    border-radius: 17px;
    display: inline-flex;
    appearance: none;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space-collapse: collapse;
    text-wrap: nowrap;
    vertical-align: middle;
    outline-offset: 2px;
    font-weight: 600;
    text-decoration: none;
}

ul.i-text {
    list-style-type: initial;
    margin-inline-start: 1em;
    font-size: 12px;
    line-height: 18px;
    color: rgb(133, 133, 133);
    margin-left: 20px;
}

.menu-bar {
    display: flex;
    flex-direction: column;
    padding-inline: 20px;
    font-size: 14px;
    margin-top: 1.25rem;
    padding-bottom: 200px;
}

.menu-bar a {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    outline: transparent solid 2px;
    outline-offset: 2px;
    width: fit-content;
    color: #000;
}

.menu-bar hr {
    opacity: 0.6;
    border-width: 0px 0px 1px;
    border-image: initial;
    border-style: solid;
    width: 100%;
    border-color: rgb(213, 213, 213);
}

.side-bar-hidden {
    visibility: hidden;
}

.side-bar-display {
    visibility: initial;
}

.content-bar-hidden {
    right: -100%;

}

.content-bar-display {
    right: 0;

}

.side-bar .content-bar {
    -webkit-transition: right 0.2s;
    transition: right 0.2s;

}

/*  */

.nav-tabs .nav-item {
    margin-right: 2px;
}

.nav-tabs {
    border-bottom: none;
}
.form-g {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.form-g input, .form-g  select, .datetime {
    width: 60%;
}

.form-g label {
    flex-shrink: 0;
    margin-right: 10px;
    font-size: 11pt !important;
}

.form-select, .form-control {
    font-size: 10pt !important;
    color: black !important;
}

body, label, span, p, div, th, a, li, button {
    /* font-size: 15px; */
    /* font-family: Poppins; */
}

.page-item.disabled {
    color: #4B5563;
    pointer-events: none;
    background-color: #ffffff;
    border-color: #D1D5DB;
}

.page-item.active {
    z-index: 3;
    color: #ffffff;
    background-color: #1F2937;
    border-color: #1F2937;
}

.upload-template {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    background: #f3f3f3;
    padding: 10px;
    border-radius: 11px;
    border: 1px solid;
    border-color: #d9d9d9;
    min-height: 450px;
}
.upload-template::after {
    content: "\f067";
    font-family: 'Font Awesome 5 Free';
    font-size: 18px;
    position: absolute;
    color: #fff;
    background: #0006379e;
    border-radius: 50%;
    width: 31px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px;
}

.upload-template input {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    display: flex;
    align-items: center;
    opacity: 0;
    /* background: #afafaf; */
    z-index: 999;
    cursor: pointer;
    border-radius: 11px;
}

.upload-template-mail {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    padding: 10px;
    border-radius: 11px;
    min-height: 100px;
}
/* .upload-template-mail::after {
    content: "\f030";
    font-family: 'Font Awesome 5 Free';
    font-size: 18px;
    position: absolute;
    color: #fff;
    background: #0006379e;
    border-radius: 50%;
    width: 31px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px;
} */

.icon-camera {
    position: absolute;
    color: #fff;
    background: #0006379e;
    border-radius: 50%;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px;
}


.upload-template-mail input {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    display: flex;
    align-items: center;
    opacity: 0;
    /* background: #afafaf; */
    z-index: 999;
    cursor: pointer;
    border-radius: 11px;
}

.cursor-pointer {
    cursor: pointer;
}
.sortable {
    display: flex;
    align-items: center
}

.wrap-card-body {
    position: relative;
}

.remove-card {
    color: red;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
}

.ck-editor__editable {
    min-height: 300px;
}


option:disabled {
    background-color: #d3d3d3;
}

.portlet.red, .portlet>.portlet-body.red {
    background-color: #1d3c05;
  }
  .portlet {
    margin-top: 0;
  }
  .portlet-title {
    border-bottom: 0;
    padding: 0 10px;
    margin-bottom: 0;
    color: #fff;
}
  .portlet.box>.portlet-title>.caption {
    padding: 11px 0 9px;
  }
  .portlet>.portlet-title>.caption {
    float: left;
    display: inline-block;
    font-size: 18px;
    line-height: 18px;
    padding: 10px 0;
  }
  .portlet.box>.portlet-body {
    background-color: #fff;
    padding: 15px;
    clear: both;
}

.link-arrow.show {
    transform: rotate(90deg) !important;
}

.nav-link.collapsed.show {
    background: #2f3e55;
}

/* .multi-level.collapse.show {
    background: #374a61;
} */

.multi-level.collapse {
    border-radius: 0.5rem;
}

/* .sidebar .nav-item.active > .nav-link {
    border-radius: 0px !important;
} */

.status-shipping {
    width: 150px;
    color: #fff;
    border-radius: 9999px;
    padding: 3px 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.text-shipping-1 {
    background: #d15252;
}
.text-shipping-2 {
    background: #e38e37;
}
.text-shipping-3 {
    background: #2b7ac5;
}
.text-shipping-4 {
    background: #23a75e;
}

.disable-event {
    pointer-events: none;
    background: rgb(160, 160, 160) !important;
}

button.btn {
    height: 38px;
    padding: 0px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    min-width: 71px;
    padding: 6px;
}

button.btn a  {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-user label.mb-0.mr-1 {
    /* max-width: 126px; */
    width: 40%;
    text-align: right;
}

.error {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #E11D48;
}

.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 1000;
}
.img-rank-list{
    height:41px;
    width:156px;
    object-fit:cover
}

#toggle-icon {
    transition: transform 0.3s ease;
}
/* image popup */
.modal-dialog-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-content {
    max-width: 90%;
    max-height: 90%;
}
.modal-card-game {
    max-width: 60% !important;
}
.clickable-image {
    width: 100px;
    cursor: pointer;
}

.img-card-game {
    width: 60px !important;
}

.popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black background with opacity */
}

.popup-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}
.modal-body img {
    width: 100%;
    height: auto;
}
/* end img popup */

.select2-container--default .select2-selection--single {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6B7280;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 0.0625rem solid #D1D5DB !important;
    appearance: none;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.07);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    height: 38px !important;
    display: flex !important;
    align-items: center;
}

.select2-container--default .select2-selection--multiple {
    width: 100%;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6B7280;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 0.0625rem solid #D1D5DB !important;
    appearance: none;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.07);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    height: 38px !important;
    display: flex !important;
    align-items: center;
}

.select2-container .select2-search--inline .select2-search__field,
.select2-container--default .select2-selection--multiple .select2-selection__choice,
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    margin-top: 0px !important;
    padding-left: 0.5rem !important;
}

.fromto-lable{
    margin-right: auto !important;
    margin-left: -10px;
    width: unset !important;
}
.nowrap{
    white-space: nowrap !important;
}
.width-unset{
    width: unset !important;
}
span.select2.select2-container.select2-container--default {
    width: 100% !important;
}
.order-history-datetime-lable{
    /* font-weight: 300; */
    margin-right: auto !important;
    align-self: end !important;
    margin-left: -10px;
}

.upload-container {
    display: flex;
    justify-content: center;
}

.upload-file-template {
    width: 100%;
    min-height: 250px;
    border: 2px dashed #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    border-radius: 10px;
    padding: 20px;
}

.upload-icon {
    width: 50px;
    height: 50px;
}

.upload-text {
    font-size: 18px;
    color: black;
    margin-top: 10px;
}

.btn-browse {
    background-color: black;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.btn.upload-submit {
    width: 100%;
    margin-top: 20px;
}

.dragover {
    border-color: #1d10d3;
}

.invalid-message {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #E11D48;
}

#alert-message-upload .close {
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    background-color: #f9d2da;
    color: inherit;
    font-size: 1.5rem !important;
}

.no-wrap {
    white-space: nowrap;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-wrap-card-gacha {
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wrap-loading {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #00000045;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 5px solid #9d9d9d00;
    border-radius: 50%;
    border-top: 5px solid rgb(255, 255, 255);
    border-bottom: 5px solid rgb(255, 255, 255);
    width: 69px;
    height: 69px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }

  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
.card-game-name{
    max-width: 250px;
    text-overflow: ellipsis;
    overflow: hidden;
}
.text-bolder{
    font-weight:bolder;
}

.bg-green-100 {
    background: #e3f5ed;
}
.f-nowrap {
    flex-wrap: nowrap !important;
    width: fit-content !important;
}
.copied-tooltip {
    position: absolute;
    background-color: #000;
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
}

.card-img-container {
    border-radius: 5px;
    background-image: url('../../assets/backend/images/default.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-width: 172px;
    max-width: 172px;
    max-height: 249px;
}

.card-gacha-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bottom-menu-bar {
    position: fixed;
    bottom: 0;
    left: 260px;
    width: calc(100% - 260px);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    z-index: 1000;
    padding: 10px;
    padding-bottom: 15px;
}

.menu-bar-info {
    width: 100%;
    /* padding: 0px 80px; */
    /* margin-top: 20px; */
    /* text-align: right; */
    padding: 0px 15px;
}

.menu-bar-quantity {
    display: inline-block;
    width: 33%;
    text-align: right;
}

.menu-bar-total {
    font-size: 19px;
}

.select2.is-invalid {
    background-position: right 1rem center, center right 2rem;
    background-size: 16px 12px, calc(0.75em + 0.5rem) calc(0.75em + 0.5rem);
    border-color: #E11D48 !important;
    border: 1px solid;
    border-radius: 9px;

}

.select2.is-invalid .select2-selection {
    border: none !important;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #e5e7eb !important;
}

.profile-user-input {
    border-radius: 10px;
    width: 100%;
    padding: 10px;
    border: white;
    /* border-bottom-width: 1px;
    border-bottom-style: solid; */
    /* border-color: #a7264d; */
    background: rgb(255 255 255);
    /* outline: transparent solid 2px; */
    outline-color: #00000017;
    outline-style: solid;
    outline-width: 1px;
}
.profile-user-input:disabled{
    background: #f7f7f7;
}

/* mail_contact */
.user-item:hover {
    cursor: pointer;
}


.user-list {
    height: 100vh;
    overflow-y: auto;
    padding: 15px;
    background-color: #fff;
}
    
.user-item {
    display: flex;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #dee2e6;
}

.user-avatar {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.platform-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
.chat-message {
    margin-bottom: 1rem;
}

.chat-bubble {
    max-width: 100%;
    padding: 10px 15px;
    border-radius: 15px;
    margin-bottom: 5px;
}

.message-incoming .chat-bubble {
    background-color: #f1f0f0;
}

.message-outgoing .chat-bubble {
    background-color: #007bff;
    color: white;
}

.message-time {
    font-size: 0.75rem;
    color: #6c757d;
    clear: both;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.input-container {
    position: relative;
}



.btn-send-mail {
    position: absolute;
    right: 5%;
    top: 50%; /* Đặt top 50% */
    transform: translate(-5%, -50%);

}
.category-name{
    cursor: pointer;
}

.message-img img {
    width: 100%;
    max-width: 200px;
    height: auto;
}

@media screen and (max-width: 768px) {
    .mail-contact {
        flex-wrap: wrap !important;
        gap: 1.5rem;
    }
    .user-list{
        height: auto;
    }
}
.user-list .user-item:hover {
    background: lightgray !important; 
}
.category-name .category-text:hover{
    color: gray ;

}

.tooltip-inner {
    background-color: lightgray;
    color: #333;
    font-size: 13px;
    padding: 8px;
    border-radius: 6px;
    max-width: 700px;
    max-height: 500px;
    white-space: pre-wrap;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: lightgray;
}

.custom-select {
    position: relative;
    font-family: Arial, sans-serif;
}

.select-box {
    display: block;
    padding-left: 8px;
    padding-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-dropdown {
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    display: none;
    z-index: 1000;
    top: 37px;
    left: 0;
}

.custom-dropdown .search-box {
    width: 100%;
    padding: 8px;
    border: none;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
    outline: none;
    font-size: 1rem;
}

.custom-dropdown .dropdown-item {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.custom-dropdown .dropdown-item:hover {
    background: #5897fb !important;
    color: white !important;
}

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

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

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

.slider.round {
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

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

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

.order-card-icon {
    bottom: 15px;
    max-width: 15%; 
    left: 5%;
}

.has_bc {
    transform: translateY(-115%);
}

.table-summary{
    margin-bottom: 0px;
}

.table-summary tr, .table-summary td, .table-summary th{
    border-color: unset;
    border-style: unset;
    color: white;
    font-size: 16px;
} 

.table-summary thead tr td{
    font-size: 14px;
}

.table-summary > :not(caption) > * > * {
    padding: 0.3rem 0.2rem;
}

.badge-round-custom{
    font-size: 1rem;
    padding: 0.7rem .85rem;
    border-radius: 50%;
}

.logo-sidenav{
    height: 100px;
}