@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&display=swap');

.hover-link:hover {
    text-decoration: underline;
}

/* ===== COMMENTS SECTION STYLES ===== */
.comments-section {
    background: #ffffff;    
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin: 16px 0;
}

.comment-input-container {
    position: relative;
}

.comments-section h6 {
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.comment-item {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.comment-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.comment-header {
    display: flex;
    align-items: flex-start;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

.comment-content {
    flex-grow: 1;
}

.comment-author {
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.comment-date {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
}

.comment-text {
    color: #333;
    line-height: 1.4;
}

.no-comments {
    color: #6c757d;
    font-style: italic;
    margin-bottom: 15px;
}

.add-comment-btn {
    background: #6f42c1;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.add-comment-btn:hover {
    background: #5a32a3;
}

.post-comment-btn {
    background: #6f42c1;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.cancel-comment-btn {
    background: #ff4081;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

/* Auto-resize textarea styles */
.auto-resize {
    resize: none !important;
    overflow: hidden !important;
    min-height: 60px !important;
    max-height: 500px !important;
    transition: height 0.1s ease !important;
}

.add-comment-form {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    margin-top: 12px;
}

.add-comment-form label {
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}

.add-comment-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    resize: none;
    font-family: inherit;
    overflow: hidden;
}

.comment-actions {
    margin-top: 8px;
}

.comment-actions .btn {
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    margin-right: 8px;
}

/* ===== @MENTION FUNCTIONALITY STYLES ===== */
.mention-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mention-option {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.mention-option:hover {
    background-color: #e3f2fd !important;
}

.mention-option:last-child {
    border-bottom: none;
}

.mention-option-content {
    display: flex;
    align-items: center;
}

.mention-option-info {
    flex: 1;
}

.mention-option-name {
    font-weight: bold;
    color: #333;
}

.mention-option-email {
    font-size: 12px;
    color: #666;
}

.mention-no-users {
    padding: 8px 12px;
    color: #666;
    font-style: italic;
}

/* ===== DRAFT COMMENTS STYLES ===== */
.draft-comments-section {
    background: #f8f9fa;
    border: 1px solid #a2a7ac;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.draft-comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.draft-comments-title {
    color: #333;
    font-weight: 600;
    margin: 0;
    font-size: 14px;
}

.clear-all-drafts-btn {
    background: #ff4081;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.draft-comment-item {
    background: white;
    border: 1px solid #6c757d;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    position: relative;
}

.draft-comment-item.comment-sending {
    border-left: 4px solid #6f42c1;
    background: #f8f9ff;
}

.draft-comment-item.comment-failed {
    border-left: 4px solid #6f42c1;
    background: #ffffff;
}

.draft-comment-content {
    margin-bottom: 8px;
}

.draft-comment-text {
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
}

.draft-comment-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.restored-indicator {
    color: #333;
    font-size: 11px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 4px;
}

.draft-comment-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.retry-btn {
    background: #00bcd4;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.retry-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.delete-btn {
    background: #ff4081;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-main,
.navbar-wrapper,
.navbar,
.nav {
    height: 52px;
    line-height: 49px;
}

.sidenav {
    top: 52px;
}

.navbar .brand-logo img {
    margin-top: 0.15em;
    margin-left: 0.5em;
    height: 46px;
    width: 46px;
}

.account {
    background-color: #fff;
    text-align: center;
    position: fixed;
    bottom: 0;
    padding: 0.4em 0 2.2em 0;
    z-index: 999;
    width: 260px;
    margin-top: 50px;
    height: 24px;
}

@media screen and (max-width: 992px) {
    .account {
        display: none;
    }
}

.sideNav ul {
    height: 95%;
}

/* aside #slide-out {
    padding-top: 2em;
} */


/*----------------------------------------
    Login Page
   ------------------------------------------*/

#card-msg {
    height: 74vh !important;
}

#fb {
    margin-top: 2%;
}

#rolesSubmitBtn {
    margin: 15%;
}

.login-bg {
    background-color: #3d89d4;
    /* background-image: url("../img/flat-bg.jpg"); */
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

.button-padding {
    padding: 0 10px !important;
}

.modal-larg {
    width: 80%;
    max-height: 85%;
}

.modal-small {
    width: 40%;
        height: 30% !important;
        top: 50% !important;
        left: 50%;
        transform: translate(-50%, -50%) !important;
}

.height-90 {
    height: 90vh !important;
}

.height-50 {
    height: 50vh !important;
}

.height-45 {
    height: 48vh !important;

}

.customAttachStyle {
    height: 42vh;
    max-width: fit-content;
    position: relative;
    max-height: 300px !important;
    scale: .7;
    top: 3rem;
    right: 0rem;
}

.loginPage #login-page {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 100vh;
    height: auto;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.user-img {
    height: 45px !important;
    width: 45px;
    max-width: 45px !important;
    margin-right: 30px;
}

.text-center {
    text-align: center !important;
}

.width-auto {
    width: auto !important;
}

.loginPage #login-page .card-panel.border-radius-6.login-card {
    margin-left: 0 !important;
}

.sticky-possition {
    position: sticky;
    top: 64px;
    z-index: 99;
}


/*----------------------------------------
  Chat App
------------------------------------------*/

body {
    background-color: #eceff1;
}

.chat-application .chat-content-head {
    position: relative;
    top: 35px;
    height: 65px;
}

.sidebar-left {
    z-index: 1;
}

.chat-application .chat-content-head .header-details .app-header-icon {
    font-size: 2rem;
    vertical-align: bottom;
}

.chat-application .sidenav-trigger {
    display: none;
}

.chat-application .small-icons {
    font-size: 1.25rem;
    line-height: 1.65rem;
}

.m-auto {
    margin: auto;
}

.text-extra-small {
    font-size: 0.9em;
}

.chat-application .truncate {
    overflow: hidden;
    width: 175px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.chat-application .app-chat .chat-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    height: 71vh;
    height: 85vh;
}

.sec-dropdown {
    left: -130px !important;
}

.dropdown-content li>a:hover,
.dropdown-content li>a.active,
.dropdown-content li>span:hover,
.dropdown-content li>span.active {
    background-color: unset;
}

.chat-application .app-chat .chat-content .sidebar {
    width: 360px;
    height: 100%;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-header .option-icon i.material-icons {
    font-size: 1.85rem;
    cursor: pointer;
    color: #9e9e9e;
}

.chat-application .app-chat .chat-content .sidebar .active-shadow .info-text {
    font-weight: bold;
    font-weight: 900;
    color: #383737;
}

.chat-application .app-chat .chat-content .sidebar .info-text {
    font-size: 0.85rem;
    overflow: hidden;
    width: 175px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #616161;
}

.chat-application .app-chat .chat-content .sidebar .chat-title-text {
    overflow: hidden;
    width: 195px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.chat-application .app-chat .chat-content .sidebar .active-shadow .chat-title-text {
    font-weight: 900 !important;
    color: #000 !important;
    font-size: 16px !important;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-search {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    padding: 1rem;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-search .search-area {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    width: -webkit- 100%;
    width: -moz- 100%;
    width: 100%;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-search .search-area .search-icon {
    font-size: 1.45rem;
    height: 41px;
    margin-right: 0 !important;
    padding: 0.75rem 0.25rem 0.35rem 0.75rem;
    color: #9e9e9e;
    border-radius: 2rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #eceff1;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-search .search-area .app-filter {
    height: 35px;
    margin-bottom: 0;
    padding: 0.2rem;
    color: #9e9e9e;
    border: none;
    border: none;
    border-radius: 2rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #eceff1;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-search .search-area .app-filter:focus {
    border-bottom: none !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-search .search-area .app-filter::-webkit-input-placeholder {
    opacity: 1;
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #9e9e9e;
    /* Firefox */
}

.chat-application .app-chat .chat-content .sidebar .sidebar-search .search-area .app-filter::-moz-placeholder {
    opacity: 1;
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #9e9e9e;
    /* Firefox */
}

.chat-application .app-chat .chat-content .sidebar .sidebar-search .search-area .app-filter::placeholder {
    opacity: 1;
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #9e9e9e;
    /* Firefox */
}

.chat-application .app-chat .chat-content .sidebar .sidebar-search .search-area .app-filter:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #9e9e9e;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-search .search-area .app-filter::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #9e9e9e;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-search .add-user i.add-user-icon {
    font-size: 1.45rem;
    padding: 0.6rem;
    color: #fff;
    border-radius: 50%;
    background: #212121;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-chat {
    position: relative;
    overflow-y: auto;
    height: 98%
}

.chat-application .app-chat .chat-content .sidebar .sidebar-chat .chat-list .chat-user {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1px;
    padding: .5rem;
    cursor: pointer;
    border-right: 3px solid transparent;
    border-left: 3px solid transparent;
    position: relative;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-chat .chat-list .chat-user.active,
.chat-application .app-chat .chat-content .sidebar .sidebar-chat .chat-list .chat-user:hover {
    border-left: 3px solid #aaa;
    background-color: #eceff1;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-chat .chat-list .arabic.chat-user.active,
.chat-application .app-chat .chat-content .sidebar .sidebar-chat .chat-list .arabic.chat-user:hover {
    border-right: 3px solid #aaa;
    background-color: #eceff1;
    border-left: none;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-chat .chat-list .chat-user .info-section {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -moz-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-chat .chat-list .chat-user .info-section .star-timing {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    width: 75px;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -moz-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-chat .chat-list .chat-user .info-section .star-timing .favorite {
    line-height: 0;
    /* margin-right: 0.35rem; */
    margin: 0.2rem 0.35rem 0 0;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-chat .chat-list .chat-user .status-label {
    font-size: 0.75rem;
    display: inline-block;
    min-width: 25%;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-chat .chat-list .chat-user .favorite i {
    font-size: 1.3rem;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-chat .chat-list .chat-user .info-section .star-timing .time {
    font-size: 0.6rem;
    color: #616161;
}

.chat-application .app-chat .chat-content .sidebar .sidebar-chat .chat-list .chat-user .info-section .badge {
    font-size: 0.75rem;
    width: 20px;
    margin-top: 0.25rem;
}

.chat-application .app-chat .chat-content .media-image.online,
.chat-application .app-chat .chat-content .media-image.away,
.chat-application .app-chat .chat-content .media-image.offline {
    display: block;
    flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -moz-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.chat-application .app-chat .chat-content .media-image.online:after,
.chat-application .app-chat .chat-content .media-image.away:after,
.chat-application .app-chat .chat-content .media-image.offline:after {
    width: 12px;
    height: 12px;
    margin-top: -10px;
    content: "";
    border-radius: 50%;
    -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.chat-application .app-chat .chat-content .media-image.online.online:after,
.chat-application .app-chat .chat-content .media-image.away.online:after,
.chat-application .app-chat .chat-content .media-image.offline.online:after {
    background-color: #4caf50;
}

.chat-application .app-chat .chat-content .media-image.online.away:after,
.chat-application .app-chat .chat-content .media-image.away.away:after,
.chat-application .app-chat .chat-content .media-image.offline.away:after {
    background-color: #ff9800;
}

.chat-application .app-chat .chat-content .media-image.online.offline:after,
.chat-application .app-chat .chat-content .media-image.away.offline:after,
.chat-application .app-chat .chat-content .media-image.offline.offline:after {
    background-color: #f44336;
}

.chat-application .app-chat .chat-content .chat-content-area {
    width: 100%;
    /* margin-left: 7px; */
}

.chat-application .app-chat .chat-content .chat-content-area .chat-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    padding: 1rem;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #eee;
    /* border-left: 1px solid #eee; */
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 14px;
    /* border-left: 3px solid #c1c2c1; */
    min-height: 50px;
}

.chat-border-left {
    border-left: 1px solid #eee;
}

.chat-border-right {
    border-right: 1px solid #eee;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-header .media-image img {
    max-width: 49px;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-header .chat-text {
    font-size: 0.85rem;
    color: #616161;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-header .option-icon {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    /* width: 125px; */
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-header .option-icon i {
    cursor: pointer;
    color: #9e9e9e;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area {
    position: relative;
    overflow: auto;
    /* height: -webkit-calc(100% - 130px);
        height: -moz-calc(100% - 130px);
        height: calc(100% - 130px); */
    padding: 1rem;
    background: url("../img/chat-bg.jpg") repeat scroll 0 0;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats {
    padding: 0;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0.5rem 1rem;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-right {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -moz-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-right .chat-avatar {
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -moz-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-right .chat-body {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -moz-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    max-width: 75%;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-right .chat-body .chat-content {
    text-align: right;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-right .chat-body .chat-text {
    flex-direction: row-reverse;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
    -moz-box-orient: horizontal;
    -moz-box-direction: reverse;
    -ms-flex-direction: row-reverse;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-right .chat-body .chat-text p {
    color: black;
    background-color: #e1f5fe;
    font-size: 16px;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-right .chat-body .chat-text:first-child:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: 3px -5px;
    -moz-transform-origin: 3px -5px;
    -ms-transform-origin: 3px -5px;
    -o-transform-origin: 3px -5px;
    transform-origin: 3px -5px;
    border-top-color: #e1f5fe !important;
    border-right-color: #e1f5fe !important;
    border-bottom-color: transparent;
    border-left-color: transparent;
    -webkit-box-shadow: 2px -2px 4px -3px rgba(0, 0, 0, 0.4);
    box-shadow: 2px -2px 4px -3px rgba(0, 0, 0, 0.4);
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-right .chat-body .chat-text:not(:first-child) {
    margin-right: 2rem;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat .chat-avatar .avatar img {
    width: 40px;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat .chat-body {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -moz-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat .chat-body .chat-text {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0px 0rem 0.5rem;
    ;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat .chat-body .chat-text p {
    max-width: 100%;
    padding: 0.5rem 1rem;
    color: #757575;
    border-radius: 5px;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.14);
    box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.14);
}


/* .chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat .chat-body .chat-text:first-child:before {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 0;
        height: 0;
        margin-top: 10px;
        content: "";
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transform-origin: 12px 18px;
        -moz-transform-origin: 12px 18px;
        -ms-transform-origin: 12px 18px;
        -o-transform-origin: 12px 18px;
        transform-origin: 12px 18px;
        border: 7px solid transparent;
        border-bottom-color: #fff;
        border-left-color: #fff;
        -webkit-box-shadow: -2px 3px 4px -3px rgba(0, 0, 0, 0.4);
        box-shadow: -2px 3px 4px -3px rgba(0, 0, 0, 0.4);
    } */

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat .chat-body .chat-text:not(:first-child) {
    margin-left: 2rem;
}

.popup-chat {
    height: 100% !important;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-footer {
    padding: 0.5rem;
    width: 100%;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-footer .chat-input {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-footer .chat-input .message {
    margin-right: 1.5rem;
    padding: 0 1.5rem;
    color: #9e9e9e;
    border-bottom: 0;
    border-radius: 5px;
    background-color: #eceff1;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-footer .chat-input .message:focus {
    border-bottom: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-footer .chat-input .message::-webkit-input-placeholder {
    opacity: 1;
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #9e9e9e;
    /* Firefox */
}

.chat-application .app-chat .chat-content .chat-content-area .chat-footer .chat-input .message::-moz-placeholder {
    opacity: 1;
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #9e9e9e;
    /* Firefox */
}

.chat-application .app-chat .chat-content .chat-content-area .chat-footer .chat-input .message::placeholder {
    opacity: 1;
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #9e9e9e;
    /* Firefox */
}

.chat-application .app-chat .chat-content .chat-content-area .chat-footer .chat-input .message:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #9e9e9e;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-footer .chat-input .message::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #9e9e9e;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-footer .chat-input .send {
    height: 42px;
    padding: 0.3rem 3rem 0.3rem 3rem;
    border-radius: 0.25rem;
    overflow: visible;
}

.chat-application .app-chat .sidenav-trigger {
    position: absolute;
    top: 102px;
    display: none;
}

.page-header-dark .chat-application .chat-content-head .header-details .sidebar-title {
    color: #fff;
}

.page-header-dark .chat-application .chat-content-head .header-details .sidebar-title .app-header-icon {
    color: #fff;
}

.page-header-dark .chat-application .app-chat .sidenav-trigger i {
    color: #fff;
}


/*  */


/*  */

@media screen and (max-width: 899px) {
    .horizontal-layout .app-chat .sidebar .sidebar-content .sidebar-menu #sidebar-list {
        height: auto;
    }
}

@media only screen and (max-width: 992px) {
    .menu-logo {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .chat-application .app-sidebar {
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -o-transform: none !important;
        transform: none !important;
    }

    /* .sidenav-overlay
    {
        display: block !important;

        opacity: 0 !important;
    } */
}

@media (min-width: 900px) {
    .chat-application .app-sidebar {
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -o-transform: none !important;
        transform: none !important;
    }

    /* .sidenav-overlay
    {
        display: block !important;
        
        opacity: 0 !important;
    } */
}

@media (max-width: 900px) {
    .chat-application .app-sidebar {
        width: 330px;
        -webkit-transform: translateX(-105%);
        -moz-transform: translateX(-105%);
        -ms-transform: translateX(-105%);
        -o-transform: translateX(-105%);
        transform: translateX(-105%);
    }

    .chat-application .chat-content-head .header-details {
        margin-left: 3rem;
    }

    .chat-application .app-chat .sidenav-trigger {
        display: block !important;
    }

    .chat-application .app-chat .chat-content {
        display: inline-flex;
    }

    .chat-application .app-chat .chat-content .sidebar .sidebar-chat {
        height: 98%
    }

    .chat-application .app-chat .chat-content .sidebar #sidebar-list.sidebar-show {
        z-index: 996;
    }
}

@media (max-width: 600px) {
    .sidebar .sidebar-content .sidenav {
        top: 0px !important;
    }

    .chat-application .app-chat .sidenav-trigger {
        top: 93px;
    }
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) {
    .chat-application .app-chat .chat-content .sidebar {
        width: 365px;
    }
}

@media screen and (max-width: 540px) {
    .chat-application .app-chat .chat-content .chat-content-area .chat-footer .chat-input .send {
        padding-left: 1.8rem;
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat .chat-body :first-child.chat-text::before {
        content: none;
    }

    .chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat .chat-body :not(:first-child).chat-text {
        margin-left: 1rem;
    }

    .chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat-right.chat .chat-body :not(:first-child).chat-text {
        margin-right: 1rem;
    }
}

footer {
    bottom: 0;
    /* position: fixed; */
    left: 0;
    right: 0;
}

@media (max-width: 900px) {
    .card-default {
        width: 100%;
    }
}

@media (min-width: 760px) {
    .chat-content-area {
        display: block !important;
        width: 100%;
    }
}


/* 
@media (max-width: 760px) {
    .chat-content-area {
        display: none !important;
    }
    .chat-application .app-chat .chat-content .sidebar {
        width: calc(100vw - 40px);
    }
    .chat-application .app-sidebar {
        width: 100%;
    }
} */

.horizontal-menu.app-page #main .content-wrapper-before {
    top: 0px !important;
}

#main {
    transition: all 0s;
}

.chat-application .app-sidebar {
    top: 0px;
    box-shadow: none;
    width: 100%;
    overflow: visible;
}

.chat-text {
    word-break: break-word;
}

.time-message {
    font-size: 11px;
    color: #616161b8;
}

.fa-whatsapp {
    font-size: 14px;
    color: darkgreen;
}

.fa-facebook {
    font-size: 14px;
    color: #3a559f;
}

.fa-viber {
    font-size: 14px;
    color: #609;
}

.current-page {
    height: 100%;
    padding-top: 15px;
    padding-bottom: 60px;
}
.noScroll-page {
    height: 110%;
    padding-top: 0px;
    padding-bottom: 0px;
    margin: 0px
}
.cursor-pointer {
    cursor: pointer;
}

.users-options {
    position: absolute;
}

.users-options-icons {
    right: 10px;
    display: inline-flex;
}

.custom-user-image {
    top: 21px !important;
}

.p-right-10 {
    padding-right: 10px;
}

.container-fluid {
    padding-right: 15%;
    padding-left: 15%;
}

.user-truncate {
    width: calc(100% - 84px - 70px);
}

.z-index-0 {
    z-index: 0 !important;
}

.link {
    color: darkmagenta;
}

.swich-button {
    float: right;
    padding-top: 1vh;
}


/*-------------------------------------------------
  Dashboard common file for Analytics & eCommmerce
--------------------------------------------------*/

#revenue-chart span i.material-icons {
    position: relative;
    top: 5px;
}

#revenue-chart .yearly-revenue-chart {
    position: relative;
}

#revenue-chart .yearly-revenue-chart canvas {
    width: 100% !important;
    height: 350px !important;
}

#revenue-chart .yearly-revenue-chart canvas.firstShadow {
    position: absolute;
    top: 0;
    left: 0;
}

#weekly-earning h3.header {
    margin: 2.4rem 0 2.3rem 0;
}

#weekly-earning canvas {
    width: 100% !important;
    height: 110 !important;
    margin: 10px 0 10px -18px;
}

#weekly-earning .center-align p {
    margin-bottom: 1rem;
}


/*  */

.page-footer-index {
    z-index: 997;
}

.float-right {
    float: right !important;
    margin-left: 15px;
}

.float-left {
    float: left !important;
    margin-right: 10px;
}

.failMsg p {
    background: red !important;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-right .chat-body .chat-text.failMsg:first-child:before {
    background: red;
    border-top-color: red !important;
    border-right-color: red !important;
}

.chat {
    opacity: 1;
}

.chat.chat-animate.ng-enter.ng-enter-active,
.chat.chat-animate.ng-leave {
    opacity: 1;
    -webkit-transition: opacity 500ms linear;
    -moz-transition: opacity 500ms linear;
    transition: opacity 500ms linear;
}

.chat.chat-animate.ng-leave.ng-leave-active,
.chat.chat-animate.ng-enter {
    opacity: 0;
    -webkit-transition: opacity 500ms linear;
    -moz-transition: opacity 500ms linear;
    transition: opacity 500ms linear;
}

.chat-media {
    max-width: 400px;
    max-height: 250px;
}

.whatsapp-icon {
    color: #04f804;
}

.text-greenyellow {
    color: greenyellow;
}

.top-0 {
    top: 0 !important;
}

.brand {
    display: flex !important;
    align-items: center !important;
}

.menu-logo {
    height: 80px !important;
}


/* timeline */

* {
    box-sizing: border-box;
}


/* The actual timeline (the vertical ruler) */

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
}


/* The actual timeline (the vertical ruler) */

.timeline::after {
    content: "";
    position: absolute;
    width: 3px;
    background-color: white;
    top: 10px;
    bottom: 70px;
    left: 18px;
    margin-left: -3px;
}


/* Container around content */

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 100%;
}


/* The circles on the timeline */

.timeline-container::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    right: -17px;
    background-color: #7024a2;
    border: 1px solid #7024a2;
    top: 11px;
    border-radius: 50%;
    z-index: 1;
    font-family: "Material Icons";
    font-size: 25px;
    line-height: 1.9;
    padding-left: 7px;
}
.large-icon {
    font-size: 1000px;
}

.timeline-container.create::after {
    color: #f23f81;
    content: "create";
}

.timeline-container.comment::after {
    color: #fff;
    content: "comment";
    font-size: medium;
}

.timeline-container.chat::after {
    color: #609;
    content: "chat_bubble_outline";
}

.timeline-container.close::after {
    color: #2196f3;
    content: "close";
}

.timeline-container.attachement::after {
    color: #f36421;
    content: "attach_file";
}

.timeline-container.acquire::after {
    color: #47349f;
    content: "headset";
}

.timeline-container.leave::after {
    color: #f44336;
    content: "priority_high";
}


/* Place the container to the left */

.timeline-container .left {
    left: 0;
}


/* Place the container to the right */

.timeline .right {
    left: 10px;
    margin-left: 0;
}


/* Add arrows to the left container (pointing right) */

.timeline .left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}


/* Add arrows to the right container (pointing left) */

.timeline .right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 16px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}


/* Fix the circle for containers on the right side */

.timeline .right::after {
    left: -9px;
}


/* The actual content */

.timeline .content {
    padding: 1px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
}


/* Media queries - Responsive timeline on screens less than 600px wide */

@media screen and (max-width: 600px) {

    /* Place the timelime to the left */
    .timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .timeline-container::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .timeline .left::after,
    .right::after {
        left: 15px;
    }

    /* Make all right containers behave like the left ones */
    .timeline .right {
        left: 0%;
    }
}

.flex-row {
    display: flex;
    vertical-align: middle;
    align-items: center;
}

.d-inline-flex {
    display: inline-flex;
}

.overflow-visible {
    overflow: visible !important;
}

.break-word {
    word-break: break-word;
}

.loadingDv {
    position: fixed;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background-color: #000000a8;
    align-items: center;
    justify-content: center;
}

.imgLoader {
    max-height: 100%;
    z-index: 9999999;
    position: absolute;
    width: 300px;
}

.z-index-99 {
    z-index: 9999999;
}

.sad-sentiment {
    font-size: 20px;
    color: red;
}

.natural-sentiment {
    font-size: 20px;
    color: #aaa;
}

.happy-sentiment {
    font-size: 20px;
    color: green;
}

.menu-header {
    height: 140px !important;
}

.menu-header-contant {
    display: block !important;
    width: 260px;
    text-align: center;
}

.select-label {
    font-size: 13px;
    font-weight: 500;
    line-height: 32px;
    display: inline-block;
    height: 32px;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 0 12px;
    border-radius: 16px;
}

.option-btn {
    width: 20px;
}

.chip .closed {
    font-size: 16px;
    line-height: 32px;
    float: right;
    padding-left: 8px;
    cursor: pointer;
}

.font-less {
    font-size: 1.5em;
}

.toast {
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.5em;
    display: -moz-box;
    width: auto;
    max-width: 100%;
    height: auto;
    padding: 10px 25px;
    cursor: default;
    color: #fff;
    background-color: #f48fb1;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    z-index: 1051 !important;
}

#toast-container {
    position: fixed;
    z-index: 10000;
    display: block;
    top: auto;
    bottom: 10%;
    right: 10px;
}

.bell {
    display: block;
    width: 21px;
    height: 21px;
    font-size: 22px;
    -webkit-animation: ring 4s 0.7s ease-in-out infinite;
    -webkit-transform-origin: 50% 4px;
    -moz-animation: ring 4s 0.7s ease-in-out infinite;
    -moz-transform-origin: 50% 4px;
    animation: ring 12s 1s ease-in-out infinite;
    transform-origin: 50% 4px;
}

@-webkit-keyframes ring {
    0% {
        -webkit-transform: rotateZ(0);
    }

    1% {
        -webkit-transform: rotateZ(30deg);
    }

    3% {
        -webkit-transform: rotateZ(-28deg);
    }

    5% {
        -webkit-transform: rotateZ(34deg);
    }

    7% {
        -webkit-transform: rotateZ(-32deg);
    }

    9% {
        -webkit-transform: rotateZ(30deg);
    }

    11% {
        -webkit-transform: rotateZ(-28deg);
    }

    13% {
        -webkit-transform: rotateZ(26deg);
    }

    15% {
        -webkit-transform: rotateZ(-24deg);
    }

    17% {
        -webkit-transform: rotateZ(22deg);
    }

    19% {
        -webkit-transform: rotateZ(-20deg);
    }

    21% {
        -webkit-transform: rotateZ(18deg);
    }

    23% {
        -webkit-transform: rotateZ(-16deg);
    }

    25% {
        -webkit-transform: rotateZ(14deg);
    }

    27% {
        -webkit-transform: rotateZ(-12deg);
    }

    29% {
        -webkit-transform: rotateZ(10deg);
    }

    31% {
        -webkit-transform: rotateZ(-8deg);
    }

    33% {
        -webkit-transform: rotateZ(6deg);
    }

    35% {
        -webkit-transform: rotateZ(-4deg);
    }

    37% {
        -webkit-transform: rotateZ(2deg);
    }

    39% {
        -webkit-transform: rotateZ(-1deg);
    }

    41% {
        -webkit-transform: rotateZ(1deg);
    }

    43% {
        -webkit-transform: rotateZ(0);
    }

    100% {
        -webkit-transform: rotateZ(0);
    }
}

@-moz-keyframes ring {
    0% {
        -moz-transform: rotate(0);
    }

    1% {
        -moz-transform: rotate(30deg);
    }

    3% {
        -moz-transform: rotate(-28deg);
    }

    5% {
        -moz-transform: rotate(34deg);
    }

    7% {
        -moz-transform: rotate(-32deg);
    }

    9% {
        -moz-transform: rotate(30deg);
    }

    11% {
        -moz-transform: rotate(-28deg);
    }

    13% {
        -moz-transform: rotate(26deg);
    }

    15% {
        -moz-transform: rotate(-24deg);
    }

    17% {
        -moz-transform: rotate(22deg);
    }

    19% {
        -moz-transform: rotate(-20deg);
    }

    21% {
        -moz-transform: rotate(18deg);
    }

    23% {
        -moz-transform: rotate(-16deg);
    }

    25% {
        -moz-transform: rotate(14deg);
    }

    27% {
        -moz-transform: rotate(-12deg);
    }

    29% {
        -moz-transform: rotate(10deg);
    }

    31% {
        -moz-transform: rotate(-8deg);
    }

    33% {
        -moz-transform: rotate(6deg);
    }

    35% {
        -moz-transform: rotate(-4deg);
    }

    37% {
        -moz-transform: rotate(2deg);
    }

    39% {
        -moz-transform: rotate(-1deg);
    }

    41% {
        -moz-transform: rotate(1deg);
    }

    43% {
        -moz-transform: rotate(0);
    }

    100% {
        -moz-transform: rotate(0);
    }
}

@keyframes ring {
    0% {
        transform: rotate(0);
    }

    1% {
        transform: rotate(30deg);
    }

    3% {
        transform: rotate(-28deg);
    }

    5% {
        transform: rotate(34deg);
    }

    7% {
        transform: rotate(-32deg);
    }

    9% {
        transform: rotate(30deg);
    }

    11% {
        transform: rotate(-28deg);
    }

    13% {
        transform: rotate(26deg);
    }

    15% {
        transform: rotate(-24deg);
    }

    17% {
        transform: rotate(22deg);
    }

    19% {
        transform: rotate(-20deg);
    }

    21% {
        transform: rotate(18deg);
    }

    23% {
        transform: rotate(-16deg);
    }

    25% {
        transform: rotate(14deg);
    }

    27% {
        transform: rotate(-12deg);
    }

    29% {
        transform: rotate(10deg);
    }

    31% {
        transform: rotate(-8deg);
    }

    33% {
        transform: rotate(6deg);
    }

    35% {
        transform: rotate(-4deg);
    }

    37% {
        transform: rotate(2deg);
    }

    39% {
        transform: rotate(-1deg);
    }

    41% {
        transform: rotate(1deg);
    }

    43% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(0);
    }
}

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

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

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

#ml-16 {
    margin-left: -16px !important;
}

.height-2rem {
    height: 2rem !important;
}

.height-100 {
    height: 100%;
}

.nofication {
    position: absolute;
    left: 0;
    top: 50%;
    bottom: 50%;
}

.nofication-td {
    position: relative;
}

.default-icon {
    color: #6b6f82;
    font-size: 20px;
}

.whatsapp-active {
    color: darkgreen;
}

.angry-active {
    color: red;
}

.dizzy-active {
    color: orange;
}

.linkedin-active {
    color: #3a559f;
}

.messenger-active {
    color: #03a9f4;
}

.envelope-active {
    color: #3a559f;
}

.twitter-active {
    color: #03a9f4;
}

.instagram-active {
    color: #d62976;
}

.active-sms {
    color: #82c91e;
}

.viber-active {
    color: #609;
}

.facebook-active {
    color: #3a559f;
}

.grin-active {
    color: darkmagenta;
}

.hearts-active {
    color: green;
}

.beam-active {
    color: greenyellow;
}

.frown-active {
    color: yellow;
}

.orange-active {
    color: #FFC100;
}

.card.darken-1.center {
    overflow: visible;
    padding-bottom: 10px;
}

.text-code {
    height: auto;
}


/* start arabic */

.arabic {
    direction: rtl !important;
}

.arabic i.right,
.arabic .secondary-content,

/* .arabic span.badge, */

.arabic .chip .close,
.arabic .select-dropdown li img {
    float: left;
}

.arabic i.left,
.arabic .breadcrumb i,
.arabic .breadcrumb [class^="mdi-"],
.arabic .breadcrumb [class*="mdi-"],
.arabic .breadcrumb i.material-icons,
.arabic table.responsive-table thead,
.arabic .row .col,
.arabic span.badge,
.arabic nav .sidenav-trigger,
.arabic nav ul li,
.arabic nav ul.left,
.arabic .dropdown-content li>a>i,
.arabic .chip>img,
.arabic .file-field .btn,
.arabic .file-field .btn-large,
.arabic .file-field .btn-small,
.arabic .sidenav li>a>i,
.arabic .sidenav li>a>[class^="mdi-"],
.arabic .sidenav li>a li>a>[class*="mdi-"],
.arabic .sidenav li>a>i.material-icons {
    float: right !important;
}

.arabic #dropdown7 {
    margin: 120px !important;
}

.arabic .sidenav li>a>i.material-icons {
    margin: 0 10px 0 10px !important;
}

.arabic .sidenav-active-square.nav-collapsed li>a {
    /* margin-right: 5px !important; */
    /* margin-left: 15px; */
}

.arabic .sidenav-active-square.nav-collapsed li>a>i.material-icons {
    margin: 0 10px 0 20px !important;
}

.arabic .sidenav-active-square .sidenav .collapsible-header:after {
    right: 195px;
}

.arabic .sidenav-active-square .sidenav li>a.active {
    color: #fff;
    border-radius: 5px 0 0 5px;
}


/* .sidenav-active-square .sidenav li:not(.active)>a:hover {
        margin-right: 2px !important;
        margin-left: 15px !important;
        border-radius: 5px 0 0 5px;
    } */


/* checkboxes  */

.arabic [type='checkbox']+span:not(.lever) {
    /* float: right; */
    /* text-align: left; */
    padding-right: 35px;
}

.arabic [type='checkbox']+span:not(.lever):before,
[type='checkbox']:not(.filled-in)+span:not(.lever):after {
    float: right;
    text-align: left;
    right: 0;
}

.arabic [type='checkbox']:not(.filled-in)+span:not(.lever):after {
    text-align: left;
    float: right;
}

.arabic .caret {
    left: 0;
    right: auto
}


/* .arabic td, */


/* .arabic th, */

.arabic table.responsive-table th,
.arabic table.responsive-table td,
.arabic .left-align,
.arabic .fixed-action-btn.direction-right ul,
.arabic .dropdown-content li,
.arabic li {
    text-align: right;
}

.arabic table.responsive-table th,
.arabic .right-align .arabic .fixed-action-btn.direction-left ul,
.arabic .fixed-action-btn.direction-right ul,
.arabic .modal .modal-footer {
    text-align: left;
}

.arabic .sidenav-main {
    right: 0;
    left: auto;
}

.arabic .brand-logo {
    float: right !important;
}

.arabic .searchDiv {
    float: right !important;
    text-align: right;
}

.arabic #quickSearch {
    text-align: right !important;
}

.arabic .brand-logo {
    float: right !important;
}

.arabic .sidenav.sidenav-fixed {
    right: 0;
    left: auto;
    padding-right: 0;
}

@media only screen and (min-width: 993px) {
    .arabic #main {
        padding-right: 50px;
        padding-left: 0;
    }

    .searchDiv {
        margin-left: 0.7em;
    }
}

@media only screen and (min-width: 993px) {
    .arabic #main.main-full {
        padding-right: 64px;
        padding-left: 0;
    }
}

@media only screen and (min-width: 993px) {
    .arabic footer {
        padding-right: 50px;
        padding-left: 0;
    }
}

.arabic .navbar-list.right {
    float: left !important;
}

.arabic .navbar .nav-collapsed .header-search-wrapper {
    margin-right: 100px !important;
    margin-left: 0;
}

.arabic .header-search-wrapper {
    margin-right: 275px !important;
    margin-top: 0 !important;
    float: right;
    margin-left: 0;
}

.arabic .navbar .switch {
    float: right;
}

.arabic .switch label .lever:before {
    left: auto;
    right: 0;
}

.arabic .switch label .lever:after {
    left: auto !important;
    right: 0px !important;
}

.arabic .switch label input[type="checkbox"]:checked+.lever:before,
.arabic .switch label input[type="checkbox"]:checked+.lever:after {
    left: auto !important;
    right: 18px !important;
}

.arabic .menu-title {
    padding: 0 10px;
}

.arabic .left-button {
    float: left !important;
}

.arabic .chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat .chat-body .chat-text:first-child:before {
    display: none;
}

.arabic .users-options-icons {
    left: 10px !important;
    display: inline-flex;
    right: auto;
}

.align-left {
    float: left !important;
}

.align-right {
    float: left !important;
}

.arabic .annotaion-right {
    text-align: right;
    padding-right: 35px;
}

.arabic ul {
    padding-right: 0;
}

.arabic #color {
    float: left !important;
    margin-left: 250px !important;
}

.arabic .fixed-action-btn.direction-left ul,
.fixed-action-btn.direction-right ul {
    top: 50%;
    right: auto;
    left: 115px;
    height: 100%;
    width: unset;
    transform: translateY(-50%);
}


/* timeline arabic */

.arabic .timeline::after {
    content: "";
    position: absolute;
    width: 6px;
    background-color: white;
    top: 10px;
    bottom: 70px;
    right: 18px;
    margin-right: -3px;
}

.arabic .timeline .right::before {
    right: 30px;
}

.arabic .timeline .right {
    right: 18px;
    margin-right: 0;
}

.arabic .timeline .right::after {
    right: -16px;
}

.arabic .timeline-container::after {
    padding-right: 8px;
}

.arabic .timeline .right::before {
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.arabic .right {
    float: left !important;
}

.arabic .float-right.right {
    float: left !important;
}

.arabic .ml-1 {
    margin-right: 1% !important;
}

.arabic .ml-2 {
    margin-right: 2% !important;
}

.arabic .arabic-padding-5 {
    padding-right: 5% !important;
}

.arabic .arabic-d-none {
    display: none;
}

.arabic .arabic-left {
    float: left !important;
}

.arabic .ml-auto {
    margin-right: auto !important;
    margin-left: 15px !important;
}

.arabic .collapsible-header i {
    margin-left: 1rem !important;
}


/* .arabic .float-right {
    float: left !important;
} */


/* end timeline arabic */


/* end arabic */

.page-insights {
    margin-bottom: 51px;
}

.page-insights td,
.page-insights th {
    text-align: center;
}

.page-insights .custom-pie-chart {
    height: 250px;
}

.page-insights .custom-pie-chart .apexcharts-canvas {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.apexcharts-legend.position-bottom.left,
.apexcharts-legend.position-top.left,
.apexcharts-legend.position-right,
.apexcharts-legend.position-left {
    justify-content: center;
    text-align: initial;
}

.light-black-text {
    color: #373d3f;
}

.err-msgs {
    padding-left: 45px;
    padding-right: 45px;
}

.dropdown-content {
    border-radius: 10px;
}

.select-dropdown {
    top: 0 !important;
}

.scroll-card {
    height: 12rem;
    overflow: auto;
}

.fixed-possition {
    justify-content: center;
    display: flex;
}

.date-range {
    background: #fff;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid #ccc;
    width: 100%;
}

.daterangepicker .ranges li.active {
    background-color: #e91e63 !important;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: #e91e63 !important;
}

.daterangepicker td.in-range {
    background-color: #e91e634a !important;
}

.flipped-transform-front {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.flip-container {
    display: block;
    margin: 0 auto;
    height: 24em;
}

.flipToFront {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.flipToBack {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.flipper {
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    -o-perspective: 1000;
    perspective: 1000;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    -ms-transition: 0.4s;
    transition: 0.4s;
    width: 100%;
    height: 100%;
    position: relative;
}

.flip-container,
.front,
.back {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    text-align: center;
    color: #333333;
}

.front,
.back {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;
    width: 100%;
    height: 100%;
}

.front {
    text-align: center;
    z-index: 2;
    background-color: #fefefe;
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 0.5em solid #fefefe;
}

.front img {
    width: 100%;
    margin: 0 auto;
    height: auto;
    -webkit-border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;
}

.back {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
    background-position: center;
    background-repeat: repeat;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /* border: 1em solid #FEFEFE; */
}

.ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.ellipsis:hover {
    overflow: visible;
    white-space: normal;
    transition: all 0.4s ease-in-out;
    word-break: break-all;
}

.width-15 {
    width: 15% !important;
}

.fa-1x {
    font-size: 1em;
    padding-top: 3px;
    padding-left: 5px;
    padding-right: 3px;
}

[type="checkbox"].filled-in:not(:checked)+span:not(.lever):after {
    margin-top: 10px;
}

[type="checkbox"].filled-in+span:not(.lever):before,
[type="checkbox"].filled-in+span:not(.lever):after {
    margin-top: 10px;
}

[type="checkbox"].filled-in:checked+span:not(.lever):before {
    top: 2px !important;
}

.d-flex {
    display: flex;
}

.d-flex-center {
    display: flex;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
}

.d-block {
    display: block;
}

.ml-auto {
    margin-left: auto;
}

.m-05rm {
    margin: 0.5rem;
}

.fixed-width {
    overflow-x: auto !important;
}


/* select:focus {
  outline: 1px solid #bdbdbd !important;
} */

.width-20ch {
    width: 20ch;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #3949ab;
    margin: auto;
}
.width-30ch {
    padding: 0px 10px 0px 10px;
    width: 30ch;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: auto;
}
.table-wrapper {
    overflow: auto; /* Enable scrolling */
    scrollbar-width: thin;
    overflow-x: visible;
    overflow-y: hidden;
    white-space: nowrap;
}

/* Apply sticky positioning to the fixed column */
.sticky-column {
    position: sticky;
    left: -17px;
    z-index: 2;
}
/* Apply matching background to sticky column for striped effect */
table.striped tbody tr:nth-child(odd) .sticky-column {
    background-color: #f2f2f2;
}

table.striped tbody tr:nth-child(even) .sticky-column {
    background-color: #fff;
}


.line-height-0 {
    line-height: 0;
}

.line-height-1 {
    line-height: 1;
}

.line-height-2 {
    line-height: 2;
}

.line-height-4 {
    line-height: 4;
}

.position-relative {
    position: relative !important;
}

.r-0 {
    right: 0;
}

.r-30 {
    right: 30px;
}

.l-0 {
    left: 5px;
}

.custom-chip {
    height: 26px;
    line-height: 26px;
    display: flex;
}

.custom-chip .closed {
    line-height: 26px;
}

.chat-header .row.valign-wrapper {
    align-items: center;
    vertical-align: middle;
    width: 100%;
}

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

.text-left {
    text-align: left !important;
}

.flex-wrap {
    flex-wrap: wrap;
}

.w-auto {
    width: auto !important;
}

.chat-application .app-chat .chat-content .chat-content-area {
    display: block !important;
}

.chat-application .app-chat .chat-content {
    display: flex;
}

.h-auto {
    height: auto !important;
}

.custom-margin {
    margin-bottom: 60px !important;
}

.small-chip {
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    padding: 0 10px;
}

.dropdown-chat {
    min-height: 40px;
    min-width: 40px !important;
    line-height: 40px;
}

.multiple-select-dropdown {
    max-height: 200px !important;
    overflow: auto;
}

span.spnNoData {
    font-size: 13px;
    color: #757575;
}

.searchDiv {
    height: 100%;
    min-width: 13vw;
}

@media only screen and (max-width: 992px) {
    .navbar .header-search-wrapper {
        margin-left: 75px;
        width: auto;
    }

    .searchDiv {
        margin-left: 0.8em;
    }
}

.arabic #list-conv {
    direction: ltr !important;
}

.arabic #ss {
    direction: ltr !important;
}

.dropdown-content-up {
    bottom: 64px !important;
    top: auto !important;
}

.gallery-cell {
    width: 28%;
    margin-right: 10px;
}

.gallery-cell.is-selected {
    transform: scale(1.2);
    z-index: 9999;
}

.carousel {
    height: 505px !important;
}

.carousel .carousel-item {
    width: 400px !important;
    top: 0;
    height: 100%;
}

.carousel .card {
    overflow: visible;
}


/* carousel-item */

.carousel-item .btn-attachement-list {
    width: 20%;
    right: 0;
    left: auto;
    top: 93px !important;
}

.carousel .card-header .text-nowrap {
    overflow: hidden;
    max-width: 85%;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
}

.carousel .chip {
    line-height: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 6px;
}

.carousel .chip i {
    line-height: 20px;
}

.carousel .chat-content-area {
    height: 33vh;
}

.carousel .chat-content-area .chat-area {
    height: 100% !important;
}

.carousel .chat-content {
    height: 100% !important;
}

.carousel .dropdown-chat {
    min-height: auto !important;
    line-height: unset !important;
}

.carousel-quick-reply {
    max-height: 35vh;
}

.edit-intent-btn-position {
    top: 18%;
    right: 2%;
}

.chip-close {
    font-size: 16px;
    line-height: 32px;
    float: right;
    padding-left: 8px;
    cursor: pointer;
}

.annotation-card {
    min-width: 25vw;
}

.annotation-card .card-content .chip {
    cursor: pointer;
}

#Summary .wedgit-container {
    display: flex;
    width: 100%;
    /* max-height: 50vh; */
}

#Summary .wedgit-container .wedgit-card {
    flex: 1;
    margin: 15px;
}

#procedures .wedgit-container {
    display: flex;
    width: 100%;
    max-height: 50vh;
}

#procedures .wedgit-container .wedgit-card {
    flex: 1;
    margin: 15px;
}

#Performance .wedgit-container {
    display: flex;
    width: 100%;
    max-height: 50vh;
}

#Performance .wedgit-container .wedgit-card {
    flex: 1;
    margin: 15px;
}

#Performance .card {
    overflow: visible;
}

@media (min-width: 600px) {
    #Performance .counters {
        display: flex;
    }
}

#Performance .counters h5 {
    font-size: 1.2rem;
}

#Performance .counters p {
    font-size: 0.8rem;
}

.mh-20 {
    max-height: 200px;
    overflow: auto !important;
}

.modal-annoations textarea {
    height: auto;
    overflow: auto;
}

.atricle-list-page.modal-annoations textarea {
    height: 43px;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat .chat-body .chat-text p {
    max-width: 450px;
}

.medium-large {
    font-size: 2.5rem;
}

.modal-xlarge {
    width: 90%;
    max-height: initial;
    height: 90% !important;
    top: 50% !important;
    bottom: 50%;
}

.truncate-td {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 1px;
}

.table-header {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .12), 0 1px 5px 0 rgba(0, 0, 0, .2);
}

select:focus {
    outline: none;
}

select.start-select ul.dropdown-content {
    max-height: 100px !important;
}

.system-color-text {
    color: #7422a2 !important;
}

.align-item-center {
    align-items: center !important;
}

.callArrow {
    position: relative;
    animation: mymove 1s infinite;
    animation-timing-function: ease;
}

.callArrow2 {
    position: relative;
    animation: mymove2 1s infinite;
    animation-timing-function: ease;
}

@keyframes mymove {
    from {
        left: 0px;
    }

    to {
        left: 30px;
    }
}


/* #div1 {animation-timing-function: linear;} */

.custom-tabs .tab a {
    color: #9E9E9E;
}

.custom-tabs .tab a.active {
    outline: none;
    background-color: rgba(114, 128, 206, .2);
    border-radius: 6px 6px 0px 0px;
    color: #f8f8f8;
}

.custom-tabs .tab a:hover {
    color: #f8f8f8;
}

.table.striped th {
    border-bottom: 1px solid #cfd8dc;
}

.task-cat {
    font-size: .8rem;
    padding: 2px 4px;
    border-radius: 2px;
    background-clip: padding-box;
    font-weight: 300;
    color: #fff;
}

.validation-msg {
    font-size: 0.8em;
}

.rotateY-180 {
    transform: rotateY(180deg);
}

@keyframes mymove2 {
    from {
        left: -30px;
    }

    to {
        left: 0px;
    }
}

td i {
    vertical-align: middle;
}

@keyframes active-error {
    0% {
        box-shadow: inset 0px 0px 7px 0px rgba(233, 30, 99, 0.5);
    }

    50% {
        box-shadow: inset 0px 0px 1px 0px rgba(233, 30, 99, 0.5);
    }

    100% {
        box-shadow: inset 0px 0px 7px 0px rgba(233, 30, 99, 0.5);
    }
}

@-webkit-keyframes active-error {
    0% {
        box-shadow: inset 0px 0px 7px 0px rgba(233, 30, 99, 0.5);
    }

    50% {
        box-shadow: inset 0px 0px 1px 0px rgba(233, 30, 99, 0.5);
    }

    100% {
        box-shadow: inset 0px 0px 7px 0px rgba(233, 30, 99, 0.5);
    }
}

.active-error {
    -webkit-animation: active-error 2.0s ease-in-out infinite !important;
    -moz-animation: active-error 2.0s ease-in-out infinite !important;
    -ms-animation: active-error 2.0s ease-in-out infinite !important;
    -o-animation: active-error 2.0s ease-in-out infinite !important;
    animation: active-error 2.0s ease-in-out infinite !important;
}

.active-shadow {
    box-shadow: inset 0px 0px 0px 2px #7a1fa23d;
    /* box-shadow: inset 0px 0px 2px 1px #dad9d9; */
}

@keyframes active-shadow {
    0% {
        box-shadow: inset 0px 0px 7px 0px #7a1fa28a;
    }

    50% {
        box-shadow: none;
    }

    100% {
        box-shadow: inset 0px 0px 7px 0px #7a1fa28a;
    }
}

@-webkit-keyframes active-shadow {
    0% {
        box-shadow: inset 0px 0px 7px 0px #7a1fa28a;
    }

    50% {
        box-shadow: 0 0 0;
    }

    100% {
        box-shadow: inset 0px 0px 7px 0px #7a1fa28a;
    }
}

.chat-animate.active-shadow {
    -webkit-animation: active-shadow 2.0s ease-in-out infinite !important;
    -moz-animation: active-shadow 2.0s ease-in-out infinite !important;
    -ms-animation: active-shadow 2.0s ease-in-out infinite !important;
    -o-animation: active-shadow 2.0s ease-in-out infinite !important;
    animation: active-shadow 2.0s ease-in-out infinite !important;
}

.text-bolder {
    -webkit-text-stroke: medium;
}

.dark-grey-text {
    color: #6d7184 !important;
}

.dark-text {
    color: #000 !important;
}

.collapsible .chip-alignement {
    min-width: 5rem;
    text-align: center;
}

.pt-less-2 {
    padding-top: 1.90% !important;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .14);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .12);
    outline: 1px solid transparent;
    border-radius: 8px;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-footer .chat-input i {
    line-height: 2;
}

.border-right-1 {
    border-right: 1px solid #e6e6e6;
}

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

[scroll-glue-top],
[scroll-glue-bottom],
[scroll-glue] {
    height: calc(100vh - 220px);
    /* 100vh - 273px */
    overflow-y: scroll;
}


/* .select-wrapper input.select-dropdown {
    margin: 0;
} */

.overflow-x-scroll {
    overflow-x: scroll;
}

.overflow-y-scroll {
    overflow-y: scroll;
}

/* ---------------------------------------------------
  pagination
----------------------------------------------------- */

.pagination .imgDisabled {
    opacity: .5;
}

.pagination .notshow {
    display: none;
}

pre {
    white-space: break-spaces;
}

.border-top-1 {
    border-top: 1px solid #dadada;
}

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

.fixed-height-chart {
    height: 150px;
}

.rounded-10 {
    border-radius: 10px;
}

.sidebar-small {
    width: 330px !important;
}

.card-contact-info {
    /* display: flex; */
    height: 71vh;
    height: 85vh;
}

.overflow-scroll {
    overflow: scroll;
}

.border-bottom-2 {
    border-bottom: 1px solid rgb(151, 147, 147);
}

.shadow-bottom {
    box-shadow: 0 8px 6px -6px #cecece;
}

.ellipsis,
.ellipsis:hover {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ellipsis-div {
    width: 99%;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-width: 5px 5px 0 5px;
    margin-left: -4px;
}

.select2-container--default .select2-selection--single {
    background-color: transparent;
}

.rounded-button,
.rounded-button:hover {
    border-radius: 50px 50px;
    box-shadow: none;
    background-color: #3e18634f;
}

.custom-ul {
    top: 50px !important;
    border-radius: 10px !important;
}

.custom-ul li {
    white-space: nowrap !important;
    display: inline !important;
}

.disabled {
    pointer-events: none !important;
    cursor: no-drop !important;
    opacity: 0.6;
}

.light-black {
    color: rgb(55, 61, 63);
}

.small-badge-font {
    font-size: 0.75rem !important;
}

.chat-user-msg,
.chat-system-msg {
    text-align: center;
}

.chat-ai-assistant {
    text-align: center;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-user-msg,
.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-system-msg {
    justify-content: center;
    position: relative;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-ai-assistant {
    justify-content: center;
    position: relative;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-user-msg .channel-dv,
.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-system-msg .channel-dv {
    position: absolute;
    top: 10px;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-ai-assistant .channel-dv {
    position: absolute;
    top: 10px;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-user-msg .chat-text-dv,
.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-system-msg .chat-text-dv {
    margin-left: 25px;
    margin-right: 25px;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-ai-assistant .chat-text-dv {
    margin-left: 25px;
    margin-right: 25px;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-user-msg .chat-body,
.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-system-msg .chat-body {
    max-width: 90%;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-ai-assistant .chat-body {
    max-width: 90%;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-user-msg .chat-body .chat-text {
    position: relative;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-user-msg .chat-body .chat-text .delete-note {
    transform: none !important;
    position: absolute;
    right: 0px;
    top: 0px;
    cursor: pointer;
    width: 25px;
    height: 25px;
    background: #fff5c4f2;
    border-radius: 5px;
    opacity: 0;
    transition: all .2s ease-in-out;
    font-family: "Material Icons";
    color: #616161f2;
    content: "clear";
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-user-msg .chat-body .chat-text:hover .delete-note {
    opacity: 1;
    transition: all .2s ease-in-out;
}

.delete-note i {
    font-size: 20px;
    line-height: 25px;
}

.delete-msg {
    margin-left: -7px;
    opacity: 0;
}

.dismiss {
    top: 0;
    right: 0;
}

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

.chat-body .chat-text:hover .delete-msg {
    opacity: 1;
    transition: all .2s ease-in-out;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-user-msg .chat-body .chat-text:first-child:before,
.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-system-msg .chat-body .chat-text:first-child:before {
    border: none !important;
    box-shadow: none !important
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-ai-assistant .chat-body .chat-text:first-child:before {
    border: none !important;
    box-shadow: none !important
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-user-msg .chat-body .chat-text p,
.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-system-msg .chat-body .chat-text p {
    background: #fff5c4f2;
    color: #504e4e;
    max-width: 100%;
    width: 100%;
    font-size: 12.5px;
    padding: 1.5% !important;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-ai-assistant .chat-body .chat-text p {
    background: #fceefbf2;
    color: #131212;
    max-width: 100%;
    width: 100%;
    font-size: 12.5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.flagged-msg {
    border: #f44336 2px solid;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-system-msg .chat-body .chat-text p {
    background: #e1f5feeb;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-ai-assistant .chat-body .chat-text p {
    background: #f0ddeff2;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-user-msg .chat-body .chat-text p .time-message,
.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-system-msg .chat-body .chat-text p .time-message {
    text-align: center !important;
    color: #616161b8 !important;
}

.chat-application .app-chat .chat-content .chat-content-area .chat-area .chats .chat.chat-ai-assistant .chat-body .chat-text p .time-message {
    text-align: right !important;
    color: #292727b8 !important;
}

.font-bold {
    font-weight: bold !important;
}

.uniNum-font {
    font-family: cursive !important;
}

.user-content i {
    display: inline-flex !important;
    vertical-align: top !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin-right: 5px;
}

.secondary-content {
    color: #ff4081 !important;
    top: 1.2rem !important;
}

.offline {
    color: #ef5350;
}

.online {
    color: #69f0ae;
}

.collection .collection-item.avatar {
    min-height: 55px !important;
}

#messages .collection ul.collection li {
    padding-top: 10px !important;
}

#messages .collection ul.collection li:hover {
    background-color: #ffffff !important;
}

.special-span {
    font-size: 10px;
    text-align: right;
    font-weight: 700;
    color: black;
    clear: both;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    bottom: 10px;
    right: 6px;
    width: 35%;
    text-overflow: ellipsis;
}

.special-label {
    width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-button {
    margin-right: 10px;
    margin-left: 10px;
    text-align: center;
}

.is-ready-status {
    position: absolute;
    right: 50px;
    font-size: 21px;
    top: 1.2rem !important;
}

.d-inline {
    display: inline !important;
}

.customeFieldCard {
    display: block;
    width: 275px;
    left: 76%;
    height: 267.118px;
    transform-origin: 0px 0px;
    opacity: 1;
    transform: scaleX(1) scaleY(1);
    border-radius: 10px;
    position: absolute;
    z-index: 9999;
    overflow-y: auto;
    min-width: 100px;
    margin: 0;
    background-color: #fff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .12), 0 1px 5px 0 rgba(0, 0, 0, .2);
    box-sizing: border-box;
}

.customeFieldCard.arabic {
    right: 70%;
    top: 10%;
}

.chat-customeFieldCard {
    display: block;
    width: 275px;
    left: 5%;
    height: 267.118px;
    transform-origin: 0px 0px;
    opacity: 1;
    transform: scaleX(1) scaleY(1);
    border-radius: 10px;
    position: absolute;
    z-index: 9999;
    overflow-y: auto;
    min-width: 100px;
    margin: 0;
    background-color: #fff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .12), 0 1px 5px 0 rgba(0, 0, 0, .2);
    box-sizing: border-box;
}

.page-procedure hr,
.decorate-hr {
    border-top: 1px dashed #E91E63;
    color: #E91E63;
    margin-bottom: 20px;
    margin-top: 30px;
}

.page-procedure textarea.custom {
    height: 80px;
    max-height: 80px;
    overflow: auto;
}

.message-box {
    word-wrap: break-word;
    /* Allow words to wrap naturally */
    white-space: normal;
    margin-right: 70px;
    /* Adjust to leave space for the time */
}

.btn-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.template_body_style {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
    white-space: pre-wrap;
}

.page-procedure .btn-floating i {
    line-height: 40px !important;
}

@media only screen and (min-width: 993px) {
    .row .col.l2-5 {
        right: auto;
        left: auto;
        width: 20%;
        margin-left: auto;
    }
}

.padding-less-2 {
    padding: 1.5% !important;
}

.textarea-height {
    max-height: 40vh;
    min-height: 3rem;
    overflow: auto !important;
}

.pt-17 {
    padding-top: 17% !important;
}

.alarm {
    color: #ffc107;
    width: 21px;
    height: 21px;
    font-size: 22px;
    -webkit-animation: ring 4s 0.7s ease-in-out infinite;
    -webkit-transform-origin: 50% 4px;
    -moz-animation: ring 4s 0.7s ease-in-out infinite;
    -moz-transform-origin: 50% 4px;
    animation: ring 12s 1s ease-in-out infinite;
    transform-origin: 50% 4px;
}
.ticket-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ticket-duration-alert {
    color: #f44336;
    animation: ticket-duration-pulse 1.4s ease-in-out infinite;
}

@keyframes ticket-duration-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.2);
    }
}

@-webkit-keyframes ring {
    0% {
        -webkit-transform: rotateZ(0);
    }

    1% {
        -webkit-transform: rotateZ(30deg);
    }

    3% {
        -webkit-transform: rotateZ(-28deg);
    }

    5% {
        -webkit-transform: rotateZ(34deg);
    }

    7% {
        -webkit-transform: rotateZ(-32deg);
    }

    9% {
        -webkit-transform: rotateZ(30deg);
    }

    11% {
        -webkit-transform: rotateZ(-28deg);
    }

    13% {
        -webkit-transform: rotateZ(26deg);
    }

    15% {
        -webkit-transform: rotateZ(-24deg);
    }

    17% {
        -webkit-transform: rotateZ(22deg);
    }

    19% {
        -webkit-transform: rotateZ(-20deg);
    }

    21% {
        -webkit-transform: rotateZ(18deg);
    }

    23% {
        -webkit-transform: rotateZ(-16deg);
    }

    25% {
        -webkit-transform: rotateZ(14deg);
    }

    27% {
        -webkit-transform: rotateZ(-12deg);
    }

    29% {
        -webkit-transform: rotateZ(10deg);
    }

    31% {
        -webkit-transform: rotateZ(-8deg);
    }

    33% {
        -webkit-transform: rotateZ(6deg);
    }

    35% {
        -webkit-transform: rotateZ(-4deg);
    }

    37% {
        -webkit-transform: rotateZ(2deg);
    }

    39% {
        -webkit-transform: rotateZ(-1deg);
    }

    41% {
        -webkit-transform: rotateZ(1deg);
    }

    43% {
        -webkit-transform: rotateZ(0);
    }

    100% {
        -webkit-transform: rotateZ(0);
    }
}

@-moz-keyframes ring {
    0% {
        -moz-transform: rotate(0);
    }

    1% {
        -moz-transform: rotate(30deg);
    }

    3% {
        -moz-transform: rotate(-28deg);
    }

    5% {
        -moz-transform: rotate(34deg);
    }

    7% {
        -moz-transform: rotate(-32deg);
    }

    9% {
        -moz-transform: rotate(30deg);
    }

    11% {
        -moz-transform: rotate(-28deg);
    }

    13% {
        -moz-transform: rotate(26deg);
    }

    15% {
        -moz-transform: rotate(-24deg);
    }

    17% {
        -moz-transform: rotate(22deg);
    }

    19% {
        -moz-transform: rotate(-20deg);
    }

    21% {
        -moz-transform: rotate(18deg);
    }

    23% {
        -moz-transform: rotate(-16deg);
    }

    25% {
        -moz-transform: rotate(14deg);
    }

    27% {
        -moz-transform: rotate(-12deg);
    }

    29% {
        -moz-transform: rotate(10deg);
    }

    31% {
        -moz-transform: rotate(-8deg);
    }

    33% {
        -moz-transform: rotate(6deg);
    }

    35% {
        -moz-transform: rotate(-4deg);
    }

    37% {
        -moz-transform: rotate(2deg);
    }

    39% {
        -moz-transform: rotate(-1deg);
    }

    41% {
        -moz-transform: rotate(1deg);
    }

    43% {
        -moz-transform: rotate(0);
    }

    100% {
        -moz-transform: rotate(0);
    }
}

@keyframes ring {
    0% {
        transform: rotate(0);
    }

    1% {
        transform: rotate(30deg);
    }

    3% {
        transform: rotate(-28deg);
    }

    5% {
        transform: rotate(34deg);
    }

    7% {
        transform: rotate(-32deg);
    }

    9% {
        transform: rotate(30deg);
    }

    11% {
        transform: rotate(-28deg);
    }

    13% {
        transform: rotate(26deg);
    }

    15% {
        transform: rotate(-24deg);
    }

    17% {
        transform: rotate(22deg);
    }

    19% {
        transform: rotate(-20deg);
    }

    21% {
        transform: rotate(18deg);
    }

    23% {
        transform: rotate(-16deg);
    }

    25% {
        transform: rotate(14deg);
    }

    27% {
        transform: rotate(-12deg);
    }

    29% {
        transform: rotate(10deg);
    }

    31% {
        transform: rotate(-8deg);
    }

    33% {
        transform: rotate(6deg);
    }

    35% {
        transform: rotate(-4deg);
    }

    37% {
        transform: rotate(2deg);
    }

    39% {
        transform: rotate(-1deg);
    }

    41% {
        transform: rotate(1deg);
    }

    43% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(0);
    }
}

.angerAlarm {
    color: #ef5350;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    animation-name: shake;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes shake {

    2%,
    18% {
        transform: translate3d(-5px, 0, 0);
    }

    4%,
    16% {
        transform: translate3d(5px, 0, 0);
    }

    6%,
    10%,
    14% {
        transform: translate3d(-5px, 0, 0);
    }

    8%,
    12% {
        transform: translate3d(5px, 0, 0);
    }

    18.1% {
        transform: translate3d(0px, 0, 0);
    }
}

.info-dev span {
    font-size: 0.6rem;
}

.active-shadow .info-dev {
    font-weight: bold;
    font-weight: 900;
    color: #383737;
}

.sticky {
    background-color: transparent;
    position: sticky !important;
    top: 0;
    z-index: 999 !important;
}

.sticky p {
    box-shadow: none !important;
    /* border: 1px solid #ddd; */
}

.monospace {
    font-family: monospace;
    font-size: x-small;
    padding: 0px 8px;
}

.chat-icons-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* justify-content: space-between; */
    justify-content: flex-start;
}

.closed-text {
    /* color: gold !important; */
    color: #607D8B !important;
}

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

.font-status {
    font-size: 0.80rem;
    padding: 4px 6px !important;
}

.small-icon {
    font-size: 1.6rem !important;
}

.split-btn {
    display: flex;
    /* justify-content: center; */
}

.split-btn .btn {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.split-btn .dropdown-trigger.btn {
    padding: 0 2px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

@media only screen and (max-width: 992px) {
    .sidenav-main .sidenav {
        width: auto;
    }
}

.pt-per-4 {
    padding-top: 4% !important;
}

.chip .closed.closed-small {
    font-size: 14px;
    line-height: 20px;
    float: right;
    padding-left: 8px;
    cursor: pointer;
    margin-right: -5px;
}

.rounded-5 {
    border-radius: 5px;
}

.chip {
    border-radius: 5px;
}

@media only screen and (max-width: 992px) {

    .nav-expanded .sidenav.sidenav-fixed,
    .nav-lock .sidenav.sidenav-fixed {
        height: 100vh;
        /* scroll-behavior: smooth; */
    }

    .arabic .nav-expanded .sidenav.sidenav-fixed,
    .arabic .nav-lock .sidenav.sidenav-fixed {
        height: 100vh;
        transform: translateX(105%) !important;
        /* scroll-behavior: smooth; */
    }

    .arabic .nav-expanded.slidedOut .sidenav.sidenav-fixed,
    .arabic .nav-lock.slidedOut .sidenav.sidenav-fixed {
        height: 100vh;
        transform: translateX(0%) !important;
        /* scroll-behavior: smooth; */
    }
}

.date-picker-wrapper {
    z-index: 999999 !important;
}

.delete-insights {
    position: absolute;
    right: 5px;
    top: 10px;
    z-index: 994;
}

.d-none {
    display: none !important;
}

.sentiment-icon-size {
    font-size: 1.1rem !important;
}

.tableContainer {
    overflow-x: auto;
}

.tableContainer table td,
.tableContainer table th {
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.9rem;
}

.tableContainer table th {
    text-transform: capitalize !important;
}

#customExport h6 {
    text-transform: capitalize !important;
}

h6.custom-insights {
    font-size: 0.9rem;
}

.lh4 {
    line-height: 4;
}

.default-color {
    color: #5d5e63;
}

.bolder {
    font-weight: bolder;
}

.fixed-button {
    display: flex;
    justify-content: flex-end;
}

#customExport {
    display: flex;
    flex-wrap: wrap;
}

.m20 {
    margin: 20px 0;
}

.bt-none {
    border-top: none !important;
}

.light-grey-bg {
    background-color: #eceff1 !important;
}

.min-h-50 {
    min-height: 50px;
}

.ph-1rm {
    padding-right: 1rem;
    padding-left: 1rem;
}

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

.msg-read {
    color: #1c01ff;
    padding-left: 3px;
    padding-right: 3px;
}

.dir-left {
    direction: ltr !important;
}

.pt-20 {
    padding-top: 20px !important;
}

.dir-right {
    direction: rtl !important;
}

.conv-check {
    position: absolute;
    display: flex;
    align-items: center;
    padding: 10px;
    transform: none !important;
    opacity: 0;
    transition: all 0s ease-in-out;
    content: "clear";
}

.conv-check.all {
    background-image: linear-gradient(to left, rgb(242 241 247 / 0.8), rgb(242 241 247));
    background: white;
    height: 100%;
    width: 75%;
    left: 5px;
    right: 5px;
    top: -3px;
}

.conv-check.one {
    bottom: 0;
    top: 0;
    left: 0;
    /* border-left: 3px solid #f094a6; */
    align-items: flex-end;
    /* background-image: linear-gradient(to left, rgb(242 241 247 / 0), rgb(233 232 238 / 0.7)); */
    opacity: 1 !important;
}

.chat-application .app-chat .sidebar-header .main-title:hover .conv-check.all,
.chat-application .app-chat .chat-user:hover .conv-check.one,
.show-check {
    opacity: 1 !important;
    transition: all 0s ease-in-out;
}

.arabic .conv-check.all {
    right: 12px !important;
    left: auto;
}

.arabic .conv-check.one {
    right: 15px !important;
    left: auto;
}

.user-history-page .card-width .card .card-content {
    height: 120px;
}

#slide-out-right.sidenav {
    width: 1000px !important;
}

#slide-out-right.sidenav .collection .collection-item.avatar {
    min-height: 40px !important;
}

#slide-out-right.sidenav .collection .collection-item.avatar .secondary-content,
#slide-out-right.sidenav .collection .collection-item.avatar .red-text,
#slide-out-right.sidenav .collection .collection-item.avatar .green-text {
    font-size: 14px;
    position: initial;
}

.cursor-default {
    cursor: default !important;
}

.list-loader {
    height: 80px !important;
    position: fixed;
    right: 0px;
    top: -15px;
}

.azure-bg-graph {
    background: azure;
    display: flex;
    justify-content: space-between;
}

.flex-table {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.flex-table .col {
    flex: 1;
    padding: 16px;
}

nav ul a:hover {
    background-color: transparent;
}

.select2-container--default .select2-selection--multiple {
    background-color: transparent;
}

.revisitingTxt {
    font-style: italic;
}

.chatArea-2 {
    overflow: hidden !important;
    transition: height 0.1s ease-out 0s;
}

.closeRevisiting {
    top: 4px;
    position: absolute;
}

.revisitingCol1 {
    margin-left: -28px !important;
    position: relative;
    top: -4px;
}

.revisitingCol2 {
    margin-left: 20px !important;
}

.revisitWidth {
    width: 280px !important;
}

.revisitingInfo {
    min-width: 300px;
    max-width: 350px;
    margin-right: 50px;
}

.col .row2 {
    /* margin-right: -.75rem; */
    margin-left: -.75rem;
    /* margin-right: -28px; */
}

.scroll-list {
    overflow-y: auto;
    height: 95vh;
    padding: 30px 0px;
}

.brightnessNotify {
    position: absolute;
    right: 74%;
    font-size: 21px;
}

.checkNotify {
    position: absolute;
    right: 74%;
}

.notificationsIcon {
    position: absolute;
    left: 19px;
    margin-right: 5px;
    font-size: 20px;
}

.unReadCountIcon {
    text-align: center;
    font-size: medium;
    width: max-content;
    margin-left: 15px;
    padding-left: 20px;
    height: 36%;
}

.note {
    background: #fff5c4f2 !important;
}

.closureNote {
    background: rgb(221, 156, 156) !important;
    color: white !important;

}

.closureNote span.time-message * {
    color: black !important;
}

.page-content-auto-scroll-83 {
    max-height: 83vh;
    overflow: auto;
}

.revisitingInfo {
    min-width: 300px;
    max-width: 350px;
    margin-right: 50px;
}

.white-space-normal {
    white-space: normal;
}

.fixed-alert-right {
    position: fixed;
    right: 10px;
    z-index: 999;
}

.text-red {
    color: #ff5252 !important;
}

.centeral-alert {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 20px;
    box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
    width: 38vw;
    margin: auto;
    position: fixed;
    left: 0;
    z-index: 99999;
    right: 0;
}

.floating-div {
    position: sticky;
    top: 10px;
    left: 10px;
    width: 175px;
    z-index: 99999 !important;
    opacity: 65%;
}

.floating-div:hover {
    opacity: 100%;
}

.floating-div a {
    margin-top: 10px !important;
    min-width: 175px !important;
}

.floating-div a.disabled {
    background-color: #ccc;
    opacity: 0.7;
}

.justify-text-left {
    text-align: justify;
    text-align-last: left;
}

.arabic .justify-text-left {
    text-align: justify;
    text-align-last: right;
}

.record-player-container audio::-webkit-media-controls-panel {
    padding: 0;
}

.record-player-container audio::-webkit-media-controls-timeline {
    padding: 0;
}

.record-player-container audio::-webkit-media-controls-enclosure {
    background: none;
}

.convesration-status>.green {
    background-color: #009688 !important;
}

.convesration-status>.red {
    background-color: #FF5252 !important;
}

/* #shift {
    height: 50% !important;
}

*/

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

.mh-100 {
    max-height: 100% !important;
}

.automation-tabs {
    display: flex !important;
    justify-content: space-between !important;
}

.edit-icon {
    cursor: pointer !important;
}

.overflow-y-hidden {
    overflow-x: hidden !important;
}

#searchBar {
    position: sticky;
    top: 0;
    background-color: #fff;
    padding: 0 14px;
    color: #FF4081 !important;
}

.textarea-proced {
    height: 0 !important;
    max-height: 0 !important;
}

.option-procedure {
    display: inline-block !important;
}

.mouse-click-pointer {
    cursor: pointer !important;
}

.mouse-click-pointer-img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50%;
}

/************************* Start Voice Note *******************************/
.recording-contorl-buttons-container {
    margin-right: auto;
    display: none;
    justify-content: space-between;
    align-items: center;
    transition: all 0.8s;
}

#chatInput {
    overflow-y: hidden !important;
    transition: all 0.8s;
    width: 100%;
}

#recordBtn {
    transition: all 0.4s;
    margin: 0 0.625rem !important;
    cursor: pointer;
}

.chat-input {
    overflow: hidden !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.chat-box-cont {
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-footer {
    margin-right: 0 !important;
    padding: 0 !important;
    padding-left: 0.625rem !important;
    padding-top: 0.625rem !important;
    padding-right: 0.625rem !important;
}

.chat-input i {
    font-size: 2.2rem !important;
}

.elapsed-time {
    font-size: 1.5rem !important;
}

.audio-element {
    margin-right: .625rem;
}

/************************* End Voice Note *******************************/
/************************* category page *******************************/
.category-page-height {
    /*52 pixel represents the toolbar heoght*/
    height: calc(100vh - 52px);
}

.category-page-list-wrapper {
    height: 100%;
}

/*always take 80% from the available height*/


.category-page-list-container-content {
    width: 100%;
}

/*container scroll style <smooth> */
.category-page-height ::-webkit-scrollbar {
    width: 4px;
    overflow-y: auto;
    background-color: transparent;
    display: none;
    /* box-shadow: inset 0 0 4px #707070; */
}



/*container scroll style <smooth> */
.category-page-height ::-webkit-scrollbar-thumb {
    background-color: #47349f;
    border-radius: 10px;
}

/************************* End category page *******************************/

/************************* Article pages *******************************/

.article-view-page-list-wrapper {
    min-height: calc(100vh - 152px);
    background-color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 0.8rem;
}

.article-view-page-list-wrapper img {
    border-radius: 0.4rem;
    box-shadow: 1px 6px 13px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 1px 6px 13px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 6px 13px 0px rgba(0, 0, 0, 0.75);
    transition: all 0.2s ease-in-out;
}

.article-view-page-list-wrapper img:hover {
    transform: scale(1.01);
    cursor: pointer;
}


/* 
[class^="mce"] {
    min-width: 300px !important;   
} */

.rich-content-wrapper {
    background-color: #fff;
    border-radius: 0.6rem;
    padding: 0.8rem;
}


.chips.invalid {
    border-bottom: 1px solid #f44336 !important;
    -webkit-box-shadow: 0 1px 0 0 #f44336 !important;
    box-shadow: 0 1px 0 0 #f44336 !important;
}

.chips.valid {
    border-bottom: 1px solid #26a69a !important;
    -webkit-box-shadow: 0 1px 0 0 #26a69a !important;
    box-shadow: 0 1px 0 0 #26a69a !important;
}

/************************* Article edit and create *******************************/
/*Warning don't remove this style, as it's fix for TinyMCE conflict with MaterializeCss*/
input.mce-textbox {
    width: auto;
    background: #fff;
    border: 1px solid #c5c5c5;
    display: inline-block;
    -webkit-transition: border linear .2s, box-shadow linear .2s;
    transition: border linear .2s, box-shadow linear .2s;
    height: 28px;
    resize: none;
    padding: 0 4px 0 4px;
    white-space: pre-wrap;
    white-space: pre;
    color: #333;
}

.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    height: 46px;
    border: none;
    border-bottom: unset;
    border-radius: 0;
    outline: 0;
}

.select2-container--default.valid {
    height: 46px;
    border: none;
    border-bottom: 1px solid #26a69a !important;
    -webkit-box-shadow: 0 1px 0 0 #26a69a !important;
    box-shadow: 0 1px 0 0 #26a69a !important;
    border-radius: 0;
    outline: 0;
}

.select2-container--default {
    height: auto;
    border: none;
    border-bottom: 1px solid #9e9e9e !important;
    border-radius: 0;
    outline: 0;
}

.select2-container--default.invalid {
    height: 46px;
    border: none;
    border-bottom: 1px solid #f44336 !important;
    -webkit-box-shadow: 0 1px 0 0 #f44336 !important;
    box-shadow: 0 1px 0 0 #f44336 !important;
    border-radius: 0;
    outline: 0;
}

.filter-collapsible i {
    font-size: 1.6rem;
    display: inline-block;
    width: 2rem;
    margin-right: unset;
    text-align: center;
}

.filter-collapsible a {
    margin: 0 0.5rem;
}

.collapse-article-list-body,
.collapse-article-list-header {
    background-color: #fff !important;
}

.article-add-verticle-align {
    margin: 0.8rem 0 0 0;
}

.LTRStyle {
    display: none;
}

/************************* End Article page *******************************/
/************************* Realtime page *******************************/
.customSelectBorder {
    margin: -14px 0px;
}

.customSelectBorder .select-wrapper .select-dropdown {
    border-bottom: 1px solid transparent;
    margin-top: 5px;
}

.customSelectBorder .select-wrapper .caret {
    display: none;
}

.customSelectBorder.addBottomBorder .select-wrapper .select-dropdown {
    border-bottom: 1px solid #9e9e9e;
    margin-top: 5px;
}

.customSelectBorder.addBottomBorder .select-wrapper .caret {
    display: block;
}

/************************* End Realtime page *******************************/
.page-knowledge .multiple-select-dropdown {
    z-index: 1000000;
    position: relative;
}

.custom-font .mce-panel {
    border: none !important;
}

.custom-font .attachments-container {
    border-top: 1px dashed #E91E63;
}

.custom-font textarea {
    border: none;
    resize: none;
}

.h5 {
    font-size: 1.64rem;
}


.page-knowledge .dropdown-content.select-dropdown {
    z-index: 1000000;
    position: relative;
    /* height: 200px; */
}

.page-automation .autocomplete-content.dropdown-content li img {
    display: none;
}

.page-automation .autocomplete-content.dropdown-content {
    position: relative;
}

.article-page .fixed-action-btn {
    bottom: 40px;
}

.step-error {
    box-shadow: 0px 0px 6px 0px #ff1493d4 !important;
    border: 1px solid #ff1493 !important;
}

.shifts-page .custom-border-bottom-4 {
    border-bottom: 4px solid #eceff1;
}

.shifts-page .custom-icon-size {
    font-size: 1.8rem;
}

div.col span.conv-contact-blur,
div.col.s7 p.conv-contact-blur,
div.row.m-0.width-100 div.col.s7 p.conv-contact-blur,
span.col.s3.truncate span span.conv-contact-blur {
    color: transparent !important;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5) !important;
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -o-user-select: none !important;
    user-select: none !important;
    pointer-events: none;
}

.spacer {
    flex-grow: 1;
}

.width-fit-content {
    width: fit-content !important;
}

.eye-icon-fix {
    margin: 0 0 8px 10px;
}

.unread-conversation {
    background-color: rgb(216 216 216);
}

.attachment-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    overflow-x: auto;
    white-space: nowrap;
    background-color: #838383d1;
    padding: 7px;
}

.attachment {
    margin-top: 8px;
    margin-bottom: 8px;
    display: inline-block;
    margin-right: 10px;
    width: 50px;
    height: 50px;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.attachment img,
.attachment iframe,
.attachment audio,
.attachment video {
    width: 100%;
    max-height: 240px !important;
    margin-right: 10px;
}

.displayedAttachment iframe,
.attachment iframe,
.displayedAttachment audio,
.attachment audio,
.displayedAttachment video,
.attachment video {
    height: 100%;
}

.smallDiv img,
.smallDiv iframe,
.smallDiv audio,
.smallDiv video {
    height: 100% !important;
    margin: auto !important;
}

.audioHandle {
    margin-top: 50px;
    margin-bottom: 50px;
}

.videoHandle {
    max-height: 240px !important;
    margin-top: -3rem;
    margin-bottom: -0.5rem;
}

.attach-footer {
    margin: auto;
    width: 97%;
}

.displayedAttachment {
    min-height: 260px;
    width: 100%;
    bottom: 10rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
    padding: 10px;
    column-rule-width: thin;
    height: 100%;
}

.displayedAttachment img {
    margin-top: -2rem;
    margin-bottom: -2rem;
    max-height: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

.close-button {
    font-size: 14px;
    position: absolute;
    top: 3%;
    right: 19%;
    width: 12%;
    height: 10%;
    cursor: pointer;
    color: #ff0101;
    text-align: center;
    z-index: 999;
}

.close-button:hover {
    color: #010000;
}

.createManualTicket .render-wrap-container {
    border: none !important;
    border-left: 1px dashed #9b9eaa !important;
    padding-right: 20px;
    padding-left: 20px;
    margin-left: 1%;
    margin-right: 1%;
}

.testclass {
    height: calc(100% - 147px) !important;
}


#qrCodeModal {
    text-align: center;
    width: max-content;
    padding: 0 3rem;
}

#qrcodeRenderDiv {
    display: flex;
    justify-content: center;
}

#doughnutChart {
    margin-bottom: 0.8rem;
    margin-top: 0.8rem;
}

.agent_score_wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 180px;
    margin: 1rem;
    padding-right: 2rem;
    border-radius: 0.5rem;
}

.agent_score_wrapper>* {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.agent_score_center {
    flex-direction: column;
}

.agent_score_center .agent_total_issues {
    height: 200px;
    width: 200px;
    background-color: #40389F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent_score_center .agent_total_issues>* {
    font-weight: bold;
    /* Make the text bold if desired */
    color: #FC6585;
    /* Set the text color */
    padding: 10px 20px;
    /* Add padding for better visual appearance */
    border-radius: 8px;
    /* Optional: Add rounded corners */
    font-size: 5rem;
}


.qc-form-title-container,
.ticket-form-title-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.qc-form-title-container .qc-form-close {
    height: 30px;
    width: 30px;
    background-color: grey;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.qc-form-title-container .qc-form-close>* {
    color: #fff;

}

.qc-form-navigate-to {
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: start;
}

.row.unset-margin .col.s6 {
    margin: unset;
}

.h-5rem {
    height: 5rem;
}

.flex-dir-col {
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}

.select2-selection--multiple {
    overflow: hidden !important;
    height: auto !important;
}

#responsiveAgentSelect>.select2 {
    height: auto !important;
}

.atricle-list-page .select2 {
    height: auto !important;
}

.disclaimer-header-flex {
    grid-column-gap: 0.7rem;
    align-items: center
}

.modal-center-custom {
    top: 33% !important
}

.fontSize-1_2 {
    font-size: 1.1rem;
}

.selected-reactions {
    user-select: none;
    bottom: -10px;
}

.emoji-picker {
    position: absolute;
    bottom: 62px;
    z-index: 999;
    right: 0px;
}

.picker {
    z-index: 999;
}

.show-emoji-icon {
    font-family: 'Noto Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'sans-serif';
}

.border-shadow {
    border: 1px solid rgb(235, 235, 235);
    height: fit-content;
    padding: 2rem;

}

.template-editor .toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px dashed #d1d1d1;
}

.counter-class {
    position: absolute;
    bottom: 2px;
    right: 15px;
}

.btn-body,
.btn-toolbar {
    flex: 0 1 auto;
    min-width: 50px;
    padding: 8px 12px;
    box-sizing: border-box;
    text-align: center;
    border: 1px solid #d3d3d3;
    border-radius: 6px;
    background-color: #c0ccda;
    color: #f9fafc;
    height: 40px;
}

.btn-body {
    pointer-events: none;
}

.btn-toolbar {
    background-color: #fafafa;
    color: #333;
    cursor: pointer;
}

.btn-toolbar:focus,
.btn-toolbar:active {
    background-color: #eff2f7;
    color: #333;
    outline: none;
    box-shadow: none;
}

.toolbar {
    display: flex;
    gap: 35px;
    margin-bottom: 10px;
}

.template-editor {
    border-radius: 5px;
    border: 2px dashed #d1d1d1;
    border-bottom: 2px dashed #d1d1d1;
    width: 100%;
    max-width: 100%;
}

.status-synced {
    background-color: rgba(32, 175, 90, 0.2);
    color: rgba(32, 171, 90, 1);
    padding: 5px;
    border-radius: 3px;
}

.status-default {
    background-color: red;
    color: white;
    padding: 5px;
    border-radius: 3px;
}

.lang-default {
    background-color: rgba(32, 175, 90, 1);
    color: white;
    border-radius: 16px;
    width: auto;
    padding: 0.4rem 1rem;
}

.lang-error {
    background-color: red;
    color: white;
    border-radius: 16px;
    width: auto;
    padding: 0.4rem 1rem;
}

.tooltip {
    position: absolute;
    background-color: #333;
    color: white;
    padding: 10px;
    border-radius: 5px;
    width: 300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    font-size: 14px;
    right: 0;
}

.tooltip a {
    color: #00b0ff;
    text-decoration: underline;
}

.tooltip p {
    margin: 0 0 10px 0;
}

.status-default {
    cursor: pointer;
    position: relative;
}

.tooltip::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 20px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #333 transparent;
}

.template_body_style strong {
    font-weight: bold !important;
    font-size: 21px;
}

.template_body_style em {
    font-style: italic !important;
}

.template_body_style del {
    text-decoration: line-through !important;
}

.template_body_style small code {
    font-size: 1.2em;
    /* Smaller font size for inline code */
    color: #666;
}

.preview-view-contact{
    background-color: #67228A;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-timeline-container {
    position: relative;
    margin: 50px;
    width: 70%;

}

/* Vertical white line */
.preview-timeline-container .timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #fff;
    z-index: 1;
}
/* Vertical white line */
.preview-timeline-container.timeline-position .timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #ffffff;
    z-index: 1;
}
/* Circle Icon */
.preview-timeline-container.timeline-position .timeline-icon {
    position: absolute;
    left: 0;
    top: -16px;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.preview-timeline-container.timeline-position .timeline-content-new-style {
   width: 100%;
}
.preview-timeline-container.timeline-position .timeline-content-new-style > p {
   margin: 0 0 0 30px;
}
.preview-timeline-container .timeline-content {
    max-height: 11.7rem;
    height: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-left: 30px;
    width: 30rem;
    padding: 15px;
    border-radius: 6px;
    background-color: white;
}
/* Timeline event wrapper */
.preview-timeline-container .timeline-event {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

/* Circle Icon */
.preview-timeline-container .timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preview-timeline-container .timeline-icon>i {
    overflow: hidden;
    border-radius: 50%;
    padding: 5px;
}

.preview-timeline-container .timeline-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 5px;
}

.preview-timeline-container .timeline-time {
    font-size: 0.9rem;
    color: rgb(0, 0, 0);
}
/* Triangle on the Top-Left Border */
.preview-timeline-container .timeline-content .triangle {
    position: absolute;
    top: -5px;
    left: -17px;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-bottom: 25px solid rgb(255, 255, 255);
    transform: rotate(290deg);
}
/* Triangle on the Top-Left Border */
.mini-crm-timeline-container .timeline-content .triangle {
    position: absolute;
    top: -5px;
    left: -17px;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-bottom: 25px solid rgb(239, 239, 239);
    transform: rotate(300deg);
}
.message-box-head.d-flex.gapping{
    gap: 2px;
}
.input-field.gapping {
    gap: 15px;
}
.message-box-head.d-flex, .message-box-footer.d-flex {
  align-items: center; /* Vertically align the status and labels */
  justify-content: space-between;
  gap: 10px; /* Add spacing between the status and labels */
}
.input-field.flex-row.interactions-new-style {
    justify-content: space-evenly;
}
.preview-timeline-container.timeline-position .timeline-agent{
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    display: inline-block;
    vertical-align: middle;
}
.preview-timeline-container.timeline-position .timeline-unique{
    font-size: 14px;
}
.preview-timeline-container.timeline-position .timeline-status{
    font-size: 14px;
    font-weight: bold;
    margin: 0 5px 0 0;
    text-align: left;
    width: 100%;
}
.preview-timeline-container.timeline-position .timeline-label{
  font-size: 14px;
  max-width: fit-content; /* Limit the width to the container */
  text-overflow: ellipsis; /* Apply ellipsis to each chip */
  overflow: hidden; /* Hide overflow content in the chip */
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
}

/* If you want the content to still be scrollable but without showing the scrollbar */
.hide-scroll-bar-scrollable {
  overflow: auto; /* Allow scrolling */
  scrollbar-width: none; /* Firefox */
}

/* Chrome, Edge, Safari */
.hide-scroll-bar-scrollable::-webkit-scrollbar {
  display: none; /* Hide the scrollbar */
}

.mini-crm-toggle-collapse {
    padding: 0 20px 0;
    margin: 0;
}
.mini-crm-toggle-collapse i {
    font-size: 2rem !important;
}
.width-5 {
    width: 5% !important;
}
.clickable-icon {
  cursor: pointer;
  transition: color 0.3s ease; /* Optional: Smooth hover effect */
}
.overflow-hidden {
  overflow: hidden;
}
.preview-timeline-container .labels {
  display: flex; /* Align the labels horizontally */
  flex-wrap: wrap; /* Prevent wrapping to the next line */
  overflow: hidden; /* Hide overflow content */
  white-space: nowrap; /* Prevent text from wrapping */
  text-overflow: ellipsis; /* Add ellipsis when overflow occurs */
  width: 100%;
  justify-content: end;
  align-items: center;
}
.mini-crm-timeline-container .labels {
  display: flex; /* Align the labels horizontally */
}
.mini-crm-timeline-container {
    position: relative;
    margin: 50px auto;
    width: 70%;
}

.labels .chip {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px; /* Adjust based on your design */
  display: inline-block; /* Ensures proper ellipsis rendering */
  vertical-align: middle; /* Align with other elements if necessary */
}

/* Vertical white line */
.mini-crm-timeline-container .timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #fff;
    z-index: 1;
}
/* Vertical white line */
.mini-crm-timeline-container.timeline-position .timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #e4e4e4;
    z-index: 1;
}

/* Timeline event wrapper */
.mini-crm-timeline-container .timeline-event {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

/* Circle Icon */
.mini-crm-timeline-container .timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/* Circle Icon */
.mini-crm-timeline-container.timeline-position .timeline-icon {
    position: absolute;
    left: 0;
    top: -16px;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mini-crm-timeline-container.timeline-position .timeline-content-new-style {
   width: 100%;
}
.mini-crm-timeline-container.timeline-position .timeline-content-new-style > p {
   margin: 0 0 0 30px;
}

.mini-crm-timeline-container .timeline-icon>i {
    overflow: hidden;
    border-radius: 50%;
    padding: 5px;
}
/* Left-aligned content */
.mini-crm-timeline-container.timeline-position .timeline-content {
    background-color: rgb(239, 239, 239);
    border-radius: 6px;
    padding: 15px;
    width: 16rem;
    margin-left: 30px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: right;
}

.mini-crm-timeline-container .timeline-right .timeline-content .change-style {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    box-shadow: none;
    gap: 10px;
    width: 100%;
}

.mini-crm-timeline-container .timeline-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 5px;
}

.mini-crm-timeline-container .timeline-time {
    font-size: 0.9rem;
    color: gray;
}
.mini-crm-timeline-container.timeline-position .timeline-agent{
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    display: inline-block;
    vertical-align: middle;
}
.mini-crm-timeline-container.timeline-position .timeline-unique{
    font-size: 14px;
}
.mini-crm-timeline-container.timeline-position .timeline-status{
    font-size: 14px;
    font-weight: bold;
    margin: 0 5px 0 0;
    text-align: left;
    width: 100%;
}
.mini-crm-timeline-container.timeline-position .timeline-label{
  font-size: 14px;
  max-width: fit-content; /* Limit the width to the container */
  text-overflow: ellipsis; /* Apply ellipsis to each chip */
  overflow: hidden; /* Hide overflow content in the chip */
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
}

/**** Aside Collapsed ****/
.sideNav.collapsed {
  width: 60px; /* Adjust this to the desired collapsed width */
  overflow: hidden;
}

.sideNav.collapsed ul.sidenav li a span {
  display: none; /* Hide all text elements */
}

/* .sideNav.collapsed ul.sidenav li a {
  display: flex;
  justify-content: center;
} */

.aside-collapsed-btn{
    margin: 15px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sideNav.collapsed ul.sidenav li i.material-icons {
  display: inline-block; /* Ensure icons are visible */
  /* font-size: 24px; Adjust icon size if necessary */
}

.sideNav ul.sidenav li a span {
  display: inline-block; /* Default to showing text */
}

.sideNav ul.sidenav li a i.material-icons {
  margin-right: 10px; /* Add spacing for expanded state */
}

.sidenav-trigger {
  position: absolute;
  top: 10px;
  right: 10px;
}
.sideNav.collapsed {
  width: 60px;
  overflow: hidden;
}

.sideNav.collapsed ul li .menu-title {
  display: none; /* Hide menu titles */
}
.sideNav.collapsed .collapsible-header::after {
  display: none; /* Hide menu header */
}

.sideNav.collapsed ul li a {
  justify-content: center; /* Center the icons */
}

.sideNav.collapsed ul li i.material-icons {
  /* font-size: 24px; Adjust icon size if needed */
}
.main-menu-container{
    justify-content: space-between;
    align-items: center;
}
.folder-icon{
    font-size: 3rem !important;
}
ul.preview-view-contact {
    display: flex;
    flex-direction: column;
}

ul.preview-view-contact li {
    transition: all .5s linear;
    width: 100%;
    cursor: pointer;
    padding: 0 10px;
}

ul.preview-view-contact li:hover {
    background-color: ghostwhite;
    color: black !important;
}

.no-data-text {
    display: flex;
    justify-content: center;
    align-items: center;
}

p.show-more-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: underline;
    cursor: pointer;
    color: palevioletred;
}

p.show-more-btn:hover {
    text-decoration: none;
    color: black;
}

.atricle-list-page .select2-selection--multiple .select2-selection__choice {
    background-color: #29b6f6;
    /* Change background color of selected items */
    color: white;
    /* Change text color */
    border: 1px solid #29b6f6;
    /* Change border color */
}

.atricle-list-page .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
    /* Change the color of the remove "x" button */
    border-right: 1px solid transparent !important
}

.articlecreatepage .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
    /* Change the color of the remove "x" button */
    border-right: 1px solid transparent !important
}

.atricle-list-page .select2-selection__choice__remove:hover {
    background-color: transparent !important;
}

.articlecreatepage .select2-selection__choice__remove:hover {
    background-color: transparent !important;
}

.atricle-list-page .select2-selection__choice {
    padding-left: 15px !important;
}

.articlecreatepage .select2-selection__choice {
    padding-left: 15px !important;
}

.atricle-list-page .tag-list {
    margin-top: 10px;
}

.atricle-list-page .tag {
    display: inline-block;
    background-color: #29b6f6;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.atricle-list-page .tag a {
    margin-left: 5px;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.atricle-list-page .article-form {
    width: 100%;
}

.atricle-list-page .align-inputs {
    display: flex;
    justify-content: center;
    align-items: end;
}

.atricle-list-page .file-field .btn {
    background-color: #2196F3;
    /* Customize button color */
}

.atricle-list-page .file-field .file-path-wrapper input {
    border-bottom: 2px solid #ec407a;
    /* Customize underline */
}

.atricle-list-page .file-field .file-path-wrapper input:focus {
    border-bottom: 2px solid #ec407a;
    /* Focus color */
}

.atricle-list-page .error-message {
    color: red;
    font-size: 0.9em;
}

.atricle-list-page .card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.atricle-list-page .card-info>h6 {
    font-size: 14px;
}

.atricle-list-page .card-info>p,
.article-category,
.atricle-list-page .article-tag {
    font-size: 12px;
}

.atricle-list-page .card-content .card-title {
    font-size: 16px;
    font-weight: 900 !important;
}

.atricle-list-page .card-content em {
    background-color: #fbff00;
}

.atricle-list-page .file-field.input-field {
    display: flex;
    gap: 10px;
}
.aienabled{
    background-color: #e9e963;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
}
/** Start -> Summary ( Mini CRM + Hanlding 360 View Contact ) **/
.account.collapsed {
    background-color: #fff;
    text-align: center;
    position: fixed;
    bottom: 0;
    padding: 0.4em 0 2.2em 0;
    z-index: 999;
    width: 50px;
    margin-top: 50px;
    height: 24px;
}
.aside #slide-out > .btn {
border-radius: unset;
   display: flex;
   align-items: center;
   width: 100%;
}
aside #slide-out > .btn.collapsed {
   justify-content: center;
}
aside #slide-out > .btn.open {
justify-content: end;
}
.main-container-rtl {
    padding-left: 260px !important;
}
.main-container-ltr {
    padding-right: 260px !important;
}

