*:not(i) {
    font-family: 'Ubuntu', sans-serif;
    font-variant-caps: normal;
}

.task-description *:not(i) {
    font-family: 'Ubuntu' !important;
    font-size: 0.9rem !important;
}

.task-description a,
.description a {
    color: #e42314 !important;
    cursor: pointer;
}

body {
    font-size: 15px;
}


@view-transition {
  navigation: auto;
}


input[type=radio], input[type=checkbox] {
    box-sizing: border-box;
    padding: 0;
    display: none;
}

.fa-trash:hover, .fa-trash-alt:hover {
    color: #e42314;
    cursor: pointer;
}


.comments a {
    color: #e42314 !important;
    cursor: pointer;
}




body {
    background-color: #FAFAFA;
}

.header-social {
    position: fixed;
    bottom: 0px;
    left: 0px;
    background: #252830;
    z-index: 999999;
    height: 45px;
    line-height: 45px;
}

.header-social * {
    color: white;
}

.bg-ss {
    background-color: #FAFAFA;
}

.navbar-brand {
    font-family: 'Ubuntu', sans-serif;
    font-weight: Bold;
}

.bell-cnt {
    margin-top: .3em;
}

.navbar-light .navbar-nav .nav-link {
    color: black;
}

.dropdown-menu {
    right: 0 !important;
    left: inherit;
    /* transform: none !important; */
}

.notblack {
    color: #444444
}

.gg-logo {
    position: relative;
    left: 16px;
}

.btn-right * {
    z-index: 999 !important;
    float: right !important;
    position: relative;
    top: 30px;
    margin-right: 10px;
}

.search-custom {
    border: 1px solid #cecece;
    border-radius: 10px;
    border-right: 0 !important;
    width: 100%;
}

.ing-search {
    width: 100% !important;
}

.append-custom {
    background: white;
    border: 1px solid #cecece;
    border-radius: 10px;
    border-left: 0 !important;
}

.notification-menu {
    width: 360px !important;
    right: 0 !important;
    top: 100% !important;
    left: auto !important;
    transform: none !important;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .notification-menu {
        width: calc(100vw - 24px) !important;
        max-width: 380px !important;
        right: 12px !important;
        left: 12px !important;
        transform: none !important;
        position: fixed !important;
        top: 80px !important;
    }
}



.img-logo {
    width: 200px;
    height: auto;
}

.img-logo-2 {
    width: 80%;
    height: auto;
}

.btn-bold {
    text-transform: uppercase;
    font-weight: bold;
}

input[type=text],
input[type=password],
input[type=email],
input[type=number] {
    border: 1px solid #252830;
    border: 1px solid #252830;
    border-radius: 4px;
}

.padding-box {
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 40px;
    padding-right: 40px;
}

.b-shadow {
    box-shadow: 20px 20px 40px #00000014 !important;
}

.bg-silver {
    background: #D9D9D9;
}

.navbar {
    height: 122px;
    background: #D9D9D9 !important;
}

.fill {
    min-height: 100%;
    height: 100%;
}

.shadow-sect {
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 4px 4px 4px 4px;
    border-color: #E5E5E5 #DBDBDB #D2D2D2;
    border-style: solid;
    border-width: 1px;
}

.box {
    background: white;
    padding: 10px;
}

.bg-silver {
    background: #e9ecef;
}

.d-bottom {
    position: absolute;
    bottom: 5px;
    background: white;
    z-index: 999;
}

.boxFib {
    height: 165px;
    font-variant-caps: all-petite-caps;
    color: #252830;
    border-radius: 10pt;
    box-shadow: 0px 3px 6px #00000029;
    padding: 16px;
    border-bottom: 5px solid #DF2E2E;
}

.boxFib:hover {
    box-shadow: rgb(238 238 238) 3px 3px 6px 0px inset, rgb(195 195 195 / 50%) -3px -3px 6px 1px inset;
    border: 1px solid rgb(195 195 195 / 50%);
    border-bottom: 3px solid #DF2E2E;
    transition:cubic-bezier(0.445, 0.05, 0.55, 0.95);
    cursor: pointer;
}

.glueToBottom {
    position: absolute;
    bottom: 15px;
    left: 30px;
    right: 30px;
    margin: 0 auto;
    text-align: center;
}

.log-row {
    padding: 5px;
}

/* Modern Header Styles */
.row_header {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 64px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Header Home Button */
.header-home-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f0f2f5;
    color: #444 !important;
    transition: all 0.2s ease;
    text-decoration: none;
}

.header-home-btn:hover {
    background: #e4e6e9;
    color: #e42314 !important;
    text-decoration: none;
}

.header-home-btn i {
    font-size: 1.1rem;
}

/* Header Navigation Buttons */
.header-nav-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f0f2f5;
    color: #444 !important;
    transition: all 0.2s ease;
    text-decoration: none;
}

.header-nav-btn:hover {
    background: #e4e6e9;
    color: #e42314 !important;
    text-decoration: none;
}

.header-nav-btn i {
    font-size: 1rem;
}

/* Header Menu Toggle */
.header-menu-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f0f2f5;
    color: #444;
    border: none;
    transition: all 0.3s ease;
}

.header-menu-toggle:hover,
.header-menu-toggle:focus {
    background: #e4e6e9;
    color: #e42314;
}

/* Notification Bell */
.header-notification-wrapper {
    position: relative;
    flex-shrink: 0;
}

.header-notification {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s ease;
}

.header-notification:hover {
    background: transparent;
}

.header-notification:focus,
.header-notification:active {
    outline: none;
    box-shadow: none;
    background: transparent;
}

.header-notification-wrapper .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    margin-top: 8px;
}

.header-notification .www {
    width: 24px;
    height: 24px;
    border-radius: 0;
}

