/* =========================================
   Table Styles
   ========================================= */
td {
    font-size: 0.9rem;
    padding: 5px 10px !important;
}

th {
    padding: 5px !important;
    font-size: 0.9rem;
}

.dataTables_filter input {
    background-color: #fff !important;
    margin-left: 5px !important;
}

/* Custom Table Header Helper */
.table-header-custom {
    background: #3598dc;
    margin: 0;
    padding: 10px;
    color: #fff; 
    border-radius: 0.35rem 0.35rem 0 0;
    font-weight: bold;
}

/* =========================================
   Chat Widget Styles
   ========================================= */
.chats {
    margin: -15px 0 0 !important;
    padding: 0 !important;
}

.chats li {
    list-style: none !important;
    padding: 5px 0 !important;
    margin: 10px auto !important;
    font-size: 12px !important;
}

.chats li .body {
    display: block;
}

.chats li .avatar {
    height: 45px;
    width: 45px;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    border-radius: 50% !important;
}

.chats li.in .avatar {
    float: left;
    margin-right: 10px;
}

.chats li.out .avatar {
    float: right;
    margin-left: 10px;
}

.chats li .name {
    color: #3590c1;
    font-size: 13px;
    font-weight: 400;
}

.chats li .datetime {
    color: #333;
    font-size: 13px;
    font-weight: 400;
}

.chats li .message {
    display: block;
    padding: 5px;
    position: relative;
}

.chats li.in .message .arrow,
.chats li.out .message .arrow {
    display: block;
    position: absolute;
    top: 5px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.chats li.in .message {
    text-align: left;
    border-left: 2px solid #1bbc9b;
    margin-left: 65px;
    background: #fafafa;
}

.chats li.in .message .arrow {
    left: -13px;
    width: 0;
    height: 0;
    border-right: 8px solid #1bbc9b;
}

.chats li.out .message {
    border-right: 2px solid #f3565d;
    margin-right: 65px;
    background: #fafafa;
    text-align: right;
}

.chats li.out .message .arrow {
    right: -8px;
    border-left: 8px solid #f3565d;
}

.chats li.out .datetime,
.chats li.out .name {
    text-align: right;
}

/* =========================================
   Chat Form Styles
   ========================================= */
.chat-form {
    margin-top: 15px;
    padding: 10px;
    background-color: #e9eff3;
    overflow: hidden;
    clear: both;
}

.chat-form .input-cont {
    margin-right: 40px;
}

.chat-form .input-cont .form-control {
    border: 1px solid #ddd;
    width: 100% !important;
    margin-top: 0;
    background-color: #fff !important;
}

.chat-form .input-cont .form-control:focus {
    border: 1px solid #4b8df9 !important;
}

.chat-form .btn-cont {
    margin-top: -41px;
    position: relative;
    float: right;
    width: 44px;
}

.chat-form .btn-cont .arrow {
    position: absolute;
    top: 17px;
    right: 43px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #4d90fe;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.chat-form .btn-cont .btn {
    margin-top: 0px;
}

.chat-form .btn-cont:hover .arrow {
    border-right-color: #0362fd;
    transition: all 0.3s;
}

.chat-form .btn-cont:hover .btn {
    background-color: #0362fd;
    transition: all 0.3s;
}

/* =========================================
   Popover & Tooltip
   ========================================= */
.popover-content {
    padding: 9px 14px;
}

/* =========================================
   Toastr Notification Customization
   ========================================= */
.toast-message {
    color: white !important;
}

.toast-success {
    background-color: #51A351 !important;
}

#toast-container>div {
    opacity: 1.8 !important;
}

.toast-error {
    background-color: #BD362F !important;
}