﻿a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

body {
    line-height: 1
}

ol,
ul {
    list-style: none
}

blockquote,
q {
    quotes: none
}

blockquote:after,
blockquote:before,
q:after,
q:before {
    content: "";
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

:focus {
    box-shadow: none !important
}

img,
svg {
    vertical-align: middle
}

*,
::after,
::before {
    box-sizing: border-box
}

.btn {
    display: inline-block;
    transition: all .15s ease-in-out;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    background-color: transparent;
    cursor: pointer;
    font: inherit;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.form-select {
    display: block;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    color: #212529;
    -moz-padding-start: calc(.75rem - 3px);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.dropdown {
    position: relative
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    z-index: 1000;
    display: none;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
    min-width: 10rem;
    margin: 8px 0 0;
    padding: .5rem 0;
    background-color: #fff;
    background-clip: padding-box;
    font-size: 1rem;
    text-align: left;
    list-style: none;
    color: #212529
}

.dropdown-menu.drop-up {
    bottom: 100%;
    top: auto;
    margin: 0 0 8px
}

.dropdown-menu.show {
    display: block
}

.dropdown-menu-end {
    right: 0;
    left: auto
}

.dropdown-toggle::after {
    content: "";
    display: inline-block;
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
    margin-left: .255em;
    vertical-align: .255em
}

.collapse:not(.show) {
    display: none
}

.collapsing {
    display: block;
    overflow: hidden
}

.collapse,
.collapsing {
    transition: height .35s ease
}

.tab-content>.tab-pane {
    display: none
}

.tab-content>.tab-pane.show.active {
    display: block
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    display: none
}

.modal.show {
    display: block
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none
}

.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
    transform: translate(0, -50px)
}

.modal.show .modal-dialog {
    transform: none
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0;
    transition: opacity .15s linear
}

.modal-backdrop.show {
    opacity: .6
}

.modal-open {
    overflow: hidden
}

.fz-9 {
    font-size: 9px;
    line-height: 1
}

.fz-10 {
    font-size: 10px;
    line-height: 1
}

.fz-11 {
    font-size: 11px;
    line-height: 1.2
}

.fz-12 {
    font-size: 12px;
    line-height: 1.36
}

.fz-13 {
    font-size: 13px;
    line-height: 1.36
}

.fz-14 {
    font-size: 14px;
    line-height: 1.5
}

.fz-15 {
    font-size: 15px;
    line-height: 1.467
}

.fz-16 {
    font-size: 16px;
    line-height: 1.65
}

.fz-18 {
    font-size: 18px;
    line-height: 1.2
}

.fz-20 {
    font-size: 20px;
    line-height: 1.2
}

.fw-light {
    font-weight: 300
}

.fw-regular {
    font-weight: 400
}

.fw-medium {
    font-weight: 500
}

.fw-bold {
    font-weight: 700
}

.fw-semi-bold {
    font-weight: 600
}

.fw-extra-bold {
    font-weight: 800
}

.fw-black {
    font-weight: 900
}

.underline {
    text-decoration: underline
}

.font-inter {
    font-family: Inter, sans-serif
}

.line-clamp-1 {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical
}

.image {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%
}

.image img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    font-family: "object-fit: cover;";
    -o-object-fit: cover;
    object-fit: cover
}

.image.fit-contain img {
    font-family: "object-fit: contain;";
    -o-object-fit: contain;
    object-fit: contain
}

.image.position-bottom img {
    font-family: "object-fit: cover; object-position: bottom;";
    -o-object-position: bottom;
    object-position: bottom
}

.image.position-top img {
    font-family: "object-fit: cover; object-position: top;";
    -o-object-position: top;
    object-position: top
}

img {
    max-width: 100%
}

.ratio {
    position: relative
}

.ratio::before {
    content: "";
    display: block;
    padding-bottom: 100%
}

html {
    overflow-x: hidden
}

body {
    overflow-x: hidden;
    background-color: #f9f9f9;
    font-size: 15px;
    line-height: 1.2;
    font-family: Roboto, sans-serif;
    color: #111827
}

body :focus {
    box-shadow: none;
    outline: 0
}

a {
    text-decoration: none;
    color: inherit
}

img {
    vertical-align: middle
}

#wrapper {
    padding-top: 50px
}

@media screen and (min-width:576px) {
    #wrapper {
        padding-top: 15px
    }
}

@media screen and (min-width:992px) {
    #wrapper {
        min-height: 100vh;
        padding-top: 50px
    }
}

.btn-danger {
    border-color: #d9654c;
    background-color: #d9654c;
    color: #fff
}

.btn-danger:hover {
    border-color: #d15033;
    background-color: #d15033;
    color: #fff
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center
}

.btn svg {
    flex-shrink: 0
}

.btn-icon {
    display: flex;
    border: none;
    padding: 0;
    background: 0 0
}

@media screen and (min-width:768px) {
    .gutters-13 {
        margin-right: -13px;
        margin-left: -13px
    }
}

@media screen and (min-width:768px) {
    .gutters-13>[class*=col] {
        padding-right: 13px;
        padding-left: 13px
    }
}

.wysiwyg b {
    font-weight: 700
}

.wysiwyg a {
    text-decoration: underline
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 500;
    box-shadow: 0 0 20px rgba(147, 147, 147, .25);
    padding: 0 12px;
    background-color: #fff;
    color: #000
}

@media screen and (min-width:992px) {
    .site-header {
        padding: 0 30px 0 23px
    }
}

@media screen and (min-width:1366px) {
    .site-header {
        padding-right: 41px
    }
}

.site-header__logo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    padding: 7px 0
}

@media screen and (min-width:576px) {
    .site-header__logo {
        padding: 12px 0 13px
    }
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 0;
    padding: 0
}

@media screen and (min-width:576px) {
    .navbar-brand {
        flex-direction: row;
        align-items: center
    }
}

.navbar-brand__logo {
    flex-shrink: 0;
    width: 74px;
    margin-right: 10px
}

@media screen and (min-width:992px) {
    .navbar-brand__logo {
        width: 127px;
        margin-right: 12px
    }
}

.navbar-brand__logo img,
.navbar-brand__logo svg {
    width: 100%;
    height: auto
}

@media screen and (max-width:374px) {
    .navbar-brand__content .fz-14 {
        font-size: 9px
    }
}

.site-header__container {
    display: flex;
    align-items: center
}

.site-header__wrapper {
    flex-grow: 1;
    max-width: 200px;
    margin-right: -6px;
    margin-left: auto
}

@media screen and (min-width:576px) {
    .site-header__wrapper {
        max-width: none
    }
}

@media screen and (min-width:992px) {
    .site-header__wrapper {
        margin-right: 0
    }
}

.site-header__top-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end
}

.nav-notification {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 43px
}

@media screen and (max-width:991px) {
    .nav-notification {
        width: 32px;
        margin: 5px 0 5px 10px
    }
}

.nav-notification__wrapper {
    position: relative;
    display: flex;
    transition: color .3s ease;
    width: 17px;
    color: #11be52
}

.nav-notification__wrapper:hover {
    color: rgba(17, 190, 82, .7)
}

.nav-notification__wrapper::after,
.nav-notification__wrapper::before {
    content: none
}

