.submit-btn {
    color: #fff;
    background-color: #050078;
    border-color: #050078;
}

.submit-btn:hover,
.submit-btn:focus,
.submit-btn:not(:disabled):not(.disabled):active,
.submit-btn:not(:disabled):not(.disabled).active {
    color: #FFF;
    background-color: #373393;
    border-color: #373393;
    box-shadow: none;
}

.navbar.default-layout .navbar-menu-wrapper {
    width: 100%;
}

.navbar.default-layout .navbar-brand-wrapper,
.navbar.default-layout .navbar-menu-wrapper {
    background: #ffffff;
}


/* customize scrollbar */

.navbar.default-layout .navbar-menu-wrapper .navbar-nav .nav-item.language-dropdown .dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.navbar.default-layout .navbar-menu-wrapper .navbar-nav .nav-item.language-dropdown .dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
}

.navbar.default-layout .navbar-menu-wrapper .navbar-nav .nav-item.language-dropdown .dropdown-menu::-webkit-scrollbar-thumb {
    background-color: darkgrey;
}

.navbar.default-layout .navbar-menu-wrapper .navbar-nav .nav-item.language-dropdown .dropdown-menu {
    width: 250px;
    left: -150px !important;
    overflow-y: auto;
}

.navbar.default-layout .navbar-menu-wrapper .navbar-nav .nav-item.language-dropdown .dropdown-menu .dropdown-item .preview-subject {
    margin-bottom: .5rem;
}

.nav-item.dropdown .navbar-dropdown .dropdown-item {
    align-items: start;
}

.navbar.default-layout .navbar-menu-wrapper .search-form {
    width: 20%;
}

.main-panel {
    width: 100%;
}

.table td {
    padding: 5px;
}

.wb-home-brand i {
    font-size: 2rem;
}

.content-wrapper {
    background: #e6e6f2;
}

.wb-pagetitle-header .card {
    box-shadow: none;
}

.wb-sheetbox-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-holder {
    border-radius: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2944b5;
    color: #fff;
    font-size: 20px;
}

.wb-sheetbox-wrapper {
    position: relative;
}

.wb-sheetbox-wrapper .card {
    border-radius: 20px !important;
}

.wb-sheetbox-wrapper .card-body {
    position: relative;
    z-index: 3;
}

.wb-sheetbox-wrapper .sheet-icon-check  {
    font-size: 160px;
    opacity: 0.7;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.wb-sheetbox-wrapper .sheet-icon-pause  {
    font-size: 160px;
    opacity: 0.7;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.wb-sheetbox-wrapper .sheet-icon-close  {
    font-size: 160px;
    opacity: 0.7;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.wb-sheetbox-wrapper .copy-worksheet {
    position: absolute;
    right: 15px;
    bottom: 10px;
    z-index: 4;
}

.wb-sheetbox-blank {
    text-align: center;
    align-items: center;
    vertical-align: middle;
    height: 100%;
}

.wb-sheetbox-blank .col-4 {
    border: 2px dotted #b6b6b6;
}

.page-header {
    background-color: #fff;
    padding: 15px;
}

.search-form {
    margin-left: 20px;
    margin-right: 20px;
}

.table thead:not(.disable-bg) th {
    background: #050078;
    height: 40px;
}
    
.add-newsheet {
    text-align: center;
}

.selectsheetclr {
    list-style: none;
}

.selectsheetclr li a {
    width: 40px;
    height: 40px;
    margin: 5px;
    float: left;
}

.selectsheetclr li a:hover {
    border: 2px solid #212529;
}

.modal-content {
    border: 2px solid #050078;
    border-radius: 0;
}

.quick-links li {
    border: none;
}

.wb-chg-sheet-clr {
    display: flex !important;
    vertical-align: middle;
    align-items: center;
}

.wb-chg-sheet-clr .dot-indicator {
    width: 20px;
    height: 20px;
    margin-left: 5px;
}

.wb-content-body {
    padding: 0 50px;
    margin-bottom: 60px;
}

.wb-quick-link.quick-links a {
    display: flex;
    align-items: center;
}

.wb-memberlist {
    max-height: 150px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.wb-chart-main .tab-content {
    padding: 20px 10px;
    background-color: white;
    border: 1px solid #dee2e6;
    border-top: 0;
    min-height: calc(100vh - 240px);
}

.task-field .form-control {
    width: 80%;
}

#search-result {
    font-size: 0.8rem;
}

#search-result .search-task-name {
    font-size: 1rem;
}


/*char start*/

#frame {
    width: 100%;
    min-width: 360px;
    height: calc(100vh - 266px);
    min-height: 300px;
    max-height: 720px;
    background: #E6EAEA;
    padding: 15px;
}

@media screen and (max-width: 360px) {
    #frame {
        width: 100%;
        height: 100vh;
    }
}

.chat-pd-0 {
    padding: 0 !important;
}

#frame .content {
    float: right;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

