/** Created on : 10 Jan 2022, 5:07:22 pm **/

/**---------------------------------------------**/
/** login page **/
body#login form {
    width: 300px;
}
body#login form h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

/**---------------------------------------------**/
div#toggle-pass {
    position: relative;
}
div#toggle-pass input {
    padding-right: 40px;
}
div#toggle-pass i {
    position: absolute;
    top: 2px;
    font-size: 20px;
    right: 10px;
    cursor: pointer;
}
/** hidden **/
div#toggle-pass.off i.icon-eye {
    display: none;
}
div#toggle-pass.off i.icon-eye-off {
    color: #ced4da;
}
/** visible **/
div#toggle-pass:not(.off) i.icon-eye {
    display: block;
}
div#toggle-pass:not(.off) i.icon-eye-off {
    display: none;
}

/**---------------------------------------------**/
.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/** sidebar **/
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}
.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: 0.5rem;
    overflow-x: hidden;
    overflow-y: auto;
}
.sidebar .nav-link {
    position: relative;
    font-weight: 500;
    color: #333;
}
.sidebar a {
    white-space: nowrap;
}
.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #727272;
    top: -2px;
    position: relative;
}
.sidebar .nav-link .count {
    width: 20px;
    height: 20px;
    background: #03a9f4;
    color: #fff;
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 13px;
    text-align: center;
    line-height: 17px;
    border-radius: 100%;
}
.sidebar .nav-link.active {
    color: #2470dc;
}
.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}
.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
}

/** navbar **/
.navbar-brand {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 1rem;
}
.navbar .navbar-toggler {
    top: 0.25rem;
    right: 1rem;
}

header #logout svg {
    position: relative;
    top: -1px;
    margin-left: 5px;
}

/**---------------------------------------------**/
#page-content {
    padding: 5px 0 50px;
}

.btn-toolbar .btn {
    position: relative;
    top: -5px;
    padding-bottom: 5px;
}
.btn-toolbar .btn svg {
    position: relative;
    top: -1px;
    margin-right: 3px;
}

/**---------------------------------------------**/
.dataTables_wrapper {
    padding: 5px 0 0;
}
#dataTables-text {
    display: none;
}
input[type="search"] {
    outline-offset: unset;
}
table.dataTable.no-footer {
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    margin: 20px 0 15px;
}
table.dataTable thead th {
    padding-left: 10px;
    border-color: #dee2e6;
    background-color: #f9fafb !important;
}

table.dataTable thead th.no-sort {
    background: none;
    cursor: default;
}
table.dataTable tbody tr {
    vertical-align: middle;
}
table.dataTable tbody tr:nth-child(even) {
    background: #f8f9fa;
}
table.dataTable tbody tr td {
    border: 1px solid #dee2e6;
}
table.dataTable.no-footer svg {
    position: relative;
    top: -1px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    background: gainsboro;
}

/**---------------------------------------------**/
.avatar {
    border: 2px solid #dee2e6;
    background-size: cover;
    background-position: center center;
    margin: 20px auto;
    width: 100px;
    height: 100px;
    border-radius: 100%;
}

.view-style .row {
    margin-bottom: 10px;
}
.view-style label:not(.form-check-label) {
    text-transform: uppercase;
    font-size: 80%;
    color: #8b8f93;
    letter-spacing: 1px;
    font-weight: 400;
}
.view-style div.val {
    font-size: 125%;
    font-weight: 400;
}
.view-style div.val p br {
    content: '';
    display: block;
    margin-bottom: 5px;
    width: 100%;
}

/**---------------------------------------------**/
span.required {
    color: red;
    font-weight: 700;
}

.alert.simplified {
    padding: 7px 13px;
    position: relative;
    color: #000;
}
.simplified.alert-danger {
    background: rgb(255 0 0 / 20%);
    border-color: red;
}
.simplified.alert-success {
    background: rgb(25 135 84 / 20%);
    border-color: #5bb78c;
}

/**---------------------------------------------**/
.action-btns .input-group {
    width: unset;
}
.action-btns .dropdown-toggle {
    padding: 0;
    width: 26px;
    height: 26px;
}
.action-btns .dropdown-toggle::after {
    display: none;
}
.action-btns .dropdown-toggle > svg {
    top: -2px !important;
}

.action-btns .dropdown-menu .dropdown-item svg {
    margin-right: 10px;
}