.sideNav ul {
    height: 95%;
}

.force-style{
    display: block !important; width: 288.359px !important; left: 13.8281px !important; top: 118.094px !important; height: 176.125px !important; transform-origin: 0px 0px !important; opacity: 1 !important; transform: scaleX(1) scaleY(1) !important;
}

/** End -> Summary ( Mini CRM + Hanlding 360 View Contact ) **/
.rating {
    color: #a9a9a9;
    margin: 0;
    padding: 0;
}

ul.rating {
    display: inline-block;
}

.rating li {
    list-style-type: none;
    display: inline-block;
    padding: 1px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    font-size: 30px;
}

.rating .filled {
    color: red;
}

.star-rating-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    /* font-size: 30px; */
}

.message-reply-on{
    color: black;
    background-color: #543a3a38;
    border-radius: 5px;
    padding: 7px;
    width: -webkit-fill-available;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.realtime-insights ul.dropdown-content {
    text-align: center;
    padding: 10px;
}

.realtime-insights ul.dropdown-content li {
    display: flex;
    flex-direction: column;
    margin: 5px 0;
}

.realtime-insights ul.dropdown-content input[type="text"] {
    width: 100%;
    text-align: center;
    margin-top: 5px;
    padding: 5px;
    border: 1px solid #ccc; 
    border-radius: 4px; 
    white-space: normal; 
    word-wrap: break-word; 
    word-break: break-word; 
}
.realtime-insights .settingsicon {
    gap: 10px;  /* Adjust space between icons */
    padding-top: 15px;
}

.realtime-insights .noArrows {
  appearance: none!important;
  -moz-appearance: textfield !important; /* Firefox */
  -webkit-appearance: none !important; /* Safari and Chrome */
}


.realtime-insights .noArrows::-webkit-inner-spin-button,
.realtime-insights .noArrows::-webkit-outer-spin-button {
  -webkit-appearance: none; /* Remove buttons in WebKit-based browsers */
  margin: 0;
}

#pictureModal{
    width: 95%;
    height: 95%;
}
/* Modal Image Container Styling */
.image-container {
    overflow: auto; /* Enable scrolling when the image is zoomed in */
    width: 100%; /* Full width of the modal */
    height: calc(100vh - 220px); /* Adjust for modal footer and header */
    display: flex;
    justify-content: center;
    align-items: center;
}