.header-notification .badge {
    position: absolute;
    top: 0px;
    right: 0px;
    min-width: 22px;
    line-height: 22px;
    height: 22px;
    font-size: 11px;
    font-weight: 600;
    padding: 0 5px;
    border-radius: 24px;
    background: linear-gradient(135deg, #e42314 0%, #c41d10 100%);
    box-shadow: 0 2px 4px rgba(228, 35, 20, 0.3);
}

/* User Info in Header */
.header-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: background 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.header-user-info:hover {
    background: #f0f2f5;
    text-decoration: none;
}

.header-user-info:focus,
.header-user-info:active {
    outline: none;
    box-shadow: none;
    text-decoration: none;
}

.header-user-name {
    font-weight: 600;
    font-size: 14px;
    color: #444;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* User Avatar in Header */
.header-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.header-avatar-placeholder {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* Language Switcher */
.header-lang-switch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.header-lang-switch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* User Dropdown */
.header-user-dropdown {
    min-width: 200px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 8px;
    margin-top: 8px;
}

.header-user-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.header-user-dropdown .dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    color: #6c757d;
}

.header-user-dropdown .dropdown-item:hover {
    background: #f8f9fa !important;
    color: #e42314 !important;
}

.header-user-dropdown .dropdown-item:hover i {
    color: #e42314;
}

/* Mobile Header Responsive Styles */
@media (max-width: 767px) {
    .row_header {
        height: 56px;
        border-radius: 10px;
        padding: 0 8px;
    }

    .header-home-btn {
        width: 36px;
        height: 36px;
    }

    .header-home-btn i {
        font-size: 1rem;
    }

    .header-menu-toggle {
        width: 36px;
        height: 36px;
    }

    .header-notification {
        width: 38px;
        height: 38px;
    }

    .header-notification .www {
        width: 20px;
        height: 20px;
    }

    .header-notification .badge {
        top: 0;
        right: 0;
        min-width: 16px;
        height: 16px;
        font-size: 9px;
        padding: 0 4px;
    }

    .header-user-info {
        padding: 4px;
        background: transparent;
    }

    .header-avatar,
    .header-avatar-placeholder {
        width: 36px;
        height: 36px;
    }

    .header-avatar-placeholder i {
        font-size: 14px;
    }

    .header-lang-switch {
        width: 30px;
        height: 30px;
    }

    .gap-2 {
        gap: 8px !important;
    }

    .gap-3 {
        gap: 10px !important;
    }
}

/* Header gap utilities (for browsers not supporting gap on flex) */
.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

/* Header container padding fixes */
.ps-3 {
    padding-left: 1rem !important;
}

.ps-md-4 {
    padding-left: 1rem !important;
}

.pe-3 {
    padding-right: 1rem !important;
}

.pe-md-4 {
    padding-right: 1rem !important;
}

@media (min-width: 768px) {
    .ps-md-4 {
        padding-left: 1.5rem !important;
    }

    .pe-md-4 {
        padding-right: 1.5rem !important;
    }
}

/* Mobile Menu Collapse Improvements */
.navbar-collapse.show,
.navbar-collapse.collapsing {
    background: #fff;
    z-index: 1000000 !important;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-bottom: 16px;
    border-radius: 12px;
    position: absolute;
    right: 12px !important;
    left: 12px !important;
    padding-left: 20px;
    top: 70px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar-collapse .nav-link {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.navbar-collapse .nav-link:hover {
    background: #f8f9fa;
    color: #e42314;
}

.btn-primary:hover,
.btn-primary:focus
{
    color: #fff !important;
    background-color: #e42314 !important;
    border-color: #e3342f !important;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}

.btn-custom:hover,
.btn-custom:focus,
{
    color: #fff !important;
    background-color: #e42314 !important;
    border-color: #e3342f !important;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}

.bg-dark {
    background: #252830 !important;
    color: white !important;
}

.bg-light {
    background: #D9D9D9 !important;
    color: #252830 !important;
}

.side-box {
    width: 100%;
    height: 60px;
    line-height: 60px;
    border-radius: 4px;
}

.circle {
    border-radius: 50%;
    text-align: center;
    width: 24px;
    height: 24px;
    display: inline-block;
}

.circle .initials {
    font-size: 12px;
    /* 50% of parent */
    line-height: 1;
    position: relative;
    bottom: 1px;
    /* 25% of parent */
    font-weight: bold;
    color: #fff;
}

.txt-red {
    color: #e42314 !important;
}

.link {
    text-decoration: none !important;
}

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

.circle-xl {
    border-radius: 50%;
    text-align: center;
    width: 48px;
    height: 48px;
    display: inline-block;
}

.circle-xl .initials {
    font-size: 24px;
    /* 50% of parent */
    line-height: 1;
    position: relative;
    top: 12px;
    /* 25% of parent */
    font-weight: bold;
    color: #fff;
}

.ck-editor__editable {
    min-height: 200px;
    font-family: 'Ubuntu', sans-serif !important;
}

.ck-editor__editable * {
    font-family: 'Ubuntu', sans-serif !important;
}

.ck-editor__editable p,
.ck-editor__editable span,
.ck-editor__editable div,
.ck-editor__editable li,
.ck-editor__editable td,
.ck-editor__editable th {
    font-family: 'Ubuntu', sans-serif !important;
}


/* .btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.show>.btn-secondary.dropdown-toggle {
color: #fff;
background-color: #252830 !important;
border-color: #252830 !important;
}

.btn-secondary {
background-color: #25283010 !important;
bord

er-color: #252830 !important;
color: #17141f;
} */


/* The switch - the box around the slider */

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/ * Hide default HTML checkbox */ .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}


/* The slider */

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.pntr {
    cursor: pointer;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #e42314;
}

input:focus+.slider {
    box-shadow: 0 0 1px #e42314;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.img-thumb {
    object-fit: contain;
    width: 100%;
    height: 92px;
    margin: 0 auto;
}

.no-underline {
    text-decoration: none !important;
}

.text-strong {
    font-weight: bold;
}

.font11px {
    font-size: 11px;
}

.font12px {
    font-size: 12px;
}

.font13px {
    font-size: 13px;
}

.font14px {
    font-size: 14px;
}

.font15px {
    font-size: 15px;
}

.font16px {
    font-size: 16px;
}

.font17px {
    font-size: 17px;
}

.font18px {
    font-size: 18px;
}

.font19px {
    font-size: 19px;
}

.font20px {
    font-size: 20px;
}


.bordered {
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    outline: none !important;
    box-shadow: none !important;
}

.bordered-view {
    box-shadow: 0px 3px 6px #00000014;
    border-radius: 10px;
}

.deadsmall {
    font-size: 13px;
}

.deadcolor {
    color: #EC5453;
}

.stronger {
    color: #444444;
    font-weight: bold;
}

.stronger .text-muted {
    font-weight: normal;
}

.text-dangy {
    color: #e42314 !important;
}

.bordered-bot {
    border-bottom: 1px solid #D9D9D9;
}

.bordered {
    border: 1px solid #D9D9D9;
    border-radius: 4px;
}

.bordered2 {
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.brd {
    border: 1px solid #636464;
    border-radius: 4px;
}

.btn-custom {
    background: #D9D9D9 !important;
    border-radius: 4px;
    opacity: 1;
    font-size: 15px;
}

.font-mute {
    color: #636464;
}

.pagination {
    justify-content: center;
}

.ck.ck-editor__top .ck-sticky-panel .ck-toolbar {
    background: #d9d9d9;
}

.bg-d9 {
    background: #d9d9d9;
}

.bg-e9 {
    background: #eee;
}


.radius { 
    border-radius: 10px;
}

.info-box {
    font-size: 14px;
    text-align: left;
    background: #e9ecef;
}

.nn {
    text-decoration: none !important;
}

.h140px {
    height: 170px;
}


.h200px {
    height: 200px;
}


.watcher-select {
    width: 100%;
    margin-bottom: 120px !important;
}

.filter-select select {
    width: 100%;
    background: #d9d9d9;
    color: #252830 !important;
}

.filter-select .select2-selection__rendered {
    background: #fff;
    /* color: #252830 !important; */
    /* color: red !important; */
}

.select2-container--bootstrap4 .select2-selection {
    /* border-color: #F3F3F3 !important; */
    color: #656565 !important;
}

.filter-select .select2-results .select2-highlighted {
    background: #252830 !important;
}

.filter-select .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #5897fb !important;
    color: white;
}

.txt-dark {
    color: #252830;
}

[v-cloak] {
    display: none !important;
}

/* Changes panel close button styling */
.alert .close {
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    color: #000;
    opacity: .5;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 0;
}

.alert .close:hover {
    opacity: .75;
}

.input-custom {
    background: #fff;
    color: #252830 !important;
    border: 1px solid #ced4da !important;
}

.navbar-collapse.show,
.navbar-collapse.collapsing {
    background: white;
    z-index: 1000000 !important;
    padding: 10px;
    box-shadow: 0px 3px 6px #00000029;
    margin-bottom: 20px;
    border-radius: 10px;
    position: absolute;
    right: 15px !important;
    left: 15px !important;
    padding-left: 27px;
    top: 60px;
}

.btn-blank {
    border: 0;
    background: transparent;
}

.f13 {
    font-size: 13px;
}

.f15 {
    font-size: 15px;
}

.odd-bg a:nth-child(even) {
    background: #dfdfdf;
    /* background: #e9ecef; */
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #fff !important;
    background-color: #252830 !important;
}

.title {
    font-family: 'Ubuntu', sans-serif;
    letter-spacing: 0px;
    color: #252830 !important;
    text-transform: uppercase;
}

.list-enter-active,
.list-leave-active {
    transition: all 0.75s;
}

.list-enter,
.list-leave-to
/* .list-leave-active below version 2.1.8 */

{
    opacity: 0;
}

.comment {
    background: #f0f2f5;
    border-radius: 18px;
    padding-bottom: 8px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 8px;
}

.btn {
    border-radius: 4px;
}

.gradient {
    background: linear-gradient(0deg, #e5e5e5, transparent);
}

.avatar {
    width: 16px;
    height: 16px;
    border-radius: 16px;
    border: 3px solid white;
    object-fit: cover;
    object-position: center center;
}

.avatar24 {
    width: 24px;
    height: 24px;
    border-radius: 24px;
    border: 3px solid white;
    object-fit: cover;
    object-position: center center;
}

.avatar32 {
    width: 32px;
    height: 32px;
    border-radius: 32px;
    border: 1px solid white;
    object-fit: cover;
    object-position: center center;
}

.avatar45 {
    width: 45px;
    height: 45px;
    border-radius: 45px;
    border: 3px solid white;
    object-fit: cover;
    object-position: center center;
}

.avatar48 {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    border: 3px solid white;
    object-fit: cover;
    object-position: center center;
}

.avatar61 {
    width: 61px;
    height: 61px;
    border-radius: 61px;
    border: 3px solid white;
    object-fit: cover;
    object-position: center center;
}

.avatar48:hover,
.avatar61:hover,
.www:hover,
.www2:hover {
    box-shadow: 0 0 6px #838383;
}

.avatar64 {
    width: 64px;
    height: 64px;
    border-radius: 64px;
    border: 3px solid white;
    object-fit: cover;
    object-position: center center;
}

.notif-box {
    height: 31px;
    width: 31px;
    border-radius: 31px;
    text-align: center;
    font-size: 12px;
    line-height: 31px;
    font-size: 13px;
    display: inline;
    padding: 0px;
    /* margin: 0 auto; */
    font-weight: normal;
    background: #DF2E2E 0% 0% no-repeat padding-box;
}

.form-control {
    border-radius: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
}

.select2-container--default .select2-selection--single {
    border-radius: 10px !important;
    height: 36px !important;
    line-height: 36px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
}
.select2-container {
    width: 100% !important;
    margin-bottom: 10px;
}

.cat-box {
    margin-top: 50px;
}

.cat-box-2 {
    margin-top: 83px;
}

.box h2 {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0px;
    color: #444444;
    text-transform: uppercase;
    opacity: 1;
}

.button-query {
    color: #444444;
    width: 100%;
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding-top: 11.5px;
    width: 90%;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    text-transform: capitalize;
    border-top: 1px solid #707070;
}

.button-query:hover {
    text-decoration: none;
    color: #DF2E2E;
}

select {
    /* Removes the default <select> styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Positions background arrow image */
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAh0lEQVQ4T93TMQrCUAzG8V9x8QziiYSuXdzFC7h4AcELOPQAdXYovZCHEATlgQV5GFTe1ozJlz/kS1IpjKqw3wQBVyy++JI0y1GTe7DCBbMAckeNIQKk/BanALBB+16LtnDELoMcsM/BESDlz2heDR3WePwKSLo5eoxz3z6NNcFD+vu3ij14Aqz/DxGbKB7CAAAAAElFTkSuQmCC');
    background-repeat: no-repeat;
    background-position: 97% center;
}

.t-e {
    text-overflow: ellipsis;
    overflow: hidden;
}

.fi-content {
    font-size: 11px !important;
}


.big-title {
    letter-spacing: 0.48px;
    color: #444444;
    text-transform: uppercase;
    opacity: 1;
    font-size: 28px;
    font-weight: bold;
}

.smaller {
    text-align: left;
    font-size: 14px;
    line-height: 16px;
    color: #DF2E2E;
    font-weight: bold;
    text-transform: uppercase;
    opacity: 1;
}

.nav_list .nav-link:hover {
    color: #fff;
    background: #e42314;
}
/* responsive */

@media (min-width: 1400px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1640px;
    }
}

@media (min-width: 1400px) {
    h1,
    .h1 {
        font-size: 36px;
        color: #636464;
    }
}

.breadcrumb {
    background: transparent !important;
}

. bg-danger {
    background: #636464 !important;
}

.color-1 {
    color: #636464 !important;
}

.color-2 {
    color: #252830 !important;
}

.badge {
    text-transform: uppercase;
}


/* .btn-one,
.btn-two,
.btn-three {
color: #fff;
background-color: #D9D9D9;
border-color: #D9D9D9;
color: #252830;
} */

.btn-four {
    background-color: #252830 !important;
    border-color: #252830 !important;
    color: #fff;
}

.btn-four:hover,
.btn-four:focus {
    color: #fff !important;
    background-color: #1E1E1E !important;
    border-color: #1E1E1E !important;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}

.btn-one {
    color: #444444 !important;
    background-color: #e8e8e8 !important;
    border-color: #e8e8e8 !important;
}

.btn-one:hover,
.btn-one:focus {
    background-color: #252830 !important;
    border-color: #252830 !important;
    color: #fff !important;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}

.btn-two {
    color: #fff !important;
    background-color: #FB8C1D !important;
    border-color: #FB8C1D !important;
}

.btn-two:hover,
.btn-two:focus {
    background-color: #252830 !important;
    border-color: #252830 !important;
    color: #fff !important;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}

.btn-three {
    color: #fff !important;
    background-color: #5a5c62 !important;
    border-color: #252830 !important;
}

.btn-three:hover,
.btn-three:focus {
    background-color: #252830 !important;
    border-color: #252830 !important;
    color: #fff !important;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}

.lheight {
    line-height: 24px;
}

@media (min-width: 768px) {
    .collapse.dont-collapse-sm {
        display: block;
        width: 100%;
        height: auto !important;
        visibility: visible;
    }

    .notif-link {
        position: absolute;
        right: 0;
        top: 0;
    }
}

.bottom6px {
    position: absolute;
    bottom: 6px;
    width: 100%;
}

.w32 {
    max-width: 32px !important;
    width: 32px !important;
    height: auto !important;
}

.w32box {
    min-width: 64px !important;
    max-width: 64px !important;
    width: 64px !important;
    height: auto !important;
}

.www {
    width: 61px;
    height: 61px;
    border-radius: 61px;
}

.www2 {
    width: 36px;
    height: 36px;
    border-radius: 36px;
    top: 5px;
    position: relative;
}

.notification {
    position: absolute;
    position: absolute;
    right: 20px;
    top: 15px;
}

.notification2 {
    position: absolute;
    right: 4px;
    top: 3px;
    font-size: 10px;
}

.notification-box {
    height: 600px;
    overflow-y: scroll;
}

.btn-primary:hover,
.btn-danger:hover {
    color: #fff;
    background-color: #252830;
    border-color: #252830;
}

.highlight {
    background: #efa31d !important;
    /* background: #fff7ad !important; */
}

.box-jobs {
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    overflow: visible;
}

.box-jobs:hover {
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

  
@keyframes blinking {
    0% {
        opacity: 0;
    }
    100% {
      opacity: 0.85;
    }
  }

.blink::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0px;
    left: 0px;
    width: calc(100% + 3px);
    height: calc(100% + 3px);
    border-radius: 12px;
    background: transparent;
    opacity: 0;

    will-change: opacity, box-shadow;

    box-shadow: 0px 0px 12px 3px #ef4f43;

    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);

    animation: blinking 1.2s infinite alternate;
    animation-timing-function: ease-in-out;
}

.blink {
    overflow: visible;
}

.blink .col-12 {
    border-radius: 12px;
}

.description img {
    width:100%;
    height: auto;

}

.description {
       line-break: normal !important;
       font-family: 'Ubuntu', sans-serif !important;
       word-wrap: break-word;
       overflow-wrap: break-word;
       word-break: break-word;
}

.description * {
       font-family: 'Ubuntu', sans-serif !important;
}

/* Comment History Collapsible Section */
.comment-history-section {
    background-color: #e9ecef;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 1000px;
        transform: translateY(0);
    }
}

.comment-history-section .fa-times:hover {
    color: #dc3545;
}

/* Deleted Comment Styles */
.deleted-comment {
    opacity: 0.7;
}

.strikethrough {
    text-decoration: line-through;
}


#comment .ck-sticky-panel{
    display: none !important;
}

/* Modern Notification Box Styles */
.notification-box-modern {
    min-width: 380px;
    max-width: 420px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0;
    max-height: 600px;
    overflow: hidden;
}

.notification-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-radius: 8px 8px 0 0;
}

.notification-header h6 {
    color: white;
    font-weight: 600;
}

.notification-header .btn-link {
    color: white !important;
    text-decoration: none;
    font-size: 0.875rem;
}

.notification-header .btn-link:hover {
    text-decoration: underline;
}

.notification-list {
    max-height: 500px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #444444;
    transition: background-color 0.2s ease;
}

.notification-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-unread {
    background-color: #e7f3ff;
}

.notification-unread:hover {
    background-color: #d0e7ff;
}

.notification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 50%;
    margin-right: 12px;
}

.notification-icon i {
    font-size: 18px;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-unread-indicator {
    width: 8px;
    height: 8px;
    background-color: #dc3545;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: 12px;
    align-self: center;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #444444;
}

.notification-type-text {
    color: #444444;
}

.notification-task-name {
    font-size: 13px;
    color: #495057;
    margin-bottom: 6px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.notification-meta {
    font-size: 13px;
    color: #444444;
    margin-bottom: 2px;
}

.notification-meta .task-id {
    font-weight: 600;
    color: #dc3545;
}

.notification-meta .triggered-by {
    color: #888;
    margin-left: 8px;
}

.notification-meta .triggered-by::before {
    content: "•";
    margin-right: 6px;
}

.notification-time {
    font-size: 12px;
    color: #999;
}

/* Scrollbar styling for notification list */
.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.notification-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Modern Comments Section */
.comments-header {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
}

.comments-title {
    color: #444444;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.comments-title i {
    color: #dc3545;
}

.comments-list {
    width: 100%;
}

.comment-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    margin-bottom: 15px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.comment-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: #ddd;
}

.comment-deleted {
    opacity: 0.7;
    background: #f8f9fa;
}

.comment-avatar {
    flex-shrink: 0;
}

.avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.comment-author-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.comment-author {
    font-weight: 600;
    color: #444444;
    font-size: 16px;
}

.comment-edited {
    color: #6c757d;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: 4px;
}

.comment-edited:hover {
    color: #495057;
}

.comment-edited i {
    font-size: 14px;
}

.edited-text {
    font-style: italic;
}

.comment-time {
    color: #6c757d;
    font-size: 14px;
    white-space: nowrap;
}

.comment-body {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 12px;
    word-wrap: break-word;
    font-family: 'Ubuntu', sans-serif !important;
    font-size: 15px;
}

.comment-body * {
    font-family: 'Ubuntu', sans-serif !important;
}

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

.comment-action-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 14px;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.comment-action-btn:hover {
    background: #f8f9fa;
    color: #495057;
}

.comment-action-delete:hover {
    color: #dc3545;
    background: #fff5f5;
}

.comment-action-like.liked,
.comment-action-like:hover {
    color: #007bff;
}

.comment-action-like.liked i {
    animation: comment-like-pop 0.3s ease;
}

@keyframes comment-like-pop {
    50% { transform: scale(1.3); }
}

/* Comment History Wrapper */
.comment-history-wrapper {
    margin-top: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.comment-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #e9ecef;
    border-bottom: 1px solid #dee2e6;
}

.comment-history-header i.fa-times {
    cursor: pointer;
    color: #6c757d;
    font-size: 16px;
    transition: color 0.2s ease;
}

.comment-history-header i.fa-times:hover {
    color: #dc3545;
}

.comment-history-list {
    padding: 12px 16px;
}

.history-item {
    padding: 12px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 10px;
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-timestamp {
    color: #6c757d;
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: 500;
}

.history-content {
    color: #495057;
    line-height: 1.5;
}

/* Comment Input Section */
.comment-input-wrapper {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.comment-input-wrapper:hover {
    border-color: #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.comment-input-wrapper:focus-within {
    border-color: #dc3545;
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.15);
}

.comment-input-avatar {
    flex-shrink: 0;
}

.comment-input-content {
    flex: 1;
    min-width: 0;
}

.comment-editor-wrapper {
    margin-bottom: 12px;
}

.comment-editor-wrapper .ck.ck-editor__main > .ck-editor__editable {
    border-radius: 12px !important;
    border: 1px solid #dee2e6;
    font-family: 'Ubuntu', sans-serif !important;
}

.comment-editor-wrapper .ck.ck-editor__main > .ck-editor__editable * {
    font-family: 'Ubuntu', sans-serif !important;
}

.comment-editor-wrapper .ck.ck-editor__main > .ck-editor__editable:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1) !important;
}

.comment-textarea {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Ubuntu', sans-serif !important;
}

.comment-textarea:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
    outline: none;
}

.comment-input-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-hint {
    font-size: 11px;
    color: #94a3b8;
}

.comment-hint kbd {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 10px;
    font-family: inherit;
    color: #64748b;
}

.comment-submit-btn {
    padding: 10px 24px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.comment-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.comment-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Mention styling in comments */
.mention {
    color: #dc3545;
    font-weight: 600;
    background-color: rgba(220, 53, 69, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mention:hover {
    background-color: rgba(220, 53, 69, 0.2);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .comment-card {
        padding: 12px;
        gap: 10px;
        flex-direction: column;
    }

    .comment-avatar {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .comment-author-mobile {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .avatar-img,
    .avatar-circle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .comment-header {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
        gap: 8px;
    }

    .comment-author-info {
        gap: 6px;
    }

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

    .comment-author {
        font-size: 15px;
        font-weight: 600;
    }

    .comment-body {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .comment-input-wrapper {
        padding: 16px;
        gap: 0;
        border-radius: 16px;
        margin-top: 15px;
    }

    .comment-input-avatar {
        display: none;
    }

    .comment-textarea {
        min-height: 120px;
        font-size: 15px;
        border-radius: 12px;
        padding: 14px;
    }

    .ck-editor__editable {
        min-height: 120px !important;
        font-size: 15px !important;
        border-radius: 12px !important;
    }

    .comment-editor-wrapper .ck.ck-editor__main > .ck-editor__editable {
        border-radius: 12px !important;
    }

    .comment-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 10px;
        margin-top: 10px;
        justify-content: flex-start;
        align-items: center;
    }

    .comment-action-btn {
        font-size: 14px;
        padding: 6px 10px;
        white-space: nowrap;
        flex: 0 0 auto;
        display: inline-flex !important;
        align-items: center;
        gap: 4px;
    }

    .comments-title {
        font-size: 19px;
    }

    .comments-header {
        padding-bottom: 12px;
    }

    .comments {
        padding: 0 8px;
    }

    .comment-submit-btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 16px;
        border-radius: 10px;
    }
}

/* Dropzone Custom Styles */
.dropzone {
    border: 2px dashed #e42314 !important;
    border-radius: 8px !important;
    background: #fafafa !important;
    min-height: 150px !important;
    padding: 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.dropzone:hover {
    background: #ffe6e6 !important;
    border-color: #c41e0f !important;
}

.dropzone .dz-message {
    text-align: center;
    margin: 2em 0;
    font-size: 16px;
    color: #444444;
}

.dropzone .dz-preview {
    margin: 10px;
}

.dropzone.dz-drag-hover {
    border-color: #28a745 !important;
    background: #e8f5e9 !important;
}

.dropzone .dz-preview .dz-image {
    border-radius: 8px;
}

.dropzone .dz-preview .dz-remove {
    font-size: 12px;
    color: #dc3545;
    text-decoration: none;
    cursor: pointer;
}

.dropzone .dz-preview .dz-remove:hover {
    text-decoration: underline;
}

/* Modern task card styling */
.box-jobs .badge {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.box-jobs h5 {
    font-weight: 600;
    color: #444444;
    line-height: 1.4;
}

.box-jobs .text-muted {
    color: #6c757d !important;
    font-size: 0.875rem;
}

.box-jobs .task-number {
    font-size: 1.1rem;
}

.box-jobs .btn {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.box-jobs .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Task content styling */
.task-content {
    background: #ffffff;
}

.task-title {
    color: #444444;
    font-weight: 600;
    line-height: 1.5;
}

.task-description {
    color: #444444;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.task-description.expanded {
    display: block;
    -webkit-line-clamp: unset;
}

.task-description ul,
.task-description ol,
.task-description table {
    margin: 0.5rem 0;
}

.task-description li {
    margin-left: 1.2rem;
}

.task-description table {
    width: 100%;
    border-collapse: collapse;
}

.task-description table td,
.task-description table th {
    border: 1px solid #ddd;
    padding: 0.3rem 0.5rem;
}

.task-read-more {
    color: #dc3545;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    display: none;
    margin-bottom: 10px;
}

.task-read-more:hover {
    text-decoration: underline;
}

.task-meta .badge {
    background: #f0f3f7 !important;
    color: #444444 !important;
    padding: 0.5rem 0.85rem;
    font-weight: 500;
    border: 1px solid #e1e8ed;
}

.task-meta .badge i {
    margin-right: 0.35rem;
}

.task-meta .badge-light:hover {
    background: #e8ecf1 !important;
}

/* Task actions styling */
.task-actions {
    background: #fafbfc;
}

.task-actions .btn i {
    margin-right: 0.5rem;
}

/* Header styling */
.big-title {
    font-weight: 700;
    color: #444444;
    font-size: 2rem;
}

/* Search input modern styling */
.search-custom {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.search-custom:focus {
    border-color: #c9302c;
    box-shadow: 0 0 0 0.2rem rgba(201, 48, 44, 0.15);
}

.append-custom {
    border-radius: 0 10px 10px 0;
    background: #e42314;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.append-custom:hover {
    background: #c41d10;
}

/* Filter section modernization */
.filter-select {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.filter-select .col-6,
.filter-select .col-lg-3,
.filter-select .col-lg-4 {
    padding: 0.35rem 0.5rem !important;
}

.filter-select select,
.filter-select input.form-control {
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    transition: all 0.25s ease;
    background-color: #fff;
    font-size: 13px;
    height: 42px;
}

.filter-select select:hover,
.filter-select input.form-control:hover {
    border-color: #cbd5e1;
}

.filter-select select:focus,
.filter-select input.form-control:focus {
    border-color: #c9302c;
    box-shadow: 0 0 0 3px rgba(201, 48, 44, 0.1);
    outline: none;
}

/* Select2 modern styling for filters */
.filter-select .select2-container--bootstrap4 .select2-selection--single {
    height: 42px !important;
    border-radius: 10px !important;
    border: 1.5px solid #e2e8f0 !important;
    background-color: #fff !important;
    transition: all 0.25s ease;
}

.filter-select .select2-container--bootstrap4 .select2-selection--single:hover {
    border-color: #cbd5e1 !important;
}

.filter-select .select2-container--bootstrap4.select2-container--focus .select2-selection--single,
.filter-select .select2-container--bootstrap4.select2-container--open .select2-selection--single {
    border-color: #c9302c !important;
    box-shadow: 0 0 0 3px rgba(201, 48, 44, 0.1) !important;
}

.filter-select .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
    padding-left: 14px;
    color: #475569 !important;
    font-size: 13px;
    background: transparent !important;
}

.filter-select .select2-container--bootstrap4 .select2-selection--single .select2-selection__placeholder {
    color: #94a3b8 !important;
}

.filter-select .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
    right: 8px;
}

.filter-select .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
    border-color: #94a3b8 transparent transparent transparent;
}
.filter-select .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered
/* Select2 dropdown styling */
.select2-container--bootstrap4 .select2-dropdown {
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    margin-top: 4px;
    overflow: hidden;
}


.select2-container--bootstrap4 .select2-results__option {
    padding: 10px 14px;
    font-size: 13px;
    transition: all 0.15s ease;
}

.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected] {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
}

.select2-container--bootstrap4 .select2-results__option[aria-selected="true"] {
    background-color: #c9302c !important;
    color: #fff !important;
}

/* Filter action links */
.filter-select .link {
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-select .link:hover {
    opacity: 0.8;
}

.filter-select .link i {
    font-size: 12px;
}

/* Filter button styling */
.filter-select .btn-danger {
    height: 42px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
}

/* Mobile filter toggle button */
.filter-toggle-btn {
    color: #475569;
    border: 1.5px solid #e2e8f0;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.filter-toggle-btn:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f5f9 100%);
    color: #334155;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.filter-toggle-btn:focus {
    box-shadow: 0 0 0 3px rgba(201, 48, 44, 0.1);
    border-color: #c9302c;
}

.filter-toggle-btn i {
    margin-right: 10px;
    color: #c9302c;
}

.filter-toggle-btn .badge {
    font-size: 11px;
    padding: 4px 8px;
    vertical-align: middle;
    border-radius: 6px;
    background: #c9302c !important;
}

/* Ensure filters show on desktop and hide by default on mobile */
@media (min-width: 768px) {
    #filterCollapse {
        display: flex !important;
    }
}

/* Status badge colors enhancement */
.badge.bg-danger {
    background-color: #dc3545 !important;
}

/* Mobile responsive task list styles */
@media (max-width: 767px) {
    .box-jobs {
        margin-bottom: 1rem !important;
    }

    .box-jobs .col-12 {
        border-right: none !important;
    }

    .box-jobs h5 {
        font-size: 1.05rem;
    }

    .big-title {
        font-size: 1.5rem;
    }

    .filter-select {
        padding: 1rem;
        border-radius: 12px;
    }

    .filter-select .col-6 {
        padding: 0.25rem 0.35rem !important;
    }

    /* Lightbox mobile fixes - ensure images are centered and fit screen */
    .lb-outerContainer {
        position: fixed !important;
        top: 50% !important;
        left: 50vw !important;
        transform: translate(-50%, -50%) !important;
        width: auto !important;
        max-width: 95vw !important;
        max-height: 85vh !important;
    }

    .lb-container {
        width: auto !important;
        max-width: 95vw !important;
    }

    .lb-image {
        max-width: 95vw !important;
        max-height: 70vh !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .lb-dataContainer {
        width: 100% !important;
        max-width: 95vw !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        margin: 5px auto 0 !important;
        padding: 0 5px !important;
    }

    .lb-data {
        padding: 5px 10px !important;
    }

    .lb-details {
        width: 100% !important;
    }

    .lb-caption {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .lb-number {
        font-size: 12px !important;
    }

    .lb-prev, .lb-next {
        opacity: 1 !important;
    }

    .lb-prev {
        left: 5px !important;
    }

    .lb-next {
        right: 5px !important;
    }

    .lb-close {
        right: 5px !important;
        top: 5px !important;
    }

    .lb-loader {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
}

@media (min-width: 768px) {
    .border-md-right {
        border-right: 1px solid #e9ecef !important;
    }
}

/* Task View Modern Styling */
.bordered-view {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.bordered-view:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Breadcrumb modern styling */
.breadcrumb {
    background: white;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumb-item {
    font-size: 0.95rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #6c757d;
}

/* Mobile Breadcrumb - Hidden */
@media (max-width: 767px) {
    .breadcrumb {
        display: none;
    }
}

/* Approval boxes modern styling */
.approval-box {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.approval-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.approval-box.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

/* Task content main area */
.yes {
    margin-bottom: 1.5rem;
}

.yes h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #444444;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.yes h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #444444;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.yes .description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444444;
    font-family: 'Ubuntu', sans-serif !important;
}

/* User List (Watchers/Workers) Styling */
.user-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.user-list-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.user-list-item:hover {
    background: #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.user-list-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    margin-right: 12px;
}

.user-list-avatar .avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.user-list-avatar .avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-list-avatar .avatar-circle .initials {
    color: white;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
}

.user-list-info {
    flex: 1;
    min-width: 0;
}

.user-list-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.user-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #6c757d;
}

.user-list-department {
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 4px;
}

.user-list-date {
    color: #999;
}

.user-list-description {
    margin-top: 8px;
    padding: 8px 10px;
    background: #fff;
    border-radius: 6px;
    font-size: 13px;
    color: #555;
    border: 1px solid #e9ecef;
}

.user-list-actions {
    margin-left: 10px;
}

.user-list-actions .btn-delete {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #dc3545;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-list-actions .btn-delete:hover {
    background: #dc3545;
    color: white;
}

.user-list-actions .btn-delete:hover, .user-list-actions .btn-delete:hover * {
    text-decoration: none !important;
}

/* Quick Assign Buttons */
.quick-assign-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.quick-assign-buttons .btn {
    flex: 1 1 calc(25% - 6px);
    min-width: 70px;
    max-width: calc(25% - 6px);
    text-align: center;
    color: #b45454;
    border-color: #e8c4c4;
    background-color: #fdf5f5;
}

.quick-assign-buttons .btn:hover {
    color: #fff;
    background-color: #c9302c;
    border-color: #c9302c;
}

.quick-assign-buttons .btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(201, 48, 44, 0.25);
}

@media (max-width: 576px) {
    .quick-assign-buttons .btn {
        flex: 1 1 calc(50% - 6px);
        max-width: calc(50% - 6px);
    }
}

/* File items modern styling */
.file-item {
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.2s ease;
    overflow: hidden;
    border: 2px solid transparent;
}

.file-item:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.img-thumb {
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
    height: auto;
    max-height: 100px;
}

.h200px {
    height: auto !important;
    min-height: 180px;
}

.h140px {
    height: auto !important;
    min-height: 140px;
}

/* Comments section modern styling */
.comments {
    background: #ffffff;
}

.comments-header {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 1rem;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #444444;
    margin: 0;
}

.comment-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 1rem;
    transition: all 0.2s ease;
}

.comment-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.comment-deleted {
    opacity: 0.6;
    background: #f8f9fa !important;
}

.comment-avatar {
    flex-shrink: 0;
}

.avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.initials {
    font-style: normal;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: #444444;
    font-size: 1rem;
}

.comment-time {
    color: #6c757d;
    font-size: 0.875rem;
}

.comment-edited {
    color: #007bff;
    font-size: 0.875rem;
    cursor: pointer;
}

.comment-body {
    color: #444444;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-family: 'Ubuntu', sans-serif !important;
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.comment-action-btn {
    background: none;
    border: none;
    color: #007bff;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.comment-action-btn:hover {
    background: #e7f3ff;
}

.comment-action-delete {
    color: #dc3545;
}

.comment-action-delete:hover {
    background: #ffe5e8;
}

/* Comment input area */
.comment-input-wrapper {
    display: flex;
    gap: 1rem;
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 1.5rem;
}

.comment-input-avatar {
    flex-shrink: 0;
}

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

.comment-editor-wrapper {
    margin-bottom: 1rem;
}

.comment-textarea {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 80px;
}

.comment-textarea:focus {
    border-color: #e42314;
    box-shadow: 0 0 0 0.2rem rgba(228, 35, 20, 0.15);
}

.comment-submit-btn {
    background: #e42314;
    border: none;
    border-radius: 8px;
    padding: 0.625rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.comment-submit-btn:hover {
    background: #c41d10;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(228, 35, 20, 0.3);
}

/* Comment history styling */
.comment-history-wrapper {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.comment-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.history-item {
    background: white;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border-left: 3px solid #007bff;
}

.history-timestamp {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.history-content {
    color: #444444;
    font-size: 0.9rem;
}

/* Sidebar styling */
.stronger {
    font-weight: 700;
    font-size: 1.1rem;
    color: #444444;
}

.text-dangy {
    color: #dc3545 !important;
}

/* Dropzone styling */
.dropzone {
    border: 2px dashed #cbd5e0 !important;
    border-radius: 12px !important;
    background: #fafbfc !important;
    transition: all 0.3s ease;
}

.dropzone:hover {
    border-color: #e42314 !important;
    background: #fff5f4 !important;
}

.dropzone .dz-message {
    color: #6c757d;
    font-weight: 500;
}

/* Button improvements */
.task-action-buttons {
    position: absolute;
    right: 0px;
    top: 0px;
    display: flex;
    gap: 21px;
    z-index: 10;
    display: grid;
}

.btn-right {
    position: relative;
    cursor: pointer;
    color: #6c757d;
    transition: all 0.2s ease;
    padding: 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-right:hover {
    color: #e42314;
    background-color: #f8f9fa;
}

.w100 {
    width: 100% !important;
}

/* Mobile responsive improvements */
@media (max-width: 767px) {
    .task-action-buttons {
        right: 10px;
        top: 10px;
        gap: 8px;
    }

    .btn-right {
        padding: 6px;
    }

    .btn-right i {
        font-size: 1rem;
    }

    .yes h2 {
        font-size: 1.1rem;
    }

    .yes h4 {
        font-size: 1.1rem;
    }

    .comment-card {
        flex-direction: column;
        padding: 1rem;
    }

    .comment-input-wrapper {
        flex-direction: column;
        padding: 1rem;
    }

    .comment-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .approval-box {
        flex-direction: column !important;
        gap: 1rem;
    }

    .avatar-img, .avatar-circle {
        width: 40px;
        height: 40px;
    }

    .comments-title {
        font-size: 1.25rem;
    }

    .breadcrumb {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* Task Details Row - Mobile Improvements */
.task-details-row .text-strong {
    font-weight: 600;
    color: #444444;
}

@media (max-width: 767px) {
    .task-details-row .text-strong {
        font-size: 0.875rem;
        color: #444444;
        margin-bottom: 0.25rem !important;
    }

    .task-details-row > div:not(.text-strong) {
        margin-bottom: 1.25rem !important;
        padding-bottom: 1rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .task-details-row > div:last-child {
        border-bottom: none;
    }
}

/* Video Thumbnail with Play Overlay */
.video-thumbnail {
    position: relative;
    display: inline-block;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-thumbnail:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-thumbnail video {
    display: block;
    pointer-events: none;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.video-play-overlay i {
    font-size: 48px;
    color: white;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-thumbnail:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.video-thumbnail:hover .video-play-overlay i {
    opacity: 1;
    transform: scale(1.1);
}

/* Video Modal Styling */
#videoModal {
    z-index: 10050 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

#videoModal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Backdrop should be behind the modal */
#videoModal ~ .modal-backdrop,
#videoModal + .modal-backdrop,
.modal-backdrop.show {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

#videoModal .modal-dialog {
    max-width: 90vw !important;
    width: 90vw !important;
    height: 90vh !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

#videoModal .modal-content {
    background: #000;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

#videoModal .modal-header {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    color: #444444;
    padding: 1rem 1.5rem;
    flex-shrink: 0;
}

#videoModal .modal-header .close,
#videoModal .modal-header .btn-close {
    color: #444444;
    opacity: 0.8;
    font-size: 1.5rem;
}

#videoModal .modal-header .close:hover,
#videoModal .modal-header .btn-close:hover {
    opacity: 1;
}

#videoModal .modal-body {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    overflow: hidden;
    padding: 0 !important;
}

#videoModal video {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 767px) {
    #videoModal .modal-dialog {
        max-width: 100vw !important;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
    }

    #videoModal .modal-content {
        border-radius: 0;
    }
}

/* File Gallery Box Layout */
.file-item {
    display: flex;
    flex-direction: column;
    position: relative;
}

.file-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    min-height: 28px;
}

.file-item-header .font11px {
    font-size: 12px !important;
    font-weight: 500;
}

/* File delete checkbox in task form */
.file-delete-checkbox {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.file-delete-checkbox input[type="checkbox"] {
    display: none;
}

.file-delete-checkbox i {
    opacity: 0.5;
    transition: all 0.2s ease;
}

.file-delete-checkbox:hover i {
    opacity: 1;
}

.file-delete-checkbox input[type="checkbox"]:checked + i {
    opacity: 1;
    color: #dc3545 !important;
    transform: scale(1.2);
}

/* File item marked for deletion */
.file-item-deletable.marked-for-delete {
    opacity: 0.5;
    border: 2px solid #dc3545;
    position: relative;
}

.file-item-deletable.marked-for-delete::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 53, 69, 0.1);
    pointer-events: none;
    border-radius: inherit;
}

.file-item-media {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 5px 0;
}

.file-item-filename {
    padding: 5px 0;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    min-width: 0;
}

.file-item-filename-base {
    overflow: hidden;
    white-space: nowrap;
    min-width: 0;
    flex-shrink: 1;
}

.file-item-filename-ext {
    flex-shrink: 0;
    white-space: nowrap;
}

.file-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    margin-top: auto;
    border-top: 1px solid #ddd;
}

.file-item-date {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.file-item-download {
    font-size: 12px;
    color: #e42314;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.file-item-download:hover {
    color: #c41e12;
    text-decoration: none;
}

/* Lightbox close button - position at top */
.lb-data .lb-close {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    width: 40px !important;
    height: 40px !important;
    background: url(../images/close.png) center center no-repeat !important;
    background-size: 24px !important;
    cursor: pointer !important;
    z-index: 10002 !important;
    opacity: 0.9 !important;
    float: none !important;
}

.lb-data .lb-close:hover {
    opacity: 1 !important;
}

/* Confirmation Modal */
#confirmModal {
    z-index: 10050 !important;
    padding-left: 0 !important;
    width: 100%;
}

#confirmModal .modal-dialog {
    width: 100%;
    max-width: 500px;
    margin-left: auto !important;
    margin-right: auto !important;
    left: 0 !important;
    right: 0 !important;
}

#confirmModal .modal-content {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background: #fff;
}

#confirmModal .modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.25rem;
}

#confirmModal .modal-body {
    padding: 1.75rem 1.25rem;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

#confirmModal .modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 0.75rem 1.25rem;
}

#confirmModal ~ .modal-backdrop,
.modal-backdrop.show {
    z-index: 10049 !important;
}

/* Task title link */
.task-title-link {
    color: inherit;
    text-decoration: none;
}

.task-title-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Profile Page */
.profile-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-top: 2rem;
}

.profile-header {
    background: linear-gradient(135deg, #e42314 0%, #b71c1c 100%);
    padding: 2rem 2rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.profile-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: #fff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    z-index: 1;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.profile-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 4px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-placeholder span {
    font-size: 42px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.profile-avatar-edit {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.profile-avatar-edit:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.profile-avatar-edit i {
    color: #e42314;
    font-size: 14px;
}

.profile-name {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-role {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin: 0.5rem 0 0;
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.15);
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 20px;
}

.profile-form {
    padding: 2rem;
}

.profile-form .form-group {
    margin-bottom: 1.25rem;
}

.profile-form label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
}

.profile-form label i {
    margin-right: 8px;
    color: #e42314;
    width: 16px;
}

.profile-form .form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.profile-form .form-control:focus {
    border-color: #e42314;
    box-shadow: 0 0 0 3px rgba(228, 35, 20, 0.15);
}

.profile-divider {
    margin: 1.5rem 0;
    border-color: #eee;
}

.profile-submit {
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    background: linear-gradient(135deg, #e42314 0%, #b71c1c 100%);
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.profile-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(228, 35, 20, 0.4);
    background: linear-gradient(135deg, #c41e12 0%, #8b0000 100%);
}

.profile-submit i {
    margin-right: 8px;
}

/* Task Card (full-width variant of profile-card) */
.task-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.task-card-header {
    background: linear-gradient(135deg, #e42314 0%, #b71c1c 100%);
    padding: 1.5rem 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.task-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.task-card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #fff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.task-card-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}

.task-card-icon i {
    font-size: 28px;
    color: #fff;
}

.task-card-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.task-card-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin: 0.5rem 0 0;
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.15);
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 20px;
}

.task-form {
    padding: 1.5rem 2rem 2rem;
}

.task-form .form-group {
    margin-bottom: 1.25rem;
}

.task-form label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
}

.task-form label i {
    margin-right: 8px;
    color: #e42314;
    width: 16px;
}

.task-form .form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.task-form .form-control:focus {
    border-color: #e42314;
    box-shadow: 0 0 0 3px rgba(228, 35, 20, 0.15);
}

.task-form select.form-control {
    cursor: pointer;
}

.task-divider {
    margin: 1.5rem 0;
    border-color: #eee;
}

.task-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.task-section-title i {
    margin-right: 8px;
    color: #e42314;
}

.task-submit {
    margin-top: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    background: linear-gradient(135deg, #e42314 0%, #b71c1c 100%);
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.task-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(228, 35, 20, 0.4);
    background: linear-gradient(135deg, #c41e12 0%, #8b0000 100%);
}

.task-submit i {
    margin-right: 8px;
}

/* Task form file item styling */
.task-form .file-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    height: 200px;
    display: flex;
    flex-direction: column;
}

.task-form .file-item-deletable {
    transition: all 0.2s ease;
    border: 2px solid transparent;
    position: relative;
}

.task-form .file-item-deletable.marked-for-delete {
    border-color: #dc3545;
}

.task-form .file-item-deletable.marked-for-delete::after {
    content: attr(data-delete-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 53, 69, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    z-index: 5;
}

/* Task form dropzone styling */
.task-form .dropzone {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
    min-height: 150px;
    transition: border-color 0.2s, background-color 0.2s;
}

.task-form .dropzone:hover {
    border-color: #e42314;
    background: #fff5f5;
}

.task-form .dropzone .dz-message {
    margin: 2em 0;
    color: #6c757d;
}

@media (max-width: 767px) {
    .task-card-header {
        padding: 1.25rem 1rem 1.75rem;
    }

    .task-card-icon {
        width: 60px;
        height: 60px;
    }

    .task-card-icon i {
        font-size: 24px;
    }

    .task-card-title {
        font-size: 1.2rem;
    }

    .task-form {
        padding: 1rem 1rem 1.5rem;
    }
}

/* Calendar Page */
.calendar-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.calendar-header {
    background: linear-gradient(135deg, #e42314 0%, #b71c1c 100%);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.calendar-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.calendar-header-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.calendar-header-icon i {
    font-size: 20px;
    color: #fff;
}

.calendar-header-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.calendar-body {
    background: #fff;
}

.calendar-iframe {
    width: 100%;
    height: calc(100vh - 200px);
    min-height: 600px;
    border: none;
}

@media (max-width: 767px) {
    .calendar-header {
        padding: 1rem 1.25rem;
    }

    .calendar-header-icon {
        width: 40px;
        height: 40px;
    }

    .calendar-header-icon i {
        font-size: 16px;
    }

    .calendar-header-title {
        font-size: 1.1rem;
    }

    .calendar-iframe {
        height: calc(100vh - 180px);
        min-height: 500px;
    }
}