/**---------------------------------------------**/
table .status.active {
    color: #198754;
}
table .status.inactive {
    color: #ffc107;
}

/**---------------------------------------------**/
form.goal-style .cat-slots {
    counter-reset: cat-counter;
}
form.goal-style .cat {
    border: 1px solid rgb(206 212 218 / 50%);
    padding: 14px 20px 20px;
    margin-bottom: 25px;
    background: #f8f9fa;
    border-radius: 0.2rem;
}
form.goal-style .cat span.cat-counter::before {
    counter-increment: cat-counter;
    content: counter(cat-counter);
}
form.goal-style .items {
    border: 1px solid #ced4da;
    padding: 14px 20px 20px;
    background: #fff;
    border-radius: 0.2rem;
}
form.goal-style .items .form-control {
    padding-right: 50px;
}
form.goal-style .delete {
    position: absolute;
    top: 0;
    right: 0;
    width: 38px;
    height: 38px;
    padding: 0;
}
form.goal-style .cat > .delete {
    top: 7px;
    right: 20px;
}
form.goal-style .delete svg {
    position: relative;
    top: 1px;
    width: 21px;
    height: 21px;
}

/**---------------------------------------------**/
table#goals td,
table#plans td {
    vertical-align: top;
}

/**---------------------------------------------**/
.tooltip-inner {
    text-align: left;
}

/**---------------------------------------------**/
.goal-record .cat-header {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    padding: 7px 14px 10px;
}
.goal-record .cat-header .desc p:last-child {
    margin-bottom: 0;
}
.goal-record .items {
    border: 1px solid #dee2e6;
    border-top: none;
}
.goal-record .item {
    border-bottom: 1px solid #dee2e6;
    padding: 5px 15px 7px;
}
.goal-record .item:last-child {
    border: none;
}

/**---------------------------------------------**/
table#goal-structure tr.category {
    background: #f8f9fa;
}
table#goal-structure td {
    padding: 5px 10px;
}
table#goal-structure td:first-child {
    width: 85%;
}
table#goal-structure .title {
    font-weight: 600;
}
table#goal-structure .action-btns .dropdown-toggle > svg {
    position: relative;
}

/**---------------------------------------------**/
.upload-slots .form-control {
    padding-right: 50px;
}
.upload-slots .delete {
    position: absolute;
    top: 0;
    right: 0;
    width: 38px;
    height: 38px;
    padding: 0;
}
.upload-slots .file > .delete {
    top: 7px;
    right: 20px;
}
.upload-slots .delete svg {
    position: relative;
    top: 1px;
    width: 21px;
    height: 21px;
}

/**---------------------------------------------**/
form#add-assessment .goal-record .item {
    display: flex;
}
form#add-assessment .goal-record .item span {
    flex-grow: 1;
    padding-right: 10%;
    align-self: center;
}
form#add-assessment .goal-record .item select {
    width: 150px;
    margin: 8px 0;
    align-self: flex-start;
}

/**---------------------------------------------**/
#assessment.view-style .item {
    display: flex;
}
#assessment.view-style .item span:first-child {
    flex-grow: 1;
}

/**---------------------------------------------**/
form .history-slots {
    counter-reset: cat-counter;
}
form .history-slots .history {
    border: 1px solid rgb(206 212 218 / 50%);
    padding: 14px 20px 20px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 0.2rem;
}
form .history-slots span.history-counter::before {
    counter-increment: cat-counter;
    content: counter(cat-counter);
}
form .history-slots .history > .delete {
    position: absolute;
    top: 0;
    right: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    top: 7px;
    right: 20px;
}
form .history-slots .history .delete svg {
    position: relative;
    top: 1px;
    width: 21px;
    height: 21px;
}

/**---------------------------------------------**/
.view-style #history {
    position: relative;
}
.view-style #history #list {
    margin: 0 0 25px 0;
}
.view-style #history .history {
    border: 1px solid rgb(206 212 218 / 50%);
    padding: 14px 20px 20px;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 0.2rem;
}
.view-style #history .history .item:not(:last-child) {
    margin-bottom: 15px;
}
.view-style #history .col-12 > .btn {
    margin: 0 0 10px 0;
}
.view-style #history .btn svg {
    position: relative;
    top: -1px;
    margin-right: 4px;
}

