@import url("https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600&display=swap");
:root,
[data-bs-theme=light] {
    --bs-white-text: #fff;
    --bs-secondary: #f5f7fb;
    --bs-body-secondary-color: #7a7f9a;
    --bs-text-muted: #7a7f9a;
    --bs-card-logo-dark: block;
    --bs-card-logo-light: none;
    --bs-sidebar-bg: #fff;
    --bs-sidebar-menu-item-color: #878a92;
    --bs-sidebar-menu-item-active-color: var(--bs-primary);
    --bs-sidebar-menu-item-active-bg: #f7f7ff;
    --bs-sidebar-sub-bg: #f5f7fb;
    --bs-accordion-button-bg: #f5f7fb;
    --bs-accordion-bg: #fff;
    --bs-dropdown-bg: #fff;
}

[data-bs-theme=dark] {
    --bs-white: #262e35;
    --bs-white-rgb: 38, 46, 53;
    --bs-light: #36404a;
    --bs-light-rgb: 54, 64, 74;
    --bs-dark: #eff2f7;
    --bs-dark-rgb: 239, 242, 247;
    --bs-secondary: #7a7f9a;
    --bs-secondary-rgb: 122, 127, 154;
    --bs-text-muted: #9aa1b9;
    --bs-text-muted-rgb: 154, 161, 185;
    --bs-sidebar-bg: #36404a;
    --bs-sidebar-menu-item-color: #a6b0cf;
    --bs-sidebar-menu-item-active-color: #ffffff;
    --bs-sidebar-menu-item-active-bg: #3e4a56;
    --bs-sidebar-sub-bg: #303841;
    --bs-accordion-button-bg: #36404a;
    --bs-accordion-bg: transparent;
    --bs-dropdown-bg: #313a43;
}

[data-bs-theme=dark] .side-menu .theme-mode-icon:before {
    content: "\ef75";
}

/*!
 * Waves v0.7.6
 * http://fian.my.id/Waves 
 * 
 * Copyright 2014-2018 Alfiana E. Sibuea and other contributors 
 * Released under the MIT license 
 * https://github.com/fians/Waves/blob/master/LICENSE */

.waves-effect {
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.waves-effect .waves-ripple {
    position: absolute;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    opacity: 0;
    background: rgba(0, 0, 0, 0.2);
    background: -webkit-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
    background: -o-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
    background: -moz-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
    background: radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    -o-transition-property: -o-transform, opacity;
    transition-property: transform, opacity;
    -webkit-transform: scale(0) translate(0, 0);
    -moz-transform: scale(0) translate(0, 0);
    -ms-transform: scale(0) translate(0, 0);
    -o-transform: scale(0) translate(0, 0);
    transform: scale(0) translate(0, 0);
    pointer-events: none;
}

.waves-effect.waves-light .waves-ripple {
    background: rgba(255, 255, 255, 0.4);
    background: -webkit-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
    background: -o-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
    background: -moz-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
    background: radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
}

.waves-effect.waves-classic .waves-ripple {
    background: rgba(0, 0, 0, 0.2);
}

.waves-effect.waves-classic.waves-light .waves-ripple {
    background: rgba(255, 255, 255, 0.4);
}

.waves-notransition {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

.waves-button,
.waves-circle {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
}

.waves-button,
.waves-button:hover,
.waves-button:visited,
.waves-button-input {
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: none;
    outline: none;
    color: inherit;
    background-color: rgba(0, 0, 0, 0);
    font-size: 1em;
    line-height: 1em;
    text-align: center;
    text-decoration: none;
    z-index: 1;
}

.waves-button {
    padding: 0.85em 1.1em;
    border-radius: 0.2em;
}

.waves-button-input {
    margin: 0;
    padding: 0.85em 1.1em;
}

.waves-input-wrapper {
    border-radius: 0.2em;
    vertical-align: bottom;
}

.waves-input-wrapper.waves-button {
    padding: 0;
}

.waves-input-wrapper .waves-button-input {
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
}

.waves-circle {
    text-align: center;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    border-radius: 50%;
}

.waves-float {
    -webkit-mask-image: none;
    -webkit-box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);
    box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
}

.waves-float:active {
    -webkit-box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);
}

.waves-block {
    display: block;
}

.waves-effect.waves-light .waves-ripple {
    background-color: rgba(255, 255, 255, 0.4);
}

.waves-effect.waves-primary .waves-ripple {
    background-color: rgba(114, 105, 239, 0.4);
}