.nav-notification__wrapper>span {
    position: absolute;
    top: -6px;
    right: -10px;
    z-index: 2;
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    background-color: #dc6763;
    color: #fff
}

@media screen and (min-width:576px) {
    .nav-notification__wrapper>span {
        top: -10px
    }
}

.nav-notification__menu {
    right: -3px !important;
    left: auto !important;
    box-shadow: 0 0 50px rgba(212, 212, 212, .5);
    border: none;
    border-radius: 10px;
    width: 250px;
    padding: 13px 12px;
    background-color: #fff
}

@media screen and (min-width:992px) {
    .nav-notification__menu {
        right: -15px !important;
        width: 331px;
        padding: 13px 28px 29px 23px
    }
}

.nav-notification__menu::before {
    content: "";
    position: absolute;
    top: -5px;
    right: 10px;
    transform: rotate(45deg);
    box-shadow: -1px -1px 50px rgba(212, 212, 212, .5);
    width: 18px;
    height: 18px;
    background-color: #fff
}

@media screen and (min-width:992px) {
    .nav-notification__menu::before {
        right: 15px
    }
}

.nav-notification__menu[data-bs-popper] {
    top: calc(100% + 10px);
    right: -80px;
    left: auto;
    margin-top: 0
}

@media screen and (min-width:768px) {
    .nav-notification__menu[data-bs-popper] {
        right: -150px
    }
}

@media screen and (min-width:992px) {
    .nav-notification__menu[data-bs-popper] {
        top: calc(100% + 18px);
        right: -5px
    }
}

.nav-notification__title {
    margin-bottom: 6px;
    color: #11be52
}

.nav-notification__list {
    margin-bottom: 4px
}

.nav-notification__btn {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-50%);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: #11be52
}

.nav-notification__item {
    border-top: 1px solid #ebebeb;
    padding: 11px 0 14px
}

.nav-notification__item:first-child {
    padding-top: 7px
}

.nav-notification__item-inner {
    display: flex;
    align-items: flex-start
}

.nav-notification__item-inner:hover {
    color: #11be52
}

.nav-notification__item-icon {
    flex-shrink: 0;
    width: 28px;
    margin: 2px 17px 0 2px
}

.nav-notification__item-content {
    flex-grow: 1
}

.nav-notification__item-date {
    margin-top: 6px;
    color: #777
}

.nav-lang {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 47px
}

@media screen and (max-width:991px) {
    .nav-lang {
        width: 32px;
        margin: 5px 0 5px 10px
    }
}

.nav-lang select {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    opacity: 0;
    cursor: pointer
}

.nav-lang__selected {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 17px
}

@media screen and (min-width:992px) {
    .nav-lang__selected {
        width: 52px;
        padding-right: 24px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath stroke='%23A5A5A5' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3E%3C/svg%3E") no-repeat right center
    }
}

.nav-lang__image {
    width: 29px
}

.nav-lang__image::before {
    padding-bottom: 58.62%
}

.nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    padding: 0
}

@media screen and (max-width:991px) {
    .nav-link {
        width: 32px;
        margin: 5px 0 5px 10px;
        padding-left: 5px
    }
}

.nav-link__wrapper {
    transition: all .3s ease;
    color: #253556
}

@media screen and (min-width:992px) {
    .nav-link__wrapper {
        border: 2px solid rgba(46, 56, 86, .5);
        border-radius: 40px;
        padding: 5px 17px;
        background-color: #f0f4ff
    }
}

.nav-link__wrapper:hover {
    opacity: .7;
    color: #253556
}

@media screen and (min-width:992px) {
    .nav-link__wrapper:hover {
        opacity: 1;
        border-color: #253556;
        background-color: #253556;
        color: #fff
    }
}

@media screen and (min-width:992px) {
    .nav-link__wrapper svg {
        position: relative;
        top: -1px;
        flex-shrink: 0;
        margin-right: 3px
    }
}

@media screen and (max-width:991px) {
    .nav-link__wrapper svg {
        width: 20px;
        height: 20px
    }
}

.nav-link__wrapper span {
    display: none
}

@media screen and (min-width:992px) {
    .nav-link__wrapper span {
        display: inline
    }
}

.nav-link--active .nav-link__wrapper {
    color: #11be52
}

@media screen and (min-width:992px) {
    .nav-link--active .nav-link__wrapper {
        border-color: #11be52;
        background-color: #f7fffa;
        color: #007c2f
    }
}

.nav-link--active .nav-link__wrapper:hover {
    color: #11be52
}

@media screen and (min-width:992px) {
    .nav-link--active .nav-link__wrapper:hover {
        background-color: #11be52;
        color: #fff
    }
}

.nav-menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 23px
}

@media screen and (max-width:1365px) {
    .nav-menu {
        margin-left: 35px
    }
}

@media screen and (max-width:991px) {
    .nav-menu {
        width: 32px;
        margin: 5px 0 5px 10px
    }
}

@media screen and (max-width:767px) {
    .nav-menu {
        margin-left: 10px
    }
}

.nav-button {
    display: flex;
    transition: opacity .3s ease;
    width: 19px;
    padding: 0;
    color: #11be52
}

.nav-button:hover {
    opacity: .7;
    color: #11be52
}

.nav-button::after,
.nav-button::before {
    content: none
}

.nav-menu-options {
    right: -3px !important;
    left: auto !important;
    box-shadow: 0 4px 20px rgba(158, 158, 158, .25);
    border: none;
    border-radius: 3px;
    width: 316px;
    padding: 13px 12px 20px
}

@media screen and (min-width:992px) {
    .nav-menu-options {
        right: -15px !important;
        width: 450px;
        padding: 13px 30px 39px
    }
}

.nav-menu-options::before {
    content: "";
    position: absolute;
    top: -5px;
    right: 15px;
    transform: rotate(45deg);
    transform-origin: center;
    width: 10px;
    height: 10px;
    background-color: #fff
}

@media screen and (min-width:992px) {
    .nav-menu-options::before {
        right: 20px
    }
}

.nav-menu-options[data-bs-popper] {
    right: -10px;
    left: auto
}

.nav-menu-options__title {
    margin-bottom: 12px
}

.nav-menu-options__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px
}

.nav-menu-options__wrapper .form-select {
    border-color: #d7d7d7;
    border-radius: 3px;
    width: 100%;
    max-width: 224px;
    height: 42px;
    margin-left: 15px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='6' viewBox='0 0 11 6' fill='none'%3E %3Cpath d='M9.5625 0.875L5.5 4.9375L1.4375 0.875' stroke='%23656565' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E %3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 11px 6px;
    cursor: pointer;
    color: #333
}

.nav-menu-options__list {
    border-top: 1px solid #f4f4f4;
    border-bottom: 1px dashed #d7d7d7;
    margin-bottom: 17px;
    padding: 8px 0 10px
}

.nav-menu-options__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0
}

.nav-menu-options__item .switch {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    width: 26px;
    height: 10px;
    margin-left: 15px
}

.nav-menu-options__item .switch input {
    opacity: 0;
    width: 0;
    height: 0
}

.nav-menu-options__item .switch input:checked+.slider {
    background-color: #11be52
}

.nav-menu-options__item .switch input:checked+.slider::before {
    transform: translateX(14px)
}