#zoomImage {
    transition: transform 0.3s ease; /* Smooth zoom transition */
    transform-origin: top left; /* Ensure zoom starts from the top-left */
    max-width: min-content;
    max-height: -webkit-fill-available;
    width : -webkit-fill-available;
    width: -moz-available;
}
.zoom-controls {
    position: absolute;
    top: 10px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.zoom-btn {
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.zoom-btn i {
    font-size: 20px;
}


#dropdownCompleteStatus, #dropdownRejectedStatus {
    max-height: 20vh;
}
.actions-dropdown .dropdown-content.select-dropdown {
    top: 100% !important;
    z-index: 9 !important;
}

.loginPage #login-page{
    min-height: calc(100vh - 56.75px);
}
.page-footer {
    background-color: #25293c;
}
.footer-copyright {
    justify-content: center !important;
    align-items: center !important;
    gap: 5px;
    font-size: 16px;
    line-height: 1;
}
.ticket-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ticket-name {
    margin: 0;
    font-weight: bold;
}

#MiniCRMTicketModal {
    right: 0 !important;
    left: auto !important;
    width: 17% !important;
    height: 85vh !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-right: 3.5% !important;
    max-height: 85vh !important;
    margin-top: 1.5% !important ;
   }
#MiniCRMTicketModal + .modal-overlay {
    display: none !important;
}

