.modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: hidden;
    min-height: 380px;
}

.chat-history {
    max-height: 55vh;
    min-height: 55vh;
    overflow: auto;
    display: flex;
    flex-direction: column-reverse;
}

.chat .chat-history .message-data img {
    height: 20px;
    width: 20px;
    border-radius: 20px;
}

.chat .chat-history .message-data-time {
    color: #999;
    font-size: 13px;
}

.icon-paper-plane.active,
.icon-paper-clip.active
{
    color: #49c5b6;
}

.chat .chat-history .message {
    max-width: 70%;
    min-width: 30%;
}

.custom-loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #49c5b6;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    animation: spin 2s linear infinite;
}

.send-message {
    width: 150px;
    justify-content: center;
    align-items: center;
    display: inline-flex;
}

.small-loader {
    border: 1px solid #f3f3f3;
    border-top: 1px solid #49c5b6;
    border-radius: 50%;
    width: 20px;
    margin-left: 10px;
    display: inline-block;
    height: 20px;
    animation: spin 2s linear infinite;
}

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

.navbar-fixed-top {
    top: 0;
}

.theme-cyan #wrapper:before, .theme-cyan #wrapper:after {
    background: none;
}

.theme-cyan:before, .theme-cyan:after {
    background: none;
}

.chat-app .chat-list{
    height: 58vh;
    overflow-x:auto;
}

.chat-app, .chat {
    min-height: 70vh;
}

.drop-zone.hover {
    z-index: 9999 !important;
    background: #ccc !important;
    opacity: 0.3;
}

.drop-zone.hover .card {
    background: #ccc !important;
    opacity: 0.3;
}

.drop-text {
    top: 40%;
    font-size: 66px;
    position: absolute;
    color: #3a3a3a;
    left: 0;
    right: 0;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.auth-main:after {
    background-size: cover;
    background-position-x: 400px !important;
}

.auth-main:before {
    background:url(../../assets/images/auth_bg_left.jpg) no-repeat top;
}

.people-list .chat-list li .name {
    max-width: 155px;
}

.card.single_post img {
    max-width: 100%;
}

.float-center {
    margin: 0 auto;
    display: block !important;
}

.center-message {
    width: 50%;
    margin: 0 auto;
}

.center-message .message {
    max-width: 100%!important;
}

.chat .chat-history .center-message .my-message:after,
.chat .chat-history .center-message .other-message:after {
    left: 50%!important;
}

.gallery-select-item {
    border: 3px solid gray;
    width: 200px;
}

.gallery-select-item.selected {
    border: 3px solid #49c5b6;
    width: 200px;
}

.fancy-checkbox input[type="checkbox"]:disabled+span:before {
    background-color: #eaecef;
}

a.disabled {
    pointer-events: none !important;
    cursor: default !important;
}

.user-account .user-photo {
    max-width: 50px;
    max-height: 50px;
}

#modalNotification {
    min-height: 100vh;
    overflow-y: scroll;
}

#modalNotification .modal-dialog {
    max-width: none;
}

#modalNotification::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}

@media screen and (max-width: 1200px) {
    #modalNotification {
        width: 85%;
    }
}

#overlay    {
    position: fixed;
    display: block;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(212,212,212,.7);
    z-index: 999;
}
/* color for calendar schedule */
.fc .fc-view-container .fc-list-view .fc-list-item {
    color: #0a0a0a;
}

.sidebar-nav .metismenu .active.not-mine .has-arrow::after,
.sidebar-nav .metismenu>li.active.not-mine .icon-grid:before,
.metismenu-link.active.not-mine a.has-arrow {
    color: #fff !important;
}

.sidebar-nav .metismenu>li.active.not-mine>a {
    background-color: #49c5b6!important;
}

.toast-bottom-center {
    bottom: 150px;
    margin: 0 auto;
}

.my-avatar {
    width: 45px;
    height: 45px;
    background-color: #49c5b6;
    border-radius: 50%;
    float: left;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.my-avatar.square {
    border-radius: 20%!important;
}

.my-avatar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.my-avatar:hover {
    opacity: 0.8;
}
.vertical-center {
    display: flex;
    align-items: center;
}

.name-content {
    font-weight: 600;
    margin-left: 10px;
    flex: 1;
}

.sidebar-nav .metismenu ul a {
    padding: 10px 15px 10px 37px!important;
}

.red-color {
    color: #de4848!important;
}

.chat .chat-history .other-message {
    text-align: left;
}

.margin-0-auto {
    display: block;
    margin: 0 auto;
}

.margin-10-auto {
    display: block;
    margin: 10px auto;
}

.modal-dialog {
    max-width: unset;
}

.navbar-fixed-top .navbar-brand img {
    width: 160px;
    max-height: 70px;
    padding: 10px;
}

#left-sidebar,
#main-content {
    margin-top: 90px;
}

.accordion-toggle:before {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
    content: "\e114";    /* adjust as needed, taken from bootstrap.css */
    float: right;        /* adjust as needed */
    color: #ffffff;         /* adjust as needed */
    margin: 8px;
}

.accordion-toggle.collapsed:before {
    /* symbol for "collapsed" panels */
    content: "\e080";    /* adjust as needed, taken from bootstrap.css */
}

.user-photo {
    border-radius: 140px;
}

.voice-messages-image {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    position: relative;
    top: -15px;
    right: 20px;
    z-index: 999;
    box-shadow: 1px 2px 2px 2px #888888;
}

.m-l-0 {
    margin-left: 0!important;
}

.add-crm-user-icon {
    position: relative;
    top: -10px;
    left: -15px;
    width: 25px;
    padding: 2px;
    height: 25px;
}

.recording-iframe {
    width: 100%;
}

.audio-player {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 0 auto;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #17a2b8;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.play-btn:focus {
    outline: none;
}

.play-btn:hover {
    background-color: #17a2b8;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #ddd;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    margin-top: 15px;
}

.progress {
    background-color: #17a2b8;
    height: 100%;
    width: 0;
    border-radius: 5px;
}

.btn-round {
    border-radius: 20px!important;
    background: #3456fa;
}

.fc .fc-view-container .fc-event {
    min-height: 20px;
}

#calendar tr {
    height: 50px;
}

.tr-disabled {
    background: rgba(0,0,0,.075);
}

.btn-primary-important {
    background-color: #007bff !important;
    color: white!important;
}

.my-avatar.no-app {
    background-color: #027bff!important;
}

.pointer {
    cursor: pointer;
}

.text-waiting-room {
    color: #7b69ec!important;
}

a.nav-link.dropdown-toggle.position-relative{
    color: #666;
    font-size: 18px;
}