/**---------------------------------------------**/
#admin-dashboard a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

#admin-dashboard .icon {
    width: 55px;
    height: 55px;
    text-align: center;
    line-height: 64px;
    border-radius: 100%;
}

#admin-dashboard .col-12:nth-child(1) .icon {
    background: rgb(54, 162, 235);
}
#admin-dashboard .col-12:nth-child(2) .icon {
    background: rgb(255, 159, 64);
}
#admin-dashboard .col-12:nth-child(3) .icon {
    background: rgb(153, 102, 255);
}
#admin-dashboard .col-12:nth-child(4) .icon {
    background: rgb(75, 192, 192);
}

#admin-dashboard .icon svg {
    fill: #fff;
    width: 30px;
    height: 30px;
}

/**---------------------------------------------**/
#teacher-dashboard a {
    text-decoration: none;
    color: inherit;
}
#teacher-dashboard .icon {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    text-align: center;
    line-height: 41px;
    display: inline-block;
}
#teacher-dashboard .row:nth-child(1) .col-12:nth-child(1) .icon {
    background: rgb(54, 162, 235);
}
#teacher-dashboard .row:nth-child(1) .col-12:nth-child(2) .icon {
    background: rgb(255, 159, 64);
}
#teacher-dashboard .row:nth-child(2) .col-12:nth-child(1) .icon {
    background: rgb(75, 192, 192);
}
#teacher-dashboard .icon svg {
    fill: #fff;
    width: 22px;
    height: 22px;
}
#teacher-dashboard h2 {
    display: inline-block;
    margin: 0 0 20px 5px;
    font-size: 17px;
    position: relative;
    top: -2px;
}
#teacher-dashboard #info label {
    position: relative;
    display: inline-block;
}
#teacher-dashboard #info label:after {
    content: ":";
}
#teacher-dashboard #info .val {
    display: inline-block;
    font-weight: 600;
}
#teacher-dashboard ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#teacher-dashboard li {
    position: relative;
    margin-bottom: 5px;
}
#teacher-dashboard li:last-child {
    margin-bottom: 0;
}
#teacher-dashboard li:before {
    content: "";
    width: 100%;
    display: block;
    height: 1px;
    position: absolute;
    bottom: 6px;
    border-bottom: 1px dashed #e9ecef;
}
#teacher-dashboard li:after {
    content: "";
    clear: both;
}
#teacher-dashboard li span {
    display: inline-block;
    background: #ffffff;
    position: relative;
    z-index: 1;
}
#teacher-dashboard li span:first-child {
    padding-right: 5px;
}
#teacher-dashboard li span:last-child {
    padding-left: 5px;
    float: right;
    font-weight: 600;
}

/**---------------------------------------------**/
#student-dashboard a {
    text-decoration: none;
    color: inherit;
}
#student-dashboard .icon {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    text-align: center;
    line-height: 41px;
    display: inline-block;
}
#student-dashboard .col-12:nth-child(1) .card:nth-child(1) .icon {
    background: rgb(54, 162, 235);
}
#student-dashboard .col-12:nth-child(1) .card:nth-child(2) .icon {
    background: rgb(75, 192, 192);
}
#student-dashboard .col-12:nth-child(2) .icon {
    background: rgb(255, 159, 64);
}
#student-dashboard .icon svg {
    fill: #fff;
    width: 22px;
    height: 22px;
}
#student-dashboard h2 {
    display: inline-block;
    margin: 0 0 20px 5px;
    font-size: 17px;
    position: relative;
    top: -2px;
}
#student-dashboard #info label {
    position: relative;
    display: inline-block;
}
#student-dashboard #info label:after {
    content: ":";
}
#student-dashboard #info .val {
    display: inline-block;
    font-weight: 600;
}
#student-dashboard ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#student-dashboard li {
    position: relative;
    margin-bottom: 5px;
}
#student-dashboard li:last-child {
    margin-bottom: 0;
}
#student-dashboard li span {
    display: inline-block;
    background: #ffffff;
    position: relative;
    z-index: 1;
}
#student-dashboard li span:first-child:after {
    content: ":";
}
#student-dashboard li span:last-child {
    font-weight: 600;
}