.unpin {
    transform: rotate(45deg);
    color: blue;
}
.unique-style-with-unique-and-post_url{
    display: flex;
    justify-content: start;
    gap: 1rem;
}
.web-dropdown-menu {
    position: relative;
    display: inline-block;
}
.web-dropdown-toggle {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}
.web-dropdown-list {
    position: absolute;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.web-dropdown-list li {
    padding: 8px 16px;
}
.web-dropdown-list li button, .web-dropdown-list li a {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    padding: 0;
    width: 100%;
    text-align: left;
}
.web-dropdown-list li button:hover, .web-dropdown-list li a:hover  {
    text-decoration: underline;
}
.padding-widget {
    padding: 1px 17px;
}
.widget-padding-zero {
    padding: 0 !important;
}
.copy-success {
    margin: 8px;
}
.alert>.start-icon {
    margin-right: 0;
    min-width: 20px;
    text-align: center;
}

.alert>.start-icon {
    margin-right: 5px;
}

.alert-simple.alert-warning
{
  border: 1px solid #FFC107;
  background-color: #FFC107;
  color: #fff;
  transition:0.5s;
}

.warning
{
    font-size: 18px;
    color: #ffb40b;
}
.alert {
    padding: 0.5rem;
}
.alert-simple.alert-danger
{
  border: 1px solid rgba(241, 6, 6, 0.81);
  background-color: rgb(244, 67, 54);
  color: #fff;
  transition:0.5s;
}
.white-icon {
    color: white !important;
}


.danger
{
    font-size: 18px;
    color: #ff0303;
}

.alert:before {
    content: '';
    position: absolute;
    width: 0;
    height: calc(100% - 44px);
    border-left: 1px solid;
    border-right: 2px solid;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    height: 20px;
}

.fa-times, .fa-exclamation-triangle
{
-webkit-animation: blink-1 2s infinite both;
animation: blink-1 2s infinite both;
}

.sidenav.sidenav-fixed.billing-alerts {
  margin-top: 1.5rem;
}
.alert-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    .sidenav-main {
        z-index: 1 !important;
    }
}