.nav-menu-options__item .switch .slider {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: .4s;
    box-shadow: inset 1px 1px 2px rgba(81, 81, 81, .25);
    border-radius: 50px;
    background-color: #e6e6e6;
    cursor: pointer
}

.nav-menu-options__item .switch .slider::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: -1px;
    transition: .4s;
    box-shadow: 0 2px 3px rgba(146, 146, 146, .4);
    border-radius: 50%;
    width: 14px;
    height: 14px;
    background-color: #fff
}

.nav-menu-options__bottom {
    display: flex;
    justify-content: space-between
}

.nav-menu-options__bottom .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s ease;
    border: 2px solid #d5d5d5;
    border-radius: 5px;
    width: 120px;
    height: 42px;
    margin: 0;
    text-align: center;
    color: #d5d5d5
}

.nav-menu-options__bottom .btn:hover {
    border-color: #11be52;
    background-color: #11be52;
    color: #fff
}

.nav-menu-options__bottom .btn:nth-child(2) {
    border-color: #11be52;
    background-color: #11be52;
    color: #fff
}

.nav-menu-options__bottom .btn:nth-child(2):hover {
    border-color: #0cab49;
    background-color: #0cab49;
    color: #fff
}

#overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 300;
    display: none;
    opacity: .4;
    background-color: #000
}

#overlay.show {
    display: block
}

.nav-faq {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 39px
}

@media screen and (max-width:991px) {
    .nav-faq {
        width: 32px;
        margin: 5px 0 5px 10px
    }
}

.nav-faq__wrapper {
    transition: all .3s ease;
    color: #11be52
}

.nav-faq__wrapper:hover {
    opacity: .7;
    color: #11be52
}

.nav-zoom {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 30px
}

@media screen and (max-width:991px) {
    .nav-zoom {
        width: 32px;
        margin: 5px 0 5px 10px
    }
}

.nav-zoom__wrapper {
    transition: all .3s ease;
    color: #11be52
}

.nav-zoom__wrapper:hover {
    opacity: .7;
    color: #11be52
}

.cht-wrapper {
    width: 100%;
    padding: 24px 0
}

.cht-container {
    display: flex;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 0 12px
}

.cht-main {
    position: fixed;
    right: 12px;
    left: 12px;
    height: calc(100vh - 74px)
}

.cht-main-container {
    width: 100%;
    height: 100%;
    margin: 0 auto
}

.cht-main-inner {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border: 1px solid #f5f5f5;
    border-radius: 5px 5px 0 0;
    height: 100%;
    margin-right: 10px;
    background-color: #fff
}

.cht-sidebar {
    position: relative;
    width: 316px;
    margin-left: auto
}

.cht-main-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid #eceff2;
    padding: 8px 16px 9px;
    gap: 8px
}

.cht-main-head-title {
    flex-shrink: 0;
    margin-right: 13px;
    color: #1f2937
}

.cht-main-head-search {
    position: relative;
    flex-grow: 1;
    border: 1px solid #eceff2;
    border-radius: 8px;
    width: auto;
    height: 36px
}

.cht-main-head-search-input {
    border: none;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    padding: 0 40px 0 12px;
    background: 0 0
}

.cht-main-head-search-input::-moz-placeholder {
    color: #8a97a6
}

.cht-main-head-search-input:-ms-input-placeholder {
    color: #8a97a6
}

.cht-main-head-search-input::placeholder {
    color: #8a97a6
}

.cht-main-head-search-button {
    position: absolute;
    top: calc(50% - 8px);
    right: 12px;
    z-index: 1;
    width: 16px;
    height: 16px;
    color: #8a97a6
}

.cht-main-head-search-button:hover {
    color: #0058ff
}

.cht-main-head-filter {
    border: 1px solid #eceff2;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    color: #687787
}

.cht-main-head-filter:hover {
    border-color: #0058ff;
    color: #0058ff
}

.cht-main-categories {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eceff2;
    padding: 7px 16px;
    gap: 8px
}

.cht-main-categories>.dropdown {
    flex-shrink: 0
}

.cht-main-categories-list {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    gap: 10px
}

.cht-main-categories-list .cht-item {
    position: relative;
    border: 1px solid #eceff2;
    border-radius: 4px;
    padding: 4px 6px 3px 7px;
    color: #111827
}

.cht-main-categories-list .cht-item::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -12px;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    border-radius: 70px;
    height: 4px;
    background-color: #0058ff
}

.cht-main-categories-list .cht-item.active,
.cht-main-categories-list .cht-item:hover {
    border-color: #0058ff;
    color: #0058ff
}

.cht-main-categories-list .cht-item.active::after,
.cht-main-categories-list .cht-item:hover::after {
    opacity: 1;
    visibility: visible
}

.cht-main-categories-toggle {
    border-radius: 4px;
    width: 111px;
    height: 32px;
    background-color: #eaeaea;
    color: #111827
}

.cht-main-categories-toggle::after {
    margin-left: .5em
}

.cht-main-categories-toggle[aria-expanded=true]::after {
    transform: rotate(180deg)
}

.cht-dropdown {
    box-shadow: 0 5px 10px 0 rgba(61, 54, 54, .4);
    border: 1px solid #ededed;
    border-radius: 5px;
    min-width: 200px;
    padding: 10px 0;
    background-color: #fff
}

.cht-dropdown[data-popper-placement=bottom-end] {
    margin-top: 6px !important
}

.cht-dropdown .cht-item {
    justify-content: flex-start;
    border: none;
    padding: 7px 19px;
    background: 0 0;
    text-align: left;
    color: #111827
}

.cht-dropdown .cht-item.active,
.cht-dropdown .cht-item:hover {
    color: #0058ff
}

.cht-main-wrapper {
    display: flex;
    height: calc(100% - var(--cht-main-head-height) - var(--cht-main-categories-height))
}

.cht-main-left {
    display: flex;
    flex-direction: column;
    width: 317px
}

.cht-main-right {
    width: calc(100% - 317px)
}

.cht-main-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 219px;
    height: 100%;
    margin: 0 auto 17%;
    text-align: center;
    gap: 8px
}

.cht-main-empty img {
    margin-bottom: 4px
}

.cht-main-empty-button {
    border: 1px solid #e3e3e5;
    border-radius: 50px;
    width: 119px;
    height: 36px;
    margin-top: 5px;
    color: #000
}

.cht-main-empty-button:hover {
    border-color: #0058ff;
    color: #0058ff
}

.cht-msg {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%
}

.cht-msg-header {
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eceff2;
    border-top: none;
    border-right: none;
    padding: 10px 6px 8px 15px;
    gap: 10px
}

.cht-msg-user-title {
    margin-bottom: 3px
}

.cht-msg-user {
    display: flex;
    align-items: center;
    gap: 8px
}

.cht-msg-user-avatar {
    flex-shrink: 0;
    width: 36px
}

.cht-msg-user-avatar .ratio {
    overflow: hidden;
    border-radius: 50%
}

.cht-msg-user-subtitle {
    color: #8a97a6
}

.cht-msg-user-label {
    display: flex;
    color: #8a97a6;
    gap: 4px
}

.cht-msg-user-label svg {
    flex-shrink: 0
}