/**---------------------------------------------**/
/**
.scrollable {
    white-space: nowrap;
    overflow: hidden;
    overflow-x: auto;
    margin-bottom: 12px;
}
.dataTables_wrapper .scrollable::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}
.dataTables_wrapper .scrollable::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #F5F5F5;
}
.dataTables_wrapper .scrollable::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #212529;
}
**/

/**---------------------------------------------**/
body.query {
    position: relative;
}
#wait {
    background: rgb(255 255 255 / 80%);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    font-size: 150%;
    font-weight: 600;
    color: #03a9f4;
    display: none;
    z-index: 10001;
}
body.query #wait {
    display: flex;
}
#wait svg {
    margin-right: 10px;
    width: 24px;
    height: 24px;
    animation: svg-rotate 3s infinite linear;
}
@keyframes svg-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

/**---------------------------------------------**/
.dropzone {
    min-height: unset;
    border: 3px dashed #ced4da;
    background: #f8f9fa;
}
.dropzone .dz-message {
    font-size: 130%;
    font-weight: 500;
    margin: 20px 0;
}
.dropzone .dz-message span {
    display: block;
    font-size: 70%;
    font-weight: 300;
}
.dropzone .dz-preview {
    height: 100px;
    min-height: unset;
    width: 100px;
    margin: 10px;
}
.dropzone .dz-preview .dz-image {
    border-radius: 0;
    width: 100%;
    height: 100%;
}
.dropzone .dz-preview .dz-image img {
    width: 100%;
    height: auto;
}
.dropzone .dz-preview .dz-details {
    padding: 22.5px 0;
}
.dropzone .dz-preview .dz-progress {
    display: none;
}
.dropzone .dz-preview .dz-remove {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 100;
    width: 20px;
    height: 20px;
}
.dropzone .dz-preview .dz-remove svg {
    width: 20px;
    height: 20px;
    fill: red;
}

.dropzone .dz-preview.dz-file-preview .dz-image {
    border-radius: 0;
}

body.query .dropzone .dz-preview .dz-remove {
    display: none;
}

/**---------------------------------------------**/
form#reply-chat {
    background: #f8f9fa;
    padding: 0px 20px 20px;
    overflow: hidden;
}
form#reply-chat .dropzone {
    border: none;
    background: none;
    padding: 0;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    margin: 0;
    padding: 20px 0 0;
}
form#reply-chat .dropzone.scrollbar {
    margin-bottom: 20px;
}
form#reply-chat .dropzone .dz-preview {
    border: 1px solid #dfe2e7;
    margin: 0 20px 20px 0;
}
form#reply-chat .dropzone .dz-preview:last-child {
    margin-right: 0;
}
form#reply-chat .dropzone::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #f5f5f5;
}
form#reply-chat .dropzone::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #f5f5f5;
}
form#reply-chat .dropzone::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #212529;
}
form#reply-chat textarea {
    max-height: 150px;
}

/**---------------------------------------------**/
table#tbl-messages {
    border: none;
}
table#tbl-messages.dataTable tbody tr {
    border: none;
}
table#tbl-messages.dataTable tbody tr:nth-child(even) {
    background: unset;
}
table#tbl-messages.dataTable tbody td {
    position: relative;
    border: 1px solid #dfe0e1;
    padding: 0;
}
table#tbl-messages.dataTable tbody tr:not(:last-child) td {
    border-bottom: none;
}

table#tbl-messages .message a {
    text-decoration: none;
    color: inherit;
    display: flex;
}
table#tbl-messages .message a > div {
    padding: 7px 10px;
}
table#tbl-messages .message .name {
    width: 40%;
}
table#tbl-messages .message .message {
    width: 55%;
    flex-grow: 1;
    display: flex;
}
table#tbl-messages .message .subject {
    white-space: nowrap;
    display: inline-block;
    padding-right: 7px;
}
table#tbl-messages .message .text {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
table#tbl-messages .message .date {
    width: 200px;
}

table#tbl-messages .message {
    position: relative;
}
table#tbl-messages .message.unread {
    font-weight: 700;
}
table#tbl-messages td > .message.unread:before {
    content: "";
    width: 5px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: #03a9f4;
}

table#tbl-messages .archive {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 10px;
    box-shadow: -20px 0px 18px -8px rgba(255, 255, 255, 1);
    -webkit-box-shadow: -20px 0px 18px -8px rgba(255, 255, 255, 1);
    -moz-box-shadow: -20px 0px 18px -8px rgba(255, 255, 255, 1);
    visibility: hidden;
}
table#tbl-messages td:hover .archive {
    visibility: visible;
}