/**
 * ----------------------------------------
 * animation blink-1
 * ----------------------------------------
 */
@-webkit-keyframes blink-1 {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}
@keyframes blink-1 {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}
/* Ticket dedicated view */
.ticket-view-page {
    padding: 16px 0 32px;
}

.ticket-view-page .ticket-view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.ticket-view-page .ticket-title-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-left: 18px;
    padding-right: 18px;
}

.ticket-view-page .ticket-action-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.ticket-view-page .ticket-title-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticket-view-page .ticket-priority-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.15px;
    text-transform: none;
    line-height: 1;
    background: #eaf5ec;
    color: #256c33;
}

.ticket-view-page .ticket-control-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.ticket-view-page .control-select-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 280px;
    flex: 1 1 280px;
}

.ticket-view-page .control-select-label {
    font-size: 0.96rem;
    font-weight: 500;
    color: #1f2633;
    margin: 0;
}

.ticket-view-page .control-select {
    width: 100%;
    min-width: 280px;
    padding: 12px 44px 12px 18px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid #d5dbe5;
    font-size: 0.92rem;
    color: #1f2633;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 5.5L11 1.5' stroke='%23202938' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px 7px;
    box-shadow: 0 1px 2px rgba(23, 30, 43, 0.05);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ticket-view-page .control-select:focus {
    outline: none;
    border-color: #5c2aa5;
    box-shadow: 0 0 0 3px rgba(92, 42, 165, 0.12);
}

.ticket-view-page .control-select:disabled {
    background: #f4f6fb;
    color: #a0aec0;
    border-color: #e0e5ed;
    box-shadow: none;
}

.ticket-view-page .control-select--placeholder {
    color: #9da6b5;
}

.ticket-view-page .ticket-action-toolbar.footer {
    margin-top: 32px;
    justify-content: flex-end;
}

.ticket-view-page .ticket-action-btn {
    min-width: 128px;
    font-weight: 500;
    letter-spacing: 0.2px;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    text-transform: capitalize;
}

.ticket-view-page .ticket-action-btn--transfer {
    background-color: #25a75a;
    color: #fff;
}

.ticket-view-page .ticket-action-btn--transfer:hover,
.ticket-view-page .ticket-action-btn--transfer:focus {
    background-color: #1f8a4b;
}

.ticket-view-page .ticket-action-btn--save {
    background-color: #1f80d1;
    color: #fff;
}

.ticket-view-page .ticket-action-btn--save:hover,
.ticket-view-page .ticket-action-btn--save:focus {
    background-color: #1867a6;
}

.ticket-view-page .ticket-action-btn--submit {
    background-color: #5c2aa5;
    color: #fff;
}

.ticket-view-page .ticket-action-btn--submit:hover,
.ticket-view-page .ticket-action-btn--submit:focus {
    background-color: #4a2185;
}

.ticket-view-page .ticket-action-btn--reject {
    background-color: #d73c2c;
    color: #fff;
}

.ticket-view-page .ticket-action-btn--reject:hover,
.ticket-view-page .ticket-action-btn--reject:focus {
    background-color: #b63124;
}

.ticket-view-page .ticket-title {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #1d1d1d;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.ticket-view-page .ticket-id {
    margin: 2px 0 0;
    font-size: 0.95rem;
    color: #636f7b;
    font-weight: 500;
}

.ticket-view-page .ticket-body {
    row-gap: 12px;
}

.ticket-view-page .ticket-card {
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    margin-bottom: 1px;
}

.ticket-view-page .ticket-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ticket-view-page .ticket-card-header h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2633;
}