.cht-msg-user-footer {
    display: flex;
    gap: 10px
}

.cht-msg-user-status {
    color: #8a97a6
}

.cht-msg-user-status::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    border-radius: 50%;
    width: 2px;
    height: 2px;
    margin-right: 7px;
    background: currentColor;
    vertical-align: 3px
}

.cht-msg-user-status.online {
    color: #11be52
}

.cht-msg-right {
    display: flex;
    justify-content: flex-end;
    gap: 5px
}

.cht-msg-right>.btn,
.cht-msg-right>.dropdown>.btn {
    border-radius: 2px;
    width: 32px;
    height: 32px;
    color: #687787
}

.cht-msg-right>.btn:hover,
.cht-msg-right>.dropdown>.btn:hover {
    background-color: #eaeaea
}

.cht-msg-right .dropdown-toggle::after {
    content: none
}

.cht-msg-right .dropdown-menu .cht-item {
    justify-content: flex-start;
    text-align: left
}

.cht-msg-user-text {
    color: #7f7f7f
}

.cht-msg-content {
    flex-grow: 1;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 22px 16px 16px;
    background: url(../images/bg.png) repeat-y left top/100% auto
}

.cht-msg-content::-webkit-scrollbar {
    display: none
}

.cht-msg-fixed+.cht-msg-content {
    padding-top: calc(var(--cht-msg-fixed-height) + 12px)
}

.cht-msg-content .cht-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-right: 8%;
    gap: 8px
}

.cht-msg-content .cht-item:last-child {
    margin-bottom: 0
}

.cht-msg-content .cht-item.reverse {
    justify-content: flex-end;
    padding-right: 0;
    padding-left: 8%
}

.cht-msg-content .cht-item.reverse .cht-item-content {
    border-radius: 10px 0 10px 10px;
    padding: 12px 14px
}

.cht-msg-content .cht-item.reverse .cht-item-footer {
    justify-content: flex-end
}

.cht-msg-content .cht-item.viewed .cht-item-footer::after {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 14px;
    height: 8px;
    margin-right: 2px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' viewBox='0 0 14 8'%3E%3Cpath stroke='%230058ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.2' d='m.6 4.65 2.357 2.7L8.85.6m3.75.047-6.43 6.75-.32-.422'/%3E%3C/svg%3E") no-repeat
}

.cht-msg-content .cht-item-avatar {
    width: 32px
}

.cht-msg-content .cht-item-wrapper {
    width: calc(100% - 32px)
}

.cht-msg-content .cht-item-footer {
    display: flex;
    align-items: center;
    margin-top: 6px;
    gap: 6px
}

.cht-msg-content .cht-item-content {
    box-shadow: 0 3px 6px rgba(0, 0, 0, .05);
    border: 1px solid #eceff2;
    border-radius: 0 10px 10px 10px;
    padding: 11px 12px 12px;
    background-color: #fff;
    line-height: 1.5
}

.cht-msg-content .cht-item-content b {
    font-weight: 700
}

.cht-msg-content .cht-item-content ul {
    margin-left: 8px;
    line-height: 1.7
}

.cht-msg-content .cht-item-content ul:not(:first-child) {
    margin-top: 3px
}

.cht-msg-content .cht-item-content ul li {
    position: relative;
    padding-left: 11px
}

.cht-msg-content .cht-item-content ul li p:not(:first-child) {
    margin-top: 4px
}

.cht-msg-content .cht-item-content ul li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    display: inline-block;
    border-radius: 50%;
    width: 3px;
    height: 3px;
    background-color: currentColor;
    vertical-align: 2px
}

.cht-msg-content .cht-item-content a {
    transition: all .3s ease;
    color: #0058ff
}

.cht-msg-content .cht-item-content a:hover {
    opacity: .7
}

.cht-msg-content .cht-item-content-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    gap: 20px
}

.cht-msg-content .cht-item-content-collapse {
    transition: all .3s ease;
    border: none;
    padding: 0;
    background: 0 0;
    color: #0058ff
}

.cht-msg-content .cht-item-content-collapse:hover {
    opacity: .7
}

.cht-msg-content .cht-item-content-buttons {
    display: flex;
    flex-shrink: 0;
    gap: 16px
}

.cht-msg-content .cht-item-content-buttons .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    width: 88px;
    height: 28px;
    padding: 0;
    text-align: center
}

.cht-msg-content .cht-item-content-ignore {
    border: 1px solid #687787;
    color: #687787
}

.cht-msg-content .cht-item-content-ignore:hover {
    background-color: #687787;
    color: #fff
}

.cht-msg-content .cht-item-content-apply {
    border: 1px solid #11be52;
    color: #11be52
}

.cht-msg-content .cht-item-content-apply:hover {
    background-color: #11be52;
    color: #fff
}

.cht-msg-content .cht-item-time {
    color: #8a97a6
}

.cht-msg-content .cht-item-name {
    margin-right: 6px;
    letter-spacing: -.02em;
    color: #8a97a6
}

.cht-msg-content .cht-item-name+.cht-item-time::before {
    content: "";
    position: relative;
    top: -4px;
    display: inline-block;
    flex-shrink: 0;
    border-radius: 50%;
    width: 2px;
    height: 2px;
    margin-right: 7px;
    background-color: currentColor
}

.cht-msg-blocked {
    padding: 13px 16px;
    text-align: center
}

.cht-msg-blocked-text {
    margin-bottom: 9px;
    color: #8a97a6
}

.cht-msg-blocked-text a {
    transition: all .3s ease;
    color: #0058ff
}

.cht-msg-blocked-text a:hover {
    opacity: .7
}

.cht-msg-blocked-buttons {
    display: flex;
    justify-content: center;
    gap: 16px
}

.cht-msg-blocked-buttons .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    width: 88px;
    height: 28px;
    padding: 0;
    text-align: center
}

.cht-msg-blocked-ignore {
    background-color: #dcdee0;
    color: #687787
}

.cht-msg-blocked-ignore:hover {
    background-color: #687787;
    color: #fff
}

.cht-msg-blocked-accept {
    border: 1px solid #0058ff;
    background-color: #e2ecff;
    color: #0058ff
}

.cht-msg-blocked-accept:hover {
    background-color: #0058ff;
    color: #fff
}

.cht-msg-footer-tags {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eceff2;
    padding: 6px 15px 15px
}

.cht-msg-footer-tags-title {
    flex-direction: 0;
    margin-right: 10px;
    color: #8a97a6
}

.cht-msg-footer-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.cht-msg-footer-tags-toggle {
    width: 38px;
    height: 20px;
    margin-left: auto;
    color: #8a97a6
}

.cht-msg-fixed {
    position: absolute;
    top: calc(var(--cht-msg-header-height) + 4px);
    right: 5px;
    left: 5px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 3.4px rgba(0, 0, 0, .08);
    border: 1px solid #eceff2;
    border-radius: 4px;
    padding: 8px 12px 9px 14px;
    background-color: #fff;
    gap: 10px
}

.cht-msg-fixed-right {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 13px
}

.cht-msg-fixed-right>.dropdown {
    flex-shrink: 0
}