/**---------------------------------------------**/
#message-view #messages-dashboard {
    border: 1px solid #ced4da;
    display: flex;
}

#messages-dashboard #message-sidebar {
    width: 35%;
    border-right: 1px solid #ced4da;
    max-width: 300px;
    overflow: hidden;
}
#messages-dashboard #message-sidebar > div {
    height: 100%;
    overflow-y: auto;
    margin: 0;
}
#messages-dashboard #message-sidebar > div::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #f5f5f5;
}
#messages-dashboard #message-sidebar > div::-webkit-scrollbar {
    width: 6px;
    height: 10px;
    background-color: #f5f5f5;
}
#messages-dashboard #message-sidebar > div::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #212529;
}
#messages-dashboard #message-sidebar .dataTables_wrapper {
    padding: 0;
}
#messages-dashboard #message-sidebar .dataTables_length,
#messages-dashboard #message-sidebar .dataTables_info,
#messages-dashboard #message-sidebar .dataTables_paginate,
#messages-dashboard #message-sidebar .dataTables_filter {
    display: none;
}
#messages-dashboard #message-sidebar table.dataTable {
    border: none;
    margin: 0;
/* width: 100%; *//* table-layout: fixed; */}
#messages-dashboard #message-sidebar:not(.scrollbar) table.dataTable {
    border-bottom: 1px solid #ced4da;
}
#messages-dashboard #message-sidebar table.dataTable tbody tr:nth-child(even) {
    background: unset;
}
#messages-dashboard #message-sidebar table.dataTable tbody tr td {
    padding: 0;
    border: none;
}
#messages-dashboard #message-sidebar table.dataTable tbody tr:not(:last-child) td {
    border-bottom: 1px solid #ced4da;
}

#messages-dashboard #message-sidebar .message {
    position: relative;
    font-size: 14px;
}
#messages-dashboard #message-sidebar .message.active {
    background: #f8f9fa;
}
#messages-dashboard #message-sidebar .message.active:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    background: #0d6efd;
    display: block;
    height: 100%;
}
#messages-dashboard #message-sidebar .message.unread {
    font-weight: 600;
}
#messages-dashboard #message-sidebar .message.unread .text {
    color: #0d6efd;
}

#messages-dashboard #message-sidebar .message a {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}
#messages-dashboard #message-sidebar .message a > div:first-child {
    display: flex;
}
#messages-dashboard #message-sidebar .avatar {
    margin: 0;
    width: 50px;
    height: 50px;
}
#messages-dashboard #message-sidebar .message .details {
    flex-grow: 1;
    padding: 0 0 0 10px;
}
#messages-dashboard #message-sidebar .message .message {
    margin: 15px 0 0;
}
#messages-dashboard #message-sidebar .text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
#messages-dashboard #message-sidebar .text p:last-child {
    margin: 0;
}

#messages-dashboard #message-content {
    width: 65%;
    flex-grow: 1;
    position: relative;
}

#messages-dashboard #message-content .m-heading {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #ced4da;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
#messages-dashboard #message-content .m-heading > div:first-child {
    flex-grow: 1;
    display: flex;
    align-items: center;
}
#messages-dashboard #message-content .m-heading .avatar {
    margin: 0 20px 0 0;
    width: 60px;
    height: 60px;
}

#messages-dashboard #message-content #reply {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}
#reply-chat #add-file {
    padding: 0;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    box-shadow: none;
}
#reply-chat #add-file svg {
    width: 38px;
    height: 38px;
    fill: #0d6efd;
}

/**---------------------------------------------**/
#chat-logs {
    padding: 0px 14px 0 20px;
    position: absolute;
    top: 120px;
    left: 0;
    right: 6px;
    bottom: 100px;
    overflow: auto;
}
#chat-logs.scrollbar {
    padding-right: 8px;
}
#chat-logs::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #f5f5f5;
}
#chat-logs::-webkit-scrollbar {
    width: 6px;
    height: 10px;
    background-color: #f5f5f5;
}
#chat-logs::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #212529;
}

#chat-logs .chat {
    margin-bottom: 20px;
}
#chat-logs .chat:last-child {
    margin-bottom: 0;
}