/* Attachment Upload Status Bar */
.ticket-view-page .attachment-upload-status {
    background: #e3f2fd;
    border-bottom: 2px solid #2196f3;
    padding: 12px 16px;
    margin: 0 -18px 16px -18px;
}

.ticket-view-page .upload-status-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticket-view-page .upload-status-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(33, 150, 243, 0.3);
    border-top-color: #2196f3;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.ticket-view-page .upload-status-text {
    color: #1976d2;
    font-size: 13px;
    font-weight: 500;
}

.ticket-view-page .ticket-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.ticket-view-page .ticket-info-grid .info-item,
.ticket-view-page .user-info-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 4px 10px;
}

.ticket-view-page .ticket-info-grid .info-item .info-icon,
.ticket-view-page .user-info-item .info-icon {
    grid-row: 1 / span 2;
    grid-column: 1;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef2f8;
}

.ticket-view-page .info-label {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2d3645;
    letter-spacing: 0.15px;
    text-align: left;
    text-transform: capitalize;
    margin-bottom: 2px;
}

.ticket-view-page .info-value {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.8rem;
    font-weight: 400;
    color: #707b8a;
    letter-spacing: 0.1px;
    word-break: break-word;
    margin-top: 0;
}

/* ===== Rejection Reason Card ===== */
.ticket-view-page .rejection-card {
    background: #F5D7D7;
    border: none;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.ticket-view-page .rejection-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ticket-view-page .rejection-label {
    font-size: 0.95rem;
    color: #333333;
    font-weight: 600;
    margin-bottom: 4px;
}

.ticket-view-page .rejection-reason-text {
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.6;
    margin: 0 0 12px 0;
    font-weight: 400;
}

.ticket-view-page .rejection-metadata {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.ticket-view-page .rejection-meta-item {
    font-size: 0.8rem;
    color: #666666;
    line-height: 1.4;
}

.ticket-view-page .rejection-meta-item strong {
    font-weight: 500;
    color: #333333;
}

/* ===== Transfer Ticket Modal ===== */
.transfer-ticket-modal {
    max-width: 640px;
    overflow: visible;
}

.transfer-ticket-modal .modal-content {
    padding: 28px 32px 12px;
    overflow: visible;
}

.transfer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.transfer-modal-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: #1f2633;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.transfer-unassign-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.transfer-unassign-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #4a5568;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.transfer-modal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.transfer-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.transfer-user-field {
    margin: 0;
}

.transfer-field-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2d3645;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    margin: 0 0 6px;
}