.cht-msg-fixed-right .cht-msg-fixed-select {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #c9c9c9;
    border-radius: 4px;
    width: 85px;
    height: 24px;
    color: #555;
    gap: 5px
}

.cht-msg-fixed-right .cht-msg-fixed-select::after {
    content: "";
    flex-shrink: 0;
    width: 7px;
    height: 4px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4' fill='none' viewBox='0 0 7 4'%3E%3Cpath stroke='%23555' stroke-linecap='round' stroke-linejoin='round' d='m6.5.5-3 3-3-3'/%3E%3C/svg%3E") no-repeat
}

.cht-msg-fixed-right .cht-msg-fixed-toggle {
    border-radius: 2px;
    width: 20px;
    height: 20px;
    color: #555
}

.cht-msg-fixed-right .cht-msg-fixed-toggle:hover {
    background-color: #eaeaea
}

.cht-msg-fixed-text {
    color: #555
}

.cht-msg-fixed-title {
    margin-bottom: 3px
}

.cht-msg-footer {
    flex-shrink: 0;
    border: 1px solid #eceff2;
    border-right: none;
    border-bottom: none
}

.cht-msg-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 24px 6px 15px;
    gap: 8px
}

.cht-msg-footer-bar-left {
    display: flex;
    flex-wrap: wrap;
    gap: 16px
}

.cht-msg-footer-bar-left .btn {
    width: 20px;
    height: 20px;
    color: #8a97a6
}

.cht-msg-footer-bar-left .btn:hover {
    color: #0058ff
}

.cht-msg-footer-bar-right {
    display: flex;
    align-items: center;
    gap: 12px
}

.cht-msg-footer-bar-right .cht-attach-cv,
.cht-msg-footer-bar-right .cht-attach-quick {
    padding: 0;
    color: #8a97a6;
    gap: 4px
}

.cht-msg-footer-bar-right .cht-attach-cv:hover,
.cht-msg-footer-bar-right .cht-attach-quick:hover {
    color: #0058ff
}

.cht-msg-footer-bar-right .cht-attach-emoji {
    width: 20px;
    height: 20px;
    color: #8a97a6
}

.cht-msg-footer-bar-right .cht-attach-emoji:hover {
    color: #0058ff
}

.cht-msg-footer-form {
    position: relative;
    border-top: 1px solid #eceff2;
    padding: 12px 70px 12px 15px
}

.cht-msg-footer-form-input {
    border: none;
    width: 100%;
    height: 32px;
    padding: 0
}

.cht-msg-footer-form-input::-moz-placeholder {
    color: #8a97a6
}

.cht-msg-footer-form-input:-ms-input-placeholder {
    color: #8a97a6
}

.cht-msg-footer-form-input::placeholder {
    color: #8a97a6
}

.cht-msg-footer-form-button {
    position: absolute;
    top: calc(50% - 16px);
    right: 18px;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    background-color: #0058ff;
    color: #fff
}

.cht-msg-footer-form-button:hover {
    opacity: .8
}

.cht-list {
    overflow-y: auto;
    height: 100vh;
    padding: 9px 0
}

.cht-list::-webkit-scrollbar {
    display: none
}

.cht-list .cht-heading {
    margin-bottom: -2px;
    padding: 0 16px;
    color: #687787
}

.cht-list .cht-item+.cht-heading {
    margin-top: 10px
}

.cht-list .cht-list-tags {
    margin-bottom: 11px;
    padding: 0 15px
}

.cht-list .cht-highlight-item.active .cht-item-header .dropdown,
.cht-list .cht-highlight-item:hover .cht-item-header .dropdown,
.cht-list .cht-item.active .cht-item-header .dropdown,
.cht-list .cht-item:hover .cht-item-header .dropdown {
    opacity: 1;
    visibility: visible
}

.cht-list .cht-highlight-item.active .cht-item-header .cht-item-time,
.cht-list .cht-highlight-item:hover .cht-item-header .cht-item-time,
.cht-list .cht-item.active .cht-item-header .cht-item-time,
.cht-list .cht-item:hover .cht-item-header .cht-item-time {
    opacity: 0
}

.cht-list .cht-highlight-item.vip .cht-item-image::before,
.cht-list .cht-item.vip .cht-item-image::before {
    content: "";
    position: absolute;
    top: -10px;
    left: calc(50% - 12px);
    z-index: 2;
    width: 24px;
    height: 17px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='17' fill='none'%3E%3Cpath fill='url(%23a)' fill-rule='evenodd' d='M24 3.783a1.428 1.428 0 0 1-1.695 1.395l-1.53 8.116-.051-.001H3.225l-1.53-8.115A1.428 1.428 0 0 1 0 3.783c-.001-.781.642-1.419 1.43-1.419.789 0 1.432.638 1.432 1.42 0 .32-.108.616-.29.853L6.87 7.852l4.553-4.694a1.64 1.64 0 0 1-1.068-1.527C10.355.733 11.094 0 12 0s1.645.733 1.645 1.63c0 .698-.445 1.295-1.068 1.528l4.553 4.694 4.297-3.215a1.4 1.4 0 0 1-.29-.854c0-.781.643-1.419 1.431-1.419.789 0 1.432.638 1.432 1.42M20.724 14.88H3.276a.705.705 0 0 0-.706.7v.721c0 .385.318.7.706.7h17.448a.705.705 0 0 0 .706-.7v-.721c0-.385-.318-.7-.706-.7' clip-rule='evenodd'/%3E%3Cdefs%3E%3ClinearGradient id='a' x1='5.727' x2='16.937' y1='18.51' y2='-1.077' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23ffc400'/%3E%3Cstop offset='1' stop-color='%23d99100'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E") no-repeat;
    pointer-events: none
}

.cht-list .cht-highlight-item.online .cht-item-image::after,
.cht-list .cht-item.online .cht-item-image::after {
    content: "";
    position: absolute;
    top: 0;
    right: 4px;
    z-index: 2;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    background-color: #23b34c;
    pointer-events: none
}

.cht-list .cht-highlight-item.new .cht-item-time,
.cht-list .cht-item.new .cht-item-time {
    font-weight: 600
}

.cht-list .cht-highlight-item.new .cht-item-text,
.cht-list .cht-item.new .cht-item-text {
    font-weight: 500;
    color: #111827
}

.cht-list .cht-highlight-item.pin .cht-item-title::after,
.cht-list .cht-item.pin .cht-item-title::after {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-left: 5px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' viewBox='0 0 10 10'%3E%3Cpath stroke='%23b0bcca' stroke-linecap='round' stroke-linejoin='round' d='m.5 9.5 2.315-2.315m.002-.003-1.39-1.39c-.477-.476.004-1.498.656-1.539.588-.037 1.952.176 2.406-.277L5.734 2.73c.308-.31.112-1 .092-1.381C5.797.842 6.605.214 7.034.643l2.323 2.324c.43.429-.2 1.234-.707 1.207-.38-.02-1.072-.216-1.381.093L6.024 5.512c-.453.453-.24 1.816-.277 2.405-.041.653-1.062 1.133-1.54.655z'/%3E%3C/svg%3E") no-repeat
}