@media screen and (max-width: 735px) {
    #frame .content {
        width: calc(100% - 58px);
        min-width: 300px !important;
    }
}

#frame .content .messages {
    height: auto;
    min-height: calc(100% - 93px);
    max-height: calc(100% - 93px);
    overflow-y: scroll;
    overflow-x: hidden;
}

@media screen and (max-width: 735px) {
    #frame .content .messages {
        max-height: calc(100% - 105px);
    }
}

#frame .content .messages::-webkit-scrollbar {
    width: 8px;
    background: transparent;
}

#frame .content .messages::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
}

#frame .content .messages ul li {
    display: inline-block;
    clear: both;
    float: left;
    margin: 15px 15px 5px 15px;
    width: calc(100% - 45px);
    font-size: 0.9em;
}

#frame .content .messages ul li .chat-image {
    min-height: 150px;
    min-width: 150px;
    border-radius: 10px;
}

#frame .content .messages ul li:nth-last-child(1) {
    margin-bottom: 20px;
}

#frame .content .messages ul li.sent .profile-image {
    margin: 5px -25px 0px 0px;
}

#frame .content .messages ul li.sent p {
    color: #212529;
}

#frame .content .messages ul li.replies .profile-image {
    float: left;
    margin: 5px 0px 0px -25px;
}

#frame .content .messages ul li.replies p,
#frame .content .messages ul li.replies span {
    margin-bottom: 0;
}

#frame .content .messages ul li .profile-image {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    float: right;
}

#frame .content .messages ul li p,
#frame .content .messages ul li span {
    /* display: inline-block; */
    padding: 10px 15px;
    border-radius: 20px;
    /*max-width: 205px; */
    line-height: 130%;
    color: #212529;
}

#frame .content .messages ul li span.wb-chatdoc {
    padding: 0px;
}

@media screen and (max-width: 735px) {
    #frame .content .messages ul li p {
        max-width: 300px;
    }
}

#frame .content .messages .chat_like {
    font-size: 1rem;
    float: right;
    margin: -2px -4px;
    padding: 0px 10px 0 0;
}

#frame .content .message-input {
    /*position: absolute;*/
    bottom: 0;
    width: 100%;
    z-index: 99;
}

#frame .content .message-input .wrap {
    position: relative;
}

#frame .content .message-input .wrap .input,
#frame .content .message-input .wrap .ck-editor {
    font-family: "proxima-nova", "Source Sans Pro", sans-serif;
    float: left;
    border: none;
    width: calc(100% - 90px);
    /* padding: 11px 32px 10px 8px; */
    font-size: 0.8em;
    color: #32465a;
    /*margin-top: 10px;*/
}

#frame .content .message-input .wrap .textarea {
    padding: 15px;
}


/* @media screen and (max-width: 735px) {
  #frame .content .message-input .wrap .input,
  #frame .content .message-input .wrap .ck-editor {
    padding: 15px 32px 16px 8px;
  }
} */

#frame .content .message-input .wrap .input:focus {
    outline: none;
}

#frame .content .message-input .wrap .attachment {
    position: absolute;
    right: 60px;
    z-index: 4;
    margin-top: 10px;
    font-size: 1.1em;
    color: #435f7a;
    opacity: .5;
    cursor: pointer;
}

@media screen and (max-width: 735px) {
    #frame .content .message-input .wrap .attachment {
        margin-top: 17px;
        right: 65px;
    }
}

#frame .content .message-input .wrap .attachment:hover {
    opacity: 1;
}

#frame .content .message-input .wrap button {
    float: right;
    border: none;
    width: 50px;
    padding: 7px 0;
    cursor: pointer;
    background: #32465a;
    color: #f5f5f5;
    bottom: -10vh;
}

@media screen and (max-width: 735px) {
    #frame .content .message-input .wrap button {
        padding: 16px 0;
    }
}

#frame .content .message-input .wrap button:hover {
    background: #435f7a;
}

#frame .content .message-input .wrap button:focus {
    outline: none;
}

.wb-reply {
    display: block;
    float: left;
    border-radius: 20px;
    background: #f5f5f5;
}

.wb-sent {
    float: right;
    background: #e6e6f2;
    border-radius: 10px;
    color: #ffffff;
    width: auto;
    max-width: 75%;
}

.wb-file {
    position: relative;
    overflow: hidden;
    width: 40px;
    height: 40px;
    /* margin-top: 10px; */
    border-radius: 0;
    background: transparent;
    border: none;
    /*bottom: -40px;*/
}

.wb-file i {
    padding: 10px;
    display: block;
    color: #435f7a;
    font-size: 22px;
}

.wb-file input {
    position: absolute;
    font-size: 50px;
    opacity: 0;
    right: 0;
    top: 0;
}


/*char End*/

#gantt-chart-filter {
    width: 100%;
    margin-bottom: 10px;
}

#gantt-chart-filter .display-date {
    margin-left: 15px;
}

#gantt-chart-filter .frames,
#gantt-chart-filter .statuses {
    width: 100%;
    float: right;
}

