@font-face {
    font-family: 'Neue Haas Text Pro';
    src: url('../fonts/Neue Haas Text Pro/NHaasGroteskTXPro-55Rg.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Text Pro';
    src: url('../fonts/Neue Haas Text Pro/NHaasGroteskTXPro-56It.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Text Pro';
    src: url('../fonts/Neue Haas Text Pro/NHaasGroteskTXPro-65Md.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Text Pro';
    src: url('../fonts/Neue Haas Text Pro/NHaasGroteskTXPro-66MdIt.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Text Pro';
    src: url('../fonts/Neue Haas Text Pro/NHaasGroteskTXPro-75Bd.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Text Pro';
    src: url('../fonts/Neue Haas Text Pro/NHaasGroteskTXPro-76BdIt.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

body,
html {
    font-family: 'Neue Haas Text Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.sidebar-nav>ul>li>a i {
    width: 21px;
    font-size: 16px;
}

.topbar .navbar-light .navbar-nav .nav-item>a.nav-link {
    color: #ff5800 !important;
}

.sidebar-nav>ul>li.active>a {
    color: #ffffff;
    border-color: #001f33;
}

.sidebar-nav>ul>li.active>a i {
    color: #ffffff;
}

.btn-outline-default-light {
    color: #ff5800;
    background-color: transparent;
    border: solid 1px #cccccc;
}

.panel-label {
    font-size: 13px;
    font-weight: 700;
    color: #001f33 !important;
}

h5 {
    line-height: 18px;
    font-size: 16px;
    font-weight: 700;
}

.btn-info,
.btn-info.disabled {
    background: #ff5800;
    border: 1px solid #ff5800;
    -webkit-transition: 0.2s ease-in;
    transition: 0.2s ease-in;
}

.dropdown-item {
    padding: 8px 1rem;
    font-weight: 700;
    color: #ff5800;
}

.btn-secondary,
.btn-secondary.disabled {
    -webkit-transition: 0.2s ease-in;
    transition: 0.2s ease-in;
    background-color: #f6f9fa;
    color: #ff5800;
    border-color: #ff5800;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #ff5800;
    border-color: #ff5800;
}

.btn-info:hover,
.btn-info.disabled:hover {
    background: rgba(255, 89, 0, 0.82);
    border: 1px solid #ff5800;
}

.sidebar-nav ul li a {
    color: #ff5800;
    padding: 12px 35px 10px 15px;
    display: block;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 2px;
}

.sidebar-nav>ul>li>a i {
    color: #ff5800;
}

html body .text-themecolor {
    color: #001f33 !important;
}

.sidebar-nav ul li a.active,
.sidebar-nav ul li a:hover {
    color: #ffffff;
    text-decoration: none;
}

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

.sidebar-nav ul li a.active i,
.sidebar-nav ul li a:hover i {
    color: #fff;
}

.btn-outline-default {
    color: #ff5800;
    background-color: transparent;
    border-color: #e3e4e5;
    -webkit-transition: 0.2s ease-in;
    transition: 0.2s ease-in;
}

.btn-danger,
.btn-danger.disabled {
    background: #ff5800;
    border: 1px solid #ff5800;
    -webkit-transition: 0.2s ease-in;
    transition: 0.2s ease-in;
}

.topbar ul.dropdown-user li a {
    padding: 9px 15px;
    display: block;
    color: #ff5800;
}

.topbar ul.dropdown-user li a:hover {
    background: #e9edf2;
    color: #001f33;
    text-decoration: none;
}


a {
    color: #ff5800;
    font-weight: 700;
}

a:hover {
    color: #001f33;
    text-decoration: underline;
}

.left-sidebar {
    border-right: unset;

}

.topbar .top-navbar .navbar-header {
    line-height: 72px;
    padding-left: 10px;
    border-right: 1px solid #eae7e7;
    border-bottom: 1px solid #eae5e5;
    margin-top: -1px;
}

.topbar {
    background: #001f33;
}

.topbar .navbar-header {
    background: #001f33;
}

.topbar .navbar-collapse {
    padding: 0px;
    border-bottom: unset;
}

.sidebar-nav {
    background: #001f33;
    padding: 2px 0 0 0px;
}

.topbar .profile-pic {
    white-space: nowrap;
    padding-left: 15px;
    border-left: 1px solid rgba(228, 162, 162, 0.17);
}

.topbar .top-navbar .navbar-header {
    line-height: 72px;
    padding-left: 10px;
    border-right: 1px solid rgba(228, 162, 162, 0.17);
    border-bottom: 1px solid rgba(228, 162, 162, 0.17);
    margin-top: -1px;
}

.top-search-bar .top-search-container input {
    background-color: transparent;
    height: 30px;
    min-height: 30px;
    vertical-align: bottom;
    font-size: 13px;
    padding-left: 35px;
    border-color: rgba(234, 232, 232, 0.25);
}

.profile-tab li a.nav-link,
.customtab li a.nav-link {
    border: 0px;
    padding: 15px 20px;
    color: #f75801;
}

.profile-tab li a.nav-link:hover,
.customtab li a.nav-link:hover {
    color: #001f33;
}

.profile-tab li a.nav-link.active,
.customtab li a.nav-link.active {
    border-bottom: 2px solid #001f33;
    color: #001f33;
    background-color: transparent;
}


.list-actions-button {
    border: 0px;
    padding: 4px 8px 1px 8px;
    font-size: 22px;
    background-color: #e9f0f3 !important;
    color: #f75801 !important;
    height: 37px;
    position: relative;
}

.list-actions-button.active {
    background-color: #fff3ed !important;
    color: #f4772e !important;
    border: 1px solid #f4772e !important;
}

/* Filter count badge styling */
.filter-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    line-height: 1;
}

/* Dropdown menu active items */
.dropdown-item.active {
    background-color: rgba(244, 119, 46, 0.1);
    font-weight: 600;
}

.kanban-card .kanban-card-content-comntainer .x-title {
    color: #f75801;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.kanban-card .kanban-card-content-comntainer .x-meta span {
    font-size: 11px;
    color: #001f33;
    display: block;
    padding-bottom: 3px;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    font-weight: 600;
}

.dropdown-menu-small .dropdown-item {
    padding: 8px 10px;
    color: #f75801;
    font-size: 13px;
}

.label-lime {
    background-color: #70a11f;
}

.card-modal .card-left-panel {
    margin: 0px;
    padding: 25px;
    padding-top: 25px;
    background-color: #ffffff;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}


.card-modal .card-right-panel {
    margin: 0px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #edf3f9;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* changes by Sarmad  */
.card-modal .card-left-panel .x-action a {
    font-size: 14px;
}

.card-modal .modal-dialog .modal-content #cardModalTabMenu ul li a {
    font-size: 14px;
}

.label {
    font-size: 100%;
}

.kanban-card .kanban-card-content-comntainer .x-meta span {
    font-size: 14px;
}

.card-modal .card-right-panel .x-element {
    font-size: 14px;
}

.card-right-panel table td,
.card-right-panel table th {
    font-size: 14px;
}

.card-modal .card-right-panel .x-section .x-edit-tabs {
    font-size: 14px;
}

.kanban .kanban-wrapper .boards .board {
    width: 330px;
    margin-right: 0px;
}

.btn-xs {
    font-size: 14px;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 14px;
}

.flag-icon-button i {
    font-size: 16px;
    color: gray;
}

.flag-icon-button {
    background: transparent;
    border: none;
    cursor: pointer;
    margin-right: 4px;
    color: #ff5800;
    padding: 0px;
}

.flag-dropdown {
    position: absolute;
    top: 24px;
    border: 1px solid #b7b7b7;
    background: #ffffff;
}

.flag-dropdown ul {
    list-style: none;
    margin: 0px;
    padding: 0px 0px;
}

.flag-dropdown ul li {
    padding: 4px 25px 4px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #ff5800;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.flag-dropdown ul li:hover {
    background: #f1f1f1;
}

.flag-dropdown ul li i {
    font-size: 16px;
}

.flag-dropdown ul li.p-clear {
    border-top: 1px solid #b7b7b7;
}

.flag-dropdown ul li.p-urgent i {
    color: red;
}

.flag-dropdown ul li.p-high i {
    color: orange;
}

.flag-dropdown ul li.p-normal i {
    color: green;
}

/* Custom CSS By Sulaman  */

.card-modal .modal-dialog .modal-content #cardModalTabMenu ul {
    background-color: #808080;
    border: 0px;
    display: none;
}

.card-modal .card-right-panel {
    margin: 0px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #001f33;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.card-modal .modal-body h1,
.card-modal .modal-body h2,
.card-modal .modal-body h3,
.card-modal .modal-body h4,
.card-modal .modal-body h5,
.card-modal .modal-body h6 {
    color: #ffffff;
}

.card-modal .card-right-panel .x-timer-time {
    color: #fff;
}

.card-modal .card-right-panel .x-element {
    min-height: 31px;
    border-color: #1a2c3a;
    padding: 5px;
    background-color: #1a2c3a;
    border-radius: 3px;
    font-size: 13px;
    margin-bottom: 10px;
    color: #bababa;
    word-wrap: break-word;
    padding-left: 8px;
}

.card-right-panel table td,
.card-right-panel table th {
    background-color: transparent;
    border-color: transparent;
    padding: 4px;
    font-size: 12px;
}

.card-modal .card-left-panel .x-action a {
    padding-left: 0px;
}

.close:hover {
    color: #ff5800;
    text-decoration: none;
}

a:hover {
    color: #ff5800;
    opacity: 0.75;
    text-decoration: underline;
}

.card-modal .card-right-panel .x-timer-button {
    color: #ff5800;
}

#card-attachments {
    display: none;
}

.card-modal .card-left-panel .x-action a {
    font-size: 13px;
    padding-left: 0px;
}

.card-modal .card-right-panel .x-section.x-timer {
    margin-bottom: 20px;
    margin-top: -6px;
    text-align: left;
}


.card-right-panel table td,
.card-right-panel table th {
    color: #fff;
}

/* Task Comment Mentions Styling */
.mention-dropdown {
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    max-height: 200px;
    overflow-y: auto;
    z-index: 10000;
    min-width: 250px;
}

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

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

.mention-item:hover {
    background: #f5f5f5;
}

.mention-item strong {
    color: #333;
    font-size: 14px;
}

.mention-item small {
    color: #777;
    font-size: 12px;
}

/* Mentioned user in comment */
span.mention {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
    cursor: default;
}

span.mention:hover {
    background-color: #bbdefb;
}

/* Remove animations from settings sidebar dropdowns */
.settings-menu .collapse {}

.settings-menu .collapse.show,
.settings-menu .collapsing {}

.settings-menu .collapsing {}

/* Remove animations from settings sidebar dropdowns */
.settings-menu .collapse {
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
}

.settings-menu .collapse.show,
.settings-menu .collapsing {
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    animation: none !important;
}

.settings-menu .collapsing {
    height: auto !important;
}

/* ======================================
   Orange Theme Pagination Styles
   ====================================== */

/* Pagination wrapper */
.pagination-wrapper {
    margin: 20px 0;
}

/* Default page link styling */
.pagination .page-link {
    color: #ff5800;
    border-color: #ddd;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    color: #fff;
    background-color: #ff5800;
    border-color: #ff5800;
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 88, 0, 0.25);
}

/* Active page styling - orange theme */
.pagination .page-item.active .page-link,
.pagination .page-item.active .page-link.bg-info,
.pagination .page-item.active .page-link.border-info {
    background-color: #ff5800 !important;
    border-color: #ff5800 !important;
    color: #fff !important;
}

/* Disabled state */
.pagination .page-item.disabled .page-link {
    color: #999;
    background-color: #f5f5f5;
    border-color: #ddd;
}

/* Per page selector styling */
#pagination-per-page-selector {
    border-color: #ff5800;
    color: #ff5800;
}

#pagination-per-page-selector:focus {
    border-color: #ff5800;
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25);
}

/* Pagination info text */
.pagination-wrapper .text-muted {
    color: #666 !important;
}