#chat-logs .meta {
    display: flex;
    justify-content: flex-end;
    font-size: 14px;
    color: #9e9e9e;
}
#chat-logs .chat .sender {
    display: none;
}

#chat-logs .chat img {
    max-width: 250px;
    border: 1px solid #ced4da;
    padding: 3px;
    border-radius: 3px;
    background: rgb(223 226 231 / 50%);
}

#chat-logs .text > div {
    background: #dedede;
    border-radius: 6px;
    padding: 7px 10px;
}
#chat-logs .text p:last-child {
    margin: 0;
}

#chat-logs .attachment {
    position: relative;
    margin-bottom: 5px;
}

#chat-logs .attachments {
    margin-top: 5px;
}
#chat-logs .attachment:last-child {
    margin-bottom: 0;
}

#chat-logs .file-format {
    background: #03a9f4;
    padding: 4px 4px 4px 10px;
    border-radius: 6px;
}
#chat-logs .file-format > div {
    align-items: center;
    display: flex;
}

#chat-logs .file {
    display: flex;
    align-items: center;
    margin-right: 10px;
    color: #fff;
}
#chat-logs .file svg {
    margin-right: 7px;
    fill: #ffffff;
}
#chat-logs .file span.name {
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#chat-logs .attachment a[download] {
    width: 30px;
    height: 30px;
    padding: 0;
    border-color: #03a9f4;
    background: #fff;
}
#chat-logs .attachment a[download] svg {
    fill: #03a9f4;
}

#chat-logs .attachment.img-format a[download] {
    width: 30px;
    height: 30px;
    padding: 0;
    position: absolute;
    z-index: 1;
    top: 10px;
    right: 10px;
}

#chat-logs .chat.you > div:not(.attachments) {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}
#chat-logs .chat.you .attachments {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}
#chat-logs .chat.you .text > div {
    border-top-right-radius: 0;
    background: #03a9f4;
    color: #fff;
}
#chat-logs .chat.you .file-format {
    border-top-right-radius: 0;
}

#chat-logs .chat.other > div {
    display: flex;
}
#chat-logs .chat.other > div > div:last-child > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#chat-logs .chat.other .avatar {
    width: 60px;
    height: 60px;
    margin: 0 20px 0 0;
}
#chat-logs .chat.other .text > div {
    border-top-left-radius: 0;
}
#chat-logs .chat.other .attachments {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}
#chat-logs .chat.other .file-format {
    background: #dedede;
    border-top-left-radius: 0;
}
#chat-logs .chat.other .file {
    color: inherit;
}
#chat-logs .chat.other .file svg {
    fill: inherit;
}

/**---------------------------------------------**/
table#admin-messages thead {
    pointer-events: none;
}
table#admin-messages tr:nth-child(even) {
    background: none;
}
table#admin-messages tr.active {
    background: rgb(3 169 244 / 5%);
}
table#admin-messages tr.active .unread {
    font-weight: 600;
}
table#admin-messages a {
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
}
table#admin-messages .archived {
    position: relative;
}
table#admin-messages .archive {
    display: block;
    position: absolute;
    right: 0;
top: 0;}
table#admin-messages .archive span {
    background: #ffeb3b;
    padding: 2px 4px;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    position: relative;
    top: -2px;
}

/**---------------------------------------------**/
#messages-dashboard #message-sidebar table.admin .message .details {
    padding: 0;
}
#messages-dashboard #message-sidebar table.admin .message .message {
    margin: 0;
    overflow: hidden;
    display: inline-grid;
}
#messages-dashboard #message-sidebar table.admin .text {
    white-space: nowrap;
    display: block;
}

/**---------------------------------------------**/
#messages-dashboard #message-content #reply.disabled {    
    cursor: not-allowed;
    opacity: 0.8;
}
#messages-dashboard #message-content #reply.disabled form {
    pointer-events: none;
}
#messages-dashboard #message-content #reply.disabled .dropzone .dz-preview {
    display: none;
}

/**---------------------------------------------**/
.scrollable {
    overflow: auto;
}
.scrollable.w-scrollbar {
    padding-bottom: 15px;
}
.scrollable::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #f5f5f5;
}
.scrollable::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #f5f5f5;
}
.scrollable::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #98a0a9;
}

.scrollable table {
    min-width: 100%;
    white-space: nowrap;
}