.cht-list .cht-highlight-item.viewed .cht-item-footer::after,
.cht-list .cht-item.viewed .cht-item-footer::after {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 12px;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%238a97a6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.2' d='m.6 4.2 2.095 2.4 5.238-6m3.333.042-5.714 6-.286-.375'/%3E%3C/svg%3E") no-repeat
}

.cht-list .cht-highlight-item.selected,
.cht-list .cht-item.selected {
    border-right: 2px solid #0058ff;
    background-color: #eaf2ff
}

.cht-list .cht-highlight-item.image-msg .cht-item-text::before,
.cht-list .cht-item.image-msg .cht-item-text::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 2px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 12 12'%3E%3Cpath fill='%238a97a6' d='M8.361 0c1.977 0 3.306 1.387 3.306 3.451v4.764c0 2.064-1.329 3.452-3.307 3.452H3.306C1.329 11.667 0 10.279 0 8.215V3.45C0 1.387 1.329 0 3.306 0zm.644 6.154c-.625-.389-1.108.157-1.238.332-.126.17-.234.357-.348.543-.278.46-.596.991-1.148 1.3-.8.444-1.41.036-1.847-.262a3 3 0 0 0-.483-.286c-.391-.169-.744.025-1.267.689q-.411.52-.822 1.035c-.165.205-.126.522.096.66.355.217.788.335 1.277.335H8.14c.277 0 .556-.038.82-.125a2.16 2.16 0 0 0 1.32-1.231c.208-.496.31-1.098.114-1.6a1.3 1.3 0 0 0-.3-.456c-.357-.356-.692-.688-1.09-.934M3.79 2.333a1.46 1.46 0 0 0-1.458 1.458A1.46 1.46 0 0 0 3.791 5.25a1.46 1.46 0 0 0 0-2.917'/%3E%3C/svg%3E") no-repeat;
    vertical-align: -2px
}

.cht-list .cht-highlight-item {
    border: 1px solid #ffa347;
    border-radius: 8px;
    margin: 0 10px 20px 8px;
    padding: 8px 10px 12px;
    background-color: #fff7e9
}

.cht-list .cht-highlight-item-title {
    margin-bottom: 12px;
    color: #ee7c0a
}

.cht-list .cht-item-title {
    display: flex;
    align-items: center;
    gap: 5px
}

.cht-list .cht-item-title .fz-11 {
    font-weight: 400;
    color: #8a97a6
}

.cht-list .cht-item {
    transition: all .3s ease;
    padding: 13px 16px 14px 19px;
    cursor: pointer
}

.cht-list .cht-item:hover {
    background-color: #f3f3f3
}

.cht-list .cht-item-wrapper {
    display: flex;
    align-items: center
}

.cht-list .cht-item-image {
    position: relative;
    width: 40px
}

.cht-list .cht-item-image .ratio {
    overflow: hidden;
    border-radius: 50%
}

.cht-list .cht-item-content {
    width: calc(100% - 40px);
    padding-left: 8px
}

.cht-list .cht-item-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
    gap: 8px
}

.cht-list .cht-item-header .dropdown {
    position: absolute;
    top: 4px;
    right: -3px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease
}

.cht-list .cht-item-toggle {
    border-radius: 4px;
    width: 20px;
    height: 20px;
    padding: 0;
    background-color: #d9d9d9;
    line-height: 1;
    vertical-align: middle;
    color: #687787
}

.cht-list .cht-item-toggle::after {
    content: none
}

.cht-list .cht-item-toggle span {
    position: relative;
    top: -2px
}

.cht-list .dropdown-menu {
    margin-top: 5px
}

.cht-list .dropdown-menu.dropdown-menu-end {
    right: -12px
}

.cht-list .cht-item-time {
    transition: all .3s ease;
    color: #687787
}

.cht-list .cht-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px 38px
}

.cht-list .cht-item-count {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    background-color: #687787;
    color: #fff
}

.cht-list .cht-item-tags {
    display: flex;
    flex-wrap: wrap;
    margin-right: -30px;
    gap: 6px
}

.cht-list .cht-item-text {
    color: #8a97a6
}

.cht-list .cht-item-label {
    display: flex;
    align-items: center;
    gap: 5px
}

.cht-list .cht-item-label svg {
    flex-shrink: 0
}

.cht-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--tag-color);
    border-radius: 4px;
    padding: 1px 4px;
    background-color: #fff;
    color: var(--tag-color);
    gap: 6px;
    opacity: 0.5
}

.cht-tag svg {
    flex-shrink: 0
}

.cht-tag-select-list {
    padding: 5px 17px 15px
}

.cht-tag-select-list .cht-tag-select-item {
    display: flex;
    align-items: center
}

.cht-tag-select-list .cht-tag-select-item+.cht-tag-select-item {
    margin-top: 13px
}

.cht-tag-select-list .cht-tag-select-item input {
    flex-shrink: 0;
    border: 1px solid #c9c9c9;
    border-radius: 2px;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.cht-tag-select-list .cht-tag-select-item input:checked {
    border-color: #0058ff;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' fill='none' viewBox='0 0 11 9'%3E%3Cpath stroke='%23fff' stroke-linecap='square' stroke-miterlimit='10' stroke-width='2' d='m8.914 1.411-5.25 6-2.25-2.25'/%3E%3C/svg%3E") no-repeat center, #0058ff
}

.cht-tag-select-button {
    border: none;
    border-top: 1px solid #f2f2f2;
    width: 100%;
    padding: 12px 20px 2px;
    background: 0 0;
    text-align: center
}

.cht-tag-select-button:hover {
    color: #0058ff
}

.cht-tag-modal .modal-dialog {
    display: flex;
    align-items: center;
    max-width: 500px;
    height: 100%;
    margin: auto
}

.cht-tag-modal .modal-content {
    border: 1px solid #ededed;
    border-radius: 5px
}

.cht-tag-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f2f2f2;
    padding: 15px 17px 10px 19px;
    gap: 10px
}

.cht-tag-modal .modal-header .btn-close {
    position: relative;
    top: -2px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #687787
}

.cht-tag-modal .modal-header .btn-close:hover {
    color: #0058ff
}

.cht-tag-modal-list {
    padding: 13px 15px 11px 12px
}

.cht-tag-modal-list .cht-item {
    display: flex;
    align-items: center
}

.cht-tag-modal-list .cht-item+.cht-item {
    margin-top: 8px
}

.cht-tag-modal-list .cht-item-drag {
    display: flex;
    justify-content: center;
    width: 32px;
    text-align: center;
    color: #939393
}

.cht-tag-modal-list .cht-item-content {
    width: calc(100% - 34px)
}

.cht-tag-modal-list .cht-item-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    padding: 4px 5px 4px 9px;
    background-color: #f3f3f3
}

.cht-tag-modal-list .cht-item-wrapper .cht-tag {
    flex-shrink: 0
}

.cht-tag-modal-list .cht-item:hover .cht-item-action {
    opacity: 1;
    visibility: visible
}

.cht-tag-modal-list .cht-item-action {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    gap: 7px
}

.cht-tag-modal-list .cht-item-action .btn {
    border-radius: 4px;
    width: 32px;
    height: 32px
}

.cht-tag-modal-list .cht-item-action .btn:hover {
    background-color: #d9d9d9
}

.cht-tag-modal-list .cht-item-button {
    padding: 3px 0;
    color: #0058ff
}

