.striked {
    text-decoration: line-through;
}
.asterisk {
    color: red;
    font-weight: bold;
}
.tox-notification {
    display: none !important;
}
/* Styles for larger screens */
@media (min-width: 768px) {
    .icon-only {
        display: inline;
        /* Display the icon for larger screens */
    }
    .language-name {
        display: inline;
        /* Display the language name for larger screens */
    }
}
/* Styles for smaller screens (e.g., mobile) */
@media (max-width: 767px) {
    .icon-only {
        display: inline;
        /* Display the icon for smaller screens */
    }
    .language-name {
        display: none;
        /* Hide the language name for smaller screens */
    }
}
.installer-div {
    max-width: 1000px !important;
}

@media print {
    /* Reset some styles to maintain the column structure */
    body * {
        visibility: hidden;
    }
    .row::before,
    .row::after {
        content: "";
        display: table;
        clear: both;
    }
    #section-not-to-print,
    #section-not-to-print * {
        display: none;
    }
    #section-to-print,
    #section-to-print * {
        visibility: visible;
    }
    #section-to-print {
        position: absolute;
        left: 0;
        top: 0;
    }
    /* Adjust other specific styles as needed for your layout */
}
.language-dropdown {
    min-width: auto !important;
    width: auto !important;
}
@media (max-width: 768px) {
    .menu-container {
        max-height: calc(100vh - 50px) !important;
        overflow-y: auto !important;
    }
}
@media (max-width: 768px) {
    /* You can adjust the max-width as needed */
    .demo-mode {
        display: none;
        /* Hide the badge on mobile devices */
    }
}
@media (min-width: 769px) {
    .demo-mode-icon-only i {
        display: none;
        /* Hide the icon on large devices */
    }
}
@media (max-width: 768px) {
    .nav-item .nav-mobile-hidden {
        display: none;
    }
}
.timer-img {
    width: 55px !important;
    border-radius: 50px;
    cursor: pointer;
    position: fixed;
    bottom: 0.7rem;
    right: 1.625rem;
    z-index: 1089;
    transition: transform 0.3s ease;
    /* Adding transition for smooth animation */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}
.timer-img:hover {
    transform: translateY(-5px);
    /* Lift the image slightly on hover */
}
/* Stopwatch container */
.stopwatch {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.stopwatch_time {
    text-align: center;
    margin: 0 10px;
}
.stopwatch_time_input {
    padding: 1em !important;
    text-align: center !important;
    border-radius: 5px !important;
    border-color: #6c757d !important;
    background: #6c757d !important;
    color: #ffffff !important;
    padding: 0.5em 0 !important;
    font-size: 3em !important;
    padding-top: 1em !important;
    padding-bottom: 1em !important;
    font-weight: bold;
}
.stopwatch_time_lable {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}
/* Buttons */
.selectgroup {
    display: flex;
    justify-content: center;
}
.selectgroup-item {
    margin: 0 5px;
}
.selectgroup-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-color: #e4e6fc;
    border-width: 1px;
    border-style: solid;
    border-radius: 50%;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    transition: background-color 0.3s ease;
}
.selectgroup-button:hover {
    background-color: #0056b3;
}
#start[disabled],
#end[disabled],
#pause[disabled] {
    background: none !important;
    color: var(--gray) !important;
}
#stopTimerModal {
    z-index: 1100;
}
/* Hide on smaller screens (mobile) */
@media (max-width: 768px) {
    .hide-mobile {
        display: inline;
    }
    .show-mobile {
        display: none;
    }
}
.img-box {
    position: relative;
    width: 100%;
    padding-top: calc(12 / 16 * 100%);
    /* 16:9 aspect ratio (height = width * 9/16) */
    overflow: hidden;
}
.img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: ease-in-out 0.5s;
    /* Ensure the image covers the entire container */
}
/* .img-box img:hover{ */
/* transition: ease-in-out 0.5s; */
/* transform: scale(1.1); */
/* cursor: pointer; */
/* } */
.text-orange {
    background-color: #ff204e;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.text-black {
    background-color: #000;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.text-gradient-pink-soft {
    /* Create a gradient background */
    background-color: #7752fe;
    /* Apply text fill with transparent background to maintain the gradient effect */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.text-gradient-purple-soft {
    background-color: #11235a;
    /* Create a gradient background */
    /* Apply text fill with transparent background to maintain the gradient effect */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.pricing-card:hover {
    cursor: pointer;
    opacity: 1;
    /* border: 1px solid #696cff !important */
}
.pricing-card:not(:hover) {
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: none;
}
.pricing-card:hover img {
    transform: scale(1.2);
}
.pricing-card:not(:hover) .card-body {
    opacity: 1;
}
.pricing-card:not(:hover) .card-title {
    color: #696cff;
}
.img-box {
    position: relative;
    width: 100%;
    margin: 2px auto;
    padding-top: calc(14 / 16 * 100%);
    overflow: hidden;
}
.img-box img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    transition: transform 1s;
}
.thumbnail-img {
    max-width: 100px; /* Adjust the maximum width as needed */
    max-height: 100px; /* Adjust the maximum height as needed */
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto; /* Center the image horizontally */
}
.fs-small {
    font-size: small;
    width: 120px;
}
.promiser-sign {
    touch-action: none;
    user-select: none;
    border: 1px solid #6c757d !important;
}
.display-flex-wrap {
    display: flex;
    flex-wrap: wrap;
}
.min-height-200 {
    min-height: 200px;
}
.overflow-x-y-hidden {
    overflow-x: scroll;
    overflow-y: hidden;
}
.status-row {
    background-color: none;
    min-width: 300px;
    max-width: 300px;
}
.todo-description {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
select2-close-mask {
    z-index: 2099 !important;
}
.select2-dropdown {
    z-index: 3051 !important;
}
/* Apply general styling to select2 elements */
.select2.select2-container.select2-container--default:not(
        #global-search + .select2-container
    ) {
    display: block !important;
    width: 100% !important;
    min-height: calc(2.25rem + 2px) !important;
    padding: 0.2rem 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #495057 !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border: 1px solid #d9dee3 !important;
    border-radius: 0.25rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}
.select2-container--default
    .select2-selection--multiple:not(
        #global-search + .select2-container .select2-selection--single
    ) {
    border: 0px !important;
}
.select2-container--default .select2-selection--single {
    border: 0px !important;
}
.select2-container:not(#global-search + .select2-container)
    .select2-search--inline
    .select2-search__field {
    height: 21px !important;
}
/* Apply specific styling to #global-search select2 */
#global-search + .select2-container .select2-selection--single {
    height: auto !important;
    border: 0px !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}
#global-search
    + .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    display: none !important;
}
#global-search + .select2-container--default .select2-selection--single {
    width: 300px !important;
}
@media (max-width: 768px) {
    #global-search + .select2-container--default .select2-selection--single {
        width: 100px !important;
    }
}
#unreadNotificationsCount {
    position: relative;
    left: -10px;
    top: -8px;
    width: auto !important;
}
.statisticsDiv {
    height: 600px;
}
#confirmSaveColumnVisibility,
#edit_project_modal,
#edit_task_modal {
    z-index: 1091;
}
#create_status_modal,
#create_priority_modal,
#create_tag_modal,
#create_contract_type_modal {
    z-index: 1092;
}
.select-bg-label-success {
    color: #71dd37 !important;
    background-color: #e8fadf !important;
}
.select-bg-label-success:focus {
    border-color: #e8fadf !important;
}
.select-bg-label-primary {
    color: #696cff !important;
    background-color: #e7e7ff !important;
}
.select-bg-label-primary:focus {
    border-color: #e7e7ff !important;
}
.select-bg-label-secondary {
    color: #8592a3 !important;
    background-color: #ebeef0 !important;
}
.select-bg-label-secondary:focus {
    border-color: #ebeef0 !important;
}
.select-bg-label-danger {
    color: #ff3e1d !important;
    background-color: #ffe0db !important;
}
.select-bg-label-danger:focus {
    border-color: #ffe0db !important;
}
.select-bg-label-warning {
    color: #ffab00 !important;
    background-color: #fff2d6 !important;
}
.select-bg-label-warning:focus {
    border-color: #fff2d6 !important;
}
.select-bg-label-info {
    color: #03c3ec !important;
    background-color: #d7f5fc !important;
}
.select-bg-label-info:focus {
    border-color: #d7f5fc !important;
}
.select-bg-label-dark {
    color: #233446 !important;
    background-color: #dcdfe1 !important;
}
.select-bg-label-dark:focus {
    border-color: #dcdfe1 !important;
}
.chat-img {
    width: 54px !important;
    border-radius: 50px;
    cursor: pointer;
    position: fixed;
    bottom: 0.7rem;
    right: 6.625rem;
    padding: 10px;
    background-color: #ffffff;
    z-index: 1089;
    transition: transform 0.3s ease;
    /* Adding transition for smooth animation */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}