.waves-effect.waves-success .waves-ripple {
    background-color: rgba(6, 214, 160, 0.4);
}

.waves-effect.waves-info .waves-ripple {
    background-color: rgba(80, 165, 241, 0.4);
}

.waves-effect.waves-warning .waves-ripple {
    background-color: rgba(255, 209, 102, 0.4);
}

.waves-effect.waves-danger .waves-ripple {
    background-color: rgba(239, 71, 111, 0.4);
}

.avatar-xs {
    height: 2.2rem;
    width: 2.2rem;
}

.avatar-sm {
    height: 3rem;
    width: 3rem;
}

.avatar-md {
    height: 4.5rem;
    width: 4.5rem;
}

.avatar-lg {
    height: 6rem;
    width: 6rem;
}

.avatar-xl {
    height: 7.5rem;
    width: 7.5rem;
}

.avatar-title {
    align-items: center;
    background-color: #7269ef;
    color: #fff;
    display: flex;
    font-weight: 500;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.font-size-10 {
    font-size: 10px !important;
}

.font-size-11 {
    font-size: 11px !important;
}

.font-size-12 {
    font-size: 12px !important;
}

.font-size-13 {
    font-size: 13px !important;
}

.font-size-14 {
    font-size: 14px !important;
}

.font-size-15 {
    font-size: 15px !important;
}

.font-size-16 {
    font-size: 16px !important;
}

.font-size-17 {
    font-size: 17px !important;
}

.font-size-18 {
    font-size: 18px !important;
}

.font-size-20 {
    font-size: 20px !important;
}

.font-size-22 {
    font-size: 22px !important;
}

.font-size-24 {
    font-size: 24px !important;
}

.fw-medium {
    font-weight: 500;
}

.fw-semibold {
    font-weight: 600;
}

.social-list-item {
    height: 2rem;
    width: 2rem;
    line-height: calc(2rem - 4px);
    display: block;
    border: 2px solid #adb5bd;
    border-radius: 50%;
    color: #adb5bd;
    text-align: center;
    transition: all 0.4s;
}

.social-list-item:hover {
    color: #7a7f9a;
    background-color: #f5f7fb;
}

.w-xs {
    min-width: 80px;
}

.w-sm {
    min-width: 95px;
}

.w-md {
    min-width: 110px;
}

.w-lg {
    min-width: 140px;
}

.w-xl {
    min-width: 160px;
}

.border-dark {
    border-color: var(--bs-dark) !important;
}

.border-light {
    border-color: var(--bs-light) !important;
}

[data-bs-theme=dark] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.custom-accordion .card+.card {
    margin-top: 0.5rem;
}

.custom-accordion a i.accor-plus-icon {
    font-size: 16px;
}

.custom-accordion a.collapsed i.accor-plus-icon:before {
    content: "\f0142";
}

.accordion-button:after {
    margin-left: auto;
    margin-right: 0;
}

.accordion-item {
    background-color: #fff;
}

[data-bs-theme=dark] .accordion-item {
    background-color: transparent;
}

[data-bs-theme=dark] .accordion-button:not(.collapsed) {
    color: var(--bs-accordion-button-active-color);
}

[data-bs-theme=dark] .accordion-button:not(.collapsed):after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[data-bs-theme=dark] .accordion-button:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23adb5bd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[type=tel]::placeholder,
[type=url]::placeholder,
[type=email]::placeholder,
[type=number]::placeholder {
    text-align: left;
    /*rtl: right*/
}

.custom-checkbox-primary .custom-control-input:checked~.custom-control-label:before,
.custom-radio-primary .custom-control-input:checked~.custom-control-label:before {
    background-color: #7269ef;
    border-color: #7269ef;
}

.custom-checkbox-secondary .custom-control-input:checked~.custom-control-label:before,
.custom-radio-secondary .custom-control-input:checked~.custom-control-label:before {
    background-color: #7a7f9a;
    border-color: #7a7f9a;
}

.custom-checkbox-success .custom-control-input:checked~.custom-control-label:before,
.custom-radio-success .custom-control-input:checked~.custom-control-label:before {
    background-color: #06d6a0;
    border-color: #06d6a0;
}

.custom-checkbox-info .custom-control-input:checked~.custom-control-label:before,
.custom-radio-info .custom-control-input:checked~.custom-control-label:before {
    background-color: #50a5f1;
    border-color: #50a5f1;
}

.custom-checkbox-warning .custom-control-input:checked~.custom-control-label:before,
.custom-radio-warning .custom-control-input:checked~.custom-control-label:before {
    background-color: #ffd166;
    border-color: #ffd166;
}

.custom-checkbox-danger .custom-control-input:checked~.custom-control-label:before,
.custom-radio-danger .custom-control-input:checked~.custom-control-label:before {
    background-color: #ef476f;
    border-color: #ef476f;
}

.custom-checkbox-light .custom-control-input:checked~.custom-control-label:before,
.custom-radio-light .custom-control-input:checked~.custom-control-label:before {
    background-color: #e6ebf5;
    border-color: #e6ebf5;
}

.custom-checkbox-dark .custom-control-input:checked~.custom-control-label:before,
.custom-radio-dark .custom-control-input:checked~.custom-control-label:before {
    background-color: #343a40;
    border-color: #343a40;
}

.custom-checkbox-dark .custom-control-input:checked~.custom-control-label:before,
.custom-radio-dark .custom-control-input:checked~.custom-control-label:before {
    color: #343a40;
}

.custom-control-label {
    cursor: pointer;
}

.form-check,
.form-check-input {
    cursor: pointer;
}

.custom-switch-md {
    padding-left: 3rem;
}

.custom-switch-md .custom-control-label {
    line-height: 20px;
}

.custom-switch-md .custom-control-label:before {
    width: 40px;
    height: 20px;
    border-radius: 30px;
    left: -3rem;
}

.custom-switch-md .custom-control-label:after {
    width: 16px;
    height: 16px;
    left: calc(-3rem + 2px);
}

.custom-switch-md .custom-control-input:checked~.custom-control-label::after {
    transform: translateX(1.25rem);
}

.custom-switch-lg {
    padding-left: 3.75rem;
}

.custom-switch-lg .custom-control-label {
    line-height: 24px;
}

.custom-switch-lg .custom-control-label:before {
    width: 48px;
    height: 24px;
    border-radius: 30px;
    left: -3.75rem;
}

.custom-switch-lg .custom-control-label:after {
    width: 20px;
    height: 20px;
    left: calc(-3.75rem + 2px);
    border-radius: 50%;
}

.custom-switch-lg .custom-control-input:checked~.custom-control-label::after {
    transform: translateX(1.5rem);
}

.custom-control-label::before {
    background-color: var(--bs-body-bg);
}

.form-switch .form-check-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

[data-simplebar] {
    position: relative;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
}

.simplebar-wrapper {
    overflow: hidden;
    width: inherit;
    height: inherit;
    max-width: inherit;
    max-height: inherit;
}

.simplebar-mask {
    direction: inherit;
    position: absolute;
    overflow: hidden;
    padding: 0;
    margin: 0;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: auto !important;
    height: auto !important;
    z-index: 0;
}

.simplebar-offset {
    direction: inherit !important;
    box-sizing: inherit !important;
    resize: none !important;
    position: absolute;
    top: 0;
    left: 0 !important;
    bottom: 0;
    right: 0 !important;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
}

.simplebar-content-wrapper {
    direction: inherit;
    box-sizing: border-box !important;
    position: relative;
    display: block;
    height: 100%;
    /* Required for horizontal native scrollbar to not appear if parent is taller than natural height */
    width: auto;
    visibility: visible;
    overflow: auto;
    /* Scroll on this element otherwise element can't have a padding applied properly */
    max-width: 100%;
    /* Not required for horizontal scroll to trigger */
    max-height: 100%;
    /* Needed for vertical scroll to trigger */
    scrollbar-width: none;
    padding: 0px !important;
}

.simplebar-content-wrapper::-webkit-scrollbar,
.simplebar-hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.simplebar-content:before,
.simplebar-content:after {
    content: " ";
    display: table;
}

.simplebar-placeholder {
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    pointer-events: none;
}

.simplebar-height-auto-observer-wrapper {
    box-sizing: inherit !important;
    height: 100%;
    width: 100%;
    max-width: 1px;
    position: relative;
    float: left;
    max-height: 1px;
    overflow: hidden;
    z-index: -1;
    padding: 0;
    margin: 0;
    pointer-events: none;
    flex-grow: inherit;
    flex-shrink: 0;
    flex-basis: 0;
}

.simplebar-height-auto-observer {
    box-sizing: inherit;
    display: block;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 1000%;
    width: 1000%;
    min-height: 1px;
    min-width: 1px;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.simplebar-track {
    z-index: 1;
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

[data-simplebar].simplebar-dragging .simplebar-content {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

[data-simplebar].simplebar-dragging .simplebar-track {
    pointer-events: all;
}

.simplebar-scrollbar {
    position: absolute;
    right: 2px;
    width: 7px;
    min-height: 10px;
}

.simplebar-scrollbar:before {
    position: absolute;
    content: "";
    background: #a2adb7;
    border-radius: 7px;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.2s linear;
}

.simplebar-scrollbar.simplebar-visible:before {
    /* When hovered, remove all transitions from drag handle */
    opacity: 0.5;
    transition: opacity 0s linear;
}

.simplebar-track.simplebar-vertical {
    top: 0;
    width: 11px;
}

.simplebar-track.simplebar-vertical .simplebar-scrollbar:before {
    top: 2px;
    bottom: 2px;
}

.simplebar-track.simplebar-horizontal {
    left: 0;
    height: 11px;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before {
    height: 100%;
    left: 2px;
    right: 2px;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar {
    right: auto;
    left: 0;
    top: 2px;
    height: 7px;
    min-height: 0;
    min-width: 10px;
    width: auto;
}

/* Rtl support */

[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical {
    right: auto;
    left: 0;
}

.hs-dummy-scrollbar-size {
    direction: rtl;
    position: fixed;
    opacity: 0;
    visibility: hidden;
    height: 500px;
    width: 500px;
    overflow-y: hidden;
    overflow-x: scroll;
}

.simplebar-hide-scrollbar {
    position: fixed;
    left: 0;
    visibility: hidden;
    overflow-y: scroll;
    scrollbar-width: none;
}

.custom-scroll {
    height: 100%;
}

.side-menu {
    min-width: 75px;
    max-width: 75px;
    height: 100vh;
    min-height: 570px;
    background-color: var(--bs-sidebar-bg);
    display: flex;
    z-index: 9;
    box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12);
}
@media (max-width: 991.98px) {
    .side-menu {
        position: fixed;
        bottom: 0;
        height: 60px;
        min-width: 100%;
        min-height: auto;
        display: block;
        border-top: 1px solid var(--bs-border-color);
    }
}

.side-menu .navbar-brand-box {
    text-align: center;
}

@media (max-width: 991.98px) {
    .side-menu .navbar-brand-box {
        display: none;
    }
}

.side-menu .navbar-brand-box .logo {
    line-height: 70px;
}

.side-menu .navbar-brand-box .logo-dark {
    display: block;
}

.side-menu .navbar-brand-box .logo-light {
    display: none;
}

.side-menu-nav .nav-item {
    margin: 7px 0;
}

@media (max-width: 991.98px) {
    .side-menu-nav .nav-item {
        flex-basis: 0;
        flex-grow: 1;
        margin: 5px 0;
    }
}

.side-menu-nav .nav-item .nav-link {
    text-align: center;
    font-size: 24px;
    color: var(--bs-sidebar-menu-item-color);
    width: 56px;
    height: 56px;
    line-height: 56px;
    margin: 0px auto;
    border-radius: 8px;
    padding: 0;
}

@media (max-width: 991.98px) {
    .side-menu-nav .nav-item .nav-link {
        font-size: 20px;
        width: 48px;
        height: 48px;
        line-height: 48px;
    }
}

.side-menu-nav .nav-item .nav-link.active {
    background-color: var(--bs-sidebar-menu-item-active-bg);
    color: #7269ef;
}

.side-menu-nav .nav-item.show>.nav-link {
    background-color: var(--bs-sidebar-menu-item-active-bg);
    color: #7269ef;
}

.side-menu-nav .profile-user {
    height: 36px;
    width: 36px;
    background-color: var(--bs-border-color);
    padding: 3px;
}

.chat-leftsidebar {
    height: 100vh;
    background-color: var(--bs-sidebar-sub-bg);
}

@media (min-width: 992px) {
    .chat-leftsidebar {
        min-width: 900px;
        max-width: 980px;
    }
}

.chat-leftsidebar .user-status-box {
    background-color: var(--bs-light);
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    margin-top: 16px;
    display: block;
}

.chat-leftsidebar .user-status-box .chat-user-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.chat-search-box .form-control {
    border: 0;
}

.chat-search-box .search-icon-btn {
    font-size: 16px;
    position: absolute;
    right: 13px;
    top: 0;
}

.chat-message-list {
    height: calc(100vh - 280px);
}

@media (max-width: 991.98px) {
    .chat-message-list {
        height: calc(100vh - 320px);
    }
}

.chat-group-list {
    height: calc(100vh - 160px);
}

@media (max-width: 991.98px) {
    .chat-group-list {
        height: calc(100vh - 194px);
    }
}

.chat-list {
    margin: 0;
}

.chat-list li.active a {
    background-color: var(--bs-light);
}

.chat-list li a {
    position: relative;
    display: block;
    padding: 15px 20px;
    color: var(--bs-secondary-color);
    transition: all 0.4s;
    border-top: 1px solid var(--bs-sidebar-sub-bg);
    border-radius: 4px;
}

.chat-list li a:hover {
    background-color: var(--bs-light);
}

.chat-list li .chat-user-message {
    font-size: 14px;
}

.chat-list li.typing .chat-user-message {
    color: #7269ef;
    font-weight: 500;
}

.chat-list li.typing .chat-user-message .dot {
    background-color: #7269ef;
}

.chat-list li .unread-message {
    position: absolute;
    display: inline-block;
    right: 24px;
    left: auto;
    top: 33px;
}

.chat-list li .unread-message .badge {
    line-height: 16px;
    font-weight: 600;
    font-size: 10px;
}

.chat-user-img {
    position: relative;
}

.chat-user-img .user-status {
    width: 10px;
    height: 10px;
    background-color: #adb5bd;
    border-radius: 50%;
    border: 2px solid var(--bs-white);
    position: absolute;
    right: 0;
    left: auto;
    bottom: 0;
}

.chat-user-img.online .user-status {
    background-color: #06d6a0;
}

.chat-user-img.away .user-status {
    background-color: #ffd166;
}

.contact-list li {
    cursor: pointer;
    padding: 10px 20px;
}

.profile-user {
    position: relative;
    display: inline-block;
}

.profile-user .profile-photo-edit {
    position: absolute;
    right: 0;
    left: auto;
    bottom: 0;
}

.user-chat {
    background-color: var(--bs-white);
    box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12);
    transition: all 0.4s;
}

@media (max-width: 991.98px) {
    .user-chat {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        visibility: hidden;
        transform: translateX(100%);
        z-index: 99;
    }
    .user-chat.user-chat-show {
        visibility: visible;
        transform: translateX(0);
    }
}

@media (max-width: 991.98px) {
    .user-chat-topbar {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 1;
    }
}

.user-chat-nav .nav-btn {
    height: 40px;
    width: 40px;
    line-height: 40px;
    box-shadow: none;
    padding: 0;
    font-size: 20px;
    color: var(--bs-secondary-color);
}

@media (max-width: 575.98px) {
    .user-chat-nav {
        display: flex;
        justify-content: flex-end;
    }
}

.chat-conversation li {
    clear: both;
}

.chat-conversation .chat-avatar {
    margin: 0 16px 0 0;
}

.chat-conversation .chat-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.chat-conversation .chat-day-title {
    position: relative;
    text-align: center;
    margin-bottom: 24px;
    margin-top: 12px;
}

.chat-conversation .chat-day-title .title {
    background-color: var(--bs-border-color);
    position: relative;
    font-size: 13px;
    z-index: 1;
    padding: 6px 12px;
    border-radius: 5px;
}

.chat-conversation .chat-day-title:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    left: 0;
    right: 0;
    background-color: var(--bs-border-color);
    top: 10px;
}

.chat-conversation .chat-day-title .badge {
    font-size: 12px;
}

.chat-conversation .conversation-list {
    margin-bottom: 24px;
    display: inline-flex;
    position: relative;
    align-items: flex-end;
}

.chat-conversation .conversation-list .ctext-wrap {
    display: flex;
    margin-bottom: 10px;
}

.chat-conversation .conversation-list .ctext-wrap-content {
    padding: 12px 20px;
    background-color: var(--bs-primary);
    border-radius: 8px 8px 8px 0;
    color: #fff;
    position: relative;
}

.chat-conversation .conversation-list .ctext-wrap-content:before {
    content: "";
    position: absolute;
    border: 5px solid transparent;
    border-left-color: var(--bs-primary);
    border-top-color: var(--bs-primary);
    left: 0;
    right: auto;
    bottom: -9px;
}

@media (max-width: 575.98px) {
    .chat-conversation .conversation-list .ctext-wrap-content .attached-file .attached-file-avatar {
        display: none;
    }
}

.chat-conversation .conversation-list .conversation-name {
    font-weight: 500;
    font-size: 14px;
}

.chat-conversation .conversation-list .dropdown .dropdown-toggle {
    font-size: 18px;
    padding: 4px;
    color: var(--bs-secondary-color);
}

@media (max-width: 575.98px) {
    .chat-conversation .conversation-list .dropdown .dropdown-toggle {
        display: none;
    }
}

.chat-conversation .conversation-list .chat-time {
    font-size: 12px;
    margin-top: 4px;
    text-align: right;
    color: rgba(255, 255, 255, 0.5);
}

.chat-conversation .conversation-list .message-img {
    border-radius: 0.2rem;
    position: relative;
}

.chat-conversation .conversation-list .message-img .message-img-list {
    position: relative;
}

.chat-conversation .conversation-list .message-img img {
    max-width: 150px;
}

.chat-conversation .conversation-list .message-img .message-img-link {
    position: absolute;
    right: 10px;
    left: auto;
    bottom: 10px;
}

.chat-conversation .conversation-list .message-img .message-img-link li>a {
    font-size: 18px;
    color: #fff;
    display: inline-block;
    line-height: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
}

.chat-conversation .right .chat-avatar {
    order: 3;
    margin-right: 0px;
    margin-left: 16px;
}

.chat-conversation .right .chat-time {
    text-align: left;
    color: var(--bs-secondary-color);
}

.chat-conversation .right .conversation-list {
    float: right;
    text-align: right;
}

.chat-conversation .right .conversation-list .ctext-wrap {
    justify-content: flex-end;
}

.chat-conversation .right .conversation-list .ctext-wrap .ctext-wrap-content {
    order: 2;
    background-color: var(--bs-secondary-bg);
    color: var(--bs-dark);
    text-align: right;
    border-radius: 8px 8px 0px 8px;
}

.chat-conversation .right .conversation-list .ctext-wrap .ctext-wrap-content:before {
    border: 5px solid transparent;
    border-top-color: var(--bs-secondary-bg);
    border-right-color: var(--bs-secondary-bg);
    left: auto;
    right: 0px;
}

.chat-conversation .right .conversation-list .dropdown {
    order: 1;
}

.chat-conversation .right .conversation-list .dropdown .dropdown-menu[style] {
    right: 0 !important;
    left: auto !important;
}

.chat-conversation .right .dot {
    background-color: #343a40;
}

.chat-conversation {
    height: calc(100vh - 184px);
}

@media (max-width: 991.98px) {
    .chat-conversation {
        height: calc(100vh - 152px);
        margin-top: 73px;
        margin-bottom: 78px;
    }
}

.chat-input-section {
    background-color: var(--bs-white);
}

@media (max-width: 991.98px) {
    .chat-input-section {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }
}

.chat-input-links .list-inline-item:not(:last-child) {
    margin: 0;
}

.animate-typing .dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    margin-right: -1px;
    background: #fff;
    animation: wave 1.3s linear infinite;
    opacity: 0.6;
}

.animate-typing .dot:nth-child(2) {
    animation-delay: -1.1s;
}

.animate-typing .dot:nth-child(3) {
    animation-delay: -0.9s;
}

@keyframes wave {
    0%,
    60%,
    100% {
        transform: initial;
    }
    30% {
        transform: translateY(-5px);
    }
}

.user-profile-sidebar {
    height: 100vh;
    background-color: var(--bs-white);
    display: none;
    min-width: 380px;
    max-width: 380px;
}

@media (min-width: 992px) {
    .user-profile-sidebar {
        border-left: 4px solid var(--bs-border-color);
    }
}

@media (max-width: 1199.98px) {
    .user-profile-sidebar {
        position: fixed;
        right: 0;
        top: 0;
        z-index: 99;
    }
}

@media (max-width: 575.98px) {
    .user-profile-sidebar {
        min-width: 100%;
    }
}

.user-profile-desc {
    height: calc(100vh - 300px);
}

@media (max-width: 991.98px) {
    .user-profile-desc {
        height: calc(100vh - 324px);
    }
}

.auth-logo .logo {
    margin: 0px auto;
}

.auth-logo .logo-dark {
    display: block;
}

.auth-logo .logo-light {
    display: none;
}

[data-bs-theme=dark] .auth-logo .logo-dark {
    display: none;
}

[data-bs-theme=dark] .auth-logo .logo-light {
    display: block;
}
/* 只隐藏带有 no-caret 类的下拉菜单的三角 */
.no-caret.dropdown-toggle::after {
  display: none !important;
}