.transfer-select,
.transfer-input {
    height: 48px;
    border: 1px solid #d5dbe5;
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 0.94rem;
    color: #1f2633;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(23, 30, 43, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.transfer-ticket-modal ul.select-dropdown {
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    padding: 8px 0;
}

.transfer-ticket-modal ul.select-dropdown li > span,
.transfer-ticket-modal ul.select-dropdown li > a {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 0.94rem;
    color: #1f2633;
}

.transfer-ticket-modal ul.select-dropdown li:hover,
.transfer-ticket-modal ul.select-dropdown li.selected {
    background-color: rgba(92, 42, 165, 0.08);
}

.transfer-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 5.5L11 1.5' stroke='%23202938' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 7px;
    padding-right: 40px;
}

.transfer-ticket-modal .select-wrapper {
    position: relative;
    border: 1px solid #d5dbe5;
    border-radius: 14px;
    height: 48px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(23, 30, 43, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.transfer-ticket-modal .select-wrapper input.select-dropdown {
    border: none !important;
    box-shadow: none !important;
    height: 100%;
    margin: 0;
    padding: 0 40px 0 16px;
    font-size: 0.94rem;
    color: #1f2633;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 48px;
}

.transfer-ticket-modal .select-wrapper .caret {
    right: 16px;
    border: none;
    width: 12px;
    height: 7px;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 5.5L11 1.5' stroke='%23202938' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transform: none;
}

.transfer-ticket-modal .select-wrapper .caret:after {
    display: none;
}

.transfer-ticket-modal .select-wrapper:hover,
.transfer-ticket-modal .select-wrapper input.select-dropdown:focus {
    border-color: #5c2aa5;
    box-shadow: 0 0 0 3px rgba(92, 42, 165, 0.12);
}

.transfer-select:focus,
.transfer-input:focus {
    outline: none;
    border-color: #5c2aa5;
    box-shadow: 0 0 0 3px rgba(92, 42, 165, 0.12);
}

.transfer-input::placeholder {
    color: #9da6b5;
    opacity: 1;
}

.transfer-select:disabled,
.transfer-input:disabled {
    background: #f4f6fb;
    color: #a0aec0;
    border-color: #e0e5ed;
    box-shadow: none;
}

.transfer-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 32px 24px;
    border-top: none;
}

.transfer-modal-btn {
    min-width: 124px;
    height: 44px;
    border-radius: 12px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.transfer-modal-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(92, 42, 165, 0.12);
}

.transfer-modal-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.transfer-modal-btn--secondary {
    background-color: #1f80d1;
    color: #ffffff;
}

.transfer-modal-btn--secondary:hover:not(:disabled) {
    background-color: #1867a6;
}

.transfer-modal-btn--primary {
    background-color: #5c2aa5;
    color: #ffffff;
}

.transfer-modal-btn--primary:hover:not(:disabled) {
    background-color: #4a2185;
}

/* ===== Ticket Confirm Modal ===== */
.ticket-confirm-modal {
    max-width: 520px;
}

.ticket-confirm-modal .modal-content {
    padding: 28px 32px 18px;
}

.ticket-confirm-title {
    margin: 0 0 12px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1f2633;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.ticket-confirm-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: #4a5568;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.ticket-confirm-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 32px 24px;
    border-top: none;
}

.ticket-confirm-btn {
    min-width: 120px;
    height: 44px;
    border-radius: 12px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ticket-confirm-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(92, 42, 165, 0.12);
}

.ticket-confirm-btn--secondary {
    background-color: #1f80d1;
    color: #ffffff;
}

.ticket-confirm-btn--secondary:hover {
    background-color: #1867a6;
}

.ticket-confirm-btn--primary {
    background-color: #5c2aa5;
    color: #ffffff;
}

.ticket-confirm-btn--primary:hover {
    background-color: #4a2185;
}

@media (max-width: 600px) {
    .transfer-ticket-modal .modal-content {
        padding: 24px 20px 12px;
    }

    .transfer-modal-footer {
        padding: 16px 20px 24px;
    }
}

.ticket-view-page .ticket-form-renderer .rendered-form {
    display: grid;
    gap: 12px;
}

.ticket-view-page .ticket-form-renderer .form-group,
.ticket-view-page .ticket-form-renderer .formbuilder-text-label {
    margin-bottom: 12px;
}

.ticket-view-page .ticket-form-renderer .form-control[disabled] {
    color: #263238;
}

.ticket-view-page .ticket-view-content .ticket-card-body p {
    margin: 0;
}

.ticket-view-page .ticket-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.ticket-badge.priority {
    background: #f5f5f5;
    color: #546e7a;
}

.priority-high {
    background: #ffe6e4 !important;
    color: #d84315 !important;
}

.priority-medium {
    background: #fff5d6 !important;
    color: #ff8f00 !important;
}

.priority-low {
    background: #e9f7ef !important;
    color: #2e7d32 !important;
}

.ticket-badge.status {
    margin-left: 8px;
    background: #eceff1;
    color: #455a64;
}

.status-active {
    background: #e8f5e9 !important;
    color: #1b5e20 !important;
}

.status-solved {
    background: #e6f4ea !important;
    color: #2e7d32 !important;
}

.status-pending {
    background: #fff3e0 !important;
    color: #ef6c00 !important;
}

.status-inprogress {
    background: #e3f2fd !important;
    color: #1e88e5 !important;
}

.status-hold {
    background: #fff8e1 !important;
    color: #ef6c00 !important;
}

.status-drafted {
    background: #ede7f6 !important;
    color: #5c2aa5 !important;
}

.status-closed {
    background: #eceff1 !important;
    color: #607d8b !important;
}

.status-rejected {
    background: #fdecea !important;
    color: #c62828 !important;
}

.status-escalated {
    background: #f3e5f5 !important;
    color: #8e24aa !important;
}

.ticket-view-page .attachment-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    border: 1px solid #eef2f8;
    border-radius: 12px;
    padding: 12px;
    background: #ffffff;
}

.ticket-view-page .attachment-preview {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f7fb;
    border: 1px solid #e2e8f0;
}

.ticket-view-page .attachment-preview img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.ticket-view-page .attachment-preview video {
    width: 100%;
    height: 160px;
    background: #000;
}

.ticket-view-page .attachment-preview iframe {
    width: 100%;
    height: 160px;
    border: none;
    background: #fff;
}

.ticket-view-page .attachment-generic-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 12px;
    text-align: center;
}