.cht-tag-modal-list .cht-item-button:hover {
    opacity: .7
}

.cht-profile {
    border: 1px solid #f5f5f5;
    border-radius: 5px;
    background-color: #fff;
    background-color: #fff
}

.cht-profile-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eceff2;
    padding: 10px 12px 10px 15px;
    gap: 10px
}

.cht-profile-head-button {
    width: 32px;
    height: 32px;
    color: #687787
}

.cht-profile-user {
    border-bottom: 1px solid #eceff2;
    padding: 17px 24px 16px;
    text-align: center
}

.cht-profile-user-image {
    position: relative;
    width: 64px;
    margin: 0 auto 10px
}

.cht-profile-user-image .ratio {
    border-radius: 50%
}

.cht-profile-user-image.online::after {
    content: "";
    position: absolute;
    top: 0;
    right: 5px;
    z-index: 2;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background-color: #23b34c
}

.cht-profile-user-text {
    color: #8a97a6
}

.cht-profile-info {
    border-bottom: 1px solid #eceff2;
    padding: 13px 18px
}

.cht-profile-info-title {
    color: #8a97a6
}

.cht-profile-info-text+.cht-profile-info-title {
    margin-top: 11px
}

.cht-profile-info-text {
    margin-top: 2px
}

.cht-profile-info-text ul {
    margin-top: 5px;
    margin-left: 7px
}

.cht-profile-info-text ul li {
    position: relative
}

.cht-profile-info-text ul li+li {
    margin-top: 6px
}

.cht-profile-info-text ul li::before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 3px;
    height: 3px;
    margin-right: 8px;
    background-color: currentColor;
    vertical-align: 2px
}

.cht-profile-collapse {
    position: relative;
    display: flex;
    border: none;
    border-bottom: 1px solid #eceff2;
    width: 100%;
    padding: 11px 41px 11px 15px;
    background: 0 0;
    font: inherit;
    color: #111827;
    gap: 12px
}

.cht-profile-collapse:last-of-type:not([aria-expanded=true]) {
    border-bottom: none
}

.cht-profile-collapse::after {
    content: "";
    position: absolute;
    top: calc(50% - 3px);
    right: 14px;
    transform-origin: center;
    transition: all .3s ease;
    width: 10px;
    height: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' viewBox='0 0 10 6'%3E%3Cpath stroke='%23687787' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m8.75.75-4 4-4-4'/%3E%3C/svg%3E") no-repeat
}

.cht-profile-collapse[aria-expanded=true]::after {
    transform: rotate(180deg)
}

.cht-profile-collapse.locked .locked-icon {
    position: relative;
    margin-left: auto
}

.cht-profile-collapse.locked .locked-icon-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: calc(50% - 71px);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    border-radius: 5px;
    width: 142px;
    padding: 4px 8px;
    background-color: #212f3f;
    color: #fff
}

.cht-profile-collapse.locked .locked-icon-tooltip::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: calc(50% - 4px);
    transform: rotate(45deg);
    transform-origin: center;
    width: 8px;
    height: 8px;
    background-color: #212f3f
}

.cht-profile-collapse.locked .locked-icon:hover .locked-icon-tooltip {
    opacity: 1;
    visibility: visible
}

.cht-profile-contact {
    border-bottom: 1px solid #eceff2;
    padding: 16px 8px 16px 16px
}

.cht-profile-contact .cht-item {
    display: flex;
    align-items: center
}

.cht-profile-contact .cht-item+.cht-item {
    margin-top: 20px
}

.cht-profile-contact .cht-item-image {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    box-shadow: 0 1px 1px rgba(78, 78, 78, .1);
    border: 1px solid #f5f5f5;
    border-radius: 6px;
    width: 32px;
    height: 32px
}

.cht-profile-contact .cht-item-content {
    width: calc(100% - 32px);
    padding-left: 8px
}

.cht-profile-contact .cht-item-title {
    margin-bottom: 5px;
    color: #8a97a6
}

.cht-profile-contact .cht-item-text a {
    transition: all .3s ease;
    color: #0058ff
}

.cht-profile-contact .cht-item-text a:hover {
    opacity: .7
}

.cht-copy {
    display: inline-flex;
    transition: all .3s ease;
    margin-left: 4px;
    vertical-align: -2px;
    color: #0058ff
}

.cht-copy:hover {
    opacity: .7
}

.cht-profile-media {
    padding: 16px
}

.cht-profile-media:not(:last-child) {
    border-bottom: 1px solid #eceff2
}

.cht-profile-media-tabs {
    display: flex;
    border: 1px solid #eceff2;
    border-radius: 6px;
    margin-bottom: 8px;
    padding: 3px;
    background-color: #fafafa
}

.cht-profile-media-tabs .nav-item {
    flex: 1 1 auto
}

.cht-profile-media-tabs .nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s ease;
    border: 1px solid transparent;
    border-radius: 4px;
    width: 100%;
    margin: 0;
    padding: 3px;
    background: 0 0;
    text-align: center;
    color: #8a97a6
}

.cht-profile-media-tabs .nav-link.active,
.cht-profile-media-tabs .nav-link:hover {
    border-color: #eceff2;
    background-color: #fff;
    color: #3c4551
}

.cht-profile-media-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.cht-profile-media-list .cht-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: calc(50% - 4px)
}

.cht-profile-media-list .cht-item-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 8px;
    background: linear-gradient(to right, rgba(2, 8, 46, .2), rgba(2, 8, 46, .2)), linear-gradient(to right, rgba(0, 0, 0, .2), rgba(0, 0, 0, .2));
    color: #fff
}

.chat-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: var(--text-secondary);
}

.scroll-to-bottom-btn {
    /* --- Vị trí --- */
    position: absolute;
    bottom: 140px;
    /* Đặt cao hơn một chút so với ô input */
    /* Căn giữa theo chiều ngang, sau đó dịch sang phải */
    left: 98%;
    transform: translateX(-50%);
    z-index: 10;
    /* --- Hình dạng và Kích thước --- */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* --- Giao diện --- */
    background-color: #ffffff;
    /* Nền trắng */
    border: none;
    /* Không có viền */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* Bóng đổ mềm mại */
    cursor: pointer;
    /* --- Căn chỉnh Icon --- */
    display: flex;
    justify-content: center;
    align-items: center;
    /* --- Hiệu ứng & Hoạt ảnh --- */
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

/* Kiểu của Icon bên trong nút */
.scroll-to-bottom-btn i {
    font-size: 1.1rem;
    /* Kích thước icon (17.6px) */
    color: #6c63ff;
    /* Màu xanh tím giống trong hình */
}

/* Hiệu ứng khi di chuột vào */
.scroll-to-bottom-btn:hover {
    transform: translateX(-50%) translateY(-2px);
    /* Hơi nhấc lên */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    /* Bóng đổ đậm hơn */
}

/* 
   Vì bạn đang dùng v-if, Vue sẽ thêm/xóa phần tử khỏi DOM.
   Để có hiệu ứng fade-out, bạn cần dùng component <transition> của Vue.
   Tuy nhiên, hiệu ứng fade-in vẫn sẽ hoạt động tốt.
*/

/* ----- Badge tin nhắn chưa đọc (giữ nguyên) ----- */
.scroll-to-bottom-btn .unread-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    text-align: center;
    border: 2px solid white;
}