.chat-img:hover {
    transform: translateY(-5px);
    /* Lift the image slightly on hover */
}
.chat-iframe-container {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 70px;
    /* Adjust to position above the chat icon */
    right: 10px;
    /* Adjust to position near the chat icon */
    width: 350px;
    /* Adjust width as needed */
    height: 500px;
    /* Adjust height as needed */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 999998;
}
.chat-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}
.statisticsDiv {
    height: 600px;
}
.tox-menu.tox-swatches-menu {
    z-index: 1000000 !important; /* Use a high z-index value */
}
/* Comment Discussions  Style */
.comment-thread {
    margin: auto;
    padding: 0 30px;
    border: 1px solid transparent;
}
.m-0 {
    margin: 0;
}
.sr-only {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
/* Comment styles */
.comment {
    position: relative;
    margin: 20px auto;
}
.comment-heading {
    display: flex;
    align-items: center;
    height: 50px;
    font-size: 14px;
}
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}
.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.comment-info {
    color: rgba(0, 0, 0, 0.5);
}
.comment-author {
    color: rgba(0, 0, 0, 0.85);
    font-weight: bold;
    text-decoration: none;
}
.comment-author:hover {
    text-decoration: underline;
}
.replies {
    margin-left: 20px;
}
/* Comment border link styles */
.comment-border-link {
    display: block;
    position: absolute;
    top: 50px;
    left: 0;
    width: 12px;
    height: calc(100% - 50px);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    background-color: rgba(0, 0, 0, 0.1);
    background-clip: padding-box;
}
.comment-border-link:hover {
    background-color: rgba(0, 0, 0, 0.3);
}
.comment-body {
    padding: 0 20px;
    padding-left: 28px;
}
.replies {
    margin-left: 28px;
}
/* Toggleable comment styles */
details.comment summary {
    position: relative;
    list-style: none;
    cursor: pointer;
}
details.comment summary::-webkit-details-marker {
    display: none;
}
details.comment:not([open]) .comment-heading {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.comment-heading::after {
    display: inline-block;
    position: absolute;
    right: 5px;
    align-self: center;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.55);
}
.comment-heading {
    position: relative;
    padding-right: 20px; /* Space for the chevron */
}
.comment-heading {
    position: relative;
    padding-right: 20px;
}
.comment-heading::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #6c757d;
    border-bottom: 2px solid #6c757d;
    transform: translateY(-50%) rotate(45deg); /* Arrow pointing down */
    transition: transform 0.3s ease;
}
/* Arrow points up when the details element is open */
details[open] .comment-heading::after {
    transform: translateY(-50%) rotate(-135deg); /* Arrow pointing up */
}
/* Button styles */
.comment-body button {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    font-size: 14px;
    padding: 4px 8px;
    color: rgba(0, 0, 0, 0.85);
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
}
.comment-body button:hover,
.comment-body button:focus,
.comment-body button:active {
    background-color: #ecf0f1;
}
/* Comment form styles */
.comment-form-container {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
}
.comment-actions .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}
.comment-actions .btn i {
    font-size: 1.25rem;
    vertical-align: middle;
}
.attachment-preview-container {
    position: relative;
}
.attachment-preview {
    display: none;
    position: relative;
    bottom: 100%;
    left: 0;
    background-color: #fff;
    /* border: 0.5px solid #ddd;
    border-radius: 4px; */
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    padding: 10px;
    z-index: 1000;
}
.attachment-preview img {
    max-width: 200px;
    max-height: 200px;
}
.comment-heading {
    transition: all 0.3s ease-in-out;
}
.comment-body {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}
details[open] .comment-body {
    max-height: 100vh;
    padding: 20px;
}
.menu-search-bar {
    margin-bottom: 1rem;
}
#menu-search {
    width: 100%;
    padding: 0.5rem;
}
.status-selector,
.priority-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.status-tag.selected,
.priority-tag.selected {
    opacity: 1;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px currentColor;
}
.status-tag[data-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}
/* Base class for the mind map container */
.mind-map-container {
    height: 800px;
    /* Default height for larger screens */
}
/* Adjust height for medium screens */
@media (max-width: 1200px) {
    .mind-map-container {
        height: 600px;
        /* Height for medium screens */
    }
}
/* Adjust height for small screens */
@media (max-width: 992px) {
    .mind-map-container {
        height: 500px;
        /* Height for small screens */
    }
}
/* Adjust height for extra small screens */
@media (max-width: 768px) {
    .mind-map-container {
        height: 400px;
        /* Height for extra small screens */
    }
}
/* Base class for mind map node */
jmnode {
    padding: 5px;
    border: 1px solid;
    cursor: pointer;
}
#deleteModal {
    z-index: 1200; /* Higher than other modals */
}
.max-height-450 {
    max-height: 450px;
    overflow-y: auto;
}
.scrollbar-thin {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
.tribute-container {
    position: absolute;
    top: 0;
    left: 0;
    max-height: 300px;
    max-width: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
    z-index: 1200000;
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    margin-top: 5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.tribute-container ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.tribute-container li {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    color: #333333;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}
.tribute-container li.highlight,
.tribute-container li:hover {
    background-color: #f0f7ff;
    color: #0066cc;
}
.tribute-container li span {
    font-weight: 600;
    color: #0066cc;
    margin-right: 5px;
}
.tribute-container li.no-match {
    cursor: default;
    color: #999999;
    padding: 15px;
    text-align: center;
    font-style: italic;
}
.tribute-container .menu-highlighted {
    font-weight: 600;
    background-color: #e6f2ff;
}
.tribute-container::-webkit-scrollbar {
    width: 6px;
}
.tribute-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.tribute-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}
.tribute-container::-webkit-scrollbar-thumb:hover {
    background: #999999;
}
/* Add a subtle animation for smoother appearance */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.tribute-container {
    animation: fadeIn 0.2s ease-out;
}
/* Improve readability for highlighted text */
.tribute-container li.highlight span,
.tribute-container li:hover span {
    color: #004999;
}
/* Add a subtle separator between items */
.tribute-container li:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}
.input-group .error-message {
    display: block;
    color: red;
    font-size: 0.875rem; /* Slightly smaller than normal text */
    margin-top: 0.25rem;
    position: relative;
}
/* Ensure that the input doesn't overlap with the error */
.input-group .form-control {
    margin-bottom: 0;
}
.input-group .error-message {
    margin-left: 0; /* Align the error message below the input group */
}
.menu-item {
    position: relative;
}
.pin-icon {
    position: absolute;
    right: 32px;
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Ensures vertical center */
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.2s, transform 0.2s ease-in-out; /* Added transition for smooth transform */
    font-size: 18px;
}
.pin-icon:hover {
    opacity: 0.6;
}
.menu-item.pinned .pin-icon {
    opacity: 1;
    transform: translateY(-50%) rotate(-320deg); /* Tilts the icon by -20 degrees */
}
.menu-item:not(:hover):not(.pinned) .pin-icon {
    display: none;
}
.daterangepicker .prev i {
    font-family: "boxicons" !important;
    content: "\eb41"; /* Boxicons left arrow (bx-chevron-left) */
}
.daterangepicker .next i {
    font-family: "boxicons" !important;
    content: "\eb42"; /* Boxicons right arrow (bx-chevron-right) */
}
.fc-event {
    cursor: pointer;
}
/* Shared FullCalendar treatment: quiet chrome and restrained status colors. */
.fc { color: #465570; font-family: inherit; }
.fc .fc-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.fc .fc-toolbar h2 { font-size: 1.25rem; font-weight: 500; line-height: 1.5; color: #3f4e68; }
.fc .fc-toolbar > * { margin: 0; }
.fc .fc-button { background: #fff; color: #63718a; border: 1px solid #dde2eb; border-radius: 6px; padding: 7px 12px; min-height: 36px; font-size: .8125rem; font-weight: 500; line-height: 1.4; box-shadow: none; text-transform: capitalize; }
.fc .fc-button-primary:not(:disabled):is(:hover, :active, .fc-button-active) { color: #6f61b4; border-color: #d9d3ee; background: #f1eef9; box-shadow: none; }
.fc .fc-button-primary:disabled { background: #f8f9fb; color: #9aa3b3; border-color: #e4e7ef; opacity: 1; }
.fc .fc-button:focus-visible { outline: 2px solid #a59bd3; outline-offset: 2px; box-shadow: none; }
.fc .fc-button-group > .fc-button { margin-left: -1px; }
.fc.fc-unthemed :is(th, td, thead, tbody, .fc-divider, .fc-row, .fc-content, .fc-popover, .fc-list-view) { border-color: #e3e7ef; }
.fc .fc-day-header { padding: 12px 4px; font-size: .8125rem; font-weight: 500; color: #63718a; background: #fafbfc; }
.fc .fc-day-number { font-size: .75rem; padding: 9px 10px; color: #738099; }
.fc .fc-day-top.fc-other-month { opacity: .45; }
.fc.fc-unthemed td.fc-today { background: #f8f7fc; }
.fc .fc-dayGrid-view .fc-body .fc-row { min-height: 112px; }
.fc .app-calendar-event { background: var(--calendar-event-tint, #f1eff9) !important; border: 0 !important; border-left: 2px solid var(--calendar-event-accent, #a69dcf) !important; border-radius: 4px; color: #42516a !important; margin: 2px 3px; padding: 5px 7px; font-size: .75rem; line-height: 1.5; box-shadow: none; text-decoration: none !important; }
.fc .app-calendar-event:hover { filter: brightness(.98); }
.fc .app-calendar-event .fc-content { color: inherit; }
.fc .app-calendar-event .fc-title { font-weight: 400; }
.fc .fc-more { display: inline-block; padding: 3px 7px; margin: 2px 3px; color: #796aa9; font-size: .75rem; font-weight: 500; text-decoration: none; }
.fc .fc-popover { border-radius: 8px; box-shadow: 0 6px 24px #24334d18; overflow: hidden; }
.fc .fc-popover .fc-header { padding: 10px 12px; background: #f7f8fb; color: #465570; }
.fc .fc-list-heading td { background: #f7f8fb; padding: 10px 14px; font-weight: 500; }
.fc .fc-list-item td { padding: 12px 14px; border-color: #edf0f6; }
.fc .fc-list-empty { background: #fafbfc; color: #738099; }
@media (max-width: 575px) { .fc .fc-toolbar { justify-content: center; } .fc .fc-toolbar .fc-center { order: -1; width: 100%; text-align: center; } .fc .fc-button { padding: 7px 9px; } }
.status-column {
    min-width: 250px;
}
.priority-column {
    min-width: 200px;
}
.payment-option {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border-color: #d9dee3;
    background-color: transparent;
}
.payment-option:hover {
    border-color: #696cff;
    background-color: #f8f7ff;
}
.btn-check:checked + .payment-option {
    border-color: #696cff;
    background-color: #f8f7ff;
}
.btn-check:focus + .payment-option {
    border-color: #696cff;
    box-shadow: 0 0 0.25rem 0.05rem rgba(105, 108, 255, 0.1);
}
.payment-option:active {
    transform: scale(0.98);
}
.card.card-border-shadow-primary:after {
    border-bottom-color: #acadfc;
}
.card.card-border-shadow-primary:hover:after {
    border-bottom-color: #696cff;
}
.card.card-hover-border-primary:hover,
.card .card-hover-border-primary:hover {
    border-color: #7678fc;
}
.card.card-border-shadow-secondary:after {
    border-bottom-color: #ced3da;
}
.card.card-border-shadow-secondary:hover:after {
    border-bottom-color: #8592a3;
}
.card.card-hover-border-secondary:hover,
.card .card-hover-border-secondary:hover {
    border-color: #d1d6dc;
}
.card.card-border-shadow-success:after {
    border-bottom-color: #c6f1af;
}
.card.card-border-shadow-success:hover:after {
    border-bottom-color: #71dd37;
}
.card.card-hover-border-success:hover,
.card .card-hover-border-success:hover {
    border-color: #c9f2b3;
}
.card.card-border-shadow-info:after {
    border-bottom-color: #9ae7f7;
}
.card.card-border-shadow-info:hover:after {
    border-bottom-color: #03c3ec;
}
.card.card-hover-border-info:hover,
.card .card-hover-border-info:hover {
    border-color: #9fe8f8;
}
.card.card-border-shadow-warning:after {
    border-bottom-color: #fd9;
}
.card.card-border-shadow-warning:hover:after {
    border-bottom-color: #ffab00;
}
.card.card-hover-border-warning:hover,
.card .card-hover-border-warning:hover {
    border-color: #ffdf9e;
}
.card.card-border-shadow-danger:after {
    border-bottom-color: #ffb2a5;
}
.card.card-border-shadow-danger:hover:after {
    border-bottom-color: #ff3e1d;
}
.card.card-hover-border-danger:hover,
.card .card-hover-border-danger:hover {
    border-color: #ffb6a9;
}
.card.card-border-shadow-light:after {
    border-bottom-color: #f1f2f3;
}
.card.card-border-shadow-light:hover:after {
    border-bottom-color: #dbdee0;
}
.card.card-hover-border-light:hover,
.card .card-hover-border-light:hover {
    border-color: #f1f2f3;
}
.card.card-border-shadow-dark:after {
    border-bottom-color: #aaabb3;
}
.card.card-border-shadow-dark:hover:after {
    border-bottom-color: #2b2c40;
}
.card.card-hover-border-dark:hover,
.card .card-hover-border-dark:hover {
    border-color: #aeafb6;
}
.card.card-border-shadow-gray:after {
    border-bottom-color: #d7d9dccc;
}
.card.card-border-shadow-gray:hover:after {
    border-bottom-color: #22303e80;
}
.card.card-hover-border-gray:hover,
.card .card-hover-border-gray:hover {
    border-color: #dadcdecf;
}
.card {
    background-clip: padding-box;
    box-shadow: 0 0.1875rem 0.5rem #22303e1a;
}
.card .card-link {
    display: inline-block;
}
.card .card-header + .card-body,
.card .card-header + .card-content > .card-body:first-of-type,
.card .card-header + .card-footer,
.card .card-body + .card-footer {
    padding-top: 0;
}
.card[class*="card-border-shadow-"] {
    position: relative;
    border-bottom: none;
    transition: all 0.2s ease-in-out;
    z-index: 1;
}
.card[class*="card-border-shadow-"]:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
    z-index: -1;
}
.card[class*="card-border-shadow-"]:hover {
    box-shadow: 0 0.25rem 0.75rem #22303e24;
}
.card[class*="card-border-shadow-"]:hover:after {
    border-bottom-width: 3px;
}
.card[class*="card-hover-border-"] {
    border-width: 1px;
}

/* Time Line Css */
.timeline {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 0;
    list-style: none;
}

.timeline .timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.timeline .timeline-header > *:first-child {
    margin-right: 0.5rem;
}

.timeline .timeline-end-indicator {
    position: absolute;
    bottom: -1.35rem;
    left: -0.65rem;
}

.timeline .timeline-end-indicator i {
    font-size: 1.5rem;
    color: #e4e6e8;
}

.timeline .timeline-item {
    position: relative;
    padding-left: 1.4rem;
}

.timeline .timeline-item .timeline-event {
    position: relative;
    width: 100%;
    min-height: 4rem;
    background-color: #fff;
    border-radius: 0.375rem;
    padding: 0.5rem 0 0.3375rem;
}

.timeline .timeline-item .timeline-event .timeline-event-time {
    position: absolute;
    top: 1.2rem;
    font-size: 0.8125rem;
    color: #a7acb2;
}

.timeline .timeline-item .timeline-indicator,
.timeline .timeline-item .timeline-indicator-advanced {
    position: absolute;
    left: -1rem;
    top: 0.64rem;
    z-index: 2;
    height: 2rem;
    width: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
}

.timeline .timeline-item .timeline-indicator {
    box-shadow: 0 0 0 10px #f5f5f9;
}

.timeline .timeline-item .timeline-indicator-advanced {
    background-color: #fff;
    top: 0;
}

.timeline .timeline-item .timeline-point {
    position: absolute;
    left: -0.38rem;
    top: 0;
    z-index: 2;
    display: block;
    height: 0.75rem;
    width: 0.75rem;
    border-radius: 50%;
    background-color: #696cff;
    box-shadow: 0 0 0 10px #fff;
}

.timeline .timeline-item.timeline-item-transparent .timeline-event {
    top: -0.9rem;
    background-color: transparent;
}

html:not([dir="rtl"])
    .timeline
    .timeline-item.timeline-item-transparent
    .timeline-event {
    padding-left: 0;
}

.timeline
    .timeline-item.timeline-item-transparent
    .timeline-event.timeline-event-shadow {
    padding-left: 2rem;
}

.timeline.timeline-outline .timeline-item .timeline-point {
    outline: unset;
    background-color: #fff !important;
    border: 2px solid #696cff;
}

.timeline.timeline-center .timeline-end-indicator {
    bottom: -1.4rem;
    left: 50%;
    margin-left: 0.55rem;
}

.timeline.timeline-center .timeline-item {
    width: 50%;
    clear: both;
}

.timeline.timeline-center .timeline-item.timeline-item-left,
.timeline.timeline-center
    .timeline-item:nth-of-type(odd):not(.timeline-item-left):not(
        .timeline-item-right
    ) {
    float: left;
    padding-left: 0;
    padding-right: 2.25rem;
    padding-bottom: 2.5rem;
    border-left: 0;
    border-right: 1px solid #e4e6e8;
}

.timeline.timeline-center
    .timeline-item.timeline-item-left
    .timeline-event
    .timeline-event-time,
.timeline.timeline-center
    .timeline-item:nth-of-type(odd):not(.timeline-item-left):not(
        .timeline-item-right
    )
    .timeline-event
    .timeline-event-time {
    right: -10.2rem;
}

.timeline.timeline-center .timeline-item.timeline-item-left .timeline-point,
.timeline.timeline-center
    .timeline-item:nth-of-type(odd):not(.timeline-item-left):not(
        .timeline-item-right
    )
    .timeline-point {
    left: 100%;
}

.timeline.timeline-center .timeline-item.timeline-item-right,
.timeline.timeline-center
    .timeline-item:nth-of-type(2n):not(.timeline-item-left):not(
        .timeline-item-right
    ) {
    float: right;
    right: 1px;
    padding-left: 2.25rem;
    padding-bottom: 2.5rem;
    border-left: 1px solid #e4e6e8;
}

.timeline.timeline-center
    .timeline-item.timeline-item-right
    .timeline-event
    .timeline-event-time,
.timeline.timeline-center
    .timeline-item:nth-of-type(2n):not(.timeline-item-left):not(
        .timeline-item-right
    )
    .timeline-event
    .timeline-event-time {
    left: -10.2rem;
}

.timeline.timeline-center
    .timeline-item.timeline-item-right
    .timeline-event
    .timeline-point,
.timeline.timeline-center
    .timeline-item:nth-of-type(2n):not(.timeline-item-left):not(
        .timeline-item-right
    )
    .timeline-event
    .timeline-point {
    left: 0;
}

.timeline.timeline-center .timeline-item .timeline-point {
    left: 50%;
    margin-left: -0.6875rem;
}

.timeline.timeline-center .timeline-item .timeline-point-indicator {
    left: 50%;
    margin-left: -0.3125rem;
}

.timeline.timeline-center .timeline-item:after {
    content: "";
    position: absolute;
    display: block;
    width: 2rem;
    height: 2rem;
    background-color: #fff;
    border-radius: 50%;
    inset-inline-start: -1rem;
    top: 0.64rem;
}

.timeline.timeline-advance .timeline-item .timeline-event:before,
.timeline.timeline-advance .timeline-item .timeline-event:after {
    border: transparent;
}

html:not([dir="rtl"]) .timeline:not(.timeline-center) {
    padding-left: 0.5rem;
}

html:not([dir="rtl"]) .timeline-item {
    border-left: 1px solid #e4e6e8;
}

[dir="rtl"] .timeline:not(.timeline-center) {
    padding-right: 0.5rem;
}

[dir="rtl"] .timeline:not(.timeline-center) .timeline-item {
    border-right: 1px solid #e4e6e8;
}

[dir="rtl"] .timeline:not(.timeline-center) .timeline-end-indicator {
    left: auto;
    right: -0.75rem;
}

[dir="rtl"] .timeline:not(.timeline-center) .timeline-item {
    padding-left: 0;
    padding-right: 2rem;
    border-right: 1px solid #e4e6e8;
}

[dir="rtl"]
    .timeline:not(.timeline-center)
    .timeline-item.timeline-item-transparent
    .timeline-event {
    padding-right: 0;
}

[dir="rtl"] .timeline:not(.timeline-center) .timeline-item .timeline-point {
    right: -0.38rem;
    left: auto;
}

[dir="rtl"] .timeline:not(.timeline-center) .timeline-item .timeline-indicator {
    right: -0.75rem;
    left: auto;
}

[dir="rtl"]
    .timeline:not(.timeline-center)
    .timeline-item
    .timeline-indicator-advanced {
    right: -1rem;
    left: auto;
}

@media (min-width: 768px) {
    .timeline.timeline-center
        .timeline-item.timeline-item-left
        .timeline-indicator,
    .timeline.timeline-center
        .timeline-item:nth-of-type(odd):not(.timeline-item-left):not(
            .timeline-item-right
        )
        .timeline-indicator {
        left: calc(100% - 1rem);
    }

    .timeline.timeline-center .timeline-item.timeline-item-left:after,
    .timeline.timeline-center
        .timeline-item:nth-of-type(odd):not(.timeline-item-left):not(
            .timeline-item-right
        ):after {
        inset-inline-start: calc(100% - 1rem);
    }
}

@media (max-width: 767.98px) {
    .timeline.timeline-center .timeline-end-indicator {
        left: -2px;
    }

    .timeline.timeline-center .timeline-item {
        border-right: 0 !important;
        left: 1rem;
        float: left !important;
        width: 100%;
        padding-left: 3rem !important;
        padding-right: 1.5rem !important;
    }

    .timeline.timeline-center .timeline-item:not(:last-child) {
        border-left: 1px solid #e4e6e8 !important;
    }

    .timeline.timeline-center
        .timeline-item
        .timeline-event
        .timeline-event-time {
        top: -1.7rem;
        left: 0 !important;
        right: auto !important;
    }

    .timeline.timeline-center .timeline-item .timeline-point {
        left: -0.7rem !important;
        margin-left: 0 !important;
    }

    .timeline.timeline-center .timeline-item .timeline-point-indicator {
        left: 0 !important;
        margin-left: -0.3125rem !important;
    }

    [dir="rtl"] .timeline.timeline-center .timeline-item {
        border-left: 0 !important;
        right: 1rem !important;
    }

    [dir="rtl"] .timeline.timeline-center .timeline-item:not(:last-child) {
        border-right: 1px solid #e4e6e8 !important;
    }

    [dir="rtl"] .timeline.timeline-center .timeline-item {
        float: right !important;
        width: 100%;
        padding-right: 3.5rem !important;
        padding-left: 1.5rem !important;
    }

    [dir="rtl"]
        .timeline.timeline-center
        .timeline-item
        .timeline-event
        .timeline-event-time {
        top: -1.7rem;
        right: 0 !important;
        left: auto !important;
    }

    [dir="rtl"] .timeline.timeline-center .timeline-item .timeline-point {
        right: -0.7rem !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 767.98px) {
    [dir="rtl"] .timeline .timeline-item .timeline-indicator,
    [dir="rtl"] .timeline .timeline-item .timeline-indicator-advanced {
        left: auto;
        right: -0.6875rem;
    }

    [dir="rtl"] .timeline-center .timeline-item {
        padding-left: 0;
        padding-right: 3rem;
    }
}

@media (max-width: 575.98px) {
    .timeline .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.timeline .timeline-point-secondary {
    background-color: #8592a3 !important;
    outline: 3px solid rgba(133, 146, 163, 0.12);
}

.timeline.timeline-outline .timeline-point-secondary {
    border: 2px solid #8592a3 !important;
}

.timeline .timeline-indicator-secondary {
    background-color: #8592a329;
}

.timeline .timeline-indicator-secondary i {
    color: #8592a3 !important;
}

.timeline .timeline-point-success {
    background-color: #71dd37 !important;
    outline: 3px solid rgba(113, 221, 55, 0.12);
}

.timeline.timeline-outline .timeline-point-success {
    border: 2px solid #71dd37 !important;
}

.timeline .timeline-indicator-success {
    background-color: #71dd3729;
}

.timeline .timeline-indicator-success i {
    color: #71dd37 !important;
}

.timeline .timeline-point-info {
    background-color: #03c3ec !important;
    outline: 3px solid rgba(3, 195, 236, 0.12);
}

.timeline.timeline-outline .timeline-point-info {
    border: 2px solid #03c3ec !important;
}

.timeline .timeline-indicator-info {
    background-color: #03c3ec29;
}

.timeline .timeline-indicator-info i {
    color: #03c3ec !important;
}

.timeline .timeline-point-warning {
    background-color: #ffab00 !important;
    outline: 3px solid rgba(255, 171, 0, 0.12);
}

.timeline.timeline-outline .timeline-point-warning {
    border: 2px solid #ffab00 !important;
}

.timeline .timeline-indicator-warning {
    background-color: #ffab0029;
}

.timeline .timeline-indicator-warning i {
    color: #ffab00 !important;
}

.timeline .timeline-point-danger {
    background-color: #ff3e1d !important;
    outline: 3px solid rgba(255, 62, 29, 0.12);
}

.timeline.timeline-outline .timeline-point-danger {
    border: 2px solid #ff3e1d !important;
}

.timeline .timeline-indicator-danger {
    background-color: #ff3e1d29;
}

.timeline .timeline-indicator-danger i {
    color: #ff3e1d !important;
}

.timeline .timeline-point-dark {
    background-color: #2b2c40 !important;
    outline: 3px solid rgba(43, 44, 64, 0.12);
}

.timeline.timeline-outline .timeline-point-dark {
    border: 2px solid #2b2c40 !important;
}

.timeline .timeline-indicator-dark {
    background-color: #2b2c4029;
}

.timeline .timeline-indicator-dark i {
    color: #2b2c40 !important;
}

.timeline .timeline-point-gray {
    background-color: #22303e80 !important;
    outline: 3px solid rgba(34, 48, 62, 0.12);
}

.timeline.timeline-outline .timeline-point-gray {
    border: 2px solid rgba(34, 48, 62, 0.5) !important;
}

.timeline .timeline-indicator-gray {
    background-color: #22303e29;
}

.timeline .timeline-indicator-gray i {
    color: #22303e80 !important;
}

.h-2vh {
    height: 2vh;
}
.top-13 {
    top: -13px !important;
}
#sortable-menu,
.submenu {
    list-style-type: none; /* Remove default list bullets */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

#sortable-menu > li,
.submenu > li {
    margin-bottom: 10px; /* Add bottom space between menu items */
    background-color: #f8f9fa; /* Light background for menu items */
    padding: 10px; /* Padding inside menu items */
    border-radius: 5px; /* Rounded corners for menu items */
    border: 1px solid #dee2e6; /* Border for menu items */
    transition: background-color 0.3s; /* Transition for hover effect */
    position: relative; /* Positioning for drag handle */
}

#sortable-menu > li:hover,
.submenu > li:hover {
    background-color: #e9ecef; /* Darker background on hover */
}

/* Add space between menu item and the first submenu item */
#sortable-menu > li > .submenu {
    margin-top: 10px; /* Space above the first submenu */
}

.submenu > li {
    padding-left: 20px; /* Add left padding to submenu items */
    margin-bottom: 8px; /* Add bottom space for submenu items */
}

.handle {
    cursor: grab; /* Cursor style for drag handle */
    padding-right: 10px; /* Space between the handle and text */
    display: inline-block; /* Ensure handle is inline with text */
    color: #6c757d; /* Color for handle icon */
}

/* Project grid keeps configured colors on status and priority badges. */
.project-grid-list > .col-md-6 { display: flex; }
.project-grid-card { width: 100%; border: 1px solid #e1e5ef; border-radius: 10px; box-shadow: none; }
.project-grid-card > .card-body { padding: 22px; }
.project-grid-card .project-grid-heading { align-items: flex-start !important; gap: 16px; }
.project-grid-heading .card-title { font-size: 1.0625rem; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.project-grid-heading .card-title strong { font-weight: 600; }
.project-grid-heading .card-title a { text-decoration: none !important; color: #43536f !important; }
.project-grid-heading > .d-flex { flex-shrink: 0; gap: 2px; }
.project-grid-heading > .d-flex > a, .project-grid-heading .dropdown > a { display: inline-flex; justify-content: center; align-items: center; width: 28px; height: 28px; margin: 0 !important; border-radius: 5px; color: #8591a8 !important; }
.project-grid-heading > .d-flex > a:hover, .project-grid-heading .dropdown > a:hover { background: #f2f3f8; }
.project-grid-heading > .d-flex > a i:not(.favorite-icon) { color: #8591a8 !important; }
.project-grid-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.project-grid-tags .badge { background: #f1f2f7 !important; color: #738099 !important; font-size: .625rem; font-weight: 500; padding: 5px 7px; margin: 0 !important; }
.project-grid-budget { background: transparent !important; color: #738099 !important; font-size: .8125rem; font-weight: 400; padding: 0; margin: 8px 0 0; }
.project-grid-state { margin-top: 18px; margin-bottom: 16px !important; }
.project-grid-card .form-label { font-size: .6875rem; color: #738099; }
.project-grid-card :is(.status-tag, .priority-tag).selected { box-shadow: none; font-size: .6875rem; font-weight: 500; padding: 6px 9px; border-radius: 5px; }
.project-grid-progress .progress { height: 7px !important; border-radius: 6px; box-shadow: none; background: #f0f2f7; }
.project-grid-progress .progress-bar { background-image: none; animation: none; font-size: 0; box-shadow: none; }
.project-grid-progress .progress:has(.project-grid-no-tasks) { height: auto !important; background: transparent; }
.project-grid-no-tasks { color: #8a96ab; font-size: .8125rem; line-height: 1.5; }
.project-grid-task-link { align-items: center; margin: 16px 0 !important; font-size: .8125rem; }
.project-grid-task-link > a { border-radius: 6px !important; }
.project-grid-people { border-top: 1px solid #edf0f6; padding-top: 16px; }
.project-grid-people .card-text { font-size: .75rem; color: #738099; margin-bottom: 10px; }
.project-grid-people .avatar { width: 26px; height: 26px; }
.project-grid-people .update-users-clients { display: inline-flex; align-items: center; justify-content: center; padding: 0 !important; width: 28px; height: 28px; min-height: 28px; min-width: 28px; border-color: #ddd8ef; color: #8c7db8; }
.project-grid-dates { border-top: 1px solid #edf0f6; padding-top: 14px; margin-top: 16px; font-size: .75rem; color: #738099; row-gap: 8px; }
.project-grid-dates i { color: #9aa4b6 !important; }
.project-grid-dates .text-end { color: #a76e65; }
@media (max-width: 1199px) { .project-grid-heading { flex-wrap: wrap; } }
/* Neutral map nodes, with status/priority badges using the saved Bootstrap colors. */
.project-mindmap-page .mindmap-card { border: 1px solid #e1e5ef; box-shadow: none; border-radius: 10px; overflow: hidden; margin-bottom: 24px; }
.mindmap-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; border-bottom: 1px solid #edf0f6; }
.mindmap-toolbar h5 { margin: 0 0 6px; font-size: 1rem; font-weight: 500; }
.mindmap-toolbar p { margin: 0; color: #738099; font-size: .875rem; }
.mindmap-controls { display: flex; align-items: center; gap: 6px; }
.mindmap-controls .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.project-mindmap-page #mind-map { height: min(74vh, 820px); min-height: 450px; background: #fafbfe; }
.project-mindmap-page .mindmap-card.mindmap-expanded { position: fixed; inset: 0; z-index: 1100; width: 100%; height: 100dvh; margin: 0; border: 0; border-radius: 0; display: flex; flex-direction: column; background: #fff; }
.project-mindmap-page .mindmap-expanded > .mindmap-toolbar { flex-shrink: 0; }
.project-mindmap-page .mindmap-expanded > .card-body { flex: 1; min-height: 0; overflow: hidden; }
.project-mindmap-page .mindmap-expanded #mind-map { height: 100%; min-height: 0; }
body.mindmap-fullscreen-open { overflow: hidden; }
.project-mindmap-page jmnodes.theme-taskify jmnode { max-width: 290px; padding: 12px 16px; border: 1px solid #dfe4ed; border-radius: 8px; box-shadow: 0 2px 4px #24334d06; background: #fff; color: #52617b; font-family: inherit; font-size: .875rem; line-height: 1.5; white-space: normal; overflow: visible; cursor: pointer; }
.project-mindmap-page jmnodes.theme-taskify jmnode:is(:hover, .selected) { color: #43536f; background: #fff; border-color: #b6accf; box-shadow: 0 3px 12px #24334d0a; }
.project-mindmap-page jmnodes.theme-taskify jmnode:focus-visible { outline: 2px solid #a59bd3; outline-offset: 3px; }
.project-mindmap-page jmnodes.theme-taskify jmnode.root { background: #f4f1fa; color: #514569; border-color: #d8d0e8; font-size: 1rem; font-weight: 600; max-width: 320px; }
.mind-node-title { display: block; overflow-wrap: anywhere; }
.mind-node-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.mind-node-badges .badge { font-size: .625rem; font-weight: 500; padding: 4px 7px; line-height: 1.4; }
.mind-node-category { position: relative; }
.mind-node-category:has(.mind-node-count) { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.mind-node-count { background: #f0f2f7; border-radius: 5px; color: #738099; font-size: .6875rem; padding: 2px 6px; }
.project-mindmap-page jmnodes.theme-taskify jmexpander { background: #fff; border-color: #d4d9e5; color: #8b80ad; width: 16px; height: 16px; line-height: 14px; border-radius: 50%; }

/* Shared project/task detail layout. Keep embedded forms and tables intact. */
.record-detail-page .detail-title { font-size: 1.5rem; line-height: 1.45; font-weight: 600; color: #3f4e68; margin-bottom: 22px; overflow-wrap: anywhere; }
.record-detail-page .detail-title .favorite-icon { font-size: 20px; vertical-align: middle; }
.record-detail-page .detail-overview { border: 1px solid #e1e5ef; box-shadow: none; border-radius: 10px; }
.record-detail-page .detail-overview .card-body, .task-detail-page .detail-overview { padding: 24px; }
.record-detail-page .detail-overview-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding-top: 20px; border-top: 1px solid #edf0f6; align-items: start; }
.record-detail-page .detail-overview-fields > [class*="col-"] { width: auto; padding: 0; margin: 0 !important; min-width: 0; }
.record-detail-page .detail-overview .form-label { color: #738099; font-size: .75rem; margin-bottom: 10px; }
.record-detail-page .detail-overview :is(#statusSelect, #prioritySelect) { text-align: left; min-height: 36px; padding: 7px 34px 7px 12px; font-size: .875rem; color: #52617b !important; background-color: #f9fafc !important; border-color: #e1e5ef !important; border-radius: 6px; }
.record-detail-page .detail-overview :is(#statusSelect, #prioritySelect):focus { border-color: #a49acb !important; }
.record-detail-page .detail-overview .avatar { width: 30px; height: 30px; }
.record-detail-page .detail-overview .update-users-clients { display: inline-flex; align-items: center; justify-content: center; padding: 0 !important; min-width: 30px; width: 30px; height: 30px; min-height: 30px; margin-left: 6px; color: #8072b4; border-color: #ddd7ef; }
.record-detail-page .detail-overview p { margin-bottom: 0; }
.record-detail-page .detail-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.record-detail-page .detail-tags .badge { background: #f1f2f7 !important; color: #738099 !important; font-size: .6875rem; font-weight: 500; padding: 5px 8px; }
.detail-project-summary .card { border: 1px solid #e1e5ef; border-radius: 10px; box-shadow: none; }
.record-detail-page .detail-summary-card .card-header { padding: 20px 22px 0; }
.record-detail-page .detail-summary-card .card-title, .record-detail-page .detail-description-card .card-title { font-size: 1rem; font-weight: 500; margin-bottom: 16px; }
.detail-summary-card .list-group-item { padding: 10px 0; font-size: .875rem; border-color: #edf0f6; }
.detail-summary-card .list-group-item .badge { background: #f1f2f7 !important; color: #63718a !important; font-weight: 500; min-width: 25px; }
.detail-metrics .card-body { padding: 18px; }
.detail-metrics .avatar { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: #f4f2fa; border-radius: 7px; }
.detail-metrics .avatar i { font-size: 19px !important; color: #9284bc !important; }
.detail-metrics .fw-semibold { font-size: .75rem; color: #738099; font-weight: 400 !important; }
.detail-metrics h3.card-title { font-size: 1.0625rem; line-height: 1.5; font-weight: 500; margin: 0; color: #43536f; overflow-wrap: anywhere; }
.detail-description { display: block; width: 100%; font-size: .9375rem; line-height: 1.75; color: #5b6c86; overflow-wrap: anywhere; }
.detail-description :is(img, video) { max-width: 100%; height: auto; }
.detail-description > :last-child { margin-bottom: 0; }
.detail-task-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.detail-task-layout > :is(.detail-overview, .detail-task-content) { grid-column: 1 / -1; }
.detail-task-layout > hr { display: none; }
.detail-task-layout > .card { border: 1px solid #e1e5ef; box-shadow: none; border-radius: 10px; min-width: 0; }
.detail-task-content > .row:last-child { padding: 18px 0 0; margin-top: 10px; border-top: 1px solid #edf0f6; }
.detail-task-content .form-label { color: #738099; font-size: .75rem; }
.record-detail-page :is(.detail-task-content, .detail-setting-card) .form-control[readonly] { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0; min-height: 0; height: auto; font-size: .9375rem; color: #43536f; line-height: 1.6; }
.detail-project-link { color: #7a6ab3; font-size: .9375rem; text-decoration: none !important; }
.detail-project-link:hover { color: #5e4b9b; }
.record-detail-page .detail-setting-card .card-header { padding: 18px 22px; border-bottom: 1px solid #edf0f6; gap: 12px; }
.detail-setting-card .card-header .form-label { margin: 0; font-size: .9375rem; text-transform: none; color: #52617b; }
.detail-setting-card .badge { background: #f1f2f7 !important; color: #738099 !important; font-weight: 500; }
.detail-setting-card .card-body { padding: 20px 22px; }
.detail-setting-card .text-muted { font-size: .875rem; color: #738099 !important; }
.record-detail-page .detail-tabs { border: 1px solid #e1e5ef; border-radius: 10px; overflow: hidden; background: #fff; margin-bottom: 24px; }
.record-detail-page .detail-tabs > .nav-tabs { background: #fff; border-bottom: 1px solid #e1e5ef; padding: 0 16px; gap: 4px; }
.record-detail-page .detail-tabs > .nav-tabs .nav-link { background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 16px 12px; font-size: .875rem; color: #738099; box-shadow: none; }
.record-detail-page .detail-tabs > .nav-tabs .nav-link.active { color: #8070b7; border-bottom-color: #9688cb; }
.record-detail-page .detail-tabs > .nav-tabs .nav-link i { color: inherit !important; font-size: 17px; }
.record-detail-page .detail-tabs > .tab-content { box-shadow: none; border-radius: 0; padding: 24px; }
.record-detail-page .detail-overview .progress { height: 20px; margin: 0 0 18px; background: #f0eef7; border-radius: 5px; }
.record-detail-page .detail-overview .progress-bar { background: #a498ce !important; background-image: none; animation: none; font-size: .6875rem; }
@media (max-width: 1199px) { .record-detail-page .detail-overview-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .detail-task-layout { grid-template-columns: minmax(0, 1fr); } .record-detail-page .detail-title { font-size: 1.25rem; } }
@media (max-width: 479px) { .record-detail-page .detail-overview-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* Leave editor settings share the form styles used throughout the app. */
.leave-editors-card { margin-bottom: 24px; border: 1px solid #e1e5ef; box-shadow: none; }
.leave-editors-layout { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(320px, 1fr); align-items: center; gap: 24px; padding: 20px 24px; }
.leave-editors-intro { display: flex; align-items: flex-start; gap: 12px; }
.leave-editors-icon { flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; background: #f1effb; color: #8273c6; font-size: 21px; }
.leave-editors-intro h6 { margin: 0 0 6px; font-size: 1rem; font-weight: 500; }
.leave-editors-intro p { margin: 0; font-size: .875rem; line-height: 1.6; color: #738099; max-width: 440px; }
.leave-editors-controls { display: flex; align-items: flex-end; gap: 12px; min-width: 0; }
.leave-editors-field { flex: 1; min-width: 0; }
.leave-editors-field > .select2-container { width: 100% !important; }
.leave-editors-field .select2-selection--multiple { min-height: 36px; }
.leave-editors-controls > .btn { flex-shrink: 0; height: 36px; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 991px) { .leave-editors-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
@media (max-width: 575px) { .leave-editors-layout { padding: 18px; } .leave-editors-controls { flex-wrap: wrap; } .leave-editors-field { flex-basis: 100%; } }

/* Notes use the shared typography and controls, with a subtle saved-color accent. */
.notes-heading { margin: 4px 0 18px; }
.notes-heading h4 { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 500; }
.notes-count { background: #eae9f4; color: #655c98; border-radius: 6px; padding: 4px 8px; font-size: .75rem; line-height: 1.4; }
.notes-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid #e1e5ef; border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; }
.notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.note-card { --note-accent: #aba5d7; --note-tint: #f7f6fc; display: flex; flex-direction: column; min-width: 0; height: 330px; background: #fff; border: 1px solid #e1e5ef; border-top: 3px solid var(--note-accent); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 5px rgba(44, 53, 73, .025); transition: border-color .15s, box-shadow .15s; }
.note-card:hover { box-shadow: 0 5px 16px rgba(44, 53, 73, .07); }
.note-color-primary { --note-accent: #9c94d5; --note-tint: #f6f4fc; }
.note-color-secondary { --note-accent: #a0a8b8; --note-tint: #f5f6f8; }
.note-color-success, .note-color-info { --note-accent: #8bbba8; --note-tint: #f3f9f6; }
.note-color-warning { --note-accent: #d5b66f; --note-tint: #fcf9f0; }
.note-color-danger { --note-accent: #d0a09e; --note-tint: #fcf5f5; }
.note-color-dark { --note-accent: #78849b; --note-tint: #f4f5f8; }
.note-card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 10px; background: var(--note-tint); }
.note-card-header .form-check-label { font-size: .75rem; color: #738099; }
.note-card-actions { display: flex; align-items: center; gap: 6px; }
.layout-page .content-wrapper .notes-page .note-card-actions .btn.btn-sm { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; min-width: 36px; height: 36px; min-height: 36px; padding: 0; gap: 0; box-shadow: none; }
.notes-page .note-card-actions .btn { border-color: transparent; background: transparent; }
.notes-page .note-card-actions .btn-outline-secondary { color: #718099; }
.notes-page .note-card-actions .btn-outline-danger { color: #c35757; }
.notes-page .note-card-actions .btn-outline-secondary:is(:hover, :focus-visible, :active) { color: #4c5d78; background: #e8edf3; border-color: #d3dbe7; }
.notes-page .note-card-actions .btn-outline-danger:is(:hover, :focus-visible, :active) { color: #ad4040; background: #fbeaea; border-color: #efcece; }
.notes-page .note-card-actions .btn i { display: block; font-size: 17px; line-height: 1; margin: 0; padding: 0; }
.note-card-title { margin: 0; padding: 0 18px 14px; background: var(--note-tint); font-size: 1rem; font-weight: 600; line-height: 1.5; color: #43536f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-card-content { flex: 1; min-height: 0; overflow: auto; padding: 16px 18px; overflow-wrap: anywhere; scrollbar-width: thin; scrollbar-color: transparent transparent; }
.note-card-content:hover, .note-card-content:focus-within { scrollbar-color: #b4bac8 transparent; }
.note-card-content::-webkit-scrollbar { width: 6px; height: 6px; }
.note-card-content::-webkit-scrollbar-thumb { background: transparent; border-radius: 6px; }
.note-card-content:hover::-webkit-scrollbar-thumb, .note-card-content:focus-within::-webkit-scrollbar-thumb { background: #b4bac8; }
.note-card-content:focus-visible { outline: 2px solid #a49ae1; outline-offset: -3px; }
.note-text { font-size: .9375rem; line-height: 1.65; }
.note-text > :last-child { margin-bottom: 0; }
.note-text img, .note-text video { max-width: 100%; height: auto; }
.note-drawing { height: 100%; display: flex; align-items: center; justify-content: center; }
.note-drawing > svg { display: block; width: 100%; height: 100%; max-height: 100%; }
.note-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 18px; padding: 12px 0; border-top: 1px solid #edf0f6; color: #738099; font-size: .75rem; }
.note-card-footer > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.note-card-footer i { font-size: 15px; }
@media (min-width: 1800px) { .notes-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1199px) { .notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .notes-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

.sticky-note-bg-primary {
    background: #007bff;
    /* Bootstrap primary color */
    /* color: #fff; */
    /* White text color on a primary background */
}
.sticky-note-bg-secondary {
    background: #6c757d;
    /* Bootstrap secondary color */
    color: #fff;
    /* White text color on a secondary background */
}
.sticky-note-bg-success {
    background: #9dffb4;
    /* Bootstrap success color */
    color: #fff;
    /* White text color on a success background */
}
.sticky-note-bg-dark {
    background: #343a40;
    /* Bootstrap dark color */
    color: #fff;
    /* White text color on a dark background */
}
.sticky-note-bg-info {
    background: #cfc;
}
.sticky-note-bg-warning {
    background: #ffc;
}
.sticky-note-bg-danger {
    background: #fcc;
}
.sticky-notes,
.sticky-note {
    list-style: none;
}
.sticky-notes {
    overflow: hidden;
    padding: 2em;
}
.sticky-notes .sticky-note .sticky-content {
    font-family: "Roboto Mono", monospace;
    text-decoration: none;
    color: #000;
    display: block;
    padding: 1em;
    overflow-wrap: break-word;
    -moz-box-shadow: 5px 5px 7px rgba(33, 33, 33, 1);
    -webkit-box-shadow: 5px 5px 7px rgba(33, 33, 33, 0.3);
    box-shadow: 5px 5px 7px rgba(33, 33, 33, 0.3);
    -moz-transition: -moz-transform 0.15s linear;
    -o-transition: -o-transform 0.15s linear;
    -webkit-transition: -webkit-transform 0.15s linear;
    -webkit-transform: rotate(-2deg);
    -o-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
}
.sticky-notes .sticky-note {
    margin-top: 1em;
    margin-bottom: 1em;
    /*float:left;*/
}
.sticky-notes .sticky-note:nth-child(even) .sticky-content {
    -o-transform: rotate(2deg);
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    position: relative;
    top: 5px;
}
.sticky-notes .sticky-note:nth-child(3n) .sticky-content {
    -o-transform: rotate(-2deg);
    -webkit-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
    position: relative;
    top: -5px;
}
.sticky-notes .sticky-note:nth-child(5n) .sticky-content {
    -o-transform: rotate(2deg);
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    position: relative;
    top: -10px;
}
.sticky-notes .sticky-note .sticky-content {
    transition: transform 0.3s ease, box-shadow 0.3s ease,
        background-color 0.3s ease;
}
.sticky-notes .sticky-note .sticky-content:hover,
.sticky-notes .sticky-note .sticky-content:focus {
    box-shadow: 15px 15px 15px rgba(0, 0, 0, 0.4); /* Increase shadow size and opacity for depth */
    position: relative;
    z-index: 10; /* Increase z-index for more prominence */
    border-radius: 5px; /* Add rounded corners */
    outline: none; /* Remove default focus outline */
}
.sticky-notes .sticky-note .sticky-content i {
    font-size: 12px;
    float: right;
    vertical-align: top;
    padding: 6px;
    cursor: pointer;
}
#color-legend {
    margin-top: 15px;
    font-size: 14px;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 6px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.legend-title {
    font-weight: bold;
    font-size: 15px;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.legend-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-box {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.category-wrapper {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 5px;
}

.category-header {
    cursor: grab;
    background-color: #f5f5f5;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.menu-items-container {
    padding-left: 20px;
}

.sortable-ghost {
    opacity: 0.5;
    /* background: #c8ebfb; */
}

/* Smooth transitions when cards are shown/hidden and rearranged */
.col-lg-3,
.col-lg-4,
.col-lg-6,
.col-lg-8 {
    transition: all 0.3s ease-in-out;
}

.truncate-col {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Custom Select2 Styling for Mapping Fields */
#mapping-body .select2-container {
    display: block;
    position: relative;
}

#mapping-body .select2-container--default .select2-selection--single {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    height: 31px;
    width: 100%;
    background-color: #fff;
}

#mapping-body
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 31px;
    padding-left: 8px;
    color: #495057;
}

#mapping-body
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 29px;
    position: absolute;
    right: 1px;
    top: 1px;
}

#mapping-body .select2-container--default .select2-dropdown {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1056; /* Higher z-index to ensure dropdown appears above other elements */
    width: 100% !important;
}

#mapping-body
    .select2-container--default
    .select2-search--dropdown
    .select2-search__field {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 4px 8px;
    width: 100%;
}

#mapping-body .select2-container--default .select2-results__option {
    padding: 6px 12px;
}

#mapping-body
    .select2-container--default
    .select2-results__option--highlighted[aria-selected] {
    background-color: #007bff;
}

/* Fix for dropdown width */
#mapping-body .select2-container--default .select2-dropdown {
    min-width: 200px;
    width: auto !important;
}

/* Fix for table cell layout */
#mapping-body table td {
    position: relative;
    vertical-align: middle;
}

/* Ensure the select container doesn't overflow */
#mapping-body table td .select2-container {
    min-width: 200px;
}

/* Candidate Avatar */
.candidate-avatar {
    width: 56px;
    height: 56px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* ensures it's perfectly round */
}

/* Todos Enhancements */
/* Todo-specific classes with renamed general classes */
.todo-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: var(--bs-body-color);
    height: 100%;
    background-color: #fff;
}

.todo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.todo-card-header {
    border-bottom: none;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.todo-gradient-primary {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-dark));
}

.todo-gradient-success {
    background: linear-gradient(135deg, var(--bs-success), #059669);
}

.todo-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-right: 15px;
    background-color: rgba(255, 255, 255, 0.2);
}

.todo-header-icon i {
    font-size: 24px;
    color: white;
}

.todo-header-decoration {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.todo-header-decoration:before {
    content: "";
    position: absolute;
    right: -40px;
    top: 40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.todo-counter {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.todo-card-body {
    padding: 25px;
}

.todo-list-container {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    padding-right: 5px;
}

.todo-list-container::-webkit-scrollbar {
    width: 6px;
}

.todo-list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.todo-list-container::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 6px;
}

.todo-list-container::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.todo-item {
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: var(--bs-body-bg);
    border-left: 5px solid transparent;
    box-shadow: var(--bs-secondary);
    position: relative;
    overflow: hidden;
}

.todo-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--bs-body-color);
}

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

.todo-item.todo-priority-high {
    border-left-color: var(--bs-danger);
}

.todo-item.todo-priority-medium {
    border-left-color: var(--bs-warning);
}

.todo-item.todo-priority-low {
    border-left-color: var(--bs-success);
}

.todo-check-input {
    width: 22px;
    height: 22px;
    border: 2px solid #d1d5db;
    margin-top: 0;
}

.todo-check-input:checked {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}

.todo-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25);
}

.todo-title {
    font-weight: 600;
    margin-bottom: 6px;
    color: #1f2937;
    font-size: 16px;
}

.todo-item.todo-completed .todo-title {
    text-decoration: line-through;
    color: #6b7280;
}

.todo-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.todo-meta-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #6b7280;
}

.todo-meta-item i {
    margin-right: 5px;
    font-size: 16px;
}

.todo-priority-badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.todo-bg-danger-subtle {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--bs-danger);
}

.todo-bg-warning-subtle {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--bs-warning);
}

.todo-bg-success-subtle {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--bs-success);
}

.todo-actions-container {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.todo-item:hover .todo-actions-container {
    opacity: 1;
}

.todo-action-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: white;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    transition: all 0.2s;
}

.todo-action-btn:hover {
    background-color: #f3f4f6;
}

.todo-action-btn.todo-delete:hover {
    background-color: #fee2e2;
    color: var(--bs-danger);
}

.todo-action-btn.todo-edit:hover {
    background-color: #e0e7ff;
    color: var(--bs-primary);
}

.todo-add-btn {
    background: linear-gradient(
        135deg,
        var(--bs-primary),
        var(--bs-body-color)
    );
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.todo-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.4);
}

.todo-drag-handle {
    cursor: move;
    color: #9ca3af;
}

.todo-completed-tag {
    display: flex;
    align-items: center;
    color: var(--bs-success);
    font-weight: 500;
    font-size: 13px;
}

.todo-view-all-btn {
    background-color: transparent;
    border: 2px solid var(--bs-success);
    color: var(--bs-success);
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s;
}

.todo-view-all-btn:hover {
    background-color: var(--bs-success);
    color: white;
}

.todo-progress {
    margin-bottom: 25px;
}

.todo-progress-bar {
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #e5e7eb;
}

.todo-progress-label {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.todo-progress-value {
    font-weight: 600;
}

.todo-empty-state {
    text-align: center;
    padding: 40px 20px;
}

.todo-empty-state-icon {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 16px;
}

.todo-empty-state-text {
    color: #6b7280;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .todo-item {
        padding: 14px;
    }

    .todo-card-header,
    .todo-card-body {
        padding: 20px;
    }
}

/* Minimal Todos page. Keep the gradient class names as status hooks for JS. */
.todos-page .todo-progress { padding: 16px 20px; margin-bottom: 20px; border: 1px solid #e1e5ef; border-radius: 10px; background: #fff; }
.todos-page .todo-progress-label { font-size: .8125rem; color: #738099; margin-bottom: 10px; }
.todos-page .todo-progress-value { color: #63718a; font-weight: 500; }
.todos-page .todo-progress .progress { height: 6px; background: #eeedf5; box-shadow: none; border-radius: 5px; }
.todos-page .todo-progress .progress-bar { background: #a99ccc; box-shadow: none; }
.todos-page .todo-card { border: 1px solid #e1e5ef; border-radius: 10px; box-shadow: none; background: #fff; transition: none; }
.todos-page .todo-card:hover { transform: none; box-shadow: none; }
.todos-page .todo-card-header { background: #fff; padding: 18px 20px; border-bottom: 1px solid #edf0f6; }
.todos-page .todo-header-decoration { display: none; }
.todos-page .todo-card-header h5 { color: #43536f !important; font-size: 1rem; font-weight: 500 !important; }
.todos-page .todo-header-icon { width: 34px; height: 34px; border-radius: 7px; margin-right: 10px; background: #f3f1f9; }
.todos-page .todo-header-icon i { font-size: 19px; color: #9b8bbf; }
.todos-page .todo-gradient-success .todo-header-icon { background: #f0f6f3; }
.todos-page .todo-gradient-success .todo-header-icon i { color: #86a995; }
.todos-page .todo-counter { background: #f1f2f7; color: #738099; border-radius: 5px; font-size: .75rem; font-weight: 500; padding: 4px 8px; }
.todos-page .todo-card-body { padding: 0 20px 12px; }
.todos-page .todo-list-container { max-height: 480px; min-height: 220px; padding-right: 4px; scrollbar-width: thin; scrollbar-color: transparent transparent; }
.todos-page .todo-list-container:hover, .todos-page .todo-list-container:focus-within { scrollbar-color: #b4bac8 transparent; }
.todos-page .todo-list-container::-webkit-scrollbar-track { background: transparent; }
.todos-page .todo-list-container::-webkit-scrollbar-thumb { background: transparent; }
.todos-page .todo-list-container:hover::-webkit-scrollbar-thumb, .todos-page .todo-list-container:focus-within::-webkit-scrollbar-thumb { background: #b4bac8; }
.todos-page .todo-item { border: 0; border-bottom: 1px solid #edf0f6; border-radius: 0; background: #fff; margin: 0; padding: 16px 0; box-shadow: none; overflow: visible; transition: background-color .15s; }
.todos-page .todo-item:hover { transform: none; background: #fafbfe; box-shadow: none; }
.todos-page .todo-item > .flex-grow-1 { min-width: 0; }
.todos-page .todo-drag-handle { color: #b1b9c8; flex-shrink: 0; cursor: grab; }
.todos-page .todo-title { color: #52617b; font-size: .9375rem; font-weight: 500; line-height: 1.5; margin-bottom: 6px; overflow-wrap: anywhere; }
.todos-page .todo-completed .todo-title { color: #8a96aa; }
.todos-page .todo-check { display: flex; align-items: center; flex-shrink: 0; }
.todos-page .todo-check-input { width: 17px; height: 17px; border: 1px solid #d6dce7; border-radius: 4px; accent-color: #9a8cc4; cursor: pointer; }
.todos-page .todo-check-input:focus-visible { outline: 2px solid #b5a9d7; outline-offset: 3px; }
.todos-page .todo-meta { gap: 8px; }
.todos-page .todo-meta-item { font-size: .75rem; color: #8a96aa; }
.todos-page .todo-meta-item i { font-size: 14px; }
.todos-page .todo-priority-badge { font-size: .625rem; font-weight: 500; padding: 3px 7px; border-radius: 4px; }
.todos-page .todo-bg-danger-subtle { background: #fbefed; color: #b4726b; }
.todos-page .todo-bg-warning-subtle { background: #faf4e7; color: #aa8957; }
.todos-page .todo-bg-success-subtle { background: #eef6f1; color: #779b88; }
.todos-page .todo-completed-tag { font-size: .6875rem; color: #83a18e; font-weight: 400; }
.todos-page .todo-actions-container { opacity: 1; flex-shrink: 0; margin-left: 12px; }
.todos-page .todo-actions-container .d-flex { gap: 4px; }
.todos-page .todo-actions-container a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0 !important; border-radius: 5px; color: #8591a8; }
.todos-page .todo-actions-container a i { margin: 0 !important; color: inherit !important; font-size: 17px; }
.todos-page .todo-actions-container a:hover { background: #edf0f6; color: #62718b; }
.todos-page .todo-actions-container a.delete:hover { background: #fbefed; color: #b4726b; }
.todos-page .todo-actions-container a:focus-visible { outline: 2px solid #b5a9d7; outline-offset: 2px; }
.todos-page .todo-add-form { position: sticky; bottom: 0; z-index: 2; padding: 14px 0 0; margin: 0 !important; background: #fff; border: 0; }
.todos-page .todo-add-form:hover { background: #fff; }
.todos-page .todo-add-form .form-control { font-size: .8125rem; min-height: 36px; }
.layout-page .content-wrapper .todos-page .todo-add-form .btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; min-width: 36px; height: 36px; padding: 0; }
@media (max-width: 575px) { .todos-page .todo-card-body { padding: 0 14px 12px; } .todos-page .todo-card-header { padding: 16px 14px; } .todos-page .todo-check { margin-right: 10px !important; } .todos-page .todo-actions-container { margin-left: 6px; } }

/* floating btn */
.footer-bg {
    position: relative;
    overflow: hidden;
}

.footer-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../../img/gallery/footerbg.jpg") no-repeat center center;
    background-size: cover;
    opacity: 0.2; /* 20% opacity */
    pointer-events: none; /* allows clicks to pass through */
    z-index: 0;
}

.footer-bg > * {
    position: relative;
    z-index: 1;
}
.custom-hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ccc, transparent);
    position: relative;
    margin-top: 2rem;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.floating-buy-plan {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 99999;
    cursor: pointer;
}
.buy-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
    text-transform: capitalize;
    letter-spacing: 0.5px;
    animation: gentlePulse 3s infinite;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
}
.buy-button svg {
    fill: currentColor;
    color: white;
    transition: all 0.3s ease;
}
.buy-button span {
    color: white;
    transition: all 0.3s ease;
}
.buy-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}
.buy-button:hover::before {
    left: 100%;
}
.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    color: white;
}
.buy-button:hover svg {
    fill: white;
    color: white;
}
.buy-button:hover span {
    color: white;
}
.buy-button:active {
    transform: scale(0.95);
}
.buy-button::after {
    content: "";
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 14px;
    animation: gentleSparkle 2s ease-in-out infinite;
}
@keyframes gentlePulse {
    0% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
    }
    50% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    }
    100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
    }
}
@keyframes gentleSparkle {
    0%,
    100% {
        opacity: 0.6;
        transform: scale(0.9) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(180deg);
    }
}
.attention-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: gentleExpand 3s ease-out infinite;
}
@keyframes gentleExpand {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0.8;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}
@media (max-width: 768px) {
    .floating-buy-plan {
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    .buy-button {
        padding: 12px;
        min-width: 48px;
        min-height: 48px;
        border-radius: 50%;
        justify-content: center;
    }
    .buy-button span {
        display: none;
    }
    .buy-button svg {
        width: 20px;
        height: 20px;
    }
}

/* General File Manager */
.file-manager-height {
    height: 600px;
}

.gradient-card {
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gradient-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    border-radius: 0 0 0 100%;
    opacity: 0.1;
    z-index: 1;
}

.gradient-card-success::before {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.gradient-card-primary::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-card-warning::before {
    background: linear-gradient(135deg, #ffab00 0%, #ff8c00 100%);
}

.gradient-card-info::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-body {
    position: relative;
    z-index: 2;
}

.avatar {
    position: relative;
    z-index: 3;
}

/* Preview Box Styles */
.preview-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.preview-embed-icon {
    width: 54px !important;
    border-radius: 50px;
    cursor: pointer;
    padding: 10px;
    background-color: #ffffff;
    transition: transform 0.3s ease;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

.preview-embed-icon:hover {
    transform: translateY(-5px);
}

.preview-lead-form-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 400px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    z-index: 1051;
    overflow: hidden;
}

.preview-lead-form-container.active {
    display: flex;
}

.embed-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0.375rem;
}

.modal-lg {
    max-width: 800px;
}

/* Preview Floating Widget Styles */
.preview-lead-form-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 1050;
}

.preview-lead-form-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.preview-lead-form-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 400px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    z-index: 1051;
    overflow: hidden;
}

.preview-lead-form-container.active {
    display: flex;
}

.lead-form-header {
    padding: 15px 20px;

    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lead-form-header h5 {
    margin: 0;
    font-size: 16px;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lead-form-body {
    flex: 1;
    overflow: hidden;
}

.lead-form-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .embed-container {
        height: 400px;
    }

    .preview-lead-form-container {
        width: calc(100vw - 40px);
        height: 70vh;
        bottom: 90px;
        right: 20px;
        left: 20px;
    }

    .preview-lead-form-icon {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
}


.bt-ellipsis {
    max-width: 220px;        /* adjust if needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

/* Superadmin dashboard */
.superadmin-overview .overview-metric {
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(31, 41, 55, .035);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.superadmin-overview .overview-metric:hover,
.superadmin-overview .overview-metric:focus-visible {
    border-color: #7367f0;
    box-shadow: 0 6px 20px rgba(115, 103, 240, .1);
}
.superadmin-overview .overview-metric .card-body { padding: 24px; }
.superadmin-overview .overview-metric-label {
    color: var(--bs-body-color, #697a8d);
    font-size: .85rem;
    font-weight: 500;
    min-height: 2.5em;
}
.superadmin-overview .overview-metric-value {
    color: var(--bs-heading-color, #384551);
    font-size: clamp(1.5rem, 1.7vw, 2rem);
    font-weight: 600;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}
.superadmin-overview .overview-metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    font-size: 24px;
}
.superadmin-overview .overview-metric-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-size: .75rem;
    min-height: 26px;
}
.superadmin-overview .overview-change {
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    background: rgba(148, 163, 184, .1);
}
.superadmin-overview .overview-change.text-success { background: rgba(40, 199, 111, .1); }
.superadmin-overview .overview-change.text-danger { background: rgba(234, 84, 85, .1); }
.superadmin-overview .overview-chart {
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(31, 41, 55, .035);
}
.superadmin-overview .overview-chart-header { padding: 24px 24px 0; }
.superadmin-overview .overview-chart-header h5 { font-size: 1rem; font-weight: 600; }
.superadmin-overview .overview-chart-header .card-title { margin-bottom: 0; }
.superadmin-overview .overview-chart-header p { margin-top: 6px; font-size: .8rem; }
.superadmin-overview .overview-chart-header h3 { margin: 12px 0 0; font-variant-numeric: tabular-nums; }
.superadmin-overview #dashboard-period { min-width: 150px; border-radius: 8px; }
.dark-style .superadmin-overview .overview-metric-value { color: #e1def5; }
@media (max-width: 575.98px) {
    .superadmin-overview .overview-metric .card-body { padding: 20px; }
    .superadmin-overview .overview-metric-label { min-height: 0; }
}
.superadmin-overview .overview-plan-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    align-items: center;
    gap: 20px;
    min-height: 290px;
}
.superadmin-overview .overview-plan-visual { position: relative; width: 240px; height: 260px; margin-inline: auto; }
.superadmin-overview .overview-plan-total {
    position: absolute;
    inset-inline-start: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 104px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    pointer-events: none;
}
.superadmin-overview .overview-plan-total strong { font-size: 2rem; line-height: 1.1; font-weight: 600; color: var(--bs-heading-color, #384551); }
.superadmin-overview .overview-plan-total span { font-size: .75rem; color: var(--bs-body-color, #697a8d); }
.superadmin-overview .overview-plan-legend {
    max-height: 210px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    scrollbar-gutter: stable;
    padding-inline-end: 8px;
}
.superadmin-overview .overview-plan-legend:hover,
.superadmin-overview .overview-plan-legend:focus-within {
    scrollbar-color: rgba(138, 146, 166, .55) transparent;
}
.superadmin-overview .overview-plan-legend::-webkit-scrollbar { width: 6px; }
.superadmin-overview .overview-plan-legend::-webkit-scrollbar-track { background: transparent; }
.superadmin-overview .overview-plan-legend::-webkit-scrollbar-thumb { background: transparent; border-radius: 6px; }
.superadmin-overview .overview-plan-legend:hover::-webkit-scrollbar-thumb,
.superadmin-overview .overview-plan-legend:focus-within::-webkit-scrollbar-thumb { background: rgba(138, 146, 166, .55); }
.superadmin-overview .overview-plan-legend::-webkit-scrollbar-button { display: none; }
.superadmin-overview .overview-plan-legend:focus-visible { outline: 2px solid #7367f0; outline-offset: 4px; border-radius: 4px; }
.superadmin-overview .overview-plan-legend-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(148, 163, 184, .12); font-size: .85rem; }
.superadmin-overview .overview-plan-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.superadmin-overview .overview-plan-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.superadmin-overview .overview-plan-legend-row strong { font-variant-numeric: tabular-nums; font-weight: 600; }
.superadmin-overview .overview-plan-note { font-size: .72rem; line-height: 1.6; padding-top: 14px; }
.dark-style .superadmin-overview .overview-plan-total strong { color: #e1def5; }
.superadmin-overview .overview-chart > .card-body { padding: 16px 24px 20px; }
.superadmin-overview .overview-chart-header .overview-revenue-total { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 0; }
.superadmin-overview .overview-currency-symbol { font-size: 1.1rem; font-weight: 500; }
.superadmin-overview .overview-revenue-tooltip { min-width: 190px; padding: 12px 14px; }
.superadmin-overview .overview-revenue-tooltip-date { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid rgba(148, 163, 184, .2); font-size: 12px; font-weight: 600; }
.superadmin-overview .overview-revenue-tooltip-row { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.5; }
.superadmin-overview .overview-revenue-tooltip-value { margin-inline-start: auto; padding-inline-start: 8px; white-space: nowrap; }
.superadmin-overview .overview-revenue-tooltip-dot { width: 9px; height: 9px; border-radius: 50%; background: #3478ff; flex-shrink: 0; }
.superadmin-overview .overview-attention { border: 1px solid rgba(148, 163, 184, .18); border-radius: 14px; box-shadow: 0 3px 14px rgba(31, 41, 55, .035); }
.superadmin-overview .overview-attention > .card-body { padding: 20px 24px 24px; }
.superadmin-overview .overview-action { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px; border: 1px solid rgba(148, 163, 184, .18); border-radius: 10px; color: inherit; text-decoration: none; }
.superadmin-overview .overview-action:hover, .superadmin-overview .overview-action:focus-visible { border-color: #7367f0; background: rgba(115, 103, 240, .03); }
.superadmin-overview .overview-action > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.superadmin-overview .overview-action span:not(.overview-metric-icon) { font-size: .8rem; }
.superadmin-overview .overview-action strong { font-size: 1.5rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.superadmin-overview .overview-action small { font-size: .75rem; }
.superadmin-overview .overview-finance-note { margin-top: 16px; font-size: .75rem; line-height: 1.7; }
@media (prefers-reduced-motion: reduce) { .superadmin-overview .overview-metric { transition: none; } }
.superadmin-overview .overview-chart-note {
    padding: 10px 14px;
    margin-top: 4px;
    border-radius: 8px;
    background: rgba(115, 103, 240, .04);
    font-size: .75rem;
    line-height: 1.6;
}
.superadmin-overview .overview-single-revenue {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(52,120,255,.055), rgba(115,103,240,.015));
}
.superadmin-overview .overview-single-revenue-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(52,120,255,.09);
    color: #3478ff;
    font-size: 22px;
}
.superadmin-overview .overview-single-revenue-date { font-size: 1.15rem; }
.superadmin-overview .overview-single-revenue-amount { color: #3478ff; font-size: 1.5rem; font-weight: 600; }
.superadmin-overview .overview-single-revenue .overview-chart-note { max-width: 350px; background: transparent; padding: 8px 0 0; }
.customer-phone-field > div,
.customer-phone-field .iti {
    width: 100%;
    min-width: 0;
}
.customer-phone-field .iti input[type="tel"] { width: 100%; }
.phone-input-wrapper { width: 100%; min-width: 0; }
.phone-input-wrapper .iti { width: 100%; }
.phone-input-wrapper input[type="tel"] { width: 100%; }
:is(.subscription-details-page, .plan-details-page) .card { border: 1px solid rgba(148, 163, 184, .22); border-radius: 12px; box-shadow: none; }
:is(.subscription-details-page, .plan-details-page) .card-header { padding: 20px 24px 0; }
:is(.subscription-details-page, .plan-details-page) .card-body { padding: 24px; }
:is(.subscription-details-page, .plan-details-page) .subscription-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
:is(.subscription-details-page, .plan-details-page) .subscription-facts dt { color: #8a92a6; font-size: .8rem; font-weight: 400; margin-bottom: 6px; }
:is(.subscription-details-page, .plan-details-page) .subscription-facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
:is(.subscription-details-page, .plan-details-page) .subscription-limits > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid rgba(148,163,184,.12); }
:is(.subscription-details-page, .plan-details-page) .subscription-limits dt { font-weight: 400; }
:is(.subscription-details-page, .plan-details-page) .subscription-limits dd { margin: 0; font-weight: 600; }
:is(.subscription-details-page, .plan-details-page) #subscriptionTransactionsTable { white-space: nowrap; }
:is(.subscription-details-page, .plan-details-page) .fixed-table-body { overflow-x: auto; scrollbar-width: thin; scrollbar-color: transparent transparent; }
:is(.subscription-details-page, .plan-details-page) .fixed-table-body:hover,
:is(.subscription-details-page, .plan-details-page) .fixed-table-body:focus-within { scrollbar-color: rgba(138,146,166,.5) transparent; }
:is(.subscription-details-page, .plan-details-page) .fixed-table-body::-webkit-scrollbar { height: 6px; }
:is(.subscription-details-page, .plan-details-page) .fixed-table-body::-webkit-scrollbar-thumb { background: transparent; border-radius: 6px; }
:is(.subscription-details-page, .plan-details-page) .fixed-table-body:hover::-webkit-scrollbar-thumb,
:is(.subscription-details-page, .plan-details-page) .fixed-table-body:focus-within::-webkit-scrollbar-thumb { background: rgba(138,146,166,.5); }
:is(.subscription-details-page, .plan-details-page) .fixed-table-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
:is(.subscription-details-page, .plan-details-page) .fixed-table-pagination::before,
:is(.subscription-details-page, .plan-details-page) .fixed-table-pagination::after { display: none; }
:is(.subscription-details-page, .plan-details-page) .fixed-table-pagination > .pagination { margin-inline-start: auto; justify-content: flex-end; }
:is(.subscription-details-page, .plan-details-page) .fixed-table-pagination .pagination-detail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 575.98px) {
    :is(.subscription-details-page, .plan-details-page) .card-header { padding: 16px 16px 0; }
    :is(.subscription-details-page, .plan-details-page) .card-body { padding: 16px; }
    :is(.subscription-details-page, .plan-details-page) .subscription-facts { grid-template-columns: 1fr; gap: 16px; }
}

.plan-details-page .plan-description { white-space: pre-line; line-height: 1.7; overflow-wrap: anywhere; }
.plan-details-page .plan-price-option { padding: 20px; border: 1px solid rgba(148,163,184,.18); border-radius: 10px; background: rgba(115,103,240,.025); }

/* Compact list filters, with their reset action alongside the controls. */
.compact-filter-row {
    --bs-gutter-x: 0;
    gap: 10px;
    align-items: flex-end;
    margin: 0 0 12px;
}
.compact-filter-row > .compact-filter-field {
    flex: 0 1 240px;
    width: 240px;
    max-width: 100%;
    padding: 0;
    margin-bottom: 0 !important;
}
.compact-filter-field .form-label { font-size: .7rem; margin-bottom: 5px; }
.compact-filter-field .form-control,
.compact-filter-field .form-select { min-height: 36px; font-size: .8125rem; padding-top: 7px; padding-bottom: 7px; }
.compact-filter-field .select2-container { width: 100% !important; min-width: 0; }
.compact-filter-field .select2.select2-container.select2-container--default:not(#global-search + .select2-container) {
    min-height: 36px !important;
    padding: 0 8px !important;
}
.compact-filter-field .select2-selection--single { height: 34px !important; min-height: 34px; }
.compact-filter-field .select2-selection--single .select2-selection__rendered { line-height: 34px !important; font-size: .8125rem; }
.compact-filter-field .select2-selection--single .select2-selection__arrow { height: 34px !important; }
.compact-filter-row .compact-filter-field .select2-container--default .select2-selection--multiple { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 34px !important; padding: 0 !important; font-size: .8125rem; }
/* Select2 4.0 nests the search inside the list; 4.1 makes it a sibling.
   Flatten the list visually so both versions share one centered flex row. */
.compact-filter-row .compact-filter-field .select2-selection--multiple .select2-selection__rendered { display: contents; margin: 0; padding: 0 !important; }
.compact-filter-row .compact-filter-field .select2-selection--multiple .select2-search--inline { display: flex; align-items: center; align-self: center; flex: 1 1 60px; float: none; margin: 0; }
.compact-filter-row .compact-filter-field .select2-selection--multiple .select2-search__field { height: 20px !important; min-height: 20px; margin: 0 !important; padding: 0; font: inherit; line-height: 20px; vertical-align: middle; }
.compact-filter-row .compact-filter-field .select2-selection--multiple .select2-selection__choice { margin: 3px 0; }
.compact-filter-row > .compact-filter-actions {
    flex: 0 0 auto;
    width: auto;
    padding: 0;
}
.compact-filter-actions .clear-filter-button { height: 36px; white-space: nowrap; box-shadow: none; margin: 0 !important; }
.compact-filter-actions > div { display: flex; align-items: center; gap: 10px !important; }
.compact-filter-actions > div > .btn,
.compact-filter-actions > .btn { height: 36px; display: inline-flex; align-items: center; justify-content: center; }
.table-clear-filters { margin-inline-start: 8px; }
/* Report controls share one wrapping toolbar; actions never occupy a grid column. */
.report-page .report-summary {
    display: grid;
    grid-template-columns: repeat(var(--report-summary-columns, 3), minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 16px;
}
.report-page .report-summary .card-body { min-height: 92px; }
.report-page .report-summary .card-title { font-size: .875rem; line-height: 1.5; }
.report-page .report-summary .card-text { overflow-wrap: anywhere; }
.report-summary--4 { --report-summary-columns: 4; }
.report-summary--5 { --report-summary-columns: 5; }
.report-summary--6 { --report-summary-columns: 6; }
@media (max-width: 1399.98px) {
    .report-summary--6 { --report-summary-columns: 3; }
}
@media (max-width: 1199.98px) {
    .report-page .report-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .report-page .report-summary { grid-template-columns: minmax(0, 1fr); }
}
.report-page .report-filter-bar .btn { gap: 6px; }
.report-page .table-responsive { max-width: 100%; }
.report-page .table { margin-bottom: 0; }
.report-filter-bar { align-items: center; margin-bottom: 16px; }
.report-filter-bar > .compact-filter-field { min-width: 0; }
.report-filter-bar > .compact-filter-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}
.report-filter-bar #income_expense_filter_date_range { text-overflow: ellipsis; }
@media (max-width: 575.98px) {
    .report-filter-bar > .compact-filter-field { flex: 1 1 100%; width: 100%; }
}
.btn.clear-filter-button:focus-visible {
    outline: 2px solid #8592a3;
    outline-offset: 3px;
}

.support-ticket-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    line-height: 1;
    vertical-align: middle;
}

/* Roles and permissions: shared list, create, and edit presentation. */
.roles-page { padding-bottom: 24px; }
.roles-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 0 20px; }
.roles-heading :is(h2, h4) { margin: 0 0 6px; }
.roles-heading p, .role-permissions-toolbar p { margin: 0; }
.role-list-card .roles-heading { margin: 0; padding: 24px; }
.role-total { white-space: nowrap; }
.role-list-table { margin: 0; }
.role-list-table thead { background: rgba(138,146,166,.04); }
.role-list-table th { padding: 14px 24px; }
.role-list-table td { padding: 20px 24px; vertical-align: middle; border-color: rgba(138,146,166,.16); }
.role-list-table tr:last-child td { border-bottom: 0; }
.role-name-cell { min-width: 220px; width: 24%; }
.role-identity { display: flex; gap: 12px; align-items: center; }
.role-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(115,103,240,.08); color: #7367f0; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.role-identity strong { display: block; font-size: inherit; font-weight: 500; }
.role-identity small { display: block; margin-top: 3px; }
.role-system-access { display: flex; align-items: flex-start; gap: 8px; max-width: 700px; }
.role-system-access > i { color: #52ad86; font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.role-permission-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.role-permission-chip { white-space: normal; text-align: start; }
.role-more-permissions summary { cursor: pointer; padding: 5px; }
.role-more-permissions[open] { flex-basis: 100%; }
.role-list-actions { text-align: end; min-width: 120px; white-space: nowrap; }
.role-action { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 7px; font-size: 1.05rem; }
.role-action:hover, .role-action:focus-visible { background: rgba(115,103,240,.07); }
.role-basics { margin-bottom: 24px; }
.role-basics .card-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; padding: 24px; }
.role-section-title { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.role-section-title > i { color: #7367f0; font-size: 1.2rem; }
.role-section-title h5, .role-permissions-toolbar h5 { margin: 0; }
.role-access-field { min-width: 0; margin: 0; }
.role-access-field legend { float: none; width: auto; }
.role-access-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.role-access-option { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin: 0; }
.role-access-option input { flex-shrink: 0; margin: 2px 0 0; }
.role-access-option strong { display: block; font-size: inherit; font-weight: 400; }
.role-access-option small { display: block; margin-top: 5px; }
.role-permissions-toolbar { padding: 22px 24px; border-bottom: 1px solid rgba(138,146,166,.16); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.role-permissions-toolbar p { margin-top: 6px; }
.role-permissions-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.role-module-search { position: relative; width: 220px; }
.role-module-search > i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 1rem; color: #8a92a6; }
.role-module-search input { padding-left: 32px; }
.role-select-all { display: inline-flex; align-items: center; gap: 8px; margin: 0; white-space: nowrap; cursor: pointer; }
.role-select-all input { margin: 0; }
.role-module-grid { padding: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.role-module { border: 1px solid rgba(138,146,166,.2); border-radius: 9px; min-width: 0; }
.role-module[hidden] { display: none; }
.role-module-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: rgba(138,146,166,.025); border-bottom: 1px solid rgba(138,146,166,.13); }
.role-module-heading label { display: flex; align-items: center; gap: 9px; margin: 0; cursor: pointer; }
.role-module-heading input { margin: 0; flex-shrink: 0; }
.role-module-heading strong { font-size: inherit; font-weight: 400; }
.role-module-count { white-space: nowrap; }
.role-module-actions { padding: 14px 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
.role-permission-option { display: flex; align-items: center; gap: 8px; cursor: pointer; margin: 0; }
.role-permission-option input { margin: 0; flex-shrink: 0; }
.role-no-modules { padding: 8px 24px 24px; text-align: center; color: #8a92a6; }
.role-form-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 0; margin-top: 8px; }
@media (max-width: 1199.98px) {
    .role-basics .card-body { grid-template-columns: 1fr; }
    .role-module-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .role-module-grid, .role-access-options { grid-template-columns: 1fr; }
    .role-list-table td, .role-list-table th { padding: 14px 16px; }
    .role-list-table { min-width: 640px; }
    .role-basics .card-body, .role-module-grid, .role-permissions-toolbar { padding: 16px; }
    .role-permissions-tools { width: 100%; gap: 12px; }
    .role-module-search { flex: 1; min-width: 150px; }
}
/* Language editor uses the same typography and controls as other settings. */
.language-settings-page { padding-bottom: 24px; }
.language-page-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 24px; }
.language-settings-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.language-picker .card-header { padding: 24px 20px 16px; }
.language-picker-list { padding: 0 8px 12px; max-height: calc(100vh - 320px); min-height: 240px; overflow-y: auto; }
.language-picker-item { display: flex; align-items: center; gap: 8px; padding: 12px; margin: 3px 0; border-radius: 6px; color: inherit; }
.language-picker-item > span:first-child { flex: 1; min-width: 0; }
.language-picker-name { display: block; overflow-wrap: anywhere; }
.language-picker-item small { display: block; margin-top: 2px; }
.language-picker-item:hover, .language-picker-item:focus-visible { background: rgba(115,103,240,.05); }
.language-picker-item.active { color: #7367f0; background: rgba(115,103,240,.1); }
.language-picker-item .badge { font-size: .6rem; padding: 4px 6px; }
.language-label-editor { min-width: 0; }
.language-editor-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 24px; }
.language-label-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 0 24px 20px; border-bottom: 1px solid rgba(138,146,166,.18); }
.language-label-search { flex: 1; min-width: 180px; position: relative; }
.language-label-search > i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #8a92a6; }
.language-label-search input { padding-left: 36px; }
.language-labels-scroll { overflow-y: auto; max-height: calc(100vh - 390px); min-height: 320px; padding: 24px; }
.language-label-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.language-label-grid > .col-md-6 { width: auto; padding: 0; margin: 0 !important; min-width: 0; }
.language-label-grid .form-label { overflow-wrap: anywhere; }
.language-editor-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid rgba(138,146,166,.18); padding: 16px 24px; }
.language-settings-page [hidden] { display: none !important; }
@media (max-width: 991.98px) {
    .language-settings-layout { grid-template-columns: 1fr; }
    .language-picker-list { min-height: 0; max-height: 220px; }
    .language-labels-scroll { max-height: 65vh; }
}
@media (max-width: 575.98px) {
    .language-label-grid { grid-template-columns: 1fr; }
    .language-editor-heading, .language-labels-scroll { padding: 16px; }
    .language-label-toolbar { padding: 0 16px 16px; }
    .language-editor-footer { padding: 16px; }
}
/* Shared Admin/Super Admin scrolling, including body-mounted Select2 menus.
   Keep scrollbar dimensions stable; reveal only the thumb, without changing
   overflow or moving the surrounding layout. */
.app-hover-scrollbars,
.app-hover-scrollbars * {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent !important;
}
.app-hover-scrollbars:hover,
.app-hover-scrollbars:focus-within,
.app-hover-scrollbars *:hover,
.app-hover-scrollbars *:focus-within {
    scrollbar-color: rgba(138, 146, 166, .6) transparent !important;
}
.app-hover-scrollbars::-webkit-scrollbar,
.app-hover-scrollbars *::-webkit-scrollbar { width: 6px; height: 6px; }
.app-hover-scrollbars::-webkit-scrollbar-track,
.app-hover-scrollbars *::-webkit-scrollbar-track,
.app-hover-scrollbars::-webkit-scrollbar-corner,
.app-hover-scrollbars *::-webkit-scrollbar-corner { background: transparent !important; }
.app-hover-scrollbars::-webkit-scrollbar-thumb,
.app-hover-scrollbars *::-webkit-scrollbar-thumb {
    background: transparent !important;
    border-radius: 6px;
}
.app-hover-scrollbars:hover::-webkit-scrollbar-thumb,
.app-hover-scrollbars:focus-within::-webkit-scrollbar-thumb,
.app-hover-scrollbars *:hover::-webkit-scrollbar-thumb,
.app-hover-scrollbars *:focus-within::-webkit-scrollbar-thumb {
    background: rgba(138, 146, 166, .6) !important;
}
.app-hover-scrollbars::-webkit-scrollbar-button,
.app-hover-scrollbars *::-webkit-scrollbar-button { display: none; }
/* Touch screens have no hover state. Keep the scroll affordance available. */
@media (hover: none) {
    .app-hover-scrollbars,
    .app-hover-scrollbars * { scrollbar-color: rgba(138, 146, 166, .6) transparent !important; }
    .app-hover-scrollbars::-webkit-scrollbar-thumb,
    .app-hover-scrollbars *::-webkit-scrollbar-thumb { background: rgba(138, 146, 166, .6) !important; }
}
@media (max-width: 575.98px) {
    .compact-filter-row > .compact-filter-field { flex: 1 1 180px; }
}
/* Admin attention workspace: quiet navigation, clear counts, actionable rows. */
.admin-attention-panel { border: 1px solid #e3e6ee; border-radius: 12px; box-shadow: 0 2px 8px rgba(67, 89, 113, .025); overflow: hidden; }
.admin-attention-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; }
.admin-attention-heading-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; color: #696cff; background: rgba(105, 108, 255, .08); font-size: 22px; flex-shrink: 0; }
.admin-attention-asof { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; }
.admin-attention-workspace { display: grid; grid-template-columns: 260px minmax(0, 1fr); border-top: 1px solid #edf0f5; }
.admin-attention-tabs { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 8px; padding: 20px 16px; background: #fafbfe; border-right: 1px solid #edf0f5; }
.admin-attention-tab { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 12px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.admin-attention-tab:hover { background: rgba(105, 108, 255, .04); }
.admin-attention-tab.active { color: #696cff; background: #fff; border-color: #dedfff; box-shadow: 0 2px 4px rgba(105, 108, 255, .04); }
.admin-attention-category-icon { display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: #9199ad; }
.admin-attention-tab.active .admin-attention-category-icon { color: #696cff; }
.admin-attention-category-label { flex: 1; font-size: .85rem; }
.admin-attention-count { font-size: 1.2rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }
.admin-attention-scope { display: flex; gap: 6px; padding: 16px 12px 0; font-size: .72rem; line-height: 1.6; margin-top: auto; }
.admin-attention-scope i { margin-top: 3px; }
.admin-attention-content { min-width: 0; background: #fff; border-radius: 0 !important; }
.admin-attention-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 16px; }
.admin-attention-list-heading h6 { font-weight: 500; }
.admin-attention-list-label { font-size: .75rem; padding-right: 30px; }
.admin-attention-items { max-height: 280px; overflow-y: auto; padding: 0 12px; }
.admin-attention-item { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border-bottom: 1px solid #f0f1f6; text-decoration: none; }
.admin-attention-item:last-child { border-bottom: 0; }
.admin-attention-item:hover { background: #fafaff; border-radius: 8px; }
.admin-attention-record-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 38px; border-radius: 8px; background: #f5f6fa; color: #9099ae; flex-shrink: 0; font-size: 18px; }
.admin-attention-item-title { flex: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.5; }
.admin-attention-item-title small { display: block; margin-top: 3px; font-size: .72rem; }
.admin-attention-date { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; font-size: .8rem; font-variant-numeric: tabular-nums; }
.admin-attention-date small { font-size: .7rem; }
.admin-attention-overdue { color: #b86b64; }
.admin-attention-arrow { color: #adb5c5; font-size: 18px; }
.admin-attention-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px; border-top: 1px solid #edf0f5; font-size: .72rem; }
.admin-attention-footer > span:last-child { display: inline-flex; align-items: center; gap: 5px; }
.admin-attention-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 36px 24px; min-height: 220px; text-align: center; }
.admin-attention-empty-icon { display: inline-flex; padding: 12px; border-radius: 50%; background: #f0f7f4; color: #74a28b; font-size: 26px; margin-bottom: 4px; }
.admin-attention-tab:focus-visible, .admin-attention-item:focus-visible { outline: 2px solid #696cff; outline-offset: -2px; }
@media (max-width: 991.98px) {
    .admin-attention-workspace { grid-template-columns: 1fr; }
    .admin-attention-tabs { flex-direction: row; gap: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #edf0f5; padding: 12px 16px; }
    .admin-attention-tab { width: auto; flex: 1 0 190px; min-height: 50px; }
    .admin-attention-scope { display: none; }
}
@media (max-width: 575.98px) {
    .admin-attention-heading { padding: 16px; }
    .admin-attention-asof { display: none; }
    .admin-attention-list-heading { padding: 16px; }
    .admin-attention-list-label { display: none; }
    .admin-attention-items { padding: 0 6px; }
    .admin-attention-item { gap: 8px; padding: 12px 10px; }
    .admin-attention-record-icon { display: none; }
    .admin-attention-date { max-width: 110px; text-align: end; }
    .admin-attention-footer { padding: 12px 16px; }
}
/* Matching project, task, and personal checklist cards. */
.admin-stat-card { border: 1px solid #e3e6ee; border-radius: 12px; box-shadow: 0 2px 8px rgba(67, 89, 113, .025); overflow: hidden; }
.admin-stat-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 8px; }
.admin-stat-heading h5 { font-size: 1rem; }
.admin-stat-heading small { font-size: .75rem; }
.admin-stat-heading-icon { display: inline-flex; padding: 9px; border-radius: 9px; background: #f5f4ff; color: #8880cc; font-size: 20px; }
.admin-stat-chart { min-height: 180px; margin: 4px 12px 12px; }
.admin-stat-list { height: 208px; overflow-y: auto; padding: 0 20px; }
.admin-stat-row { display: flex; align-items: center; gap: 9px; padding: 10px 0; text-decoration: none; border-bottom: 1px solid #f0f1f6; font-size: .8rem; }
.admin-stat-row:last-child { border-bottom: 0; }
.admin-stat-row:hover .admin-stat-status { color: #696cff; }
.admin-stat-dot { display: inline-block; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; }
.admin-stat-status { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.admin-stat-track { width: 22%; max-width: 70px; height: 4px; background: #f1f2f7; border-radius: 8px; overflow: hidden; }
.admin-stat-track > span { display: block; height: 100%; border-radius: inherit; }
.admin-stat-count { width: 24px; text-align: end; font-weight: 500; font-variant-numeric: tabular-nums; }
.admin-stat-percent { width: 32px; text-align: end; font-size: .72rem; font-variant-numeric: tabular-nums; }
.admin-stat-footer { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; border-top: 1px solid #edf0f5; font-size: .75rem; }
.admin-stat-footer a { display: inline-flex; align-items: center; gap: 4px; }
.admin-stat-footer strong { color: #566a7f; font-weight: 500; }
.admin-todo-summary { height: 32px; display: flex; align-items: start; justify-content: center; gap: 20px; font-size: .75rem; }
.admin-todo-summary > span { display: flex; align-items: center; gap: 6px; }
.admin-todo-summary strong { font-weight: 500; }
.admin-todo-list { height: 176px; }
.admin-todo-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f0f1f6; }
.admin-todo-row:last-child { border-bottom: 0; }
.admin-todo-row > input { flex-shrink: 0; }
.admin-todo-copy { flex: 1; min-width: 0; font-size: .8rem; overflow-wrap: anywhere; }
.admin-todo-copy label { cursor: pointer; }
.admin-todo-copy small { display: block; font-size: .68rem; margin-top: 3px; }
.admin-todo-actions { display: flex; gap: 2px; }
.admin-todo-actions button { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: #8c95aa; border: 0; border-radius: 5px; padding: 5px; font-size: 17px; }
.admin-todo-actions button:hover { background: #f3f2ff; color: #696cff; }
.admin-todo-actions .delete:hover { background: #fff1f0; color: #ce7770; }
.admin-todo-add { padding: 5px; line-height: 1; box-shadow: none; }
.admin-stat-empty { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; font-size: .8rem; }
.admin-stat-empty i { font-size: 26px; color: #a2a9ba; }
.admin-stat-row:focus-visible, .admin-todo-actions button:focus-visible { outline: 2px solid #696cff; outline-offset: -2px; }
/* Admin dashboard supporting cards and asynchronous states. */
.admin-dashboard-card { border: 1px solid #e3e6ee; border-radius: 12px; box-shadow: 0 2px 8px rgba(67, 89, 113, .025); overflow: hidden; }
.admin-work-list { max-height: 330px; overflow-y: auto; padding: 0 20px; flex: 1; }
.admin-project-row { display: block; text-decoration: none; border-bottom: 1px solid #f0f1f6; padding: 16px 0; font-size: .85rem; }
.admin-project-row:hover { color: #696cff !important; }
.admin-work-track { flex: 1; height: 5px; background: #f1f2f7; border-radius: 5px; overflow: hidden; }
.admin-work-track > span { display: block; height: 100%; background: #8b83d5; border-radius: inherit; }
.admin-workload-row { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid #f0f1f6; font-size: .85rem; }
.admin-workload-row strong { font-size: 1.1rem; font-weight: 500; }
.admin-workload-initial { width: 34px; height: 34px; display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; border-radius: 50%; background: #f2f1fb; color: #8b83d5; }
.admin-finance-totals { display: flex; flex-wrap: wrap; gap: 20px 32px; }
.admin-finance-totals h5 { font-size: 1.1rem; }
.admin-finance-totals > div { min-width: 100px; }
.admin-activity-list { height: 390px; overflow-y: auto; padding: 8px 20px; }
.admin-activity-row { display: flex; align-items: flex-start; gap: 12px; padding: 16px 0; border-bottom: 1px solid #f0f1f6; font-size: .85rem; }
.admin-activity-row img { flex-shrink: 0; object-fit: cover; }
.admin-activity-row p { overflow-wrap: anywhere; }
.admin-activity-link { color: inherit; text-decoration: none; border-radius: 6px; }
.admin-activity-link:hover { color: inherit; background: #f8f9fc; }
.admin-activity-link:hover p { color: var(--bs-primary, #696cff); }
.admin-activity-link:focus-visible { outline: 2px solid var(--bs-primary, #696cff); outline-offset: 3px; }
.admin-activity-age { flex-shrink: 0; font-size: .7rem; }
#admin-dashboard-overview { transition: opacity .15s ease; }
#admin-dashboard-overview[aria-busy="true"] { opacity: .55; pointer-events: none; }
@media (max-width: 575.98px) {
    .admin-activity-age { display: none; }
    .admin-project-row > div:first-child { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { #admin-dashboard-overview { transition: none; } }
/* Cohesive admin workspace: summary strip, shared surfaces, and activity rail. */
#admin-dashboard-overview .admin-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 30px 0 16px; }
#admin-dashboard-overview > .admin-section-heading:first-child { margin-top: 6px; }
.admin-section-heading h5 { margin: 4px 0 0; font-size: 1rem; font-weight: 500; }
.admin-section-heading > small { font-size: .75rem; }
.admin-section-eyebrow { color: #9ca4b5; font-size: .65rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.admin-metric-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 28px; padding: 12px 0; border-top: 1px solid #e4e7ef; border-bottom: 1px solid #e4e7ef; }
.admin-pulse-metric { padding: 12px 24px; border-inline-end: 1px solid #e4e7ef; }
.admin-pulse-metric:first-child { padding-inline-start: 0; }
.admin-pulse-metric:last-child { border-inline-end: 0; }
.admin-pulse-metric > div > div:first-child > span { font-size: .8rem; }
.admin-pulse-value { font-size: 2rem; font-weight: 500; font-variant-numeric: tabular-nums; margin: 8px 0 14px; letter-spacing: -.035em; }
.admin-pulse-metric .avatar .admin-pulse-icon { background: rgba(139, 131, 213, .08); }
.admin-pulse-icon i { color: #8b83d5 !important; }
.admin-dashboard-section { margin-bottom: 28px; scroll-margin-top: 90px; }
.admin-status-band, .admin-workspace-band { background: #fff; border: 1px solid #e6e8f0; border-radius: 12px; overflow: hidden; }
.admin-status-band > .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); margin: 0; }
.admin-status-band > .row > div { width: 100%; margin-bottom: 0 !important; border-inline-end: 1px solid #edf0f5; }
.admin-status-band > .row > div:last-child { border-inline-end: 0; }
.admin-status-band .admin-stat-card, .admin-workspace-band .admin-dashboard-card { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.admin-status-band .admin-stat-heading-icon { background: transparent; color: #a0a7b8; }
.admin-status-band .admin-stat-chart { margin-top: 10px; margin-bottom: 18px; }
.admin-workspace-band > .row > div + div { border-inline-start: 1px solid #edf0f5; background: #fafbfe; }
.admin-workspace-band > .row > :only-child { width: 100%; }
.admin-workspace-band .admin-work-list { max-height: 315px; }
.admin-workspace-band .admin-project-row { padding: 18px 0; }
.admin-workspace-band .admin-workload-row { padding: 14px 0; }
.admin-activity-rail .admin-dashboard-card { border: 0; background: transparent; box-shadow: none; }
.admin-activity-rail .admin-stat-heading { padding-inline-start: 8px; padding-inline-end: 8px; }
.admin-activity-rail .admin-stat-heading-icon { background: transparent; }
.admin-activity-rail .admin-activity-list { padding-inline: 8px; }
.admin-activity-rail .admin-activity-row { position: relative; border-bottom: 0; }
.admin-activity-rail .admin-activity-row::before { content: ''; position: absolute; inset-inline-start: 15px; top: 49px; bottom: -15px; width: 1px; background: #e0e4ed; }
.admin-activity-rail .admin-activity-row:last-child::before { display: none; }
.admin-activity-rail .admin-activity-age { display: none; }
.admin-activity-rail .admin-stat-footer { border-top: 0; padding-inline: 8px; }
.admin-dashboard-jumps { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; border-bottom: 1px solid #e4e7ef; padding-bottom: 12px; margin-bottom: 22px; font-size: .8rem; }
.admin-dashboard-jumps a { display: inline-flex; align-items: center; gap: 6px; color: #8791a6; }
.admin-dashboard-jumps a:hover, .admin-dashboard-jumps a:focus-visible { color: #696cff; }
@media (max-width: 1199.98px) {
    .admin-workspace-band > .row > div + div { border-inline-start: 0; border-top: 1px solid #edf0f5; }
}
@media (max-width: 767.98px) {
    .admin-metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-pulse-metric { padding: 16px; }
    .admin-pulse-metric:first-child { padding-inline-start: 16px; }
    .admin-pulse-metric:nth-child(2n) { border-inline-end: 0; }
    .admin-pulse-metric:nth-child(n+3) { border-top: 1px solid #e4e7ef; }
    .admin-status-band > .row > div { border-inline-end: 0; border-bottom: 1px solid #edf0f5; }
    .admin-status-band > .row > div:last-child { border-bottom: 0; }
    .admin-section-heading { flex-wrap: wrap; }
    .admin-dashboard-jumps { gap: 14px; }
}
.admin-attention-panel { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.admin-attention-heading { padding-inline: 0; }
.admin-attention-heading-icon { display: none; }
.admin-attention-workspace { border: 1px solid #e6e8f0; border-radius: 12px; overflow: hidden; background: #fff; }
.admin-project-table-head, .admin-project-table-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 110px; align-items: center; gap: 20px; }
.admin-project-table-head { padding: 18px 20px 10px; color: #9ca4b5; font-size: .65rem; text-transform: uppercase; letter-spacing: .07em; }
.admin-workspace-band .admin-project-table-row { padding-block: 20px; }
.admin-project-name { min-width: 0; overflow-wrap: anywhere; }
.admin-project-name small { font-size: .72rem; }
.admin-project-deadline > small { display: block; font-size: .72rem; }
.admin-workload-meter { display: block; width: 90px; height: 3px; border-radius: 4px; background: #e9eaf2; margin-top: 7px; overflow: hidden; }
.admin-workload-meter > span { display: block; height: 100%; background: #b2addc; border-radius: inherit; }
@media (max-width: 575.98px) {
    .admin-project-table-head { display: none; }
    .admin-project-table-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
    .admin-project-name { grid-column: 1 / -1; }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
    .admin-status-band > .row > :last-child:nth-child(odd) { grid-column: 1 / -1; border-top: 1px solid #edf0f5; }
}
.admin-metric-strip, #admin-dashboard-attention { scroll-margin-top: 90px; }
/* Dashboard readability: retain the app font, strengthen size and contrast. */
.admin-dashboard-page { color: #43536b; font-size: .9375rem; line-height: 1.55; }
.admin-dashboard-page .text-muted { color: #5f6e84 !important; }
.admin-dashboard-page #admin-dashboard-filter h4 { font-size: 1.5rem; font-weight: 600; color: #34445c; }
.admin-dashboard-page #admin-dashboard-overview .admin-section-heading h5,
.admin-dashboard-page .admin-stat-heading h5,
.admin-dashboard-page #admin-attention-title { font-size: 1.125rem; font-weight: 600; color: #34445c; }
.admin-dashboard-page .admin-section-eyebrow { color: #5f6e84; font-size: .75rem; font-weight: 600; letter-spacing: .07em; }
.admin-dashboard-page .admin-section-heading > small,
.admin-dashboard-page .admin-stat-heading small,
.admin-dashboard-page .admin-attention-heading small { font-size: .875rem; }
.admin-dashboard-page .admin-pulse-metric > div > div:first-child > span { font-size: .9375rem; font-weight: 500; }
.admin-dashboard-page .admin-pulse-value { color: #34445c; font-size: 2.125rem; font-weight: 600; }
.admin-dashboard-page .admin-dashboard-jumps { font-size: .9375rem; }
.admin-dashboard-page .admin-dashboard-jumps a { color: #596980; font-weight: 500; }
.admin-dashboard-page .admin-attention-category-label,
.admin-dashboard-page .admin-attention-item-title,
.admin-dashboard-page .admin-stat-row,
.admin-dashboard-page .admin-todo-copy,
.admin-dashboard-page .admin-project-row,
.admin-dashboard-page .admin-workload-row,
.admin-dashboard-page .admin-activity-row { font-size: .9375rem; }
.admin-dashboard-page .admin-attention-item-title,
.admin-dashboard-page .admin-project-name > span,
.admin-dashboard-page .admin-workload-row > .flex-grow-1 > span { font-weight: 500; }
.admin-dashboard-page .admin-attention-list-heading h6 { font-size: 1rem; font-weight: 600; color: #43536b; }
.admin-dashboard-page .admin-attention-date,
.admin-dashboard-page .admin-stat-percent,
.admin-dashboard-page .admin-attention-list-label,
.admin-dashboard-page .admin-attention-asof,
.admin-dashboard-page .admin-attention-item-title small,
.admin-dashboard-page .admin-attention-date small,
.admin-dashboard-page .admin-project-name small,
.admin-dashboard-page .admin-project-deadline > small,
.admin-dashboard-page .admin-todo-copy small,
.admin-dashboard-page .admin-activity-row small { font-size: .8125rem; }
.admin-dashboard-page .admin-project-table-head { color: #596980; font-size: .75rem; font-weight: 600; }
.admin-dashboard-page .admin-attention-footer,
.admin-dashboard-page .admin-stat-footer,
.admin-dashboard-page .admin-todo-summary,
.admin-dashboard-page .admin-attention-scope { font-size: .8125rem; }
.admin-dashboard-page .admin-attention-overdue { color: #a34d45; }
.admin-dashboard-page .admin-stat-count,
.admin-dashboard-page .admin-workload-row strong { color: #34445c; font-weight: 600; }
.admin-dashboard-page .admin-finance-totals h5 { color: #34445c; font-size: 1.25rem; font-weight: 600; }
.admin-dashboard-page .admin-stat-list { height: 224px; }
.admin-dashboard-page .admin-todo-list { height: 188px; }
.admin-dashboard-page .admin-todo-summary { height: 36px; }
.admin-dashboard-page .apexcharts-legend-text { color: #596980 !important; font-size: 13px !important; }
.admin-dashboard-page .admin-stat-heading { min-height: 96px; }
.admin-dashboard-page #admin-dashboard-filter .form-label { font-size: .8125rem; color: #596980; }
.admin-dashboard-page #admin-dashboard-filter .form-control-sm,
.admin-dashboard-page #admin-dashboard-filter .form-select-sm { font-size: .875rem; }
@media (max-width: 575.98px) {
    .admin-dashboard-page .admin-pulse-metric .avatar { display: none; }
}
/* Admin workspace surfaces: neutral hierarchy with a single restrained accent. */
.admin-dashboard-page { --dashboard-ink: #35445b; --dashboard-muted: #6b778b; --dashboard-line: #e5e8ef; --dashboard-accent: #7465bd; }
.admin-dashboard-page .admin-tone-teal { --metric-accent: #438878; --metric-tint: #eff7f4; }
.admin-dashboard-page .admin-tone-purple { --metric-accent: #7967be; --metric-tint: #f2eff9; }
.admin-dashboard-page .admin-tone-amber { --metric-accent: #ab8545; --metric-tint: #faf5eb; }
.admin-dashboard-page .admin-tone-blue { --metric-accent: #587faa; --metric-tint: #eff4fa; }
.admin-dashboard-page .admin-metric-strip { gap: 18px; padding: 0; border: 0; margin-bottom: 28px; }
.admin-dashboard-page .admin-pulse-metric { padding: 22px 24px; border: 1px solid var(--dashboard-line); border-radius: 10px; background: #fff; box-shadow: 0 2px 4px rgba(38, 51, 77, .02); }
.admin-dashboard-page .admin-pulse-metric:first-child { padding-inline-start: 24px; }
.admin-dashboard-page .admin-pulse-metric .avatar .admin-pulse-icon { background: var(--metric-tint); border: 0; border-radius: 10px !important; }
.admin-dashboard-page .admin-pulse-icon i { color: var(--metric-accent) !important; }
.admin-dashboard-page .admin-pulse-value { color: #35445b; font-size: 2rem; line-height: 1.2; letter-spacing: -.04em; margin: 12px 0 20px; font-weight: 600; }
.admin-dashboard-page .admin-pulse-metric > div > div:first-child > span { font-size: .875rem; font-weight: 400; }
.admin-dashboard-page #admin-dashboard-filter h4 { font-size: 1.625rem; font-weight: 600; letter-spacing: -.025em; color: var(--dashboard-ink); }
.admin-dashboard-page #admin-dashboard-overview .admin-section-heading h5,
.admin-dashboard-page .admin-stat-heading h5,
.admin-dashboard-page #admin-attention-title { font-size: 1.0625rem; font-weight: 500; color: var(--dashboard-ink); }
.admin-dashboard-page .admin-section-eyebrow { display: none; }
.admin-dashboard-page .admin-section-heading > small,
.admin-dashboard-page .admin-stat-heading small,
.admin-dashboard-page .admin-attention-heading small { font-size: .8125rem; line-height: 1.5; }
.admin-dashboard-page .text-muted { color: var(--dashboard-muted) !important; }
.admin-dashboard-page .admin-dashboard-jumps { gap: 24px; margin-bottom: 24px; font-size: .875rem; }
.admin-dashboard-page .admin-dashboard-jumps a { font-weight: 400; }
.admin-dashboard-page .admin-status-band { background: transparent; border: 0; overflow: visible; }
.admin-dashboard-page .admin-status-band > .row { gap: 20px; }
.admin-dashboard-page .admin-status-band > .row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 768px) and (max-width: 1199.98px) {
    .admin-dashboard-page .admin-status-band > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .admin-dashboard-page .admin-status-band > .row { grid-template-columns: minmax(0, 1fr); }
}
.admin-dashboard-page .admin-status-band > .row > div { border: 0; }
.admin-dashboard-page .admin-status-band .admin-stat-card,
.admin-dashboard-page #admin-finance-section .admin-dashboard-card { height: 100%; background: #fff; border: 1px solid var(--dashboard-line); border-radius: 10px; box-shadow: 0 2px 4px rgba(38, 51, 77, .02); }
.admin-dashboard-page .admin-stat-heading { min-height: 92px; padding: 20px 24px; }
.admin-dashboard-page .admin-stat-heading-icon { color: #8e83b4; background: #f5f3fa; border-radius: 8px; font-size: 19px; }
.admin-dashboard-page .admin-status-band .admin-stat-heading-icon { background: #f5f3fa; color: #8e83b4; }
.admin-dashboard-page .admin-attention-panel { background: #fff; border: 1px solid var(--dashboard-line); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 4px rgba(38, 51, 77, .02); }
.admin-dashboard-page .admin-attention-heading { padding: 22px 24px; background: #fff; }
.admin-dashboard-page .admin-attention-heading-icon { display: inline-flex; width: 38px; height: 38px; border-radius: 9px; background: #f3f1f9; color: #8979b7; }
.admin-dashboard-page .admin-attention-workspace { grid-template-columns: 250px minmax(0, 1fr); border: 0; border-top: 1px solid var(--dashboard-line); border-radius: 0; }
.admin-dashboard-page .admin-attention-tabs { background: #fafbfc; padding: 18px 14px; gap: 6px; }
.admin-dashboard-page .admin-attention-tab { min-height: 52px; border-radius: 7px; }
.admin-dashboard-page .admin-attention-tab.active { background: #f0edf8; color: #7160aa; border-color: transparent; box-shadow: none; }
.admin-dashboard-page .admin-attention-count { font-size: 1.0625rem; font-weight: 500; }
.admin-dashboard-page .admin-attention-record-icon { color: #8a92a2; background: #f4f5f8; }
.admin-dashboard-page .admin-attention-list-heading h6 { font-weight: 500; }
.admin-dashboard-page .admin-attention-item { padding-block: 15px; }
.admin-dashboard-page .admin-attention-item-title { font-weight: 400; }
.admin-dashboard-page .admin-attention-overdue { color: #a96960; }
.admin-dashboard-page .admin-workspace-band { background: #fff; border: 1px solid var(--dashboard-line); border-radius: 10px; box-shadow: 0 2px 4px rgba(38, 51, 77, .02); }
.admin-dashboard-page .admin-workspace-band > .row > div + div { background: #fff; }
.admin-dashboard-page .admin-project-table-head { color: #7a8596; font-size: .6875rem; font-weight: 500; background: #fafbfc; border-block: 1px solid #eef0f4; padding: 12px 24px; }
.admin-dashboard-page .admin-work-list { padding-inline: 24px; }
.admin-dashboard-page .admin-workspace-band .admin-project-table-row { padding-block: 18px; }
.admin-dashboard-page .admin-project-name > span,
.admin-dashboard-page .admin-workload-row > .flex-grow-1 > span { font-weight: 400; }
.admin-dashboard-page .admin-workload-initial { background: #f1eff8; color: #8a7cae; }
.admin-dashboard-page .admin-workload-meter > span { background: #aaa0c9; }
.admin-dashboard-page .admin-activity-rail .admin-stat-heading,
.admin-dashboard-page .admin-activity-rail .admin-activity-list,
.admin-dashboard-page .admin-activity-rail .admin-stat-footer { padding-inline: 24px; }
.admin-dashboard-page .admin-activity-rail .admin-stat-footer { border-top: 1px solid #edf0f5; }
.admin-dashboard-page .admin-finance-totals { gap: 0; padding-bottom: 18px; border-bottom: 1px solid #edf0f5; }
.admin-dashboard-page .admin-finance-totals > div { flex: 1; min-width: 100px; padding: 0 20px; background: transparent; border-inline-end: 1px solid #e9ecf2; }
.admin-dashboard-page .admin-finance-totals > div:first-child { padding-inline-start: 0; }
.admin-dashboard-page .admin-finance-totals > div:last-child { border: 0; }
.admin-dashboard-page .admin-finance-totals h5 { font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; }
@media (max-width: 991.98px) {
    .admin-dashboard-page .admin-attention-workspace { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .admin-dashboard-page .admin-metric-strip { gap: 12px; }
    .admin-dashboard-page .admin-pulse-metric,
    .admin-dashboard-page .admin-pulse-metric:first-child { padding: 18px; }
    .admin-dashboard-page .admin-status-band > .row > div { border: 0; }
}
@media (max-width: 575.98px) {
    .admin-dashboard-page .admin-attention-heading { padding: 18px; }
    .admin-dashboard-page .admin-finance-totals > div { min-width: 80px; padding-inline: 12px; }
}
.admin-dashboard-page #admin-dashboard-clear { white-space: nowrap; flex-shrink: 0; }
/* One compact dashboard header, followed immediately by the summary cards. */
.admin-dashboard-page .admin-dashboard-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 26px 0 24px; }
.admin-dashboard-page .admin-dashboard-heading h4 { margin: 0 0 6px; }
.admin-dashboard-page .admin-dashboard-period-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .8125rem; line-height: 1.5; }
.admin-dashboard-page #admin-dashboard-status:empty { display: none; }
.admin-dashboard-page .admin-dashboard-period-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.admin-dashboard-page .admin-dashboard-period-controls > div { min-width: 0; }
.admin-dashboard-page .admin-dashboard-period-controls .form-control,
.admin-dashboard-page .admin-dashboard-period-controls .form-select,
.admin-dashboard-page .admin-dashboard-period-controls .btn { height: 36px; margin: 0; box-shadow: none; }
.admin-dashboard-page #admin-dashboard-period { width: 144px; }
.admin-dashboard-page #admin-dashboard-start,
.admin-dashboard-page #admin-dashboard-end { width: 146px; }
.admin-dashboard-page #admin-dashboard-month { width: 174px; }
@media (max-width: 575.98px) {
    .admin-dashboard-page .admin-dashboard-header { margin: 20px 0; gap: 16px; }
    .admin-dashboard-page .admin-dashboard-period-controls { width: 100%; }
    .admin-dashboard-page .admin-dashboard-period-controls > div { flex: 1 1 140px; }
    .admin-dashboard-page #admin-dashboard-period,
    .admin-dashboard-page #admin-dashboard-start,
    .admin-dashboard-page #admin-dashboard-end,
    .admin-dashboard-page #admin-dashboard-month { width: 100%; }
}
/* Team events use the same card surface and spacing as the dashboard above. */
.admin-dashboard-page .admin-team-events { background: #fff; border: 1px solid var(--dashboard-line, #e5e8ef); border-radius: 10px; box-shadow: 0 2px 4px rgba(38, 51, 77, .02); }
.admin-dashboard-page .admin-team-event-tabs { flex-wrap: nowrap; gap: 24px; padding: 0 24px; margin: 0; border-bottom: 1px solid #e5e8ef; overflow-x: auto; }
.admin-dashboard-page .admin-team-event-tabs .nav-item { flex-shrink: 0; }
.admin-dashboard-page .admin-team-event-tabs .nav-item .nav-link { display: inline-flex; align-items: center; gap: 8px; min-height: 62px; margin: 0; padding: 18px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: #6b778b; font-size: .9375rem; font-weight: 400; box-shadow: none; }
/* Override the theme's .nav-link:not(.active), which otherwise paints gray blocks. */
.admin-dashboard-page .admin-team-event-tabs .nav-item .nav-link:not(.active) { background: transparent; }
.admin-dashboard-page .admin-team-event-tabs .nav-item .nav-link.active,
.admin-dashboard-page .admin-team-event-tabs .nav-item .nav-link.active:hover,
.admin-dashboard-page .admin-team-event-tabs .nav-item .nav-link.active:focus { color: #7465bd; border-bottom-color: #7465bd; background: transparent; box-shadow: none; }
.admin-dashboard-page .admin-team-event-tabs .nav-item .nav-link:hover { color: #7465bd; }
.admin-dashboard-page .admin-team-event-tabs .menu-icon { margin: 0; font-size: 19px; color: #8e83b4 !important; }
.admin-dashboard-page .admin-team-event-body { padding: 24px; border-radius: 0; background: transparent; box-shadow: none; }
.admin-dashboard-page .admin-team-event-body > .tab-pane > .nav-tabs { display: inline-flex; gap: 0 !important; padding: 3px; border: 1px solid #e5e8ef; border-radius: 8px !important; background: #f7f8fa; margin-bottom: 20px !important; }
.admin-dashboard-page .admin-team-event-body .list-button,
.admin-dashboard-page .admin-team-event-body .calendar-button { min-height: 32px; padding: 6px 16px !important; border: 1px solid transparent; border-radius: 5px !important; background: transparent !important; color: #6b778b !important; font-size: .875rem; box-shadow: none; }
.admin-dashboard-page .admin-team-event-body .list-button.active,
.admin-dashboard-page .admin-team-event-body .calendar-button.active { background: #fff !important; border-color: #e5e8ef; color: #43536b !important; box-shadow: 0 1px 2px rgba(38, 51, 77, .04); }
.admin-dashboard-page .admin-team-events .align-items-baseline { align-items: center !important; flex-wrap: wrap; margin-bottom: 16px; }
.admin-dashboard-page .admin-team-events .align-items-baseline > .col-md-4 { flex: 0 1 240px; width: 240px; margin-bottom: 0 !important; }
.admin-dashboard-page .admin-team-events .align-items-baseline > .col-md-1 { width: auto; }
.admin-dashboard-page .admin-team-events .align-items-baseline .form-control,
.admin-dashboard-page .admin-team-events .align-items-baseline .form-select { min-height: 38px; font-size: .875rem; }
.admin-dashboard-page .admin-team-events .align-items-baseline .btn { min-height: 38px; box-shadow: none; }
.admin-dashboard-page .admin-team-events .alert { padding: 12px 44px 12px 14px; border: 1px solid #e8e5f2; border-radius: 7px; font-size: .875rem; line-height: 1.5; }
.admin-dashboard-page .admin-team-events .alert-primary { color: #70638e; background: #f6f4fb; }
.admin-dashboard-page .admin-team-events .alert-primary a { color: #7465bd; text-decoration: underline; text-underline-offset: 2px; }
.admin-dashboard-page .admin-team-events .alert-info { color: #62768c; border-color: #e2eaf1; background: #f5f8fb; }
.admin-dashboard-page .admin-team-events .fixed-table-toolbar .btn { box-shadow: none; }
.admin-dashboard-page .admin-team-events .fixed-table-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 10px; }
.admin-dashboard-page .admin-team-events .fixed-table-toolbar::before,
.admin-dashboard-page .admin-team-events .fixed-table-toolbar::after { display: none; }
.admin-dashboard-page .admin-team-events .fixed-table-toolbar > .bs-bars { order: 0; margin: 0 auto 0 0; }
.admin-dashboard-page .admin-team-events .fixed-table-toolbar > .columns { order: 3; float: none !important; margin: 0; }
.admin-dashboard-page .admin-team-events .fixed-table-toolbar > .table-clear-filters { order: 1; margin-inline-start: auto; }
.admin-dashboard-page .admin-team-events .fixed-table-toolbar > .search { order: 2; float: none !important; width: 220px; max-width: 100%; margin: 0; }
.admin-dashboard-page .admin-team-events .fixed-table-toolbar .btn,
.admin-dashboard-page .admin-team-events .fixed-table-toolbar .form-control { height: 38px; min-height: 38px; margin-block: 0; font-size: .875rem; }
.admin-dashboard-page .admin-team-events .fixed-table-toolbar .clear-filter-button { display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; white-space: nowrap; }
.admin-dashboard-page .admin-team-events .fixed-table-toolbar .clear-filter-button i { font-size: 16px; }
.admin-dashboard-page .admin-team-events .fixed-table-pagination { margin-top: 12px; }
.admin-dashboard-page .admin-team-events .nav-link:focus-visible { outline: 2px solid #7465bd; outline-offset: -3px; }
@media (max-width: 575.98px) {
    .admin-dashboard-page .admin-team-event-tabs { padding-inline: 16px; gap: 20px; }
    .admin-dashboard-page .admin-team-event-tabs .nav-item .nav-link { min-height: 54px; font-size: .875rem; }
    .admin-dashboard-page .admin-team-event-body { padding: 16px; }
    .admin-dashboard-page .admin-team-events .align-items-baseline > .col-md-4 { flex: 1 1 180px; width: auto; }
    .admin-dashboard-page .admin-team-events .fixed-table-toolbar > .bs-bars { flex-basis: 100%; }
    .admin-dashboard-page .admin-team-events .fixed-table-toolbar > .table-clear-filters { margin-inline-start: 0; }
    .admin-dashboard-page .admin-team-events .fixed-table-toolbar > .search { flex: 1 1 140px; width: auto; }
}
/* Shared dashboard hierarchy, readable charts, and bounded working lists. */
.admin-dashboard-page .admin-stat-heading,
.admin-dashboard-page .admin-attention-heading { min-height: 92px; padding: 20px 24px; align-items: center; }
.admin-dashboard-page .admin-stat-heading > div,
.admin-dashboard-page .admin-attention-heading > div { min-width: 0; }
.admin-dashboard-page .admin-stat-heading h5,
.admin-dashboard-page #admin-attention-title { margin-bottom: 4px; font-size: 1.0625rem; font-weight: 500; line-height: 1.4; }
.admin-dashboard-page .admin-stat-heading-icon,
.admin-dashboard-page .admin-todo-add { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px; }
.admin-dashboard-page .admin-priority-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; padding: 3px 7px; border-radius: 5px; background: #f9eeec; color: #a6655c; font-size: .8125rem; font-weight: 500; line-height: 1.4; }
.admin-dashboard-page .admin-attention-count:not(.admin-priority-badge) { min-width: 28px; text-align: center; color: #6b778b; }
.admin-dashboard-page .admin-todo-summary > a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.admin-dashboard-page .admin-stat-footer { min-height: 58px; padding: 14px 24px; }
.admin-dashboard-page .admin-stat-list { height: 224px; }
.admin-dashboard-page .admin-todo-list { height: 188px; }
.admin-dashboard-page .admin-work-list { max-height: 312px; }
.admin-dashboard-page .admin-activity-list { height: 390px; }
.admin-dashboard-page .admin-attention-items { max-height: 280px; }
.admin-dashboard-page .admin-stat-list,
.admin-dashboard-page .admin-work-list,
.admin-dashboard-page .admin-activity-list,
.admin-dashboard-page .admin-attention-items { overflow-y: auto; scrollbar-width: thin; scrollbar-color: transparent transparent; scrollbar-gutter: stable; }
.admin-dashboard-page .admin-stat-list:hover,
.admin-dashboard-page .admin-stat-list:focus-within,
.admin-dashboard-page .admin-work-list:hover,
.admin-dashboard-page .admin-work-list:focus-within,
.admin-dashboard-page .admin-activity-list:hover,
.admin-dashboard-page .admin-activity-list:focus-within,
.admin-dashboard-page .admin-attention-items:hover,
.admin-dashboard-page .admin-attention-items:focus-within { scrollbar-color: #b4bac8 transparent; }
.admin-dashboard-page .admin-stat-list::-webkit-scrollbar,
.admin-dashboard-page .admin-work-list::-webkit-scrollbar,
.admin-dashboard-page .admin-activity-list::-webkit-scrollbar,
.admin-dashboard-page .admin-attention-items::-webkit-scrollbar { width: 6px; height: 6px; }
.admin-dashboard-page .admin-stat-list::-webkit-scrollbar-thumb,
.admin-dashboard-page .admin-work-list::-webkit-scrollbar-thumb,
.admin-dashboard-page .admin-activity-list::-webkit-scrollbar-thumb,
.admin-dashboard-page .admin-attention-items::-webkit-scrollbar-thumb { background: transparent; border-radius: 6px; }
.admin-dashboard-page .admin-stat-list:hover::-webkit-scrollbar-thumb,
.admin-dashboard-page .admin-stat-list:focus-within::-webkit-scrollbar-thumb,
.admin-dashboard-page .admin-work-list:hover::-webkit-scrollbar-thumb,
.admin-dashboard-page .admin-work-list:focus-within::-webkit-scrollbar-thumb,
.admin-dashboard-page .admin-activity-list:hover::-webkit-scrollbar-thumb,
.admin-dashboard-page .admin-activity-list:focus-within::-webkit-scrollbar-thumb,
.admin-dashboard-page .admin-attention-items:hover::-webkit-scrollbar-thumb,
.admin-dashboard-page .admin-attention-items:focus-within::-webkit-scrollbar-thumb { background: #b4bac8; }
.admin-dashboard-page .apexcharts-tooltip { border: 1px solid #e5e8ef !important; border-radius: 8px; box-shadow: 0 4px 14px rgba(38, 51, 77, .08); }
.admin-dashboard-page .apexcharts-tooltip-title { padding: 10px 12px; background: #f8f9fb !important; }
.admin-dashboard-page .apexcharts-tooltip-series-group { padding: 8px 12px; }
.admin-dashboard-page #admin-dashboard-overview[aria-busy="true"] { opacity: .85; }
.admin-dashboard-page #admin-dashboard-status { display: inline-flex; align-items: center; gap: 6px; }
.admin-dashboard-page #admin-dashboard-status.is-updating::before { content: ''; width: 11px; height: 11px; border: 2px solid #e4e0f1; border-top-color: #8979b7; border-radius: 50%; animation: admin-dashboard-spin .8s linear infinite; }
.admin-dashboard-page #admin-dashboard-status.is-updated { color: #527f6e; }
.admin-dashboard-page #admin-dashboard-status.is-updated::before { content: '\2713'; }
.admin-dashboard-page .admin-pulse-value a:hover { color: #7465bd !important; }
.admin-dashboard-page a:hover,
.admin-dashboard-page a:focus,
.admin-dashboard-page a:active { text-decoration: none !important; }
.admin-dashboard-page .admin-pulse-value a:focus-visible,
.admin-dashboard-page .admin-todo-summary a:focus-visible { outline: 2px solid #7465bd; outline-offset: 3px; border-radius: 3px; }
@keyframes admin-dashboard-spin { to { transform: rotate(360deg); } }
@media (hover: none) {
    .admin-dashboard-page .admin-stat-list,
    .admin-dashboard-page .admin-work-list,
    .admin-dashboard-page .admin-activity-list,
    .admin-dashboard-page .admin-attention-items { scrollbar-color: #b4bac8 transparent; }
}
@media (prefers-reduced-motion: reduce) {
    .admin-dashboard-page #admin-dashboard-status.is-updating::before { animation: none; }
}
@media (max-width: 575.98px) {
    .admin-dashboard-page .admin-stat-heading,
    .admin-dashboard-page .admin-attention-heading { padding: 18px 16px; }
    .admin-dashboard-page .admin-stat-footer { padding-inline: 16px; }
}
/* Keep the inner lists as the only scroll owners; their footers remain outside. */
.admin-dashboard-page .admin-stat-breakdown { min-height: 0; flex: 0 0 auto; overflow: visible; }
.admin-dashboard-page .admin-stat-list { min-height: 0; overflow-x: hidden; overflow-y: auto; touch-action: pan-y; }
.admin-dashboard-page .admin-stat-list:focus-visible,
.admin-dashboard-page .admin-activity-list:focus-visible { outline: 2px solid #b5abd7; outline-offset: -2px; }
/* Context and empty states share the dashboard's existing quiet typography. */
.admin-dashboard-page .admin-data-scope,
.admin-dashboard-page .admin-finance-note { font-size: .8125rem; line-height: 1.6; }
.admin-dashboard-page .admin-task-context { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.admin-dashboard-page .admin-task-context > span { display: inline-flex; align-items: center; gap: 4px; }
.admin-dashboard-page .admin-context-priority { border: 1px solid #e5e8ef; border-radius: 4px; padding: 0 6px; background: #fafbfc; font-size: .75rem; }
.admin-dashboard-page .admin-team-events .admin-profile-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; padding: 8px 36px 8px 0; border: 0; background: transparent; font-size: .8125rem; margin-bottom: 12px; }
.admin-dashboard-page .admin-team-events [data-selection-warning],
.admin-dashboard-page .admin-team-events .action_delete_users { display: none; }
.admin-dashboard-page .admin-team-events .is-selection-active .action_delete_users { display: inline-flex; order: 0; margin-inline-end: auto; }
.admin-dashboard-page .admin-team-events .is-selection-active [data-selection-warning] { display: flex; align-items: center; gap: 8px; }
.admin-dashboard-page .admin-selection-warning { padding: 10px 12px; margin-bottom: 12px; border: 1px solid #f0dfdb; background: #fbf5f3; color: #95675e; border-radius: 6px; font-size: .8125rem; }
.admin-dashboard-page .admin-team-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 16px; white-space: normal; font-size: .875rem; color: #6b778b; }
.admin-dashboard-page .admin-team-empty > i { font-size: 24px; color: #a098b8; }
.admin-dashboard-page .admin-team-empty strong { color: #526078; font-weight: 500; }
.admin-dashboard-page .admin-team-empty .btn { margin-top: 4px; }
@media (max-width: 575.98px) {
    .admin-dashboard-page .admin-attention-item { align-items: flex-start; }
    .admin-dashboard-page .admin-attention-date { padding-top: 2px; font-size: .75rem; }
    .admin-dashboard-page .admin-task-context { gap: 4px 6px; }
    .admin-dashboard-page .admin-team-empty { padding: 22px 12px; }
}
@media (max-width: 575.98px) {
    .admin-dashboard-page .admin-team-events .fixed-table-toolbar > .search { order: 1; flex-basis: 100%; }
    .admin-dashboard-page .admin-team-events .fixed-table-toolbar > .table-clear-filters { order: 2; }
    .admin-dashboard-page .admin-team-events .fixed-table-toolbar > .columns:not(.table-clear-filters):not(.action_delete_users) { order: 3; margin-inline-start: auto; }
    .admin-dashboard-page .admin-team-empty { width: calc(100vw - 100px); max-width: 100%; margin-inline: 0; overflow-wrap: anywhere; }
}
@media (max-width: 575.98px) {
    .admin-dashboard-page .admin-finance-totals { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: 8px; }
    .admin-dashboard-page .admin-finance-totals > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 10px 0; border-inline-end: 0; border-bottom: 1px solid #edf0f5; }
    .admin-dashboard-page .admin-finance-totals > div:last-child { border-bottom: 0; }
    .admin-dashboard-page .admin-finance-totals h5 { white-space: nowrap; font-size: 1.125rem; margin: 0 !important; }
}

/* Shared boards use the app's typography and restrained card surfaces. */
.project-kanban-topbar { align-items: center; flex-wrap: wrap; gap: 12px; }
.project-kanban-topbar .breadcrumb { margin-bottom: 0; }
.project-kanban-preference { margin-inline-start: auto; }
.project-kanban-preference .badge { background: #eeedf8 !important; color: #7468aa; font-weight: 500; }
.project-kanban-view-actions { display: flex; align-items: center; gap: 6px; }
.project-kanban-view-actions a { display: inline-flex; }
.project-kanban-view-actions .btn { height: 36px; min-width: 36px; box-shadow: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.project-kanban-view-actions .btn:not(.action_create_projects) { background: #fff; border-color: #dfe3ed; color: #69758c; }
.project-kanban-view-actions .btn:not(.action_create_projects):hover { background: #efedf9; border-color: #c9c2ec; color: #6962ba; }
.project-kanban-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 20px; }
.project-kanban-heading h4 { margin-bottom: 6px; font-size: 1.35rem; }
.project-kanban-heading p { font-size: .875rem; }
.project-kanban-total { white-space: nowrap; font-size: .8125rem; color: #6c7890; padding: 6px 10px; background: #fff; border: 1px solid #e2e5ef; border-radius: 6px; }
.project-kanban-filters { margin-bottom: 20px; }
.project-kanban-filter-actions > div { flex-wrap: nowrap; }
.project-kanban-filter-actions .clear-view-filters { margin: 0 !important; white-space: nowrap; }
:is(.project-kanban-page, .app-kanban-page) .kanban-board { font-family: inherit; color: inherit; min-height: 0; height: min(70vh, 740px); min-height: 400px; padding: 0 0 12px !important; background: transparent !important; align-items: stretch; gap: 16px !important; overflow-x: auto; overflow-y: hidden; }
:is(.project-kanban-page, .app-kanban-page) .kanban-column { display: flex; flex-direction: column; flex: 0 0 300px; min-width: 0; border: 1px solid #e1e5ee; border-radius: 10px; box-shadow: none; background: #f0f2f7; overflow: hidden; }
:is(.project-kanban-page, .app-kanban-page) .kanban-column-header { min-height: 56px; padding: 16px !important; background: #f9fafe !important; color: #485773 !important; border-bottom: 1px solid #e1e5ee; font: inherit; font-size: .9375rem; }
.project-kanban-status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; opacity: .75; }
:is(.project-kanban-page, .app-kanban-page) .column-count { background: #eceff5 !important; color: #64718a !important; font: inherit; font-size: .75rem; font-weight: 500; border-radius: 5px; }
:is(.project-kanban-page, .app-kanban-page) .kanban-column-body { flex: 1; min-height: 0; height: auto !important; max-height: none; padding: 12px !important; background: transparent !important; overflow-y: auto; overflow-x: hidden; touch-action: pan-y; }
:is(.project-kanban-page, .app-kanban-page) .kanban-card { border: 1px solid #e2e6ee; border-radius: 8px; box-shadow: 0 1px 2px rgba(35, 48, 73, .03); margin-bottom: 12px !important; }
:is(.project-kanban-page, .app-kanban-page) .kanban-card:hover { border-color: #c4c0df; box-shadow: 0 3px 10px rgba(35, 48, 73, .05); }
:is(.project-kanban-page, .app-kanban-page) .kanban-card > .card-body { padding: 16px !important; }
:is(.project-kanban-page, .app-kanban-page) .kanban-card .card-title { font-family: inherit; font-size: .9375rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
:is(.project-kanban-page, .app-kanban-page) .kanban-card .card-title a { color: #566783 !important; }
.project-kanban-view-actions > div { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.task-kanban-page .kanban-card .card-subtitle { margin-top: 0; font-size: .8125rem; line-height: 1.6; }
.task-kanban-page .task-kanban-people { margin-top: 12px !important; margin-bottom: 14px; }
.task-kanban-page .task-kanban-people .card-text { font-size: .75rem; color: #7b879c; margin-bottom: 8px; }
.task-kanban-page .task-kanban-people .avatar { width: 28px; height: 28px; }
.task-kanban-page .task-kanban-people .badge { font-size: .625rem; font-weight: 500; }
.task-kanban-page .task-kanban-card-footer { align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid #edf0f5; }
.task-kanban-page .task-kanban-card-footer .badge { font-size: .625rem; font-weight: 500; }
.task-kanban-page .task-kanban-card-footer small { color: #7b879c; font-size: .75rem; }
.task-kanban-page .kanban-card .bx-cog { color: #7f88a0; }
.app-kanban-page .create-candidate-btn { display: flex !important; align-items: center; justify-content: center; min-height: 36px; border: 1px dashed #ccd2e0; background: transparent; color: #7b879c; font-size: .8125rem; }
.app-kanban-page .kanban-card h6 { font-size: .9375rem; font-weight: 600; }
:is(.project-kanban-page, .app-kanban-page) .kanban-column-body[data-native-scroll] { scrollbar-width: thin; scrollbar-color: transparent transparent; }
:is(.project-kanban-page, .app-kanban-page) .kanban-column-body[data-native-scroll]:hover,
:is(.project-kanban-page, .app-kanban-page) .kanban-column-body[data-native-scroll]:focus-within { scrollbar-color: #b4bac8 transparent; }
:is(.project-kanban-page, .app-kanban-page) .kanban-column-body[data-native-scroll]::-webkit-scrollbar { width: 6px; }
:is(.project-kanban-page, .app-kanban-page) .kanban-column-body[data-native-scroll]::-webkit-scrollbar-thumb { background: transparent; border-radius: 6px; }
:is(.project-kanban-page, .app-kanban-page) .kanban-column-body[data-native-scroll]:hover::-webkit-scrollbar-thumb,
:is(.project-kanban-page, .app-kanban-page) .kanban-column-body[data-native-scroll]:focus-within::-webkit-scrollbar-thumb { background: #b4bac8; }
:is(.project-kanban-page, .app-kanban-page) a:hover { text-decoration: none !important; }
:is(.project-kanban-page, .app-kanban-page) .card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
:is(.project-kanban-page, .app-kanban-page) .card-tags:not(:has(span)) { display: none; }
:is(.project-kanban-page, .app-kanban-page) .card-tags .tag-border { border: 0; background: #f1f3f8; color: #6c7890 !important; padding: 3px 6px; border-radius: 4px; text-transform: none !important; font-size: .6875rem; line-height: 1.35; max-width: 100%; overflow-wrap: anywhere; }
:is(.project-kanban-page, .app-kanban-page) .project-kanban-priority { font-family: inherit; font-size: .625rem; letter-spacing: .03em; padding: 4px 6px; margin-bottom: 10px; font-weight: 500; }
:is(.project-kanban-page, .app-kanban-page) .kanban-card .text-light { color: #7b879c !important; font-size: .75rem; line-height: 1.8; }
:is(.project-kanban-page, .app-kanban-page) .card-actions { justify-content: flex-start !important; gap: 6px; margin-top: 14px !important; padding-top: 10px; border-top: 1px solid #edf0f5; }
:is(.project-kanban-page, .app-kanban-page) .card-actions > a,
:is(.project-kanban-page, .app-kanban-page) .card-actions > div > a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 28px; margin: 0 !important; border-radius: 5px; }
:is(.project-kanban-page, .app-kanban-page) .card-actions > div { margin-inline-start: auto; }
:is(.project-kanban-page, .app-kanban-page) .card-actions a:hover { background: #f0eef9; }
:is(.project-kanban-page, .app-kanban-page) .card-actions .bx { color: #7f88a0 !important; font-size: 18px; }
:is(.project-kanban-page, .app-kanban-page) .card-actions .bxs-star { color: #d6a34b !important; }
:is(.project-kanban-page, .app-kanban-page) .card-actions a:hover > .bx { color: #7465bd !important; }
:is(.project-kanban-page, .app-kanban-page) .create-project-btn { display: flex !important; align-items: center; justify-content: center; min-height: 36px; border: 1px dashed #ccd2e0; background: transparent; color: #7b879c; font-size: .8125rem; }
:is(.project-kanban-page, .app-kanban-page) .create-project-btn:hover { background: #fff; color: #7465bd; border-color: #aaa1d6; }
:is(.project-kanban-page, .app-kanban-page) .kanban-column-body .ps__rail-y { opacity: 0 !important; }
:is(.project-kanban-page, .app-kanban-page) .kanban-column-body:hover .ps__rail-y,
:is(.project-kanban-page, .app-kanban-page) .kanban-column-body:focus-within .ps__rail-y { opacity: .6 !important; }
:is(.project-kanban-page, .app-kanban-page) .kanban-board { scrollbar-color: transparent transparent; scrollbar-width: thin; }
:is(.project-kanban-page, .app-kanban-page) .kanban-board:hover,
:is(.project-kanban-page, .app-kanban-page) .kanban-board:focus-within { scrollbar-color: #b4bac8 transparent; }
:is(.project-kanban-page, .app-kanban-page) .kanban-board::-webkit-scrollbar { height: 7px; }
:is(.project-kanban-page, .app-kanban-page) .kanban-board::-webkit-scrollbar-thumb { background: transparent; border-radius: 8px; }
:is(.project-kanban-page, .app-kanban-page) .kanban-board:hover::-webkit-scrollbar-thumb,
:is(.project-kanban-page, .app-kanban-page) .kanban-board:focus-within::-webkit-scrollbar-thumb { background: #b4bac8; }
:is(.project-kanban-page, .app-kanban-page) a:focus-visible,
:is(.project-kanban-page, .app-kanban-page) .kanban-board:focus-visible,
:is(.project-kanban-page, .app-kanban-page) .kanban-column-body:focus-visible { outline: 2px solid #a59bd3; outline-offset: -2px; }
@media (max-width: 767.98px) {
    .project-kanban-preference { display: none; }
    .project-kanban-view-actions { flex-wrap: wrap; }
    .project-kanban-heading { margin-top: 20px; }
    :is(.project-kanban-page, .app-kanban-page) .kanban-column { flex-basis: min(300px, 85vw); }
}

/* One button system for authenticated Admin and Super Admin pages. */
.layout-page .content-wrapper .btn { min-height: 36px; border-radius: 6px; font-size: .8125rem; font-weight: 500; line-height: 1.4; box-shadow: none !important; }
.layout-page .content-wrapper .btn:not(.btn-lg):not(.btn-xs) { padding: 7px 12px; }
.layout-page .content-wrapper .btn:hover { transform: none; }
.layout-page .content-wrapper .btn:focus-visible { outline: 2px solid #a59bd3; outline-offset: 3px; }
.layout-page .content-wrapper .app-page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.layout-page .content-wrapper .app-page-actions > a { display: inline-flex; text-decoration: none; }
.layout-page .content-wrapper .app-page-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; white-space: nowrap; }
.layout-page .content-wrapper .app-page-actions .btn .bx { font-size: 18px; line-height: 1; }
.layout-page .content-wrapper .app-action-create { background: #696cff !important; border-color: #696cff !important; color: #fff !important; }
.layout-page .content-wrapper .app-action-create:hover { background: #5f61e6 !important; border-color: #5f61e6 !important; color: #fff !important; }
.layout-page .content-wrapper .app-action-view { background: #fff !important; border-color: #dfe3ed !important; color: #69758c !important; }
.layout-page .content-wrapper .app-action-view:hover { background: #efedf9 !important; border-color: #c9c2ec !important; color: #6962ba !important; }
.layout-page .content-wrapper .app-page-actions .app-icon-action { width: 36px; min-width: 36px; padding: 0; }
.layout-page .content-wrapper .app-action-create,
.layout-page .content-wrapper .app-action-view { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; white-space: nowrap; }
.layout-page .content-wrapper .app-icon-action { width: 36px; min-width: 36px; padding: 0 !important; }
/* Header geometry is CSS-driven so it is correct before page scripts run. */
.layout-page .content-wrapper .container-fluid > .d-flex:has(.breadcrumb) { align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px !important; }
.layout-page .content-wrapper .container-fluid > .d-flex:has(.breadcrumb) .breadcrumb { margin-bottom: 0; }
.layout-page .content-wrapper .container-fluid > .d-flex:has(.breadcrumb) > div:last-child:not(:only-child) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.layout-page .content-wrapper .container-fluid > .d-flex:has(.breadcrumb) > div:last-child > a { display: inline-flex; text-decoration: none; }
.layout-page .content-wrapper .btn-group > .btn:not(:first-child):not(:last-child) { border-radius: 0; }
.layout-page .content-wrapper .btn-group > .btn:first-child:not(:last-child) { border-start-end-radius: 0; border-end-end-radius: 0; }
.layout-page .content-wrapper .btn-group > .btn:last-child:not(:first-child) { border-start-start-radius: 0; border-end-start-radius: 0; }