.ticket-view-page .attachment-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: #4338ca;
    font-family: 'Material Icons', 'Material Icons Outlined';
    font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 24px;
}

.attachment-icon.attachment-image::before {
    content: 'image';
}

.attachment-icon.attachment-video::before {
    content: 'smart_display';
}

.attachment-icon.attachment-pdf::before {
    content: 'picture_as_pdf';
}

.attachment-icon.attachment-generic::before {
    content: 'attach_file';
}

.ticket-view-page .attachment-name {
    font-weight: 700;
    color: #1f2933;
    margin: 0;
}

.ticket-view-page .attachment-details {
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 160px;
}

.ticket-view-page .attachment-meta {
    font-size: 0.8rem;
    color: #90a4ae;
}

.ticket-view-page .attachment-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.ticket-view-page .attachment-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    text-transform: none;
}

.ticket-view-page .attachment-action-btn i {
    font-size: 18px;
    line-height: 1;
}

.ticket-view-page .attachment-preview.empty {
    background: #f5f7fb;
    border: 1px dashed #d2dae5;
}

.ticket-view-page .ticket-attachment-hidden-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    left: -9999px;
}

.ticket-view-page .attachment-open-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1b6ca8;
}

.ticket-view-page .attachment-open-link:hover {
    text-decoration: underline;
}

.ticket-view-page .card.border-radius-12.ticket-card .attachment-item + .attachment-item {
    margin-top: 12px;
}

.ticket-view-page .attachment-meta {
    font-size: 0.8rem;
    color: #90a4ae;
}

/* Timeline-style working log item */
.ticket-view-page .working-log-item.timeline-style,
.working-logs-modal .working-log-item.timeline-style {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #e8edf3;
    background: transparent;
    transition: background-color 0.2s ease;
}

.ticket-view-page .working-log-item.timeline-style:hover,
.working-logs-modal .working-log-item.timeline-style:hover {
    background-color: #f8fafb;
}

.ticket-view-page .working-log-item.timeline-style:last-child,
.working-logs-modal .working-log-item.timeline-style:last-child {
    border-bottom: none;
}

/* Bullet point for timeline entries */
.ticket-view-page .working-log-item .log-bullet,
.working-logs-modal .working-log-item .log-bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: #26a69a;
    border-radius: 50%;
    margin-top: 6px;
    position: relative;
}

.ticket-view-page .working-log-item .log-bullet::before,
.working-logs-modal .working-log-item .log-bullet::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(38, 166, 154, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ticket-view-page .working-log-item:hover .log-bullet,
.working-logs-modal .working-log-item:hover .log-bullet {
    background: #00897b;
}

.ticket-view-page .working-log-item:hover .log-bullet::before,
.working-logs-modal .working-log-item:hover .log-bullet::before {
    border-color: rgba(0, 137, 123, 0.3);
}

/* Timeline content container - single horizontal line */
.ticket-view-page .working-log-item .log-timeline-content,
.working-logs-modal .working-log-item .log-timeline-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Individual log fields */
.ticket-view-page .working-log-item .log-field,
.working-logs-modal .working-log-item .log-field {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Labels styling */
.ticket-view-page .working-log-item .log-label,
.working-logs-modal .working-log-item .log-label {
    font-weight: 600;
    color: #546e7a;
    font-size: 0.85rem;
}

/* Pipe separators */
.ticket-view-page .working-log-item .log-separator,
.working-logs-modal .working-log-item .log-separator {
    color: #cfd8dc;
    font-weight: 300;
    margin: 0 4px;
}

/* Date field - emphasize chronological order */
.ticket-view-page .working-log-item .log-date,
.working-logs-modal .working-log-item .log-date {
    color: #37474f;
    font-weight: 500;
}

/* Action field */
.ticket-view-page .working-log-item .log-action,
.working-logs-modal .working-log-item .log-action {
    color: #263238;
}

/* Mentions inline display */
.ticket-view-page .working-log-item .log-mentions,
.working-logs-modal .working-log-item .log-mentions {
    font-size: 0.8rem;
    color: #78909c;
    font-style: italic;
    margin-left: 4px;
}

/* User field */
.ticket-view-page .working-log-item .log-user,
.working-logs-modal .working-log-item .log-user {
    color: #263238;
    font-weight: 500;
}

/* Email field - subtle */
.ticket-view-page .working-log-item .log-email,
.working-logs-modal .working-log-item .log-email {
    color: #607d8b;
    font-size: 0.85rem;
}

/* Duration badge - right-aligned pill */
.ticket-view-page .working-log-item .log-duration-badge,
.working-logs-modal .working-log-item .log-duration-badge {
    margin-left: auto;
    padding: 4px 10px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ticket-view-page .assigned-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f5;
}

.ticket-view-page .assigned-item:last-child {
    border-bottom: none;
}

.ticket-view-page .assigned-name {
    font-weight: 600;
    color: #263238;
    font-size: 0.95rem;
}

.ticket-view-page .assigned-email {
    font-size: 0.85rem;
    font-weight: 400;
}

.ticket-view-page .assigned-role {
    font-size: 0.85rem;
    color: #90a4ae;
}

.ticket-view-page .ticket-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-view-page .ticket-card-body p {
    color: #546e7a;
}

.ticket-view-page .ticket-card-body .grey-text {
    margin: 0;
}

@media (max-width: 992px) {
    .ticket-view-page .ticket-view-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ticket-view-page .ticket-title-block {
        flex-direction: column;
        align-items: flex-start;
    }
}

.text-capitalize {
    text-transform: capitalize;
}
/* Ticket view visual refresh */
.ticket-view-page .ticket-card {
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
    border: 1px solid #eef1f6;
}



.ticket-view-page .info-item[class*="icon-"]:hover,
.ticket-view-page .user-info-item[class*="icon-"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.ticket-view-page .info-item .info-icon,
.ticket-view-page .user-info-item .info-icon {
    flex: 0 0 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Material Icons', 'Material Icons Outlined';
    font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 18px;
    line-height: 1;
    color: #4338ca;
    background: #eef2ff;
}

.ticket-view-page .info-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
}

.ticket-view-page .working-log-actions {
    margin-top: 12px;
}

.ticket-view-page .working-log-actions .btn-flat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.ticket-view-page .working-log-actions .btn-flat i {
    font-size: 18px;
    line-height: 1;
}

.ticket-view-page .working-log-actions .btn-flat span {
    font-size: 0.9rem;
    line-height: 1.2;
}

.ticket-view-page .working-log-actions .btn-flat:hover,
.ticket-view-page .working-log-actions .btn-flat:focus {
    background: rgba(38, 166, 154, 0.08);
}

.ticket-view-page .modal-working-logs {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ticket-view-page .modal-working-logs .working-log-item {
    margin-bottom: 0;
}

.ticket-view-page .working-log-card .ticket-card-body {
    padding: 12px 16px;
}

.ticket-view-page .working-log-card .working-log-item {
    padding: 8px 15px;
}

.ticket-view-page .working-logs-modal {
    width: 480px;
    max-height: 70vh;
}

.ticket-view-page .working-logs-modal .modal-content {
    padding: 20px 26px 18px;
}

.ticket-view-page .working-logs-modal .modal-subtitle {
    margin-top: -6px;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.ticket-view-page .working-logs-modal h4 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.ticket-view-page .working-logs-modal .modal-footer {
    padding: 12px 26px;
}

.ticket-view-page .working-logs-modal .modal-footer .btn-flat {
    font-weight: 600;
}



.ticket-view-page .theme-amber .info-icon { background: #fff7e1; color: #f59e0b; }
.ticket-view-page .theme-violet .info-icon { background: #f2ecff; color: #7c5cff; }
.ticket-view-page .theme-indigo .info-icon { background: #e8f0ff; color: #2851e3; }
.ticket-view-page .theme-blue .info-icon { background: #e7f3ff; color: #2f76ff; }
.ticket-view-page .theme-mint .info-icon { background: #e6f8f4; color: #1c9c7c; }
.ticket-view-page .theme-orange .info-icon { background: #fff3e6; color: #f97316; }
.ticket-view-page .theme-emerald .info-icon { background: #e9fdf1; color: #16a34a; }
.ticket-view-page .theme-pink .info-icon { background: #ffecf4; color: #ec4899; }
.ticket-view-page .theme-sky .info-icon { background: #e6f4ff; color: #0284c7; }

.ticket-view-page .workflow-step-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 60px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: #f4f6fb;
    font-weight: 500;
}

.ticket-view-page .workflow-step-row::before {
    content: 'account_tree';
    font-family: 'Material Icons', 'Material Icons Outlined';
    font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 20px;
    color: #2563eb;
    background: #e7efff;
    border-radius: 12px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.ticket-view-page .workflow-step-index {
    font-weight: 600;
    color: #111827;
}

.ticket-view-page .workflow-step-meta {
    color: #64748b;
    font-size: 0.8rem;
}

/* Removed - replaced with timeline-style */

.ticket-view-page .assigned-item {
    border-radius: 12px;
    padding: 10px 14px;
    background: #f7f9fc;
    border: 1px solid #edf1f8;
}












.transfer-unassign-toggle.switch label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #4a5568;
}

.transfer-unassign-toggle.switch label .lever {
    margin: 0;
    background-color: #d5dbe5;
}

.transfer-unassign-toggle.switch label .lever:after {
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(79, 114, 205, 0.25);
}

.transfer-unassign-toggle.switch input[type="checkbox"]:checked + .lever {
    background-color: rgba(92, 42, 165, 0.35);
}

.transfer-unassign-toggle.switch input[type="checkbox"]:checked + .lever:after {
    background-color: #5c2aa5;
}
.reject-ticket-modal .modal-content {
    padding: 28px 32px 16px;
}

.reject-modal-title {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2633;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.reject-modal-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: #4a5568;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.reject-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 32px 24px;
    border-top: none;
}

.reject-modal-btn {
    min-width: 120px;
    height: 44px;
    border-radius: 12px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.reject-modal-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(92, 42, 165, 0.12);
}

.reject-modal-btn--secondary {
    background-color: #1f80d1;
    color: #ffffff;
}

.reject-modal-btn--secondary:hover {
    background-color: #1867a6;
}

.reject-modal-btn--primary {
    background-color: #5c2aa5;
    color: #ffffff;
}

.reject-modal-btn--primary:hover {
    background-color: #4a2185;
}

.reject-modal-btn--primary:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

.reject-modal-btn--primary:disabled:hover {
    background-color: #cccccc;
}

/* ========================================
   Media Gallery Styles
   ======================================== */

.media-gallery-section,
.document-list-section {
    margin-bottom: 24px;
}

.media-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #424242;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Media Gallery Grid */
.media-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.media-gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #f5f5f5;
}

.media-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.media-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
}

.media-thumbnail img,
.media-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Media Delete Button */
.media-delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(244, 67, 54, 0.9);
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease;
    padding: 0;
}

.media-gallery-item:hover .media-delete-btn {
    opacity: 1;
}

.media-delete-btn:hover {
    background-color: rgba(211, 47, 47, 1);
}

.media-delete-btn .material-icons {
    font-size: 18px;
}

.media-delete-btn:disabled {
    opacity: 1;
    cursor: not-allowed;
    background-color: rgba(158, 158, 158, 0.9);
}

.media-delete-btn:disabled:hover {
    background-color: rgba(158, 158, 158, 0.9);
}

.media-delete-btn.deleting {
    opacity: 1;
}

/* Media Download Button */
.media-download-btn {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(33, 150, 243, 0.9);
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease;
    padding: 0;
}

.media-gallery-item:hover .media-download-btn {
    opacity: 1;
}

.media-download-btn:hover {
    background-color: rgba(25, 118, 210, 1);
}

.media-download-btn .material-icons {
    font-size: 18px;
}

/* Delete Spinner for Media Gallery */
.delete-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Delete Spinner for Document List */
.delete-spinner-small {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(244, 67, 54, 0.3);
    border-top-color: #f44336;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 4px;
}

.document-delete-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.document-delete-btn.deleting {
    pointer-events: none;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.video-play-overlay .material-icons {
    color: #ffffff;
    font-size: 36px;
}

/* Upload Spinner Indicator */
.media-upload-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.upload-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.upload-text {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
}

/* +N More Overlay */
.media-gallery-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    z-index: 5;
}

.media-gallery-more-overlay:hover {
    background-color: rgba(0, 0, 0, 0.75);
}

.media-gallery-more-text {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Document List */
.document-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
    transition: background-color 0.2s ease;
}

.document-item:hover {
    background-color: #f5f5f5;
}

.document-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e3f2fd;
    border-radius: 6px;
}

.document-icon .material-icons {
    color: #1976d2;
    font-size: 24px;
}

.document-details {
    flex-grow: 1;
    min-width: 0;
}

.document-name {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 500;
    color: #212121;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.document-type {
    font-size: 12px;
    color: #757575;
    text-transform: uppercase;
}

.document-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.document-action-btn {
    display: flex !important;
    align-items: center;
    gap: 4px;
    padding: 6px 12px !important;
    font-size: 13px !important;
    height: auto !important;
    line-height: normal !important;
}

.document-action-btn .material-icons {
    font-size: 18px;
}

/* Attachment Placeholder */
.attachment-placeholder {
    padding: 16px;
    text-align: center;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    margin-top: 16px;
}

.attachment-add-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: #5c2aa5 !important;
}

.attachment-add-btn .material-icons {
    font-size: 24px;
}

/* ========================================
   Gallery Lightbox Styles
   ======================================== */

.gallery-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.gallery-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 64px;
}

.gallery-top-controls {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 12px;
    z-index: 10001;
}

.gallery-control-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.55);
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.gallery-control-btn:hover {
    background-color: rgba(0, 0, 0, 0.75);
    transform: scale(1.05);
}

.gallery-control-btn .material-icons {
    font-size: 22px;
}

.gallery-delete-btn {
    background-color: rgba(0, 0, 0, 0.55);
}

.gallery-delete-btn:hover:not(:disabled) {
    background-color: rgba(0, 0, 0, 0.75);
}

.gallery-delete-btn.deleting {
    pointer-events: none;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    z-index: 10001;
    transition: background-color 0.2s ease;
}

.gallery-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.gallery-nav-btn .material-icons {
    font-size: 36px;
}

.gallery-prev-btn {
    left: 20px;
}

.gallery-next-btn {
    right: 20px;
}

.gallery-media-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.gallery-full-media {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.gallery-media-name {
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    margin: 0;
    padding: 8px 16px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .media-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }

    .document-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .document-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .gallery-nav-btn {
        padding: 8px;
    }

    .gallery-nav-btn .material-icons {
        font-size: 28px;
    }

    .gallery-prev-btn {
        left: 10px;
    }

    .gallery-next-btn {
        right: 10px;
    }
}
.float-none,
.arabic table.responsive-table thead {
  float: none !important;
}
.arabic table.responsive-table  thead th,.arabic table.responsive-table  tbody td
{
    text-align: right !important;
}

.column-select-button {
    margin-top: 0.5rem;
}

.column-selector-modal .modal-content {
    padding-bottom: 80px;
    position: relative;
}

.column-selector-modal .column-group-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.column-selector-modal .column-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0;
}

.column-selector-modal .column-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    flex: 1;
}

.column-selector-modal .column-option-empty {
    color: #9e9e9e;
    font-style: italic;
    padding: 0.5rem 0;
}

.column-selector-modal .column-field-form {
    color: #9e9e9e;
    margin-left: 0.25rem;
}

.column-selector-modal .chip-small {
    font-size: 0.7rem;
    height: auto;
    line-height: 1.4;
    padding: 0 8px;
}

.column-selector-modal .modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.column-selector-modal .modal-footer__left,
.column-selector-modal .modal-footer__right {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.column-selector-modal .modal-footer__left {
    margin-right: auto;
}

.column-selector-modal .modal-footer .btn,
.column-selector-modal .modal-footer .btn-flat {
    margin: 0;
}

.ticket-table-scroll {
    overflow-x: auto;
}

.ticket-column-label {
    font-weight: 600;
}

.ticket-column-meta {
    color: #757575;
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

.ticket-cell-date {
    display: block;
}

.ticket-cell-time {
    display: block;
    font-size: 0.8rem;
    color: #757575;
}

.ticket-cell-text {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.ticket-table-empty {
    text-align: center;
    padding: 2rem 0;
    color: #757575;
}

.ticket-cell--restricted .ticket-cell-text,
.ticket-cell--restricted span {
    color: #757575;
}

.ticket-cell--empty .ticket-cell-text {
    display: block;
    text-align: center;
}

.arabic .table-action-buttons {
    text-align: left;
}

.ticket-cell-text {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

.ticket-table-scroll table {
    table-layout: auto;
}