#gantt-chart-filter ul {
    display: flex;
    flex-direction: inherit;
    float: right;
    list-style: none;
}

#gantt-chart-filter ul li {
    margin-right: 10px;
}

#gantt-chart-filter ul li a {
    text-decoration: none;
    padding: 10px;
}

#gantt-chart-filter ul li a:hover,
#gantt-chart-filter ul li a.active {
    background: #050078;
    color: white;
}

#gantt-chart {
    margin-left: 15px;
}

.status-legends {
    float: right;
    margin-right: 15px;
    margin-bottom: 10px;
    font-size: 12px;
}

.status-legends .open {
    background-color: #FFC000;
    padding: 5px;
}

.status-legends .closed {
    background-color: green;
    padding: 5px;
}

.status-legends .overdue {
    background-color: #FF0000;
    padding: 5px;
}

.main-hader{
    background-color: #ffff !important;
}

.ck-editor__editable[role="textbox"] {
        min-height: 150px; 
    }

.clear-single {
    font-size: 18px; 
    color: red; 
    cursor: pointer;
    text-decoration: none !important;
    font-weight: bold;
    transition: all 0.2s ease-in-out; 
}

.clear-single:hover,
.clear-single:focus,
.clear-single:active {
    color: red;
    font-size: 22px; 
    text-decoration: none !important;
}

 #preview-container {
        min-height: 30px;
        /* keeps space reserved */
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px;
    }

    .preview-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 250px;
    }
    
    
    
/* Drawer Button */
.open-drawer-btn {
    border: none;
    background: none;
    color: #333;
    font-size: 26px;
    cursor: pointer;
}

/* Drawer Main */
.drawer-right {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background: #ffffff; /* WHITE BACKGROUND */
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    transition: width 0.35s ease-in-out;
    overflow: hidden;
    z-index: 9999;
}

/* Profile Header */
.drawer-profile-header {
    text-align: center;
    padding: 40px 20px 25px 20px;
    border-bottom: 1px solid #e5e5e5; /* light border */
    position: relative;
    background: #ffffff;
}

.drawer-profile-header img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e0e0e0;
}

.drawer-profile-header .user-name {
    font-size: 18px;
    font-weight: 600;
    color: #333; /* DARK TEXT */
    margin-top: 12px;
}

/* Close Button */
.drawer-profile-header .close-btn {
    position: absolute;
    right: 18px;
    top: 15px;
    font-size: 30px;
    color: #555;
    cursor: pointer;
}

.drawer-items a,
.drawer-items label.dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    font-size: 16px;
    color: #333; /* DARK TEXT */
    text-decoration: none;
    cursor: pointer;
    transition: 0.25s ease;
    border-bottom: 1px solid #f0f0f0;
    background: #ffffff;
}

.drawer-items a i,
.drawer-items label i {
    font-size: 22px;
    color: #555; /* dark icon color */
    margin: 0px !important;
}

/* Hover */
.drawer-items a:hover,
.drawer-items label:hover {
    background: #d4cfcf; /* Light hover */
    padding-left: 32px;
    color: black !important;
}

.task-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;      
    height: 35px;       
    border-radius: 50%;  
    background-color: #007bff; 
    color: #fff;     
    font-weight: bold;
    font-size: 14px;
    margin-right: 15px;
}

.bg-light-yellow {
    background-color: #fff3cd !important;
}

.ms-options {
    max-height: 200px !important;
    overflow-y: auto !important;
}

.prof-container {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background: #fff;
        font-family: 'Segoe UI', Roboto, sans-serif;
        margin: 20px;
    }
    .prof-header {
        background: #f8f9fa;
        padding: 12px 20px;
        border-bottom: 1px solid #e0e0e0;
        border-radius: 8px 8px 0 0;
        font-weight: 600;
        color: #333;
        font-size: 0.95rem;
    }
    .prof-body { padding: 20px; }
    
    .data-label {
        font-size: 11px;
        text-transform: uppercase;
        color: #718096;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
        display: block;
    }
    .data-value {
        font-size: 14px;
        color: #1a202c;
        font-weight: 500;
    }
    .v-line { border-right: 1px solid #edf2f7; }
    
    .pic-avatar {
        width: 32px;
        height: 32px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        font-size: 13px;
    }
    .date-row { margin-bottom: 8px; }
    .date-row:last-child { margin-bottom: 0; }

/* ===== Summernote Hover Fix ===== */
.note-editor.note-frame .note-toolbar .note-btn:hover,
.note-editor.note-frame .note-toolbar .note-btn:focus,
.note-editor.note-frame .note-toolbar .note-btn:active,
.note-editor .note-toolbar .note-btn:hover,
.note-editor .note-toolbar .note-btn:focus,
.note-toolbar .note-btn:hover,
.note-toolbar .note-btn:focus,
.note-toolbar button:hover,
.note-toolbar button.note-btn:hover {
    color: #333333 !important;
    background-color: #e9ecef !important;
    border-color: #ced4da !important;
}