.tagged {
    opacity: 1
}

.cht-tag:hover {
    opacity: 1
}

.typing-indicator {
    font-style: italic;
    color: var(--primary-color);
    font-size: 0.8em;
}

.cht-item-button {
    width: 100%;
    padding: 8px;
    background: white;
    border: 2px dashed #d1d5db;
    border-radius: 6px;
    color: #6b7280;
}

.cht-item-button:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.cht-edit-form {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 6px;
}

.cht-edit-input {
    flex: 1;
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
}

.cht-color-picker {
    width: 40px;
    height: 32px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
}

.cht-action-buttons {
    display: flex;
    gap: 4px;
}

.btn-save {
    padding: 4px 12px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
}

.btn-cancel {
    padding: 4px 12px;
    background: #e5e7eb;
    color: #374151;
    border: none;
    border-radius: 4px;
    font-size: 12px;
}

.connection-status-banner {
    padding: 8px 16px;
    text-align: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    position: sticky;
    /* Ghim ở trên cùng */
    top: 0;
    z-index: 100;
    width: 100%;
}

.connection-status-banner.is-reconnecting {
    background-color: #ffc107;
    /* Màu vàng */
    color: #333;
    animation: pulse-bg 2s infinite;
}

.connection-status-banner.is-disconnected {
    background-color: #dc3545;
    /* Màu đỏ */
}

.connection-status-banner i {
    margin-right: 8px;
}

.connection-status-banner a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

@keyframes pulse-bg {
    0% {
        background-color: #ffc107;
    }

    50% {
        background-color: #ffe082;
    }

    100% {
        background-color: #ffc107;
    }
}

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Style chung cho một toast */
.toast {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 350px;
    color: var(--background-white);
    position: relative;
    overflow: hidden;
    /* Quan trọng để giấu progress bar */
    /* Hiệu ứng trượt vào */
    animation: slideInFromRight 0.5s ease-out forwards;
}

/* Style cho từng loại toast (error, success) */
.toast--error {
    background-color: #d9534f;
    /* Màu đỏ đậm hơn một chút */
}

.toast--success {
    background-color: #5cb85c;
    /* Màu xanh lá cây */
}

/* Icon bên trong toast */
.toast__icon {
    font-size: 1.5rem;
    margin-right: 15px;
}

/* Vùng chứa nội dung text */
.toast__body {
    flex-grow: 1;
}

.toast__title {
    font-weight: bold;
    margin-bottom: 3px;
}

.toast__msg {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Nút đóng toast */
.toast__close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
}

.toast__close:hover {
    color: white;
}

/* Thanh tiến trình tự động hủy */
.toast::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    animation: progress linear 5s forwards;
    /* 5s phải khớp với thời gian trong JS */
}


/* Keyframes cho hiệu ứng */
@keyframes slideInFromRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* Class để kích hoạt hiệu ứng biến mất */
.toast.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

.embedded-image {
    max-height: 30vh;
    max-width: 40%
}

/* Quick Message Modal Redesign */
.cht-qm-modal .modal-dialog {
    max-width: 550px;
}

.cht-qm-modal .modal-header {
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.modal-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 12px;
}

.cht-qm-search-wrapper {
    width: 100%;
}

.cht-qm-search {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    height: 40px;
    transition: all 0.2s;
}

.cht-qm-search:focus-within {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.cht-qm-search svg {
    color: #94a3b8;
    margin-right: 10px;
}

.cht-qm-search input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    color: #1e293b;
}

.cht-qm-list {
    padding: 12px 16px;
}

.cht-qm-item {
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cht-qm-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s;
}

.cht-qm-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cht-qm-info {
    flex: 1;
    margin-right: 15px;
}

.cht-qm-title {
    color: #0f172a;
    margin-bottom: 4px;
}

.cht-qm-text {
    color: #64748b;
    line-height: 1.5;
    word-break: break-word;
    /* Ensure long words don't break layout */
}

.cht-qm-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cht-qm-btn-send {
    background: #eff6ff !important;
    color: #2563eb !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
}

.cht-qm-btn-send:hover {
    background: #2563eb !important;
    color: #fff !important;
}

.cht-qm-more {
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}

.cht-qm-item:hover .cht-qm-more {
    opacity: 1;
    visibility: visible;
}

.cht-qm-more .btn {
    width: 28px !important;
    height: 28px !important;
    color: #94a3b8 !important;
}

.cht-qm-more .btn:hover {
    color: #475569 !important;
    background: #f1f5f9 !important;
}

.cht-qm-btn-delete:hover {
    color: #ef4444 !important;
}

/* Edit & Add Forms */
.cht-qm-edit-form {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}

.cht-qm-form-group {
    margin-bottom: 12px;
}

.cht-qm-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #475569;
}

.cht-qm-form-group .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    width: 100%;
}

.cht-qm-form-group .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.cht-qm-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.cht-qm-form-actions .btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
}

.cht-qm-form-actions .btn-save {
    background: #2563eb;
    color: #fff;
}

.cht-qm-form-actions .btn-cancel {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
}

/* Footer & Empty State */
.cht-qm-footer {
    margin-top: 16px;
}

.cht-qm-add-btn {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    color: #64748b;
    transition: all 0.2s;
}

.cht-qm-add-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #f0f9ff;
}

.cht-qm-empty-list {
    text-align: center;
    padding: 32px 0;
    color: #94a3b8;
}
.cht-item-content {
    position: relative;
}
.cht-msg-options {
    position: absolute;
    right: -2px;
    bottom: 0px;
    z-index: 10;
    display: none;
}
.reverse .cht-msg-options {
    left: -22px;
    bottom: 0px;
}
.cht-item-content:hover .cht-msg-options {
    display: block !important;
}
/* Remove dropdown arrow */
.cht-msg-options .dropdown-toggle::after {
    display: none;
}
.cht-msg-options {
    position: absolute;
    top: 3px;
    right: 5px; /* Adjust as needed */
    z-index: 99; /* Higher than content */
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s;
}

    /* Show options on hover OR if a menu is currently open (activeDropdownMessageId sets 'show' class to menu, but we need to keep wrapper visible) */
    /* Ideally we check if .dropdown-menu.show exists inside */
    .cht-item:hover .cht-msg-options,
    .cht-msg-options:has(.show) {
        opacity: 1;
    }

.cht-item.reverse .cht-msg-options {
    right: auto;
    left: 5px;
}

/* Ensure the content bubble is positioned relative */
.cht-item-content {
    position: relative;
    /* Ensure padding helps accommodate the button if necessary? 
       Actually user wants it overlay or separate. 
       Usually overlay top-right corner. */
}

/* Button Styling override if needed */
.cht-msg-options .btn {
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Menu positioning */
.cht-msg-options .dropdown-menu {
    min-width: 140px;
    padding: 5px 0;
    margin-top: 5px;
    /* Adjust direction */
    left: auto;
    right: 0;
}

.cht-item.reverse .cht-msg-options .dropdown-menu {
    left: 0;
    right: auto;
}
.cht-msg-content .cht-item-content .cht-msg-options ul li::before{content:none}