/**
 * Dark thrive Theme - Complete Override
 * Comprehensive dark theme that overrides all light theme styles from app.all.css
 * Based on thrive's design language with layered dark greys
 */

/* ===================================================== */
/* CSS VARIABLES */
/* ===================================================== */

:root {
  /* Background layers - Preline CMS style (Tailwind neutral) */
  --thrive-bg-darkest: #0a0a0a;
  --thrive-bg-dark: #171717;      /* neutral-900 */
  --thrive-bg-card: #262626;      /* neutral-800 */
  --thrive-bg-modal: #262626;     /* neutral-800 */
  --thrive-bg-hover: #404040;     /* neutral-700 */
  --thrive-bg-active: #525252;    /* neutral-600 */

  /* Text colors */
  --thrive-text-primary: #e5e5e5;    /* neutral-200 */
  --thrive-text-secondary: #a3a3a3;  /* neutral-400 */
  --thrive-text-white: #fafafa;      /* neutral-50 */
  --thrive-text-dark: #0a0a0a;

  /* Borders */
  --thrive-border-primary: #404040;  /* neutral-700 */
  --thrive-border-secondary: #525252; /* neutral-600 */
  --thrive-border-hover: #737373;    /* neutral-500 */

  /* Brand color */
  --thrive-brand-primary: #156EF6;
  --thrive-brand-primary-hover: #0d4fb8;

  /* Shadows */
  --thrive-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

html,
/* ===================================================== */
/* GLOBAL OVERRIDES */
/* ===================================================== */

html,
body {
    background: var(--thrive-bg-dark) !important;
    background-color: var(--thrive-bg-dark) !important;
    color: var(--thrive-text-primary) !important;
}

* {
    border-color: var(--thrive-border-primary) !important;
}

/* ===================================================== */
/* TYPOGRAPHY */
/* ===================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--thrive-text-white) !important;
}

a {
    color: var(--thrive-text-primary) !important;
}

a:hover,
a:focus,
a:active {
    color: var(--thrive-text-white) !important;
}

.text-muted,
.text-off,
.text-default,
.text-secondary {
    color: var(--thrive-text-secondary) !important;
}

::placeholder {
    color: var(--thrive-text-secondary) !important;
}

span.dt-column-title {
    color: var(--thrive-text-secondary);
    font-weight: 300;
    font-size: 12px;
}

/* ===================================================== */
/* BACKGROUND UTILITIES */
/* ===================================================== */

.bg-white,
.bg-light,
.bg-body,
.bg-body-tertiary,
.bg-off-white,
.default-bg,
.bg-body-secondary {
    background: var(--thrive-bg-card) !important;
    background-color: var(--thrive-bg-card) !important;
    color: var(--thrive-text-primary) !important;
}



/* Reset global background */
body,
.page-container {
    background-color: var(--thrive-bg-dark) !important;
}

/* ===================================================== */
/* SIDEBAR MENU */
/* ===================================================== */

.sidebar-menu li a {
    color: var(--thrive-text-secondary) !important;
    /* Muted dark text */
}

/* Active State - Dark Text on Light Grey */
.sidebar-menu li.active>a {
    color: var(--thrive-text-white) !important;
    /* Brand Darker Blue as requested */
    background-color: var(--thrive-bg-modal) !important;
    /* Brand Light Tint */
    font-weight: 600 !important;
}

/* Hover/Focus/Active Text States */
.sidebar-menu li.active>a,
.sidebar-menu li a:active,
.sidebar-menu li a:hover,
.sidebar-menu li a:focus {
    color: var(--thrive-text-white) !important;
    background-color: var(--thrive-bg-modal) !important;
}

/* ===================================================== */
/* PAGE CONTENT - DARK CARD STYLE */
/* ===================================================== */

/* Main content wrapper */
.scrollable-page.main-scrollable-page {
    background: var(--thrive-bg-card) !important;
    border-top-left-radius: 15px !important;
}

.page-content {
    padding: 10px !important;
    background: var(--thrive-bg-card) !important;
    box-shadow: none !important;
    margin-top: 10px !important;
    min-height: calc(100vh - 80px) !important;
}

.default-bg {
    background-color: var(--thrive-bg-card) !important;
}

/* ===================================================== */
/* CARDS & PANELS */
/* ===================================================== */
.card-body{
  background: transparent !important;
}
.card,
.panel,
.widget,
.content-wrapper,
.card-footer,
.panel-heading,
.panel-body,
.panel-footer {
    background: var(--thrive-bg-card) !important;
    background-color: var(--thrive-bg-card) !important;
    border: 1px solid var(--thrive-border-primary) !important;
    border-color: var(--thrive-border-primary) !important;
    color: var(--thrive-text-primary) !important;
}


.card-header{
  background:transparent !important;
}

/* Reset global background */
body,
.page-container {
    background-color: var(--thrive-bg-dark) !important;
    /* Very light grey container for contrast with white page-content */
}

/* ===================================================== */
/* PRIMARY BUTTONS - BRAND COLOR */
/* ===================================================== */

.btn-primary,
.btn-primary:active,
a.btn-primary,
button.btn-primary,
#add-request-btn,
.btn-add-new {
    background-color: var(--thrive-brand-primary) !important;
    /* #156EF6 */
    border-color: var(--thrive-brand-primary) !important;
    color: var(--thrive-text-primary) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0d4fb8 !important;
    /* Darker Brand */
    border-color: #0d4fb8 !important;
    color: var(--thrive-bg-card) !important;
}

/* Ensure important action buttons stand out */
button[type="submit"].btn-primary {
    background-color: var(--thrive-brand-primary) !important;
}

/* ===================================================== */
/* INPUTS & CARDS */
/* ===================================================== */

/* Inputs - Dark Theme */
input.form-control,
textarea.form-control,
select.form-control {
    background-color: var(--thrive-bg-dark) !important;
    border: 1px solid var(--thrive-border-primary) !important;
    color: var(--thrive-text-primary) !important;
}

input.form-control:focus {
    border-color: var(--thrive-brand-primary) !important;
    box-shadow: 0 0 0 2px rgba(21, 110, 246, 0.1) !important;
}

/* Cards within page content are clean */
.page-content .card {
    box-shadow: none !important;
    border: 1px solid var(--thrive-border-primary) !important;
}

/* ===================================================== */
/* TEXT & HEADINGS - DARK THEME */
/* ===================================================== */

/* Headings should be light colored in dark theme */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--thrive-text-white) !important;
}

body {
    color: var(--thrive-text-primary) !important;
}

/* ===================================================== */
/* BADGES & LABELS */
/* ===================================================== */

/* High Specificity Badge Override */
body .badge,
.badge {
    /* Override Bootstrap variables directly */
    --bs-badge-padding-x: 12px !important;
    --bs-badge-padding-y: 4px !important;
    --bs-badge-font-size: 12px !important;
    --bs-badge-font-weight: 500 !important;
    --bs-badge-border-radius: 999px !important;

    border-radius: 999px !important;
    /* true pill */
    font-weight: 500 !important;
    font-size: 12px !important;
    padding: 4px 12px !important;
    line-height: 1 !important;
}

/* Default to light brand style if no other color class */
body .badge:not(.badge-default):not(.badge-info):not(.badge-success):not(.badge-danger):not(.badge-warning):not(.badge-primary) {
    background: #e7f0fe !important;
    color: #156EF6 !important;
}

/* ===================================================== */
/* ANIMATED THEME SWITCHER (Old Falcon - Strict Impl) */
/* ===================================================== */

.theme {
    /* Custom Variables for Thrive Palette */
    --bg: var(--thrive-bg-card);
    /* Container Background (White) */
    --toggle-width: 6em;
    --toggle-height: 3em;
    --toggle-bg-light: var(--thrive-bg-card);
    /* Explicit White Container */
    --knob-light: #f1f5f9;
    /* Light Grey Knob */
    --knob-dark: #1d2632;
    /* Dark Knob */
    --icon-sun: #8392a5;
    /* Grey Sun Icon */
    --icon-moon: var(--thrive-bg-card);
    /* White Moon Icon */
    --primaryT: rgba(21, 110, 246, 0.5);
    --primary: #156EF6;
    --transDur: 0.3s;

    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    /* Scale down to fit navbar */
    transform: scale(0.6);
    transform-origin: center right;
}

.theme__fill,
.theme__icon {
    transition: 0.3s;
}

.theme__fill {
    background-color: var(--bg);
    display: none;
    /* DISABLE PAGE WIPE - Breaks layout context */
    mix-blend-mode: normal;
    position: fixed;
    inset: 0;
    height: 100%;
    transform: translateX(-100%);
    pointer-events: none;
    z-index: -1;
}

.theme__icon,
.theme__toggle {
    z-index: 1;
}

.theme__icon,
.theme__icon-part {
    position: absolute;
}

.theme__icon {
    display: block;
    top: 0.5em;
    left: 0.5em;
    /* Position relative to knob, adjusted for 3em height */
    width: 1.5em;
    height: 1.5em;
    pointer-events: none;
}

/* Icon Parts (Sun/Moon Animation) */
.theme__icon-part {
    border-radius: 50%;
    box-shadow: 0.4em -0.4em 0 0.5em var(--icon-sun) inset;
    /* Sun Color */
    top: calc(50% - 0.5em);
    left: calc(50% - 0.5em);
    width: 1em;
    height: 1em;
    transition: box-shadow var(--transDur) ease-in-out,
        opacity var(--transDur) ease-in-out,
        transform var(--transDur) ease-in-out;
    transform: scale(0.5);
}

.theme__icon-part~.theme__icon-part {
    background-color: var(--icon-sun);
    /* Ray Color */
    border-radius: 0.05em;
    top: 50%;
    left: calc(50% - 0.05em);
    transform: rotate(0deg) translateY(0.5em);
    transform-origin: 50% 0;
    width: 0.1em;
    height: 0.2em;
}

/* Sun Rays Rotation */
.theme__icon-part:nth-child(3) {
    transform: rotate(45deg) translateY(0.45em);
}

.theme__icon-part:nth-child(4) {
    transform: rotate(90deg) translateY(0.45em);
}

.theme__icon-part:nth-child(5) {
    transform: rotate(135deg) translateY(0.45em);
}

.theme__icon-part:nth-child(6) {
    transform: rotate(180deg) translateY(0.45em);
}

.theme__icon-part:nth-child(7) {
    transform: rotate(225deg) translateY(0.45em);
}

.theme__icon-part:nth-child(8) {
    transform: rotate(270deg) translateY(0.5em);
}

.theme__icon-part:nth-child(9) {
    transform: rotate(315deg) translateY(0.5em);
}

.theme__label,
.theme__toggle,
.theme__toggle-wrap {
    position: relative;
}

.theme__toggle,
.theme__toggle:before {
    display: block;
}

.theme__toggle {
    background-color: var(--toggle-bg-light) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 25% / 50%;
    /* Strict pill shape from user design */
    box-shadow: none !important;
    /* Clean flat look per white aesthetic */
    padding: 0.25em;
    width: 6em;
    height: 3em;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color var(--transDur) ease-in-out,
        box-shadow 0.15s ease-in-out,
        transform var(--transDur) ease-in-out;
    cursor: pointer;
}

.theme__toggle:before {
    background-color: var(--knob-light);
    /* Sun Knob */
    border-radius: 50%;
    content: "";
    width: 2.5em;
    height: 2.5em;
    /* Fits perfectly in 3em height (0.25 padding top/bottom) */
    transition: 0.3s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.theme__toggle:focus {
    box-shadow: 0 0 0 0.125em var(--primaryT) !important;
    /* Subtle focus ring */
    outline: transparent;
}

/* Checked State (Dark Mode) */
.theme__toggle:checked {
    background-color: var(--toggle-bg-light) !important;
    /* Keep Container White */
    border-color: #e2e8f0 !important;
}

.theme__toggle:checked:before,
.theme__toggle:checked~.theme__icon {
    transform: translateX(3em);
    /* Slide right */
}

.theme__toggle:checked:before {
    background-color: var(--knob-dark);
    /* Dark Knob for Moon */
}

.theme__toggle:checked~.theme__fill {
    transform: translateX(0);
}

/* Icon Transformation on Checked */
.theme__toggle:checked~.theme__icon .theme__icon-part:nth-child(1) {
    box-shadow: 0.2em -0.2em 0 0.2em var(--icon-moon) inset;
    /* White Moon Shape */
    transform: scale(1);
    top: 0.2em;
    left: -0.2em;
}

.theme__toggle:checked~.theme__icon .theme__icon-part~.theme__icon-part {
    opacity: 0;
    /* Hide Rays */
}

/* Rotation logic for transition */
.theme__toggle:checked~.theme__icon .theme__icon-part:nth-child(2) {
    transform: rotate(45deg) translateY(0.8em);
}

.theme__toggle:checked~.theme__icon .theme__icon-part:nth-child(3) {
    transform: rotate(90deg) translateY(0.8em);
}

.theme__toggle:checked~.theme__icon .theme__icon-part:nth-child(4) {
    transform: rotate(135deg) translateY(0.8em);
}

.theme__toggle:checked~.theme__icon .theme__icon-part:nth-child(5) {
    transform: rotate(180deg) translateY(0.8em);
}

.theme__toggle:checked~.theme__icon .theme__icon-part:nth-child(6) {
    transform: rotate(225deg) translateY(0.8em);
}

.theme__toggle:checked~.theme__icon .theme__icon-part:nth-child(7) {
    transform: rotate(270deg) translateY(0.8em);
}

.theme__toggle:checked~.theme__icon .theme__icon-part:nth-child(8) {
    transform: rotate(315deg) translateY(0.8em);
}

.theme__toggle:checked~.theme__icon .theme__icon-part:nth-child(9) {
    transform: rotate(360deg) translateY(0.8em);
}

.theme__toggle-wrap {
    margin: 0;
}

/* ===================================================== */
/* APP.ALL.CSS CUSTOM STYLES - CONVERTED TO DARK */
/* ===================================================== */

.page-title .title-button-group {
  margin: 0px 15px 0px 15px;
}

/*timeline*/
#timeline {
  list-style: none;
  width: 100%;
  min-height: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
#timeline:before {
  content: "";
  height: 100%;
  left: 50%;
  position: absolute;
  z-index: 0;
  top: 10px;
  margin-left: -5px;
  width: 10px;
  border-radius: 5px;
  background-image: linear-gradient(to top, var(--thrive-bg-hover) 0.1%, var(--thrive-bg-dark) 1%, var(--thrive-bg-dark) 99%);
}
#timeline .post-content {
  display: block;
  width: 50%;
  position: relative;
  padding-top: 40px;
}
#timeline .post-content:nth-child(odd) {
  float: left;
  clear: left;
  padding-right: 20px;
}
#timeline .post-content:nth-child(even) {
  float: right;
  clear: right;
  padding-left: 20px;
}
#timeline .post-content:nth-child(2n) {
  margin-top: 10px;
}
#timeline .post-content .post-date span {
  background: #156EF6;
  color: var(--thrive-bg-card)\1
  padding: 3px 10px 5px;
  border-radius: 25px;
}
#timeline .post-content .post-date:before {
  background: var(--thrive-bg-dark);
  content: "";
  left: -20px;
  top: 10px;
  position: relative;
  width: 20px;
  height: 2px;
}
#timeline .post-content:nth-child(odd) .post-date {
  text-align: right;
}
#timeline .post-content:nth-child(odd) .post-date:before {
  background: var(--thrive-bg-dark);
  content: "";
  margin-right: -40px;
  top: 10px;
  position: relative;
  width: 20px;
  height: 2px;
  float: right;
}

.timeline-images img {
  width: 100%;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  transition: all 500ms ease;
}
.timeline-images img:hover {
  -webkit-filter: grayscale(100%);
}
.timeline-images span.more {
  padding: 5px 5px;
  background-color: var(--thrive-text-white);
  color: var(--thrive-bg-card)\1
  margin-top: 0px;
  position: absolute;
  width: 80px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 5px solid #22B9FF;
  margin-left: -80px;
}
.timeline-images .file-mockup {
  width: 100%;
  height: 455px;
  background: var(--thrive-bg-hover);
  color: var(--thrive-text-secondary);
  text-align: center;
  display: table;
  table-layout: fixed;
  border-spacing: 0;
  transition: all 500ms ease;
}
.timeline-images .file-mockup:hover {
  cursor: pointer;
  filter: grayscale(100%);
}
.timeline-images .file-mockup .mt-12 {
  margin-top: 12rem !important;
}

.message-more {
  width: 40px !important;
  margin-left: -40px !important;
  border-bottom-left-radius: 22px;
}

.comment-image-box {
  width: 400px;
}

/*note*/
.notepad {
  position: relative;
  line-height: 30px !important;
}
.notepad:before {
  content: "";
  position: absolute;
  width: 0px;
  top: 0;
  bottom: 0;
}
.notepad textarea {
  border: none;
  background-color: transparent;
  height: 100%;
  line-height: 30px;
  min-height: 200px;
  padding: 0 10px;
}

.notepad-title {
  border: none !important;
  padding-left: 7px;
  border-left: 5px solid #156EF6 !important;
}

.notepad .select2-choices {
  border-color: transparent;
}

/*details list*/
.details-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.details-list li {
  padding: 5px;
}
.details-list li span {
  display: inline-block;
  min-width: 120px;
}

/*message*/
.message-row {
  padding: 8px 15px;
}

.unread {
  border-left: 3px solid #156EF6;
}

.message-row.unread strong,
.message-row.unread span {
  color: #156EF6;
}

.content-sidebar {
  width: 200px;
}
.content-sidebar .list-group .list-group-item {
  border-radius: 0 !important;
  border: none !important;
  background: transparent;
  color: var(--thrive-text-secondary);
}
.content-sidebar .list-group-item:hover, .content-sidebar .list-group-item.active {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 4px !important;
}

#message-details-section .dropdown {
  position: absolute;
  right: 12px;
  margin-top: 18px;
}

ins {
  color: #00b393;
  text-decoration: none;
}

.kanban-filters-container {
  padding: 15px 15px 0 15px;
}

.comment-form-container {
  padding: 15px;
}

#task-comment-form-container .comment-form-container {
  padding: 15px 0;
}

svg:not(.gantt) {
  margin-top: -3px;
  pointer-events: none;
}

/*dropdown-menu*/
.dropdown-menu {
  border: none;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  min-width: 12rem;
  margin-top: 7px;
}
.dropdown-menu .list-group-item:not(.inline-loader) {
  border: none !important;
  padding: 10px 15px;
}
.dropdown-menu #my-open-timers-container .list-group-item {
  border: 1px solid rgba(127, 127, 127, 0.2) !important;
}

.dropdown .dropdown-toggle:not(.caret):after {
  display: none;
}

.dropdown-item {
  padding: 0.7rem 1.25rem;
  color: var(--thrive-text-secondary);
}
.dropdown-item:active, .dropdown-item:hover, .dropdown-item:focus {
  color: var(--thrive-text-secondary);
  background-color: var(--thrive-bg-dark);
}

.dropdown-user .dropdown-menu {
  margin-right: 15px;
}

.comment-dropdown,
.reply-dropdown {
  position: relative;
  right: 20px;
  display: none;
}

.comment-like-top {
  position: relative;
  right: 40px;
  display: none;
}

.comment-container {
  margin: 15px 0;
}
.comment-container:hover .comment-dropdown,
.comment-container:hover .comment-like-top {
  display: block;
}

.reply-container {
  margin: 15px 0;
}
.reply-container:hover .reply-dropdown {
  display: block;
}

.title-tab .btn {
  margin: 2px 5px;
}

.white-link {
  color: var(--thrive-bg-card)\1
}

.project_and_clock_status_widget {
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.04) !important;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.04) !important;
}

#clock-status-widget {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

/*sticky note*/
.sticky-note {
  outline: none;
  height: 265px;
  padding: 5px;
  border: none;
  color: var(--thrive-text-white);
  background: rgb(255, 246, 179);
  width: 100%;
}

/*check box*/
.checkbox-blank {
  width: 20px;
  height: 20px;
  display: inline-block;
  float: left;
  border: 2px solid rgba(166, 166, 166, 0.2);
  border-radius: 5px;
}
.checkbox-blank:hover {
  background-color: var(--thrive-bg-card)\1
}

.checkbox-checked {
  width: 20px;
  height: 20px;
  display: inline-block;
  float: left;
  border: none;
  background-color: #156EF6;
  border-radius: 3px;
  position: relative;
}

.checkbox-checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-un-checked {
  background: url("../images/checkbox-un-checked.png") no-repeat center center;
  width: 20px;
  height: 20px;
  display: inline-block;
  float: left;
}

/*modal mask*/
.modal-mask {
  position: relative;
  top: 0;
  left: 0;
  background-color: var(--thrive-bg-card)\1
}

.circle-done {
  margin: 10px auto;
  width: 80px;
  height: 80px;
  border-radius: 40px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: solid 5px rgba(220, 230, 235, 0.5);
  text-align: center;
  font-size: 30px;
  padding: 10px;
  color: #156EF6;
}
.circle-done i {
  display: inline-block;
  max-width: 0%;
  overflow: hidden;
}
.circle-done.ok svg {
  height: 40px;
  width: 40px;
  margin-top: 0;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

/*social-link*/
.social-link {
  width: 35px;
  height: 35px;
  margin: 0 10px 10px 0;
  padding: 6px 8px;
  text-align: center;
  border-radius: 50%;
  color: var(--thrive-bg-card)\1
  background-color: transparent;
  border: 2px solid var(--thrive-bg-card)\1
  transition: all 300ms ease;
  display: inline-block;
  text-decoration: none;
}
.social-link:focus {
  color: var(--thrive-bg-card)\1
}
.social-link:hover, .social-link:active, .social-link:focus {
  text-decoration: none;
}
.social-link:hover {
  color: rgba(0, 0, 0, 0.5);
  background-color: var(--thrive-bg-card)\1
}
.social-link:hover.custom-svg path,
.social-link:hover.custom-svg circle,
.social-link:hover.custom-svg rect {
  fill: rgba(0, 0, 0, 0.5);
}

/*alert*/
.alert {
  border: 0;
}
.alert .progress {
  background-color: transparent;
  box-shadow: none !important;
  height: 3px;
  border-radius: 0;
  margin: 19px 0px -15px -13px;
}
.alert .progress-bar {
  box-shadow: none !important;
  background-color: rgba(0, 0, 0, 0.3);
}

.app-alert-message {
  display: inline-block;
  margin-right: 5px;
  max-width: 350px;
  min-width: 165px;
}

.app-alert.animate {
  bottom: 0;
  position: fixed;
  z-index: 100;
  border-radius: 2px;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1);
  opacity: 0.25;
  right: -350px;
}
.app-alert.alert-info {
  background-color: #38a4f8;
  color: var(--thrive-bg-card)\1
}
.app-alert.alert-success {
  background-color: #485BBD;
  color: var(--thrive-bg-card)\1
}
.app-alert.alert-danger {
  background-color: #f5325c;
  color: var(--thrive-bg-card)\1
}
.app-alert.alert-warning {
  background-color: #ffb822;
  color: var(--thrive-bg-card)\1
}
.app-alert a {
  color: var(--thrive-text-secondary);
}

/*progress-bar*/
.progress.thin {
  height: 3px;
}

.alert-warning {
  background-color: #fcefc8;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: " ";
}

.clearfix:after {
  clear: both;
}

.permission-list {
  margin: 0;
  padding: 0 15px;
}
.permission-list li {
  margin-bottom: 15px;
  border-bottom: 1px solid #f1f1f5;
  list-style-type: none;
}
.permission-list li h5 {
  display: inline-block;
  margin-left: 3px;
}

.animated-clock {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #f5325c;
}

.animated-clock-sec {
  position: relative;
  width: 2px;
  height: 8px;
  top: 4px;
  left: 7px;
  background: #f5325c;
  border-radius: 2px;
  animation: animatedClockSecRotate 5s linear infinite;
}

.comment-file p {
  max-width: 270px;
}

.comment-file .comment-image-box {
  width: 200px;
}

/* fs modal*/
.app-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 5000;
}
.app-modal.full-content .app-modal-sidebar {
  display: none;
}
.app-modal.full-content .expand {
  display: none;
}
.app-modal.full-content .compress {
  display: block;
}
.app-modal.full-content.has-sidebar .app-modal-next-button {
  right: 20px;
}
.app-modal.full-content.has-sidebar .app-modal-zoom-in-button {
  right: 120px;
}
.app-modal.full-content.has-sidebar .app-modal-zoom-out-button {
  right: 70px;
}
.app-modal.has-sidebar .app-modal-next-button {
  right: 370px;
}
.app-modal.has-sidebar .app-modal-zoom-in-button {
  right: 470px;
}
.app-modal.has-sidebar .app-modal-zoom-out-button {
  right: 420px;
}
.app-modal .round-button {
  position: absolute;
  cursor: pointer;
  color: var(--thrive-bg-card)\1
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  padding: 7px;
}
.app-modal .round-button svg {
  margin: 5px;
}
.app-modal .round-button:hover {
  background-color: rgba(0, 0, 0, 0.4);
}
.app-modal .compress,
.app-modal .expand,
.app-modal .app-modal-zoom-in-button,
.app-modal .app-modal-zoom-out-button {
  top: 10px;
}
.app-modal .app-modal-zoom-in-button {
  right: 115px;
}
.app-modal .app-modal-zoom-out-button {
  right: 65px;
}
.app-modal .compress,
.app-modal .expand {
  right: 20px;
}
.app-modal .app-modal-previous-button,
.app-modal .app-modal-next-button {
  top: 50%;
  padding: 10px;
  width: 50px;
  height: 50px;
}
.app-modal .app-modal-previous-button {
  left: 20px;
}
.app-modal .app-modal-next-button {
  right: 20px;
}
.app-modal.loading .app-modal-previous-button,
.app-modal.loading .app-modal-next-button {
  display: none;
}
.app-modal .disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.app-modal .expand {
  display: block;
  right: 370px !important;
}
.app-modal .compress {
  display: none;
}
.app-modal.loading .app-modal-sidebar {
  border-color: var(--thrive-bg-card)\1
}
.app-modal.loading .expand {
  display: none;
}

.app-modal-fixed-close-button {
  position: absolute;
  z-index: 1;
  right: 15px !important;
  background: rgba(0, 0, 0, 0.5);
  color: var(--thrive-bg-card)\1
  border-radius: 50%;
  text-align: center;
  padding: 2px !important;
  height: 40px;
  width: 40px;
  top: 10px !important;
  font-size: 22px !important;
}

.app-modal-body {
  width: 100%;
  height: 100%;
  background-color: var(--thrive-bg-card)\1
  display: table;
  table-layout: fixed;
  border-spacing: 0;
}

.app-modal-close {
  font-size: 30px;
  padding: 10px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: -5px;
}

.app-modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: #000;
}
.app-modal-content .app-modal-content-area {
  text-align: center;
}
.app-modal-content .app-modal-content-area.scrollable {
  max-height: 100vh;
  overflow-y: scroll;
  width: 100%;
}
.app-modal-content img {
  max-width: 100%;
  max-height: 100%;
}
.app-modal-content.fit-window-height img {
  max-height: 100vh !important;
}

.app-modal-sidebar {
  width: 350px;
  border-left: 1px solid #f1f1f5;
  height: 100%;
  display: table-cell;
  vertical-align: top;
}
.app-modal-sidebar .avatar-md {
  width: 45px;
  height: 45px;
}

/* milestone */
.milestone {
  width: 100px;
  text-align: center;
  border: 1px solid #f1f1f5;
  padding-bottom: 5px;
  border-radius: 5px;
}
.milestone .badge {
  width: 100%;
  display: inherit;
  padding: 10px 0;
  font-size: 1em;
  border-radius: 5px 5px 0 0;
  margin-top: 0 !important;
}
.milestone h1 {
  margin: 0;
}

/*notification*/
.list-group-item {
  border: none;
  padding: 10px 15px;
}
.list-group-item.active {
  background: #156EF6;
}

.unread-notification {
  background-color: #edeff5 !important;
}

/*estimate form*/
#estimate-form-editable .sortable-ghost td {
  border-top: 2px dashed #7988a2 !important;
  border-bottom: 2px dashed #7988a2 !important;
}
#estimate-form-editable .sortable-ghost td * {
  opacity: 0;
}

#estimate-form-preview table.dataTable.b-b-only tbody td {
  border: none;
}

.estimate_request_form.list-group-item {
  border: 1px solid #f1f1f5 !important;
}

.list-container .b-b:last-child {
  border-bottom: none;
}

.box-title {
  position: relative;
  margin: -15px 15px 10px;
  text-align: center;
  font-weight: 700;
}
.box-title span {
  display: inline-block;
  position: relative;
  z-index: 11;
  background: var(--thrive-bg-card)\1
  padding: 0 12px;
}
.box-title:after {
  content: "";
  width: 100%;
  height: 1px;
  display: inline-block;
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 10;
  background-color: #f1f1f5;
}

.invoice-styles .item {
  border: 5px solid #f1f1f5;
  float: left;
  margin: 0 15px 15px 0;
  transition: 300ms all;
  opacity: 0.5;
}
.invoice-styles .active,
.invoice-styles .item:hover {
  opacity: 1;
  cursor: pointer;
  opacity: 1;
}
.invoice-styles .selected-mark {
  position: absolute;
  display: inline-block;
  color: #7988a2;
  -webkit-transition: all 300ms;
  transition: all 300ms;
  margin-top: 80px;
  margin-left: 100px;
}
.invoice-styles .selected-mark svg {
  height: 25px;
  width: 25px;
}

#notificaion-popup-list,
#messages-popup-list {
  max-height: 400px;
  overflow-y: scroll;
}

.help-page-container {
  padding-top: 50px;
}

.help-search-box-container {
  max-width: 600px;
  margin: 30px auto 60px;
  text-align: center;
}
.help-search-box-container h2 {
  margin: 20px 0;
}

.help-category-box {
  cursor: pointer;
  text-align: center;
  color: var(--thrive-text-secondary);
  transition: all 0.5s;
}
.help-category-box .anchor {
  color: #29689e;
  text-transform: lowercase;
}
.help-category-box:hover {
  cursor: pointer;
  background: var(--thrive-bg-dark);
}

.help-search-box {
  background: url(../images/search.png) no-repeat 15px 50% var(--thrive-bg-card)\1
  padding: 15px 15px 15px 40px;
  height: auto;
  border: 1px solid #f1f1f5;
  border-radius: 5px;
  border-top-right-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
  box-shadow: none;
  transition: background 0.5s;
  width: 100% !important;
}
.help-search-box:focus {
  background-color: #f0f0f0;
  border: 1px solid #f0f0f0;
}
.help-search-box.searching {
  background-image: url("../images/loader.gif") !important;
}

#help-left-panel {
  min-height: 350px;
}

#help-page-content {
  padding: 20px 30px;
}

.view-container {
  max-width: 1060px;
  margin: auto;
}

.view-container-large {
  max-width: 1200px;
  margin: auto;
}

.public-navbar {
  font-weight: bold;
  border-bottom: 1px solid #f1f1f5;
}

.note-group-select-from-files .note-form-label {
  display: none !important;
}

.popover {
  font-size: 1em;
}

.popover-content {
  padding: 15px;
}

.app-popover {
  position: absolute;
  background: var(--thrive-bg-card)\1
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  min-width: 180px;
}
.app-popover .confirmation-title {
  padding: 10px 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.app-popover .app-popover-body {
  padding: 15px;
}
.app-popover .app-popover-arrow {
  top: -6px;
  border-color: transparent;
  transform: rotate(225deg);
  border: solid transparent;
  height: 12px;
  width: 12px;
  position: absolute;
  pointer-events: none;
  background-color: var(--thrive-bg-card)\1
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-top-color: transparent;
  border-left-color: transparent;
  left: 10px;
}
.app-popover .app-popover-arrow.bottom-arrow {
  bottom: -6px;
  top: unset;
  transform: rotate(45deg);
}
.app-popover .list-group-item.active {
  color: var(--thrive-bg-card)\1
}

.todo-input-box {
  max-width: 700px;
  margin: 10px auto 30px;
}
.todo-input-box input {
  padding: 10px 15px;
  height: auto;
  border: 1px solid #f1f1f5;
  border-radius: 5px;
  box-shadow: none;
  transition: background 0.5s;
}
.todo-input-box input:focus {
  background-color: #f0f0f0;
  border: 1px solid #f0f0f0;
}
.todo-input-box button {
  padding: 10px 15px !important;
  border-radius: 0 5px 5px 0 !important;
  margin-left: 1px;
}

.navbar-left a i {
  -moz-transition: all 0.1s;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
}

/*kanban*/
.kanban-container {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0px;
  padding-top: 15px;
  padding-bottom: 15px;
  background: var(--thrive-bg-dark);
  border: none !important;
  border-top: none;
}

.kanban-col {
  list-style-type: none;
  float: left;
  margin: 0 15px;
  width: 305px;
  transition: all 0.3s ease;
}
.kanban-col.kanban-col-collapsed {
  width: 30px;
  cursor: pointer;
  margin-left: 5px;
}
.kanban-col.kanban-col-collapsed .kanban-col-title {
  background-color: var(--thrive-bg-card)\1
  border-radius: 5px;
  writing-mode: sideways-lr;
  text-orientation: mixed;
  padding: 10px 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  display: flex;
  height: 275px;
  justify-content: space-between;
}
.kanban-col.kanban-col-collapsed .kanban-col-title .collapse-kanban-column {
  display: none !important;
}
.kanban-col .kanban-col-title {
  padding: 15px;
  background: transparent !important;
  color: var(--thrive-text-secondary);
  margin-bottom: 15px;
  margin-right: 3px;
  border-radius: 8px !important;
  text-align: right;
  border-bottom: 1px solid var(--thrive-border-secondary) !important;
}
.kanban-col .kanban-col-title .status-title {
  float: left;
}
.kanban-col .kanban-col-title .collapse-kanban-column {
  cursor: pointer;
  padding: 10px;
  display: none;
}
.kanban-col .kanban-col-title:hover .collapse-kanban-column {
  display: inline;
}
.kanban-col .kanban-item-list {
  max-height: 730px;
  height: 730px;
  overflow: hidden;
}
.kanban-col .kanban-item-list .kanban-item {
  padding: 10px;
  margin: 0 3px 10px 0;
  background-color: var(--thrive-bg-card)\1
  cursor: default;
  display: table;
  color: var(--thrive-text-secondary);
  width: 300px;
  border-radius: 5px;
}
.kanban-col .kanban-item-list .kanban-item:before, .kanban-col .kanban-item-list .kanban-item:after {
  display: table;
  content: " ";
}
.kanban-col .kanban-item-list .kanban-item:after {
  clear: both;
}
.kanban-col .kanban-item-list .kanban-item:hover, .kanban-col .kanban-item-list .kanban-item:active, .kanban-col .kanban-item-list .kanban-item:focus {
  text-decoration: none;
  color: #1d2c48;
  background: #f9f9f9;
}
.kanban-col .kanban-item-list .kanban-item .avatar {
  float: left;
}
.kanban-col .kanban-item-list .kanban-item .avatar img {
  height: 22px;
  width: 22px;
  margin-right: 10px;
}
.kanban-col .kanban-item-list .kanban-item .meta {
  margin-top: 10px;
}
.kanban-col .kanban-input .form-control {
  padding: 10px;
  height: auto;
  margin-bottom: 10px;
  width: 99%;
  background-color: var(--thrive-bg-card)\1
  border-radius: 0;
}

.kanban-sortable-ghost {
  box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.3);
}

.kanban-sortable-chosen {
  opacity: 0.2;
  box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.3);
}

.rise-chat-wrapper {
  width: 430px;
  height: calc(100% - 170px);
  background: var(--thrive-bg-card)\1
  z-index: 10;
  position: fixed;
  top: 86px;
  right: 20px;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 30px 0px;
  animation: slideInRight 0.3s ease-in-out;
}
.rise-chat-wrapper.full-screen {
  width: auto !important;
  height: auto !important;
  top: 66px !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 250px !important;
  z-index: 11;
}
.rise-chat-wrapper .message-row {
  border-bottom: 1px solid #f1f1f5;
  cursor: pointer;
}
.rise-chat-wrapper .message-row .time {
  font-size: 0.7em;
  width: 60px;
  text-align: right;
}
.rise-chat-wrapper .message-row:hover {
  background: #f0f0f0;
}
.rise-chat-wrapper .nav-tabs li .active, .rise-chat-wrapper .nav-tabs li.active {
  border-bottom: none !important;
}
.rise-chat-wrapper .chat-topbar,
.rise-chat-wrapper .rise-chat-header {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f1f5;
  cursor: default;
}
.rise-chat-wrapper .chat-topbar .chat-topbar-btn,
.rise-chat-wrapper .rise-chat-header .chat-topbar-btn {
  cursor: pointer;
  padding: 10px;
  position: absolute;
}
.rise-chat-wrapper .chat-topbar .chat-topbar-btn.chat-back,
.rise-chat-wrapper .rise-chat-header .chat-topbar-btn.chat-back {
  left: 10px;
}
.rise-chat-wrapper .chat-topbar .chat-topbar-btn.chat-close,
.rise-chat-wrapper .rise-chat-header .chat-topbar-btn.chat-close {
  right: 10px;
}
.rise-chat-wrapper .chat-topbar .chat-topbar-btn.more-options,
.rise-chat-wrapper .rise-chat-header .chat-topbar-btn.more-options {
  right: 50px;
}

.rise-chat-header {
  border-bottom: 1px solid #f1f1f5;
}
.rise-chat-header .nav-tabs > li {
  display: table-cell;
  float: none;
  width: 100%;
}

.chat-tab {
  display: flex;
  justify-content: space-around;
}
.chat-tab .btn.active, .chat-tab .btn:hover, .chat-tab .btn:focus, .chat-tab .btn:active {
  background-color: transparent !important;
  color: #156EF6;
}

.chat-title {
  text-align: center;
  padding: 15px 7px;
  font-weight: 700;
}

.chat-bars {
  width: 30px;
  text-align: center;
  cursor: pointer;
  opacity: 0.5;
}

.chat-back {
  opacity: 0.7;
  cursor: pointer;
  width: 40px;
  padding: 20px 10px;
}

.chat-bars:hover,
.chat-back:hover {
  opacity: 1;
}

.rise-chat-body {
  height: auto;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.rise-chat-body.full-height {
  height: 413px;
}
.rise-chat-body.long {
  height: 412px;
}

.rise-chat-footer {
  background: var(--thrive-bg-card)\1
  width: 100%;
  bottom: 0;
  position: absolute;
  border-top: 1px solid #f1f1f5;
  border-radius: 0 0 5px 5px;
}
.rise-chat-footer.footer-buttons-section {
  box-shadow: rgba(9, 14, 21, 0.06) 0px 0px 25px 0px;
}
.rise-chat-footer.footer-buttons-section .btn {
  padding: 15px !important;
}
.rise-chat-footer .post-file-dropzone-scrollbar {
  margin-top: -90px;
}
.rise-chat-footer textarea {
  width: 100%;
  padding: 15px;
  border: none;
  height: 52px;
  resize: none;
}
.rise-chat-footer textarea:focus {
  outline: none;
}
.rise-chat-footer .help-block {
  height: 0px;
  display: none !important;
}
.rise-chat-footer .chat-message-textarea {
  display: flex;
}
.rise-chat-footer .chat-button-section {
  padding: 4px;
  margin-top: -4px;
}
.rise-chat-footer .chat-button-section .upload-file-button {
  margin-right: 5px !important;
}
.rise-chat-footer .chat-button-section svg {
  width: 18px;
  height: 18px;
}
.rise-chat-footer .stop-recording {
  display: inline-block;
  width: 11px;
  height: 11px;
}
.rise-chat-footer .btn {
  padding: 8px 10px;
  margin: 0 !important;
  border: 0;
  text-align: center;
}
.rise-chat-footer .recording-text {
  display: none;
}

.chat-msg {
  padding: 8px 10px;
  display: inline-block;
  max-width: 75%;
  text-align: left;
  word-break: break-word;
}
.chat-msg img {
  max-width: 100%;
}

.chat-other {
  padding: 2px 10px;
}
.chat-other .avatar {
  float: left;
  margin-top: 2px;
}
.chat-other .chat-msg {
  border-radius: 0 10px 10px 10px;
  background-color: #f0f0f0;
}
.chat-other.single-message {
  padding-bottom: 10px;
}
.chat-other.single-message .chat-msg {
  border-radius: 15px;
}
.chat-other.first-message .chat-msg {
  border-radius: 15px 15px 15px 2px;
}
.chat-other.first-message .avatar .avatar-link {
  display: none;
}
.chat-other.middle-message .chat-msg {
  border-radius: 2px 15px 15px 2px;
}
.chat-other.middle-message .avatar .avatar-link {
  display: none;
}
.chat-other.last-message {
  padding-bottom: 10px;
}
.chat-other.last-message .chat-msg {
  border-radius: 2px 15px 15px 15px;
}

.chat-me {
  text-align: right;
  padding-right: 10px;
  margin-top: 2px;
}
.chat-me:nth-last-of-type(1):not(:nth-last-child(1)) {
  padding-bottom: 10px;
}
.chat-me.single-message {
  padding-bottom: 10px;
}
.chat-me.single-message .chat-msg {
  border-radius: 15px;
}
.chat-me.first-message .chat-msg {
  border-radius: 15px 15px 2px 15px;
}
.chat-me.middle-message .chat-msg {
  border-radius: 15px 2px 2px 15px;
}
.chat-me.last-message {
  padding-bottom: 10px;
}
.chat-me.last-message .chat-msg {
  border-radius: 15px 2px 15px 15px;
}
.chat-me .chat-msg {
  border-radius: 15px 0 15px 15px;
  background-color: #6d81f5;
  color: var(--thrive-bg-card)\1
}
.chat-me .chat-msg a {
  color: var(--thrive-bg-card)\1
}

.init-chat-icon {
  width: 50px;
  height: 50px;
  background-color: var(--thrive-bg-card)\1
  z-index: 10;
  position: fixed;
  bottom: 20px;
  right: 20px;
  box-shadow: 0px 3px 4px 4px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  text-align: center;
  padding: 15px;
  cursor: pointer;
}
.init-chat-icon.has-message {
  background-color: #f5325c;
  color: var(--thrive-bg-card)\1
}

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

.checklist-items a.delete-checklist-item,
.reminders a.delete-reminder,
.delete-dependency-task,
.delete-dependency-task:hover {
  color: #a1a3a5;
}

.confirmed-by-logo {
  color: #0abb87;
}
.confirmed-by-logo svg {
  height: 30px;
  width: 30px;
  margin-top: 10px;
}

.rejected-by-logo {
  color: #f5325c;
}
.rejected-by-logo svg {
  height: 30px;
  width: 30px;
  margin-top: 10px;
}

.message-images .file-mockup {
  height: 100px;
  margin-bottom: 5px;
}

.chat-no-messages svg {
  margin-top: 100px;
  color: #f1f1f5;
  margin-bottom: 10px;
}

table.dataTable td.dataTables_empty {
  padding: 15px 10px !important;
}

.unread-comments-of-tasks i {
  padding: 5px;
  color: #156EF6;
}

.widget {
  border: 1px solid #f1f1f5;
}
.widget:hover {
  cursor: move;
}

.row-controller {
  flex: 2;
  position: relative;
}
.row-controller .move {
  position: absolute;
  top: 0;
  left: 0;
  cursor: move;
}
.row-controller .delete {
  position: absolute;
  bottom: 0;
  left: 0;
  cursor: pointer;
  color: #f5325c;
}

.add-column-drop {
  border: 1px dashed #f1f1f5;
}

.dashed_border {
  border: 1px dashed #f1f1f5;
}

.widget-row {
  margin-bottom: 15px;
  padding: 15px;
  display: flex;
}

.row-container {
  flex: 100;
}

.dashboard-dropdown .dropdown-toggle {
  padding: 10px 12px;
  background: var(--thrive-bg-card)\1
  border-radius: 50%;
  box-shadow: -3px 7px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  width: 40px;
  height: 40px;
}

.dashboard-view .open .dropdown-toggle {
  background-color: #f5f5f5 !important;
}

.grid-bg {
  background: #f5f5f5;
  transition: 0.5s all;
}

.column-grid-link:hover .grid-bg {
  background: #1ccacc;
  color: var(--thrive-bg-card)\1
}

.custom-widget .custom-widget-title {
  background-color: var(--thrive-bg-card)\1
  color: inherit;
  font-weight: bold;
  padding: 10px 15px;
  border-bottom: 1px solid #f1f1f5;
  border-radius: 0px;
}

#widget-container-area {
  position: fixed;
  width: 308px;
  top: 90px;
  padding-right: 30px;
}

.projects-row {
  border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
}
.projects-row .progress {
  height: 10px;
  margin: 20px 15px;
  box-shadow: none !important;
}

.widget-todo-input-box {
  margin: 15px auto;
  max-width: 100%;
  padding: 0 15px;
}
.widget-todo-input-box input {
  background: #f9f9f9;
  border: none;
  padding: 8px 14px;
}
.widget-todo-input-box input:focus {
  background: #f0f0f0;
  border: none;
}
.widget-todo-input-box .input-group {
  border-bottom: 1px solid #f1f1f5;
}
.widget-todo-input-box button {
  padding: 8px 14px;
}

.overflow-y-scroll {
  overflow-y: scroll;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.active-team-members-list .message-row {
  border-bottom: 1px solid #f1f1f5;
}

.dashbaord-header-area .color-tag {
  margin: 3px 0 0 0;
  width: 15px;
  height: 15px;
  border-radius: 2px;
}
.dashbaord-header-area a:hover .color-tag {
  transform: scale(1.5);
}

#widget-row-container .error,
#widget-container-area .error {
  background-color: #ffecec !important;
  border: 1px solid #fdd9d9;
}

#widget-row-area .dropdown-toggle:after {
  display: none;
}

.checklist-items .move {
  line-height: 18px;
  cursor: ns-resize;
}

.ganttview-vtheader-group-name,
.ganttview-vtheader-series-row {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.move-icon {
  margin-right: 15px !important;
  cursor: ns-resize;
  opacity: 0.3;
}

.checkbox-blank-sm,
.checkbox-checked-sm {
  border: 1px solid #cecece;
  height: 13px;
  width: 13px;
  border-radius: 50%;
  cursor: pointer;
  margin-top: 4px;
}

.checkbox-checked-sm svg {
  height: 11px;
  width: 11px;
  position: relative;
  top: -4px;
}

.kanban-item-list a:hover .checkbox-blank-sm,
.checkbox-checked-sm {
  visibility: visible !important;
}

.kanban-item-checked {
  background-color: #f9f9f9;
}

.td-checkbox {
  width: 50px;
  background: #f0f0f0 !important;
  padding: 0 !important;
}
.td-checkbox a {
  height: 30px;
  width: 35px;
  background: var(--thrive-bg-card)\1
  float: right;
  border-bottom-left-radius: 15px;
  border-top-left-radius: 15px;
}
.td-checkbox .checkbox-blank {
  margin-right: 0;
  margin: 5px 10px;
}
.td-checkbox .checkbox-blank:hover {
  background-color: initial;
  cursor: pointer;
}

.notificatio-plate-title-area {
  padding: 0 8px 7px 8px;
}
.notificatio-plate-title-area .dot {
  padding: 0 3px;
}

.color-white {
  color: var(--thrive-bg-card)\1!important;
}

#invoice-total-section,
#estimate-total-section,
#order-total-section,
#contract-total-section,
#proposal-total-section {
  width: 450px;
}

.invoice-preview-container {
  padding: 30px;
  border-radius: 5px;
  border: 1px solid #f1f1f5;
  box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);
  -webkit-box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03) !important;
}

.badge {
  display: inline-block;
  padding: 4px 5px;
  font-weight: normal;
  font-size: 0.85em;
  margin-top: 5px;
}
.badge a:hover, .badge a:active, .badge a:focus {
  color: var(--thrive-bg-card)\1!important;
}
.badge.badge-light a:hover, .badge.badge-light a:active, .badge.badge-light a:focus {
  color: #29689e !important;
}
.badge.large {
  padding: 5px 10px;
  font-size: 1em;
}
.badge.bg-transparent {
  background-color: transparent !important;
  color: var(--thrive-text-secondary) !important;
  border: 1px solid #f1f1f5 !important;
}
.badge.badge-default {
  background-color: var(--thrive-bg-card)\1!important;
  color: #2D313E !important;
  border: 1px solid #f1f1f5 !important;
  padding: 4px 5px;
}

.badge-light {
  background-color: #f1f1f5;
  color: var(--thrive-text-secondary);
}

a.badge:hover {
  color: var(--thrive-bg-card)\1!important;
}

.comment-avatar {
  padding-left: 15px;
}

.dropdown-user span.hidden-xs {
  /* hidden-xs has block display on summernote/summernote-bs3.css */
  display: inline-block !important;
}

.font-normal {
  font-weight: normal;
}

.truncate-ellipsis {
  display: table;
  table-layout: fixed;
  width: 65%;
  white-space: nowrap;
}
.truncate-ellipsis span {
  display: table-cell;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-template-label {
  text-align: center;
  width: 100%;
}

.ticket-template-search {
  width: 80% !important;
  margin: auto;
}

#ticket-template-table td:first-child {
  border-top: 1px solid #f1f1f5;
}

.template-row {
  padding: 8px 0;
}

.float-none {
  float: none !important;
}

.keyboard-shortcut-info-icon {
  padding: 4px 12px;
  color: var(--thrive-text-secondary);
}

#left-menu-preview .sidebar {
  top: auto;
  bottom: auto;
  position: inherit;
  width: 100%;
}
#left-menu-preview .sidebar-brand {
  display: none;
}
#left-menu-preview .sidebar-scroll {
  margin-top: 0;
  overflow-y: unset !important;
}

.client-widget-section {
  padding: 0 15px;
}

.client-dashboard-help-message {
  padding: 15px 20px 0;
}

#excel-preview-container .box-title:after {
  top: 10px;
}

.lead-migration-contacts {
  margin: 15px;
  border: 1px solid #f1f1f5;
  border-radius: 5px;
}
.lead-migration-contacts .settings-anchor {
  padding: 15px !important;
  margin: 0;
}
.lead-migration-contacts .settings-anchor::after {
  margin-top: 5px !important;
}

.lead-kanban-item a.invisible {
  padding: 5px;
  margin-top: -5px;
}
.lead-kanban-item:hover .invisible {
  visibility: visible;
}

.bill-from span {
  display: block;
}

#menu-item-list-2 .left-menu-item:hover .invisible {
  visibility: visible !important;
}
#menu-item-list-2 .invisible i {
  padding: 0 5px;
}
#menu-item-list-2 .left-menu-item:first-child:hover .invisible .make-sub-menu {
  visibility: hidden;
}

table .error {
  background-color: #ffbfbf !important;
}

.help-page-container .table {
  color: var(--thrive-text-secondary);
  --bs-table-color: $light-default-text-color;
}

.footer {
  width: 100%;
  text-align: center;
  background: var(--thrive-bg-card)\1
  display: inline-block;
  border-top: 1px solid #f1f1f5;
}
.footer a {
  padding: 10px;
}

.editable-input .editable-date {
  border-radius: 2px;
  border: 1px solid #f1f1f5;
  padding: 5px;
}
.editable-input .editable-date table tr td,
.editable-input .editable-date table tr th,
.editable-input .editable-date table tr td span {
  border-radius: 0;
}
.editable-input .editable-date .datepicker {
  width: auto;
}
.editable-input .editable-date th.prev .icon-arrow-left,
.editable-input .editable-date th.next .icon-arrow-right {
  font-style: normal;
}

.search-modal {
  padding: 8px 20px;
}
.search-modal .select2-choice {
  background-color: var(--thrive-bg-card)\1!important;
  border: 1px solid var(--thrive-bg-card)\1!important;
}
.search-modal .help-search-box {
  padding: 6px 8px;
  background: none;
  border: none;
}
.search-modal .help-search-box.searching {
  background-image: none !important;
}
.search-modal .help-search-box:focus {
  background-color: var(--thrive-bg-card)\1
  border: 1px solid var(--thrive-bg-card)\1
}

.task-view-modal-body .popover-content {
  max-width: 300px !important;
}
.task-view-modal-body .editable-container .editable-buttons {
  display: block;
  margin-left: 0;
  margin-top: 10px;
}
.task-view-modal-body .editable-container .editable-buttons .editable-submit,
.task-view-modal-body .editable-container .editable-buttons .editable-cancel {
  width: 49%;
}

.sub-task-icon {
  background: #f0f0f0;
  padding: 1px 3px;
  border-radius: 50%;
}

.task-preview {
  max-width: 1000px;
  min-width: 400px;
  margin: auto;
}

.icon-tag {
  padding: 10px 15px;
  border-radius: 5px;
  height: 40px;
  width: 44px;
}
.icon-tag:hover {
  background-color: #f5f5f5;
}

.icon-palet .active {
  background-color: #f5f5f5;
}

.badge-white {
  background-color: var(--thrive-bg-card)\1
  color: var(--thrive-text-secondary);
}

#keyboard-shortcut-modal-form .bg-white {
  padding: 4px 10px;
  color: var(--thrive-text-secondary);
  font-weight: bold !important;
  border: 1px solid #f1f1f5;
}

.profile-image-upload {
  vertical-align: top;
  margin-left: -45px;
}

.sortable-file-row {
  display: table;
}
.sortable-file-row .sortable-file {
  height: auto;
  width: 150px;
  border-radius: 5px;
}

.table-cell {
  display: table-cell;
}

.cart-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}
.cart-grid-item .cart-grid-item-image-container {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.cart-grid-item .cart-grid-item-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1;
  transition: background-color 0.5s ease-in-out;
}
.cart-grid-item .cart-grid-item-image {
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: transform 1s ease;
}
.cart-grid-item .cart-grid-item-buttons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  z-index: 9;
  width: 100%;
}
.cart-grid-item .cart-grid-rate {
  padding: 5px 10px;
  position: absolute;
  top: 0px;
  background: var(--thrive-bg-card)\1
  border-bottom-right-radius: 15px;
  cursor: default;
}
.cart-grid-item:hover .cart-grid-item-image-container .cart-grid-item-image {
  transform: scale(1.1);
}
.cart-grid-item:hover .cart-grid-item-buttons {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cart-grid-item:hover .cart-grid-item-image-container::before {
  background-color: rgba(0, 0, 0, 0.2);
}

.cart-grid-item .cart-grid-item-image .cart-grid-item-details div a,
.cart-item-details {
  display: table-cell;
  vertical-align: middle;
}
.cart-grid-item .cart-grid-item-image .cart-grid-item-details div a .item-quantity-input-box,
.cart-item-details .item-quantity-input-box {
  height: 28px;
}
.cart-grid-item .cart-grid-item-image .cart-grid-item-details div a .item-quantity-btn,
.cart-item-details .item-quantity-btn {
  margin-top: -4px;
}

.cart-item-row {
  cursor: default !important;
  display: flex;
}
.cart-item-row:hover {
  background: transparent !important;
}

.cart-item-image-container {
  height: 50px;
  width: 50px;
}
.cart-item-image-container .cart-item-image {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 100%;
  width: 100%;
  border-radius: 5px;
}

.text-wrap-ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.rise-cart-body {
  height: calc(100% - 66px);
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.init-cart-icon,
.rise-cart-wrapper {
  transition: 0.3s;
}

.cart-badge {
  top: -45px !important;
  margin-left: 8px !important;
}

.rise-cart-wrapper {
  width: 480px;
}

.cart-item-quantity-btn {
  color: #a1a3a5;
}

.process-order-preview {
  max-width: 1000px;
  min-width: 400px;
  margin: auto;
}

.event-deadline-border {
  border-right: 3px solid #f5325c !important;
}

.popover-body {
  min-width: 150px;
  padding: 15px;
}
.popover-body .select2-container {
  max-width: 200px;
}

.popover table {
  width: 100%;
}

.display-flex {
  display: flex;
}

.vertical-align-center {
  display: table-cell;
  vertical-align: middle;
}

.cart-item-quantity {
  text-align: center;
  padding: 5px 7px;
  line-height: 1;
}

.cart-item-details-container {
  width: 210px;
}
.cart-item-details-container .box {
  table-layout: auto;
}

.cart-total {
  display: block !important;
}

.fast-line {
  position: absolute;
  top: 0;
  height: 2px;
  width: 100px;
  background: #25ccce;
  border-radius: 4px;
  -webkit-animation: line 0.7s linear infinite;
  animation: line 0.7s linear infinite;
}

.typing-indicator span {
  height: 3px;
  width: 3px;
  float: right;
  margin-left: 4px;
  margin-top: 10px;
  background-color: var(--thrive-text-secondary);
  display: block;
  border-radius: 50%;
  opacity: 0.2;
}
.typing-indicator span:nth-of-type(1) {
  -webkit-animation: 1s blink infinite 0.3333s;
  animation: 1s blink infinite 0.3333s;
}
.typing-indicator span:nth-of-type(2) {
  -webkit-animation: 1s blink infinite 0.6666s;
  animation: 1s blink infinite 0.6666s;
}
.typing-indicator span:nth-of-type(3) {
  -webkit-animation: 1s blink infinite 0.9999s;
  animation: 1s blink infinite 0.9999s;
}

.move-chat-icon {
  bottom: 460px;
  right: 45%;
}

.gantt .bar-wrapper.no-drag.active .bar {
  fill: #b8c2cc !important;
}
.gantt .handle {
  fill: #f1f1f1 !important;
}
.gantt .today-highlight {
  fill: #dce0ff !important;
}
.gantt .weekends-highlight {
  opacity: 0.5;
  fill: #e3f1ff !important;
}
.gantt .bar,
.gantt .handle,
.gantt .path-line {
  transition: 0.2s !important;
}
.gantt .parent-group-arrow,
.gantt .regular-arrow,
.gantt .parent-task-arrow {
  stroke: transparent;
}
.gantt .gt-blocked-task:not(.gt-group-task) {
  stroke: #999;
}
.gantt .parent-task-icon {
  fill: #000;
}
.gantt .child-task-icon {
  fill: var(--thrive-bg-card)\1
}

.gantt-container .gantt-task-popup {
  min-width: 180px;
  padding: 10px;
  font-size: 1em;
}
.gantt-container .popup-wrapper {
  box-shadow: -3px 7px 15px rgba(0, 0, 0, 0.1) !important;
}

.gantt-status-filter .mr15,
.gantt-status-filter .DTTT_container,
.gantt-status-filter .btn {
  margin: 0 !important;
}
.gantt-status-filter .DTTT_container {
  float: none !important;
}

.item-rate-badge {
  background-color: #AD159E;
}

.edit-image-file {
  height: 70px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 5px;
  border: 1px solid #f1f1f5;
}
.edit-image-file .delete-saved-file {
  top: 7px;
  left: 78px;
  min-width: 25px;
  padding: 3px 4px;
  display: none;
}
.edit-image-file .copy-file-link {
  top: 41px;
  left: 42px;
  min-width: 25px;
  padding: 3px 4px;
  display: none;
}
.edit-image-file:hover .delete-saved-file,
.edit-image-file:hover .copy-file-link {
  display: unset;
}

.move-cart-icon {
  bottom: 460px;
  right: 42.5% !important;
}

.task-view-right-section {
  padding-left: 35px;
}

.no-outline {
  outline: none;
}

.hidden-input-file {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.item-search-box {
  border: 1px solid #f1f1f5;
}

.profile-image-direct-upload {
  margin-top: 35px;
  margin-left: -5px;
}

/*chart*/
.chart-circle {
  width: 130px;
  background: var(--thrive-bg-card)\1
  border-radius: 50%;
  height: 130px;
  padding: 10px;
  margin: 0 auto;
}
.chart-circle canvas {
  width: 110px !important;
  height: 110px !important;
  text-align: center;
  align-items: center;
  align-self: center;
  display: inline-block !important;
}

/*settings*/
.settings {
  border-bottom: none;
}
.settings .settings-anchor {
  font-size: 1.15em;
  padding: 10px 0;
  cursor: pointer;
}
.settings .settings-anchor:first-child {
  padding-bottom: 15px;
  padding-top: 0px;
}
.settings .settings-anchor:not(.collapsed):not(.hide-collapse)::after {
  content: " ";
  border: solid;
  border-width: 0 0.075rem 0.075rem 0;
  display: inline-block;
  padding: 2px;
  transform: rotate(-135deg);
  float: right;
  margin-top: 10px;
  transition: all 0.2s ease-out;
}
.settings .settings-anchor:not(.hide-collapse):after {
  content: " ";
  border: solid;
  border-width: 0 0.075rem 0.075rem 0;
  display: inline-block;
  padding: 2px;
  transition: all 0.2s ease-out;
  transform: rotate(45deg);
  float: right;
  margin-top: 10px;
}
.settings.nav-tabs {
  border: none;
}

.help-catagory.list-group .list-group-item {
  border-radius: 0 !important;
  border: none !important;
  background: transparent;
  color: var(--thrive-text-secondary);
}
.help-catagory.list-group .list-group-item:hover, .help-catagory.list-group .list-group-item.active {
  border-left: 2px solid var(--thrive-text-secondary) !important;
  text-indent: -2px;
  background: rgba(0, 0, 0, 0.02);
}

.nav-tabs.vertical {
  background-color: transparent;
}
.nav-tabs.vertical li {
  float: none;
}

.no-bg {
  background: unset !important;
}

/*loader*/
.circle-loader {
  margin: 10px auto;
  width: 80px;
  height: 80px;
  border-radius: 40px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: solid 2px rgba(220, 230, 235, 0.5);
  border-top-color: #156EF6;
  animation: spin 1s infinite linear;
  -webkit-animation: spin 1s infinite linear;
}

.app-loader {
  width: 90px;
  height: 90px;
  margin: 30px auto;
  position: absolute;
  bottom: 45px;
  right: 5px;
  padding: 10px;
  border-radius: 50%;
  background: transparent;
}
.app-loader .loading {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: solid 2px #156EF6;
  border-top-color: var(--thrive-bg-card)\1
  animation: spin 1s infinite linear;
  -webkit-animation: spin 1s infinite linear;
  display: inline-block;
}

.table-loader .loading {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: solid 2px #156EF6;
  border-top-color: var(--thrive-bg-card)\1
  animation: spin 1s infinite linear;
  -webkit-animation: spin 1s infinite linear;
  display: inline-block;
}

#pre-loader .app-loader {
  bottom: 45%;
  right: 56%;
}

.ani-width {
  transition: width 50ms;
}

.ani-rotate-180:hover {
  transform: rotate(180deg);
  transition: all 300ms ease-out 0ms;
}

.inline-loader {
  width: 20px;
  height: 20px;
  border-radius: 50% !important;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: solid 2px #156EF6 !important;
  border-top-color: var(--thrive-bg-card)\1!important;
  animation: spin 1s infinite linear;
  -webkit-animation: spin 1s infinite linear;
  display: inline-block;
  padding: 0 !important;
  align-self: center;
}
.inline-loader:hover {
  background-color: var(--thrive-bg-card)\1!important;
}

.loader-container.inline-loader {
  width: 20px !important;
  height: 20px !important;
  display: block;
  margin: 0 auto;
}
.loader-container.inline-loader:hover {
  background-color: var(--thrive-bg-card)\1!important;
}

.inline-block {
  display: inline-block;
}

.block {
  display: block;
}

.form-control-sm {
  font-size: 1em;
}

input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  display: none;
}

.icon-fill-secondary {
  fill: #595D6E;
}

.icon-fill-warning {
  fill: #ffb822;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.custom-modal-lg {
  max-width: 900px;
  transition: all 300ms ease !important;
}
@media (max-width: 991px) {
  .custom-modal-lg {
    max-width: 500px;
    margin: auto;
  }
}

.import-client-app-modal .modal-dialog {
  transition: 500ms ease !important;
}

/*scroll bar*/
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}

::-webkit-scrollbar-thumb {
  background: rgba(128, 128, 128, 0.3019607843);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 128, 128, 0.4);
}

::-webkit-scrollbar-thumb:active {
  background: rgba(128, 128, 128, 0.4);
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(128, 128, 128, 0.3);
}
.sidebar-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 128, 128, 0.4);
}
.sidebar-scroll::-webkit-scrollbar-thumb:active {
  background: rgba(128, 128, 128, 0.4);
}

.progress-bar-success {
  background-color: #0abb87;
}

.comment-container .estimate-comment-dropdown,
.comment-container .proposal-comment-dropdown {
  display: none;
}
.comment-container:hover .estimate-comment-dropdown,
.comment-container:hover .proposal-comment-dropdown {
  display: block !important;
}

.sidebar-toggled #pre-loader .app-loader {
  right: 50%;
}

.bg-all-white {
  background-color: var(--thrive-bg-card)\1!important;
}

.contract-preview-container {
  padding: 100px;
}
.contract-preview-container .note-editor.note-frame,
.contract-preview-container .note-editor.note-airframe {
  border: none;
}

.signature-image {
  width: 100%;
}

.comment-highlight {
  border: 2px solid #156EF6 !important;
  border-radius: 5px;
}
.comment-highlight .comment-container {
  margin-bottom: 0 !important;
  border-bottom: none !important;
}

.bg-all-white {
  background-color: var(--thrive-bg-card)\1!important;
}

.proposal-preview-container {
  padding: 100px;
}
.proposal-preview-container .note-editor.note-frame,
.proposal-preview-container .note-editor.note-airframe {
  border: none;
}

.note-background {
  background-color: #FEFFCE !important;
}

.popover {
  max-width: 580px !important;
}

.popover-arrow {
  display: none !important;
}

input[type=color] {
  width: 200px;
  height: 22px;
  padding: 5px;
  border: 1px solid #f1f1f5;
  border-radius: 2px;
}

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

.invoice-payment-button .btn {
  margin-bottom: 15px;
}

.sub-task-filter-kanban-active,
.sub-task-filter-active {
  background-color: #156EF6;
  color: var(--thrive-bg-card)\1
  padding: 1px 2px;
  border-radius: 5px;
}

.sub-task-filter-kanban-active {
  padding: 0 2px;
}

.brand-logo img {
  max-width: 250px;
  max-height: 40px;
}

.bg-transparent-white {
  background: rgba(255, 255, 255, 0.9215686275) !important;
  padding: 0 5px;
  border-radius: 10px;
}

.priority-badge {
  color: var(--thrive-bg-card)\1!important;
  display: inline-block;
  height: 22px;
  width: 22px;
  text-align: center;
  padding: 0 !important;
}

.input-color {
  width: 50px !important;
  height: 15px !important;
  padding: 0 !important;
  border: none !important;
}
.input-color.active {
  overflow: hidden;
  border-radius: 20px !important;
}

input[type=color]::-webkit-color-swatch {
  border: none;
}

.project-overview-widget {
  padding: 40px 25px 45px;
}
.project-overview-widget .progress-outline {
  border: 2px solid #39B691;
  border-radius: 25px;
  padding: 5px;
}
.project-overview-widget .progress-outline .progress {
  margin: auto;
  border-radius: 25px;
  background-color: transparent;
  height: 22px;
}
.project-overview-widget .progress-outline .progress .progress-bar {
  background-color: rgba(19, 174, 130, 0.4) !important;
  font-size: 14px;
}

.reminder-modal .modal-dialog {
  max-width: 430px;
  margin: 0 0 auto auto;
}
.reminder-modal .modal-header {
  padding-top: 20px;
  padding-bottom: 20px;
}
.reminder-modal .modal-content {
  border-radius: 0;
}

.max-logo-size {
  max-width: 300px;
  max-height: 100px;
}

.circle-progress {
  position: relative;
  margin: 20px 15px 0 0;
  float: left;
  text-align: center;
}

.circle-progress-overflow {
  position: relative;
  overflow: hidden;
  width: 80px;
  height: 40px;
  margin-bottom: -15px;
}

.circle-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 5px solid #f1f1f5;
}

.missed-reminder {
  border-left: 2px solid #f5325c;
  display: inline-block;
  padding-left: 10px;
  border-radius: 10px;
}

.bottom-15 {
  bottom: 15px !important;
}

.b-r-2 {
  border-right: 2px solid #f1f1f5;
}

.widget-progress-bar {
  height: 7px;
  margin-top: 6px;
}

.bottom-25 {
  bottom: 25px !important;
}

.message-send-button {
  padding: 8px !important;
}
.message-send-button svg {
  transform: rotate(45deg);
  margin-right: 5px;
}

.btn-group .btn.active {
  border-color: #f1f1f5 !important;
  background-color: #f1f1f5;
}
.btn-group.filter,
.btn-group #dynamic-range-dropdown {
  height: 35px;
}

.email-template-form .modal-body {
  padding: 1rem;
}

.widget-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.avatar-group {
  display: flex;
  align-items: center;
  padding: 5px 20px 25px;
}
.avatar-group .user-avatar {
  position: relative;
  z-index: 0;
  margin-left: -10px;
  border: 2px solid var(--thrive-bg-card)\1
  transition: all 0.3s ease;
  cursor: pointer;
}
.avatar-group .user-avatar:first-child {
  margin-left: 0;
}
.avatar-group .user-avatar.avatar-circle {
  border-radius: 50%;
}
.avatar-group .user-avatar.avatar-30 img {
  width: 100%;
  max-width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
}
.avatar-group .user-avatar:hover {
  z-index: 1;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

#all-timesheet-users-summary {
  height: 67px;
}

/*pills tab*/
.nav-pills {
  background: var(--thrive-bg-card)\1
  border-radius: 5px;
  border: 1px solid #f1f1f5 !important;
}
.nav-pills li {
  float: left;
  margin: 10px 0 10px 10px;
}
.nav-pills li a {
  padding: 10px 20px;
  margin-right: 0;
  border-radius: 5px;
  color: inherit;
  line-height: 1.42857143;
}
.nav-pills li .active, .nav-pills li.active {
  font-weight: bold;
  border: none;
  background: #f9f9f9 !important;
  color: #20446f !important;
  cursor: default;
}
.nav-pills li .active:focus, .nav-pills li.active:focus {
  outline: none;
}

.custom-bg-modal.modal-dialog {
  background: #f9f9f9;
}
.custom-bg-modal.modal-dialog .modal-content {
  background: #f9f9f9;
  height: auto;
  box-shadow: none;
}
.custom-bg-modal.modal-dialog .modal-content .modal-header,
.custom-bg-modal.modal-dialog .modal-content .modal-footer {
  border-color: rgba(212, 217, 231, 0.3607843137);
}

table.dataTable tbody td.reminder-title-section {
  padding-left: 0 !important;
}
table.dataTable tbody td.reminder-option-section {
  padding-right: 0 !important;
}
table.dataTable.js-selection-mode .batch-operation-selected td {
  background-color: rgba(0, 75, 255, 0.1411764706) !important;
}
table.dataTable.js-selection-mode .batch-operation-selected td:hover {
  background: rgba(0, 75, 255, 0.1411764706) !important;
}
table.dataTable.js-selection-mode tbody tr {
  cursor: pointer;
}
table.dataTable.js-selection-mode .badge.clickable {
  cursor: default;
}

.filter-section-container {
  padding: 10px 15px;
}

.filter-section-flex-row {
  display: flex;
}

.filter-section-left {
  flex: 1;
}

.filter-section-right {
  flex: 0 0 auto;
  text-align: right;
}

.filter-item-box {
  display: inline-block;
  margin: 5px;
}

.filter-form {
  border-top: 1px solid #f1f1f5;
  padding-top: 10px;
  margin-top: 10px;
}

.smart-filter-list-group {
  list-style-type: none;
  border-radius: 0;
}

.smart-filter-dropdown-container .search-filter {
  margin: 0 10px 10px 10px;
  width: 280px;
  border-color: #f1f1f5;
}
.smart-filter-dropdown-container .smart-filter-dropdown {
  min-width: 200px;
}

.smart-filter-item.active:hover, .smart-filter-item.active:focus {
  color: var(--thrive-bg-card)\1
}

.dropdown-divider {
  border-color: var(--thrive-border-primary) !important;
}

.public-page-container #pre-loader .app-loader {
  right: 49%;
}

.navbar-toggler {
  border: none !important;
}
.navbar-toggler:focus {
  box-shadow: none !important;
}

.access-list {
  padding-bottom: 15px;
}
.access-list .list-group-item {
  padding: 10px 10px 0px 10px;
}

#folder-context-menu {
  display: none;
}

#file-manager-container {
  min-height: 200px;
}

.files-and-folders-list {
  list-style-type: none;
  padding: 0;
}

.folder-thumb-area,
file-thumb-area {
  display: inline-block;
}

.selected-folder-item {
  background: #f9f9f9;
}

.folder-item-content {
  padding: 10px;
  display: inline-block;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  margin-bottom: 2px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -ms-user-select: none;
}
.folder-item-content:hover {
  background: #f5f5f5;
  -webkit-transition: color 100ms ease-in-out, background-color 100ms ease-in-out;
  transition: color 100ms ease-in-out, background-color 100ms ease-in-out;
}
.folder-item-content.focus {
  background-color: #f5f5f5;
}

.icon-wrapper {
  margin-top: 2px;
}

.bold-folder-icon {
  color: #FFCE6A;
  fill: #FFCE6A;
}

.bold-file-icon {
  color: #7FB6FF;
  fill: #7FB6FF;
}

.files-icon {
  position: relative;
  left: 88px;
  top: 70px;
}

.no-file-selected {
  background-color: rgba(0, 0, 0, 0.01);
  height: 250px;
  width: 250px;
  border-radius: 50%;
  margin: 50% auto;
}

.no-file-selected-icon {
  height: 80px;
  width: 80px;
  opacity: 0.2;
}

.no-file-selected-text {
  position: absolute;
  left: -70px;
  margin-top: 10px;
}

.file-manager-preview-section {
  margin: 10px 0 25px;
}
.file-manager-preview-section img {
  max-width: 100%;
  border-radius: 4px;
}
.file-manager-preview-section video {
  border-radius: 4px;
}

.file-manager {
  padding: 0 55px;
}
.file-manager .file-manager-anchor {
  cursor: pointer;
}
.file-manager .file-manager-anchor:not(.collapsed)::after {
  content: " ";
  border: solid;
  border-width: 0 0.075rem 0.075rem 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  float: left;
  margin-top: 5px;
  margin-left: -20px;
  transition: all 0.2s ease-out;
}
.file-manager .file-manager-anchor:after {
  content: " ";
  border: solid;
  border-width: 0 0.075rem 0.075rem 0;
  display: inline-block;
  padding: 3px;
  transition: all 0.2s ease-out;
  transform: rotate(-45deg);
  float: left;
  margin-top: 6px;
  margin-left: -20px;
}
.file-manager .sub-folder {
  margin-bottom: 0;
}
.file-manager .folder-list {
  cursor: pointer;
  padding: 5px;
}
.file-manager .select-folder-for-move.active {
  color: #f5325c;
}

.record-start-btn {
  padding: 6px 9px;
  border-radius: 50%;
}

.record-end-btn {
  padding: 11px;
  border-radius: 50%;
}

.stop-recording {
  width: 12px;
  height: 12px;
  background: #fd1361;
  border-radius: 2px;
}

.recording-text {
  animation: recording-animation 1s infinite;
}

@keyframes recording-animation {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}
.audio-container {
  position: absolute;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50px;
  top: 22px;
  margin-left: 20px;
}
.audio-container audio {
  position: relative;
  top: -7px;
  left: -6px;
}

.audio-preview .preview {
  width: 80px !important;
  margin-right: 5px;
}
.audio-preview .preview .upload-thumbnail-sm {
  background: none;
}

.audio {
  display: block;
  margin: 15px 0;
}

.file-highlight {
  border: 1px solid #e38d15;
  border-radius: 27px;
  animation: filescale 1s alternate ease-in;
}

@keyframes filescale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.saved-file-item-container .audio-container {
  top: 15px;
  margin-left: 37px;
}
.saved-file-item-container.saved-recording-file .edit-image-file {
  background-color: #c6ccd2;
}

.file-list-view {
  cursor: pointer;
  min-width: 28px;
  background: var(--thrive-bg-card)\1
  color: #a1a3a5;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  text-align: center;
  margin: 5px;
  padding: 2.5px 0 2.5px 0;
  border: 1px solid #f1f1f5;
}
.file-list-view.file-download:hover {
  background: #f5325c !important;
  color: var(--thrive-bg-card)\1!important;
  border: 1px solid #f5325c !important;
}
.file-list-view:hover {
  background: #0abb87 !important;
  color: var(--thrive-bg-card)\1!important;
  border: 1px solid #0abb87 !important;
}

.other-saved-file-container {
  top: 13px;
  margin-left: 35px;
  border: 1px solid #f1f3f4;
  background: #f1f3f4;
  padding: 10px 9px;
  border-radius: 50%;
  position: absolute;
}

.saved-file-info {
  position: absolute;
  width: 45px;
  background: #7988a2;
  border-top-left-radius: 4px;
  border-bottom-right-radius: 10px;
  top: 6px;
  color: var(--thrive-bg-card)\1
  z-index: 1;
  line-height: 20px;
  text-align: center;
}

.file-manager-preview-section .text-white {
  color: var(--thrive-text-secondary) !important;
  text-align: center;
  border: 1px solid #f1f1f5;
  border-radius: 5px;
  padding: 15px;
}
.file-manager-preview-section .text-white a {
  display: block;
  padding-top: 10px;
}

.file-manager-more-menu {
  position: absolute;
  right: 26px;
  margin-top: 13px;
  border: 1px solid rgba(221, 230, 233, 0.48);
  padding: 7px 8px;
  border-radius: 50%;
  display: none;
}

#file-manager-items-box {
  padding-right: 15px;
}

.file-manager-details-box {
  display: block !important;
  width: 100%;
}

.profile-image-upload.file-upload {
  position: absolute;
}

.ptb20 {
  padding: 20px 0;
}

.sticky-details-section.stick {
  position: fixed;
  top: 85px;
}

#expense-tabs.nav-pills {
  background-color: #f0f0f0;
}

.contract-preview,
.proposal-preview {
  max-width: 900px;
  min-width: 400px;
  margin: auto;
}
.contract-preview table,
.proposal-preview table {
  width: 100%;
  margin-top: 40px;
}
.contract-preview td,
.contract-preview th,
.proposal-preview td,
.proposal-preview th {
  padding: 10px;
}
.contract-preview .signature-image,
.proposal-preview .signature-image {
  width: auto !important;
}

#invoice-list-table_wrapper .input-group {
  display: inline-block;
}
#invoice-list-table_wrapper .input-group .form-control {
  height: 35px;
}

.mobile-bottom-menu {
  z-index: 99;
  box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
  will-change: transform;
  -webkit-transform: translate3d(0, 0, 0);
  touch-action: manipulation;
  overscroll-behavior: contain;
}
.mobile-bottom-menu .menu-item {
  padding: 21px 20px 40px;
  color: var(--thrive-text-secondary);
  pointer-events: auto;
}
.mobile-bottom-menu .menu-item:hover .icon, .mobile-bottom-menu .menu-item.active .icon, .mobile-bottom-menu .menu-item.focus .icon {
  color: var(--thrive-text-white);
  transform: scale(1.1);
  transition: all 0.2s ease-in-out;
}
.mobile-bottom-menu .menu-item svg {
  pointer-events: auto;
}
.mobile-bottom-menu .quick-add-dropdown,
.mobile-bottom-menu .mobile-function-button-dropdown {
  width: 100%;
  position: fixed !important;
  transform: unset !important;
  inset: auto !important;
  bottom: 84px !important;
  left: 0 !important;
  right: 0 !important;
}
.mobile-bottom-menu #mobile-function-button .dropdown .dropdown-toggle {
  padding: 21px 20px 40px;
}
.mobile-bottom-menu #mobile-function-button .home-btn {
  padding: 21px 20px 40px;
}
.mobile-bottom-menu #mobile-function-button:hover .icon, .mobile-bottom-menu #mobile-function-button.active .icon, .mobile-bottom-menu #mobile-function-button.focus .icon {
  color: var(--thrive-text-white)\1!important;
  transform: scale(1.1);
  transition: all 0.2s ease-in-out;
}

.dropdown-toggle::after {
  margin-left: 0.45em;
}

.smart-filter-dropdown.dropdown-toggle::after {
  margin-left: 0.45em;
}

.message-dropdown .card,
.notification-dropdown .card {
  border: none;
}

#generate_password {
  margin-left: 0;
  border: 1px solid #f1f1f5;
  background-color: var(--thrive-bg-card)\1
}

.global-search-modal .modal-content {
  border-radius: 40px !important;
}

.sidebar-scroll::-webkit-scrollbar {
  width: 0px !important;
}

.btn-transparent:hover {
  color: var(--thrive-text-secondary);
}

.no-box-shadow {
  box-shadow: none !important;
}

::placeholder {
  color: #999999 !important;
  opacity: 1;
}

::-ms-input-placeholder {
  color: #999999 !important;
}

.dt-print-view tfoot tr:first-child {
  display: none;
}

@media print {
  .dt-print-view tfoot {
    display: table-row-group;
  }
}
.highlight-toolbar {
  background-color: #f9f9f9;
  padding: 5px 20px;
  border-radius: 0 15px 15px 0;
  margin-left: -15px;
}

#proposal-editor .card,
#contract-editor .card {
  box-shadow: none !important;
}

.selection-handler-dropdown-btn.active {
  background-color: #156EF6 !important;
  color: var(--thrive-bg-card)\1
  cursor: pointer;
}
.selection-handler-dropdown-btn.active:active, .selection-handler-dropdown-btn.active:focus {
  background-color: #4076f2 !important;
  color: var(--thrive-bg-card)\1
}

#load-kanban.js-selection-mode .kanban-item {
  cursor: pointer;
}
#load-kanban.js-selection-mode .kanban-item.batch-operation-selected {
  background-color: rgba(0, 75, 255, 0.1411764706) !important;
}

.cursor-default {
  cursor: default;
}

.notes-grid-container .card {
  border: 0 !important;
  height: 265px;
}
.notes-grid-container .file-list-view {
  border: 1px solid rgba(69, 69, 69, 0.1215686275) !important;
  background: none;
}
.notes-grid-container .file-list-view:first-child {
  margin-left: 0 !important;
}
.notes-grid-container .badge.clickable {
  cursor: auto !important;
}

.notes-grid-text-ellipsis {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.notes-grid-text-ellipsis button {
  display: none;
}

.webkit-line-clamp-8 {
  -webkit-line-clamp: 8;
}

.webkit-line-clamp-7 {
  -webkit-line-clamp: 7;
}

.webkit-line-clamp-6 {
  -webkit-line-clamp: 6;
}

.webkit-line-clamp-5 {
  -webkit-line-clamp: 5;
}

.webkit-line-clamp-4 {
  -webkit-line-clamp: 4;
}

.webkit-line-clamp-3 {
  -webkit-line-clamp: 3;
}

.webkit-line-clamp-2 {
  -webkit-line-clamp: 2;
}

.note-color-tag {
  height: 10px;
  width: 10px;
  display: inline-block;
  border-radius: 5px;
  margin-right: 5px;
}

.note-grid-card .file-list-view {
  margin: 5px 10px 0 0;
}

.empty-input-tag {
  background-color: rgba(255, 220, 220, 0.5882352941) !important;
}

.automation-form .badge {
  padding: 5px 10px;
  border-radius: 12px;
}
.automation-form .badge:hover {
  color: var(--thrive-text-secondary) !important;
}

.white-space-normal {
  white-space: normal;
}

.condition-field-expected_value_1:not(.empty-input-tag, .single-input-tag) {
  margin-right: 0 !important;
  padding: 2px !important;
  border: 1px dashed #f1f1f5;
  background-color: var(--thrive-bg-card)\1!important;
}
.condition-field-expected_value_1:not(.empty-input-tag, .single-input-tag).badge {
  white-space: normal;
}
.condition-field-expected_value_1:not(.empty-input-tag, .single-input-tag) .badge {
  line-height: 20px;
  margin: 2px !important;
  padding: 2px 10px !important;
}

.condition-field-expected_value_1.single-input-tag {
  white-space: normal;
}

.condition-type-container {
  margin-top: 5px;
  min-width: 50px;
}

.blank-operator-container {
  margin-top: 5px;
}

.rich-text-container table td {
  border: 1px solid #f1f1f5;
  padding: 5px;
}

.sortable-items.sortable .update-checklist-item-status-checkbox {
  display: none;
}
.sortable-items.sortable .item-sort-icon {
  display: block !important;
}
.sortable-items.sortable .move-icon-checked {
  color: #0abb87 !important;
  opacity: 1;
}
.sortable-items .list-group-item:last-child {
  margin-bottom: 10px;
}

.details-view-status-section span.badge {
  margin-right: 5px;
}
.details-view-status-section span.badge svg {
  margin-right: 5px;
  margin-top: -2px;
}

.support-type-label {
  border: 1px solid #f1f1f5;
  border-radius: 20px;
  padding: 10px;
  text-align: center;
}

.list-group.info-list .list-group-item {
  border-top: 1px solid #f1f1f5;
  padding: 10px 0;
}
.list-group.info-list .list-group-item:first-child {
  border-top: none;
  padding-top: 0;
}
.list-group.info-list .list-group-item:last-child {
  padding-bottom: 0;
}

.pin-comment-preview:not(:last-child) {
  display: block;
  border-bottom: 1px solid #f1f1f5;
  margin-bottom: 8px;
}
.pin-comment-preview:not(:last-child):nth-last-of-type(1) {
  border-bottom: none;
  margin-bottom: 0;
}

.list-status-border {
  border-left: 3px solid !important;
}

.box-wrapper {
  display: flex;
}
.box-wrapper .box-avatar {
  flex-shrink: 0;
  display: grid;
  align-items: center;
  margin-right: 10px;
}
.box-wrapper .box-avatar.hover {
  position: relative;
}
.box-wrapper .box-avatar.hover::after {
  content: "";
  background: url("../images/plus.png") no-repeat center center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--thrive-text-secondary);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border: 1px solid #f1f1f5;
  box-shadow: 0 0 0.2em #444;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background-color: var(--thrive-bg-card)\1!important;
}
.box-wrapper .box-avatar.hover:hover::after {
  opacity: 1;
}
.box-wrapper .box-label {
  width: 100%;
  display: grid;
  align-items: center;
}
.box-wrapper .box-label .badge,
.box-wrapper .box-label .circle-badge {
  margin: 5px 5px 0 0 !important;
}
.box-wrapper .box-label .badge.badge-default,
.box-wrapper .box-label .circle-badge.badge-default {
  margin: 0 !important;
}

.dt-hasChild .box-wrapper .box-avatar.hover::after {
  background: url("../images/minus.png") no-repeat center center;
}

.add-reminder-btn {
  display: inline-block;
  margin-bottom: 15px;
}

.reminders-card .card-body {
  padding-bottom: 0;
}

.form-switch {
  padding-left: 0 !important;
}
.form-switch .form-check-input {
  margin-left: 0 !important;
}

.form-check-input:checked {
  background-color: #156EF6 !important;
  border-color: #156EF6 !important;
}

#pwa-install-message-iphone {
  display: none;
  position: fixed;
  background-color: #156EF6;
  color: var(--thrive-bg-card)\1
  height: 100%;
  top: 0;
  padding: 100px 30px;
  z-index: 1032;
}
#pwa-install-message-iphone h4 {
  font-weight: bold;
}
#pwa-install-message-iphone .install-message {
  margin-top: 20px;
  margin-bottom: 20px;
}

.mobile-mirror {
  width: 350px;
}
.mobile-mirror .nav-tabs {
  border-radius: 0 !important;
}
.mobile-mirror .card {
  border-left: none !important;
}
.mobile-mirror .hidden-xs {
  display: none;
}
.mobile-mirror .more-options-btn,
.mobile-mirror .back-btn {
  padding: 18px;
}
.mobile-mirror .filter-section-left .filter-item-box.smart-filter-dropdown-box {
  display: inline-block !important;
  width: 80%;
}
.mobile-mirror .filter-section-left .filter-item-box.smart-filter-dropdown-box .smart-filter-dropdown-container .smart-filter-dropdown {
  width: 100% !important;
  text-align: left;
}
.mobile-mirror .filter-section-left .filter-item-box.smart-filter-dropdown-box .smart-filter-dropdown-container .smart-filter-dropdown::after {
  position: absolute;
  right: 12px;
  margin-top: 9px;
}
.mobile-mirror .filter-section-left .filter-item-box.show-hide-filter-button-box {
  float: right !important;
}
.mobile-mirror .filter-section-left .scrollable-container {
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: inherit;
  white-space: nowrap;
  width: 100%;
}
.mobile-mirror .filter-section-left .scrollable-container::-webkit-scrollbar {
  height: 6px;
}
.mobile-mirror .filter-section-left .scrollable-container::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 128, 128, 0.4);
}
.mobile-mirror .filter-section-left .scrollable-container::-webkit-scrollbar-thumb:active {
  background: rgba(128, 128, 128, 0.4);
}
.mobile-mirror .filter-section-left .scrollable-container::-webkit-scrollbar-thumb {
  background: #f1f1f5;
}
.mobile-mirror .filter-section-right .filter-item-box {
  width: 100%;
  padding-right: 10px;
}
.mobile-mirror .filter-section-right .filter-item-box .dt-search {
  width: 100%;
  margin-bottom: 0;
}
.mobile-mirror .filter-section-right .filter-item-box .dt-search input.form-control {
  width: 100% !important;
  margin-left: 0;
}
.mobile-mirror .filter-form .filter-item-box {
  display: block !important;
  margin: 10px 0 !important;
}
.mobile-mirror .filter-form .filter-item-box .select2-container,
.mobile-mirror .filter-form .filter-item-box .datepicker-custom-selector {
  width: 100% !important;
}
.mobile-mirror .filter-form .filter-item-box .filter-multi-select {
  width: 100% !important;
}
.mobile-mirror .filter-form .filter-item-box .filter-multi-select .dropdown-toggle {
  width: 100% !important;
}
.mobile-mirror .filter-form .filter-item-box.btn-group {
  display: flex !important;
}
.mobile-mirror .filter-form .filter-item-box .btn-group {
  width: 100%;
}
.mobile-mirror .filter-form .filter-item-box .btn-group .dynamic-range-filter {
  width: 100%;
}
.mobile-mirror .filter-form .filter-item-box .btn-group .dynamic-range-filter .dropdown-toggle {
  width: 100%;
}
.mobile-mirror .filter-form .filter-item-box .btn-group.filter {
  width: 100% !important;
}
.mobile-mirror .filter-form .filter-item-box.save-filter-box {
  width: 48% !important;
  margin-right: 12px !important;
}
.mobile-mirror .filter-form .filter-item-box.save-filter-box .btn {
  width: 100% !important;
}
.mobile-mirror .filter-form .filter-item-box.filter-cancel-box {
  width: 48% !important;
  margin: 0 !important;
}
.mobile-mirror .filter-form .filter-item-box.filter-cancel-box .btn {
  width: 100% !important;
}
.mobile-mirror .filter-form .save-filter-box,
.mobile-mirror .filter-form .filter-cancel-box {
  display: inline-block !important;
  width: unset !important;
  margin: 0 5px 0 0 !important;
}
.mobile-mirror .more-options-btn .dropdown-menu {
  border-radius: 5px;
}
.mobile-mirror .more-options-btn .dropdown-menu .btn-default {
  border: none !important;
}
.mobile-mirror .datatable-tools .datatable-export .dt-buttons {
  margin-top: -5px;
  margin-bottom: 0 !important;
}
.mobile-mirror .datatable-tools .col-md-3 {
  border-bottom: 1px solid #f1f1f5;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.mobile-mirror .datatable-tools .dt-info {
  padding-top: 5px !important;
}
.mobile-mirror .datatable-tools .dt-paging ul.pagination {
  justify-content: center !important;
}
.mobile-mirror table.dataTable tbody td {
  padding: 0 !important;
}
.mobile-mirror table.dataTable tbody td .box-wrapper .box-label {
  padding: 10px;
}
.mobile-mirror table.dataTable tbody tr.child td.child {
  padding: 12px 10px !important;
}
.mobile-mirror table.dataTable.no-title thead th {
  display: none;
}

.details-view-right-section {
  width: 350px;
  margin-left: 20px;
}

.back-action-btn {
  display: block;
  padding: 10px 10px 10px 5px;
  color: var(--thrive-text-secondary);
  font-weight: bold;
}

.compact-view-active.sidebar-toggled .sidebar .sidebar-brand {
  width: 70px;
}
.compact-view-active.sidebar-toggled .navbar {
  left: 70px;
}
.compact-view-active.sidebar-toggled .compact-view-left-panel {
  left: 70px;
}
.compact-view-active.sidebar-toggled #compact-details-page {
  margin-left: 420px;
}
.compact-view-active .navbar {
  left: 350px;
}
.compact-view-active .sidebar {
  width: 0;
}
.compact-view-active .sidebar .sidebar-brand {
  width: 350px;
}
.compact-view-active .page-container {
  margin-left: 0;
}
.compact-view-active .filter-section-flex-row {
  display: block;
}
.compact-view-active .modal .filter-section-flex-row {
  display: flex;
}
.compact-view-active .datatable-export {
  display: none;
}
.compact-view-active .dt-info {
  float: right !important;
}
.compact-view-active .compact-view-left-panel {
  position: fixed;
  left: 0;
  z-index: 1000;
  height: calc(100vh - 66px);
}
.compact-view-active .compact-view-left-panel .scrollable-table {
  height: calc(100vh - 185px);
  overflow-y: auto;
}
.compact-view-active .compact-view-left-panel .xs-no-bottom-margin {
  margin-bottom: 0 !important;
}
.compact-view-active .compact-view-left-panel .datatable-tools {
  position: fixed;
  bottom: 0;
  background: var(--thrive-bg-card)\1
  padding: 10px;
  width: 350px;
  margin: 0 !important;
  border: 1px solid #f1f1f5;
}
.compact-view-active .compact-view-left-panel .datatable-tools .col-md-12:first-child {
  display: none;
}
.compact-view-active .compact-view-left-panel .datatable-tools .dt-paging .dt-paging-button .page-link {
  padding: 7px 10px !important;
}
.compact-view-active .compact-view-left-panel .datatable-tools .dt-paging .dt-paging-button .page-link.ellipsis, .compact-view-active .compact-view-left-panel .datatable-tools .dt-paging .dt-paging-button .page-link.previous, .compact-view-active .compact-view-left-panel .datatable-tools .dt-paging .dt-paging-button .page-link.next {
  padding: 7px 8px !important;
}
.compact-view-active .compact-view-left-panel .nav-tabs li a::after {
  height: 0 !important;
}
.compact-view-active .compact-view-left-panel .nav-tabs li a.active {
  cursor: pointer;
}
.compact-view-active .compact-view-left-panel .nav-tabs li a .compact-view-back-btn {
  margin-right: 5px;
}
.compact-view-active #compact-details-page {
  margin-left: 350px;
}
.compact-view-active .dataTable:not(.js-selection-mode) tbody tr.active td a,
.compact-view-active .dataTable:not(.js-selection-mode) tbody tr.active td .text-default {
  color: var(--thrive-bg-card)\1!important;
}
.compact-view-active .dt-container .dataTables_paginate .paginate_button a {
  padding: 8px 10px;
}
.compact-view-active .dt-container .dataTables_paginate .paginate_button.disabled:not(:first-child):not(:last-child) a {
  padding: 8px 0 !important;
}
.compact-view-active .bookmarked-filter-button-container {
  display: block !important;
}
.compact-view-active .hide-on-compact-view {
  display: none;
}

.hide-status-checkbox .checkbox-blank,
.hide-status-checkbox .checkbox-checked {
  display: none;
}

.text-muted {
  color: var(--thrive-text-secondary) !important;
}

.app-modal-open .hide-under-modal {
  display: none;
}

.js-cookie-button.collapsed svg {
  transform: rotate(90deg);
}
.js-cookie-button svg {
  transition: all 0.2s ease-out;
}

.client-view-tickets-card {
  min-height: 512px;
}

.first-child-no-top-style:first-child {
  border-top: none !important;
  padding-top: 0 !important;
}

.editor-preview {
  max-width: 800px;
  min-width: 400px;
  margin: auto;
  padding: 20px 50px;
  border-radius: 5px;
}

.hidden-input-field {
  height: 1px;
  width: 1px;
  border: none;
  outline: none;
}

.no-card-style .card {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.sticky-top {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  background: var(--thrive-bg-card)\1
  padding: 10px;
}

.max-height-width-logo {
  max-width: 250px;
  max-height: 40px;
}

#todo-list-widget-table .filter-item-box {
  margin: 5px 0 5px 0 !important;
}
#todo-list-widget-table .datatable-tools .col-md-12:first-child {
  display: none;
}
#todo-list-widget-table .datatable-tools .col-md-12 .pagination {
  justify-content: center;
}

#todo-table.sortable .update-todo-status-checkbox {
  display: none;
}
#todo-table.sortable .move-icon {
  display: block !important;
}

.position-fixed-top {
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 10px 15px 10px;
  width: 100%;
  pointer-events: auto;
}

.details-view-top-button {
  transition: all 200ms ease;
}
.details-view-top-button.position-fixed-top {
  background-color: var(--thrive-bg-card)\1
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
}
.details-view-top-button .reply-button {
  padding: 10px;
  float: right;
  font-weight: bold;
}

.z-100 {
  z-index: 100;
}

.bookmarked-filter-button-container {
  display: inline;
}

.step-confirmation-container .spinning-btn.spinning {
  padding-right: 20px;
}
.step-confirmation-container .spinning-btn.spinning:before {
  content: "";
  width: 17px;
  height: 17px;
  right: 2px;
}

.timesheet-activity-heatmap {
  width: 100%;
  caption-side: bottom;
  border-spacing: 3px;
  border-collapse: unset;
}
.timesheet-activity-heatmap .heatmap-label {
  width: 200px;
  text-align: left;
  padding-left: 10px;
}
.timesheet-activity-heatmap tr:hover td {
  background-color: #f5f5f5;
}
.timesheet-activity-heatmap td,
.timesheet-activity-heatmap th {
  width: 35px;
  height: 35px;
  text-align: center;
  border: transparent;
  background-color: #f9f9f9;
}
.timesheet-activity-heatmap .weekends-highlight {
  background-color: #F0F8FF;
}

.flex-item-row {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  border: 1px solid #f1f1f5 !important;
  border-radius: 5px !important;
  word-break: break-word;
  word-wrap: break-word;
}

.wrapper-resizable {
  background-color: transparent;
  position: absolute;
  z-index: 10;
  transition: background 0.5s;
  border-radius: 5px 0 0 5px;
}
.wrapper-resizable.resizable-left {
  width: 4px;
  cursor: ew-resize;
  top: 0;
  left: -2px;
  bottom: 0;
}
.wrapper-resizable.resizable-bottom {
  height: 4px;
  cursor: ns-resize;
  bottom: -2px;
  left: 0;
  right: 0;
}
.wrapper-resizable.resizable-right {
  width: 4px;
  cursor: ew-resize;
  top: 0;
  right: -2px;
  bottom: 0;
}
.wrapper-resizable.resizable-top {
  height: 4px;
  cursor: ns-resize;
  top: -2px;
  left: 0;
  right: 0;
}
.wrapper-resizable:hover {
  background: rgba(102, 144, 244, 0.5);
}

.resizing-left .resizable-left {
  background: rgba(102, 144, 244, 0.5);
}

.resizing-bottom .resizable-bottom {
  background: rgba(102, 144, 244, 0.5);
}

.resizing-right .resizable-right {
  background: rgba(102, 144, 244, 0.5);
}

.resizing-top .resizable-top {
  background: rgba(102, 144, 244, 0.5);
}

.widget-card h1 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 14px !important;
}

.estimate-request-widget {
  height: 242px;
}
.estimate-request-widget .estimate-request-widget-header {
  position: relative;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}
.estimate-request-widget .estimate-request-widget-header .dash-track {
  flex: 1;
  height: 2px;
  margin: 0 12px;
  position: relative;
  overflow: hidden;
}
.estimate-request-widget .estimate-request-widget-header .dash-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(77, 94, 106, 0.25) 33%, rgba(77, 94, 106, 0) 0%);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  animation: dashMove 0.5s linear infinite;
}
.estimate-request-widget .estimate-request-widget-header .dash-track .dot {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--thrive-text-secondary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(77, 94, 106, 0.85);
  animation: dotMove 2.5s linear infinite;
  z-index: 4;
}

.pulse-icon {
  animation: pulse 1.8s ease-in-out infinite;
}

.widget-container .client-invoice-overview-widget .widget-right-section h3 {
  font-size: 1.6rem !important;
}

.widget-left-section {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.widget-right-section {
  margin-left: auto;
}

.event-reminder-section {
  max-width: 430px;
}

.hide-dt-empty .dt-empty {
  display: none;
}


/* ===================================================== */
/* APP.ALL.CSS DARK THEME OVERRIDES */
/* Comprehensive dark theme for all white/light elements */
/* ===================================================== */

/* DataTables Dark Theme */
:root.dark {
  --dt-html-background: #171717 !important;
}

div.dt-button-info {
  background-color: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

div.dropdown-menu.dt-button-collection.fixed {
  background-color: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
}

table.dtcr-cloned.dataTable {
  background-color: rgba(38, 38, 38, 0.9) !important;
}

/* Dropzone Dark Theme */
.dropzone {
  background: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

/* Magnific Popup Dark Theme */
.mfp-close,
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #e5e5e5 !important;
}

.mfp-preloader a:hover {
  color: #fafafa !important;
}

/* Awesomplete Dark Theme */
.awesomplete > ul {
  background: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

.awesomplete > ul > li[aria-selected="true"] {
  background: #404040 !important;
  color: #fafafa !important;
}

/* At.js Mentions Dark Theme */
.atwho-view {
  background: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

.atwho-view .cur {
  background: #156EF6 !important;
  color: #fafafa !important;
}

.atwho-view .cur small {
  color: #fafafa !important;
}

/* Navbar Dark Theme */
.navbar-custom {
  background: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
}

.sidebar-scroll {
  background: var(--thrive-bg-card) !important;
}

/* Sidebar Menu Dark Theme */
.sidebar-menu li.active > a {
    color: var(--thrive-text-hover) !important;
    background-color: var(--thrive-bg-card) !important;
}

.sidebar-toggled .sidebar-menu li:hover {
  background-color: var(--thrive-bg-card) !important;
}

.sidebar-toggled .sidebar-menu li ul li {
  background-color: var(--thrive-bg-card) !important;
}

.sidebar-toggled .sidebar-menu li ul li:hover {
  background-color: #404040 !important;
}

/* DataTable Dark Theme */
table.dataTable.stripe tbody tr.odd {
  background-color: var(--thrive-bg-card) !important;
}

table.dataTable.row-border tbody th,
table.dataTable.row-border tbody td,
table.dataTable.display tbody th,
table.dataTable.display tbody td,
table.dataTable.display tfoot td {
  background-color: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

table.dataTable.dtr-inline.collapsed tbody tr.active td.dtr-control:before,
table.dataTable.dtr-inline.collapsed tbody tr.active td.dtr-control:after {
  background-color: #fafafa !important;
}

.dt-print-view {
  background-color: var(--thrive-bg-card) !important;
}

.dt-print-view table.dataTable thead th,
.dt-print-view table.dataTable.display tbody td {
  background-color: var(--thrive-bg-card) !important;
  color: #e5e5e5 !important;
  border-color: #404040 !important;
}

/* Buttons Dark Theme */
button.DTTT_button,
div.DTTT_button,
a.DTTT_button,
a.DTTT_button:focus {
  background: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

.dt-container .dt-paging .dt-paging-button {
  background: var(--thrive-bg-card) !important;
  color: #a3a3a3 !important;
}

.dtr-details .delete:not(.dropdown-item),
.dtr-details .edit:not(.dropdown-item) {
  background: var(--thrive-bg-card) !important;
  color: #a3a3a3 !important;
}

/* Post Dropzone Dark Theme */
.post-dropzone {
  background: var(--thrive-bg-card) !important;
}

/* Datepicker Dark Theme */
.datepicker-custom-selector {
  background: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

/* File Manager Dark Theme */
.file-manager-container {
  background: var(--thrive-bg-card) !important;
}

.file-manager-left-panel {
  background: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
}

/* Note Editor Dark Theme */
.note-editor.fullscreen {
  background: var(--thrive-bg-card) !important;
}

/* iFrame Dark Theme */
.mfp-iframe-scaler iframe {
  background: var(--thrive-bg-card) !important;
  color: #e5e5e5 !important;
}

/* Image Preview Dark Theme */
.dz-image-preview img[alt$=".png"] {
  background: var(--thrive-bg-card) !important;
}

/* Background White Utility Dark Theme */
.bg-white {
  background: var(--thrive-bg-card) !important;
}

/* Select2 Dark Theme */
.general-form.white .select2-container-multi.form-control .select2-choices,
.general-form.white .select2-container-multi.form-control .select2-choices .select2-search-field input {
  background: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

/* Tabs Dark Theme */
.nav-tabs {
  background: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
}

/* Page Title Dark Theme */


/* Box Title Dark Theme */
.box-title span {
  background: var(--thrive-bg-card) !important;
}

/* App Popover Dark Theme */
.app-popover {
  background: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
}

/* Kanban Dark Theme */
.kanban-col .kanban-col-title {
  background: transparent !important;
  color: #e5e5e5 !important;
  border-bottom: 1px solid var(--thrive-border-secondary) !important;
  border-radius: 8px !important;
}

.kanban-details-panel {
  background: var(--thrive-bg-card) !important;
}

/* Chat Dark Theme */
.rise-chat-footer {
  background: var(--thrive-bg-card) !important;
}

/* Dashboard Dropdown Dark Theme */
.dashboard-dropdown .dropdown-toggle {
  background: var(--thrive-bg-card) !important;
}

.dashboard-dropdown-icon {
  background: var(--thrive-bg-card) !important;
}

/* Timeline Images Dark Theme */
.timeline-images span.more {
  background-color: var(--thrive-bg-card) !important;
  color: #e5e5e5 !important;
}

.timeline-images .file-mockup {
  background: #404040 !important;
  color: #a3a3a3 !important;
}

/* Chart Circle Dark Theme */
.chart-circle {
  background: var(--thrive-bg-card) !important;
}

/* Pills Tab Dark Theme */
.nav-pills {
  background: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
}

/* Pagination Dark Theme */
.pagination-custom .page-link {
  background: var(--thrive-bg-card) !important;
  color: #a3a3a3 !important;
}

/* Chat Widget Dark Theme */
.chat-widget-container {
  background: var(--thrive-bg-card) !important;
}

.chat-widget-header {
  background: var(--thrive-bg-card) !important;
}

/* Modal Dark Theme */
.modal-mask {
  background-color: var(--thrive-bg-card) !important;
}

.app-modal-body {
  background-color: var(--thrive-bg-card) !important;
}

.app-modal-fixed-close-button {
  color: #fafafa !important;
}

.app-modal .round-button {
  color: #fafafa !important;
}

/* Social Link Dark Theme */
.social-link {
  color: #fafafa !important;
  border-color: #fafafa !important;
}

.social-link:focus {
  color: #fafafa !important;
}

.social-link:hover {
  background-color: #fafafa !important;
  color: #0a0a0a !important;
}

/* Alert Dark Theme */
.app-alert.alert-info {
  color: #fafafa !important;
}

.app-alert.alert-success {
  color: #fafafa !important;
}

.app-alert.alert-danger {
  color: #fafafa !important;
}

.app-alert.alert-warning {
  color: #fafafa !important;
}

/* Help Search Box Dark Theme */
.help-search-box {
  background-color: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

.help-search-box:focus {
  background-color: #404040 !important;
  border-color: #525252 !important;
}

/* Help Category Box Dark Theme */
.help-category-box:hover {
  background: #404040 !important;
}

/* Checkbox Dark Theme */
.checkbox-blank:hover {
  background-color: #404040 !important;
}

/* White Link Dark Theme */
.white-link {
  color: #fafafa !important;
}

/* Dropdown Item Dark Theme */
.dropdown-item {
  color: #a3a3a3 !important;
}

.dropdown-item:active,
.dropdown-item:hover,
.dropdown-item:focus {
  color: #e5e5e5 !important;
  background-color: #404040 !important;
}

/* Mobile Bottom Menu Dark Theme */
.mobile-bottom-menu .dropdown-menu .dropdown-item.btn-success,
.mobile-bottom-menu .dropdown-menu .dropdown-item.btn-danger,
.mobile-bottom-menu .dropdown-menu .dropdown-item.btn-primary {
  color: #fafafa !important;
}

/* Active Table Row Dark Theme */
.dataTable:not(.js-selection-mode) tbody tr.active td,
.dataTable:not(.js-selection-mode) tbody tr.active:hover td {
  color: #fafafa !important;
}

.dataTable:not(.js-selection-mode) tbody tr.active .badge {
  background-color: #fafafa !important;
}

.dataTable:not(.js-selection-mode) tbody tr.active a.link {
  color: #fafafa !important;
}

table.dataTable tbody tr.active td a,
table.dataTable tbody tr.active td .text-default {
  color: #fafafa !important;
}

/* Datepicker Selected Dark Theme */
.datepicker table tr td.selected,
.datepicker table tr td.selected.highlighted,
.datepicker table tr td.selected.focus,
.datepicker table tr td.selected.highlighted.focus,
.datepicker table tr td.selected:hover,
.datepicker table tr td.selected.highlighted:hover,
.datepicker table tr td.selected.active,
.datepicker table tr td.selected.highlighted.active,
.datepicker table tr td.selected.active.focus,
.datepicker table tr td.selected.highlighted.active.focus {
  color: #fafafa !important;
}

.datepicker table tr td.active,
.datepicker table tr td.active.highlighted,
.datepicker table tr td.active.focus,
.datepicker table tr td.active.highlighted.focus,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.highlighted:hover,
.datepicker table tr td.active.active,
.datepicker table tr td.active.highlighted.active,
.datepicker table tr td.active.active.focus,
.datepicker table tr td.active.highlighted.active.focus {
  color: #fafafa !important;
}

.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active.disabled:hover,
.datepicker table tr td span.active.disabled.focus,
.datepicker table tr td span.active.disabled:hover.focus,
.datepicker table tr td span.active.disabled:hover:hover,
.datepicker table tr td span.active.disabled.active,
.datepicker table tr td span.active.disabled:hover.active,
.datepicker table tr td span.active.disabled.active.focus,
.datepicker table tr td span.active.disabled:hover.active.focus {
  color: #fafafa !important;
}

/* Dtr Modal Dark Theme */
div.dtr-modal div.dtr-modal-display {
  background-color: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
}

/* Content Sidebar Dark Theme */
.content-sidebar .list-group .list-group-item {
  color: #a3a3a3 !important;
}

/* Unread Notification Dark Theme */
.unread-notification {
  background-color: #404040 !important;
}

/* ===================================================== */
/* MODAL & INPUT FIXES */
/* ===================================================== */

/* Modal Dark Theme */
.modal-content {
  background-color: var(--thrive-bg-dark) !important;
  border: 1px solid var(--thrive-border-primary) !important;
  color: #e5e5e5 !important;
}

.modal-header {
  background-color: var(--thrive-bg-dark) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

.modal-body {
  background-color: var(--thrive-bg-dark) !important;
  color: #e5e5e5 !important;
}

.modal-footer {
  background-color: var(--thrive-bg-dark) !important;
  border-color: #404040 !important;
}

.modal-title {
  color: #fafafa !important;
}

/* Input Fields Dark Theme */
input.form-control,
textarea.form-control,
select.form-control,
.form-control {
  background-color: #171717 !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

input.form-control::placeholder,
textarea.form-control::placeholder {
  color: #a3a3a3 !important;
}

input.form-control:focus,
textarea.form-control:focus,
select.form-control:focus {
  background-color: #171717 !important;
  border-color: #156EF6 !important;
  color: #e5e5e5 !important;
}

/* Search Box Dark Theme */
.search-box,
input[type="search"] {
  background-color: #171717 !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

/* Page Title Bar Dark Theme */


/* Table Header Dark Theme */
table thead,
table thead th,
table thead td,
.table thead,
.table thead th,
.table thead td {
  background-color: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

/* Table Body Dark Theme */
table tbody,
table tbody tr,
table tbody td,
.table tbody,
.table tbody tr,
.table tbody td {
  background-color: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

/* Dropdown Menu Dark Theme */
.dropdown-menu {
  background-color: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

.dropdown-menu .dropdown-item {
  color: #a3a3a3 !important;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #404040 !important;
  color: #e5e5e5 !important;
}

/* Button Dark Theme */
.btn-default,
.btn-secondary,
.btn-light {
  background-color: #404040 !important;
  border-color: #525252 !important;
  color: #e5e5e5 !important;
}

.btn-default:hover,
.btn-secondary:hover,
.btn-light:hover {
  background-color: #525252 !important;
  border-color: #737373 !important;
  color: #fafafa !important;
}

/* List Group Dark Theme */
.list-group {
  background-color: var(--thrive-bg-card) !important;
}

.list-group-item {
  background-color: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

.list-group-item:hover {
  background-color: #404040 !important;
}



/* Panel Dark Theme */
.panel,
.panel-default,
.panel-heading,
.panel-body,
.panel-footer {
  background-color: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

/* Well Dark Theme */
.well {
  background-color: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

/* Popover Dark Theme */
.popover {
  background-color: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
}

.popover-header {
  background-color: #404040 !important;
  border-color: #525252 !important;
  color: #e5e5e5 !important;
}

.popover-body {
  background-color: var(--thrive-bg-card) !important;
  color: #e5e5e5 !important;
}

/* Tooltip Dark Theme */
.tooltip {
  opacity: 1 !important;
}

.tooltip-inner {
  background-color: #404040 !important;
  color: #fafafa !important;
}

/* Alert Dark Theme */
.alert {
  border-color: #404040 !important;
}

.alert-light {
  background-color: #404040 !important;
  border-color: #525252 !important;
  color: #e5e5e5 !important;
}

/* Breadcrumb Dark Theme */
.breadcrumb {
  background-color: var(--thrive-bg-card) !important;
}

.breadcrumb-item {
  color: #a3a3a3 !important;
}

.breadcrumb-item.active {
  color: #e5e5e5 !important;
}

/* Pagination Dark Theme */
.pagination {
  background-color: transparent !important;
}

.page-item .page-link {
  background-color: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
  color: #a3a3a3 !important;
}

.page-item.active .page-link {
  background-color: #156EF6 !important;
  border-color: #156EF6 !important;
  color: #fafafa !important;
}

.page-item .page-link:hover {
  background-color: #404040 !important;
  border-color: #525252 !important;
  color: #e5e5e5 !important;
}

/* Progress Bar Dark Theme */
.progress {
  background-color: #404040 !important;
}

/* Accordion Dark Theme */
.accordion {
  background-color: var(--thrive-bg-card) !important;
}

.accordion-item {
  background-color: var(--thrive-bg-card) !important;
  border-color: #404040 !important;
}

.accordion-header,
.accordion-button {
  background-color: var(--thrive-bg-card) !important;
  color: #e5e5e5 !important;
}

.accordion-button:not(.collapsed) {
  background-color: #404040 !important;
  color: #fafafa !important;
}

.accordion-body {
  background-color: var(--thrive-bg-card) !important;
  color: #e5e5e5 !important;
}

/* Offcanvas Dark Theme */
.offcanvas {
  background-color: var(--thrive-bg-card) !important;
  color: #e5e5e5 !important;
}

.offcanvas-header {
  border-color: #404040 !important;
}

.offcanvas-body {
  background-color: var(--thrive-bg-card) !important;
}

/* Close Button Dark Theme */
.btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* Form Label Dark Theme */
label,
.form-label {
  color: #e5e5e5 !important;
}

/* Form Check Dark Theme */
.form-check-input {
  background-color: #171717 !important;
  border-color: #404040 !important;
}

.form-check-input:checked {
  background-color: #156EF6 !important;
  border-color: #156EF6 !important;
}

.form-check-label {
  color: #e5e5e5 !important;
}

/* Form Select Dark Theme */
.form-select,
select {
  background-color: #171717 !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

.form-select option,
select option {
  background-color: var(--thrive-bg-card) !important;
  color: #e5e5e5 !important;
}

/* Input Group Dark Theme */
.input-group-text {
  background-color: #404040 !important;
  border-color: #404040 !important;
  color: #e5e5e5 !important;
}

/* Badge Dark Theme - Override for visibility */
.badge-light {
  background-color: #404040 !important;
  color: #e5e5e5 !important;
}

/* Spinner Dark Theme */
.spinner-border,
.spinner-grow {
  color: #156EF6 !important;
}

/* Text Colors Dark Theme */
.text-dark {
  color: #e5e5e5 !important;
}

.text-body {
  color: #e5e5e5 !important;
}

.text-black-50 {
  color: #a3a3a3 !important;
}

/* Border Colors Dark Theme */
.border,
.border-top,
.border-bottom,
.border-start,
.border-end {
  border-color: #404040 !important;
}

/* Shadow Dark Theme */
.shadow,
.shadow-sm,
.shadow-lg {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5) !important;
}

/* ===================================================== */
/* END APP.ALL.CSS DARK THEME OVERRIDES */
/* ===================================================== */


/* ===================================================== */
/* LIGHT GRAY COLOR OVERRIDES (#f1f1f5, #f9f9f9, etc.) */
/* Replace all light gray borders and backgrounds with dark theme colors */
/* ===================================================== */

/* Border Color Overrides - Replace #f1f1f5 with dark border */
.navbar-custom {
  border-bottom-color: var(--thrive-border-primary) !important;
}

.sidebar-menu li a:active,
.sidebar-menu li a:hover,
.sidebar-menu li a:focus {
  background-color: var(--thrive-bg-hover) !important;
}

.dt-container .datatable-tools .mini-list-pagination-container {
  border-top-color: var(--thrive-border-primary) !important;
}

.global-search-modal .modal-dialog .modal-content .modal-body.search-modal .col-sm-3 {
  border-bottom-color: var(--thrive-border-primary) !important;
}

.sidebar .sidebar-scroll {
  border-top-color: var(--thrive-border-primary) !important;
}

.datatable-tools .col-md-3 {
  border-bottom-color: var(--thrive-border-primary) !important;
}

#client-summary .box .box-content {
  border-bottom-color: var(--thrive-border-primary) !important;
}

/* DataTable Hover States - Replace #f9f9f9 with dark hover */
.dataTable:not(.js-selection-mode) td:hover {
  background: var(--thrive-bg-hover) !important;
}

.dataTable:not(.js-selection-mode) tbody tr:hover td {
  background: var(--thrive-bg-hover) !important;
}

.dataTable:not(.js-selection-mode) tbody tr {
  border-color: var(--thrive-border-primary) !important;
}

table.dataTable {
  border-bottom-color: var(--thrive-border-primary) !important;
}

table.dataTable thead th {
  border-top-color: var(--thrive-border-primary) !important;
}

table.dataTable.row-border tbody th,
table.dataTable.row-border tbody td {
  border-color: var(--thrive-border-primary) !important;
}

table.dataTable.display tbody th,
table.dataTable.display tbody td {
  border-top-color: var(--thrive-border-primary) !important;
}

table.dataTable.display tfoot th,
table.dataTable.display tfoot td {
  border-top-color: var(--thrive-border-primary) !important;
}

table.dataTable.b-b-only tbody td {
  border-bottom-color: var(--thrive-border-primary) !important;
}

table.dataTable.dtr-inline.collapsed tbody tr td.child {
  background: var(--thrive-bg-hover) !important;
}

table.dataTable > tbody > tr.child ul.dtr-details > li {
  border-color: var(--thrive-border-primary) !important;
}

/* DataTable Export Buttons */
.datatable-export a {
  border-color: var(--thrive-border-primary) !important;
}

.datatable-export a:hover {
  background: var(--thrive-bg-hover) !important;
}

button.DTTT_button,
div.DTTT_button,
a.DTTT_button,
a.DTTT_button:focus {
  border-color: var(--thrive-border-primary) !important;
}

a.DTTT_button:hover {
  background: var(--thrive-bg-hover) !important;
}

/* Search Inputs */
.dt-search input {
  border-color: var(--thrive-border-primary) !important;
}

.custom-filter-search {
  border-color: var(--thrive-border-primary) !important;
}

.datatable-search:focus,
.custom-filter-search:focus {
  border-color: var(--thrive-border-secondary) !important;
  background-color: var(--thrive-bg-hover) !important;
}

/* Pagination */
.dt-container .dt-paging .dt-paging-button .page-link:hover {
  border-color: var(--thrive-border-primary) !important;
}

.dt-container .dt-paging .dt-paging-button.active .page-link {
  border-color: var(--thrive-border-primary) !important;
}

/* Select2 */
.select2-container .select2-choice {
  background: var(--thrive-bg-card) !important;
}

/* Filter Multi Select */
.filter-multi-select.open,
.filter-multi-select:focus,
.filter-multi-select:active {
  border-color: var(--thrive-border-primary) !important;
}

.dropdown-toggle {
  border-color: var(--thrive-border-primary) !important;
}

.filter-multi-select .list-group-item:not(.active):hover,
.dynamic-range-filter .list-group-item:not(.active):hover {
  background-color: var(--thrive-bg-hover) !important;
}

.dynamic-range-filter .dropdown-toggle {
  border-color: var(--thrive-border-primary) !important;
}

/* Print View */
.dt-print-view table.dataTable thead th {
  border-color: var(--thrive-border-primary) !important;
}

.dt-print-view table.dataTable.display tbody tr:hover td {
  background-color: var(--thrive-bg-hover) !important;
}

.dt-print-view table.dataTable.display tbody td {
  border-color: var(--thrive-border-primary) !important;
}

/* Action Buttons */
td.option a.square-btn,
.dtr-details .edit:not(.dropdown-item),
.dtr-details .delete:not(.dropdown-item) {
  border-color: var(--thrive-border-primary) !important;
}

.action-option:hover.light,
.copy-file-link:hover.light {
  background: var(--thrive-bg-hover) !important;
  border-color: var(--thrive-border-primary) !important;
}

.action-option {
  border-color: var(--thrive-border-primary) !important;
}

/* Table Bordered */
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
  border-color: var(--thrive-border-primary) !important;
}

/* Custom Toolbar */
.custom-toolbar .select2-container .select2-choice {
  border-color: var(--thrive-border-primary) !important;
}

.fc-button {
  border-color: var(--thrive-border-primary) !important;
}

/* Additional Border Overrides */
.b-b {
  border-bottom-color: var(--thrive-border-primary) !important;
}

.b-t {
  border-top-color: var(--thrive-border-primary) !important;
}

.b-l {
  border-left-color: var(--thrive-border-primary) !important;
}

.b-r {
  border-right-color: var(--thrive-border-primary) !important;
}

.b-a {
  border-color: var(--thrive-border-primary) !important;
}

/* Dtr Modal */
div.dtr-modal div.dtr-modal-display {
  background-color: var(--thrive-bg-card) !important;
}

/* Permission List */
.permission-list li {
  border-bottom-color: var(--thrive-border-primary) !important;
}

/* Estimate Form */
.estimate_request_form.list-group-item {
  border-color: var(--thrive-border-primary) !important;
}

/* Box Title */
.box-title:after {
  background-color: var(--thrive-border-primary) !important;
}

/* Invoice Styles */
.invoice-styles .item {
  border-color: var(--thrive-border-primary) !important;
}

/* Help Search Box */
.help-search-box {
  border-color: var(--thrive-border-primary) !important;
}

.help-search-box:focus {
  background-color: var(--thrive-bg-hover) !important;
  border-color: var(--thrive-border-secondary) !important;
}

/* File Manager */
.file-manager-left-panel {
  border-color: var(--thrive-border-primary) !important;
}

/* App Popover */
.app-popover {
  border-color: var(--thrive-border-primary) !important;
}

/* App Modal Sidebar */
.app-modal-sidebar {
  border-left-color: var(--thrive-border-primary) !important;
}

/* Milestone */
.milestone {
  border-color: var(--thrive-border-primary) !important;
}

/* Unread Notification */
.unread-notification {
  background-color: var(--thrive-bg-hover) !important;
}

/* Nav Tabs */
.nav-tabs {
  border-color: var(--thrive-border-primary) !important;
}

.nav-tabs .nav-link {
  border-color: var(--thrive-border-primary) !important;
}

.nav-tabs .nav-link.active {
  border-color: var(--thrive-border-primary) !important;
  background-color: var(--thrive-bg-card) !important;
}

/* Nav Pills */
.nav-pills {
  border-color: var(--thrive-border-primary) !important;
}

/* Page Title */
.page-title {
  border-bottom-color: var(--thrive-border-primary) !important;
}

/* Widget */
.widget {
  border-color: var(--thrive-border-primary) !important;
}

/* Timeline */
.timeline-images span.more {
  border-left-color: #156EF6 !important;
}

/* Comment Container */
.comment-container {
  border-color: var(--thrive-border-primary) !important;
}

/* Reply Container */
.reply-container {
  border-color: var(--thrive-border-primary) !important;
}

/* Notepad */
.notepad-title {
  border-left-color: #156EF6 !important;
}

/* Message Row */
.message-row {
  border-color: var(--thrive-border-primary) !important;
}

.unread {
  border-left-color: #156EF6 !important;
}

/* Dropdown Menu */
.dropdown-menu {
  border-color: var(--thrive-border-primary) !important;
}

.dropdown-menu .list-group-item {
  border-color: var(--thrive-border-primary) !important;
}

/* Alert */
.alert {
  border-color: var(--thrive-border-primary) !important;
}

/* Checklist */
.checkbox-blank {
  border-color: var(--thrive-border-secondary) !important;
}

/* Circle Done */
.circle-done {
  border-color: var(--thrive-border-secondary) !important;
}

/* Social Link */
.social-link {
  border-color: #fafafa !important;
}

/* Form Control */
input.form-control,
textarea.form-control,
select.form-control,
.form-control {
  border-color: var(--thrive-border-primary) !important;
}

input.form-control:focus,
textarea.form-control:focus,
select.form-control:focus {
  border-color: #156EF6 !important;
}

/* Input Group */
.input-group-text {
  border-color: var(--thrive-border-primary) !important;
}

/* Card */
.card {
  border-color: var(--thrive-border-primary) !important;
}

.card-header {
  border-bottom-color: var(--thrive-border-primary) !important;
}

.card-footer {
  border-top-color: var(--thrive-border-primary) !important;
}

/* Task Dropzone Footer */
#task-dropzone footer.card-footer.b-a.clearfix {
  border-radius: 5px !important;
  margin-top: 5px !important;
}

/* List Group */
.list-group-item {
  border-color: var(--thrive-border-primary) !important;
}

/* Accordion */
.accordion-item {
  border-color: var(--thrive-border-primary) !important;
}

.accordion-button {
  border-color: var(--thrive-border-primary) !important;
}

/* Offcanvas */
.offcanvas-header {
  border-bottom-color: var(--thrive-border-primary) !important;
}

/* Popover */
.popover {
  border-color: var(--thrive-border-primary) !important;
}

.popover-header {
  border-bottom-color: var(--thrive-border-secondary) !important;
}

/* Breadcrumb */
.breadcrumb {
  border-color: var(--thrive-border-primary) !important;
}

/* Pagination */
.page-item .page-link {
  border-color: var(--thrive-border-primary) !important;
}

/* Progress */
.progress {
  border-color: var(--thrive-border-primary) !important;
}

/* Well */
.well {
  border-color: var(--thrive-border-primary) !important;
}

/* Panel */
.panel {
  border-color: var(--thrive-border-primary) !important;
}

.panel-heading {
  border-bottom-color: var(--thrive-border-primary) !important;
}

.panel-footer {
  border-top-color: var(--thrive-border-primary) !important;
}

/* Modal */
.modal-content {
  background-color: var(--thrive-bg-dark) !important;
  border: 1px solid var(--thrive-border-primary) !important;
}

.modal-header {
  border-bottom-color: var(--thrive-border-primary) !important;
}

.modal-footer {
  border-top-color: var(--thrive-border-primary) !important;
}

/* HR */
hr {
  border-color: var(--thrive-border-primary) !important;
  background-color: var(--thrive-border-primary) !important;
}

/* Divider */
.divider {
  border-color: var(--thrive-border-primary) !important;
  background-color: var(--thrive-border-primary) !important;
}

/* ===================================================== */
/* END LIGHT GRAY COLOR OVERRIDES */
/* ===================================================== */


/* ===================================================== */
/* ADDITIONAL MISSING SELECTORS FROM APP.ALL.CSS */
/* Selectors with light colors that weren't covered yet */
/* ===================================================== */

/* FullCalendar Dark Theme */
.fc-state-active {
  background-color: var(--thrive-bg-hover) !important;
  box-shadow: none !important;
}

.fc-theme-standard .fc-list-empty {
  background-color: var(--thrive-bg-card) !important;
}

.fc-theme-standard .fc-list {
  border-color: var(--thrive-border-primary) !important;
}

.fc-button {
  background-color: var(--thrive-bg-card) !important;
  border-color: var(--thrive-border-primary) !important;
  color: var(--thrive-text-primary) !important;
}

.fc-button:hover {
  background-color: var(--thrive-bg-hover) !important;
}

.fc-button-primary {
  background-color: #156EF6 !important;
  border-color: #156EF6 !important;
  color: #fafafa !important;
}

.fc-button-primary:hover {
  background-color: #0d4fb8 !important;
  border-color: #0d4fb8 !important;
}

.fc-toolbar {
  background-color: var(--thrive-bg-card) !important;
}

.fc-view {
  background-color: var(--thrive-bg-card) !important;
}

.fc-daygrid-day {
  background-color: var(--thrive-bg-card) !important;
  border-color: var(--thrive-border-primary) !important;
}

.fc-daygrid-day:hover {
  background-color: var(--thrive-bg-hover) !important;
}

.fc-day-today {
  background-color: var(--thrive-bg-hover) !important;
}

/* Datepicker Dark Theme */
.datepicker.dropdown-menu {
  border-radius: 5px !important;
  border-color: var(--thrive-border-primary) !important;
  background-color: var(--thrive-bg-card) !important;
}

.datepicker table {
  background-color: var(--thrive-bg-card) !important;
}

.datepicker table tr td {
  border-color: var(--thrive-border-primary) !important;
  color: var(--thrive-text-primary) !important;
}

.datepicker table tr td:hover {
  background-color: var(--thrive-bg-hover) !important;
}

.datepicker table tr td.day:hover {
  background-color: var(--thrive-bg-hover) !important;
}

.datepicker table tr td.old,
.datepicker table tr td.new {
  color: var(--thrive-text-secondary) !important;
}

.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
  background-color: transparent !important;
  color: var(--thrive-text-secondary) !important;
}

.datepicker thead tr:first-child th:hover {
  background-color: var(--thrive-bg-hover) !important;
}

.datepicker tfoot tr th:hover {
  background-color: var(--thrive-bg-hover) !important;
}

/* Week View Dark Theme */
.week-view tr:hover .day:not(.active) {
  background-color: var(--thrive-bg-hover) !important;
}

.week-view {
  background-color: var(--thrive-bg-card) !important;
  border-color: var(--thrive-border-primary) !important;
}

.week-view tr {
  border-color: var(--thrive-border-primary) !important;
}

.week-view td {
  border-color: var(--thrive-border-primary) !important;
  background-color: var(--thrive-bg-card) !important;
}

.week-view .day {
  background-color: var(--thrive-bg-card) !important;
  color: var(--thrive-text-primary) !important;
}

.week-view .day.active {
  background-color: #156EF6 !important;
  color: #fafafa !important;
}

/* Datepicker Custom Selector Dark Theme */
.datepicker-custom-selector {
  background-color: var(--thrive-bg-card) !important;
  border-color: var(--thrive-border-primary) !important;
  color: var(--thrive-text-primary) !important;
}

.datepicker-custom-selector:hover,
.datepicker-custom-selector:focus {
  background-color: var(--thrive-bg-hover) !important;
  border-color: var(--thrive-border-secondary) !important;
}

/* Awesomplete Dark Theme */
.awesomplete ul {
  background-color: var(--thrive-bg-card) !important;
  border-color: var(--thrive-border-primary) !important;
}

.awesomplete ul li {
  background-color: var(--thrive-bg-card) !important;
  color: var(--thrive-text-primary) !important;
  border-color: var(--thrive-border-primary) !important;
}

.awesomplete ul li[aria-selected="false"]:hover {
  background-color: var(--thrive-bg-hover) !important;
}

.awesomplete ul li[aria-selected="true"] {
  background-color: #156EF6 !important;
  color: #fafafa !important;
}

.awesomplete ul li mark {
  background-color: transparent !important;
  color: #156EF6 !important;
}

/* Note Editor Dark Theme */
.note-editor,
.note-editor .note-toolbar,
.note-editor .note-statusbar .note-resizebar,
.note-editor .note-toolbar .btn {
  border-color: var(--thrive-border-primary) !important;
}

.note-editor {
  background-color: var(--thrive-bg-card) !important;
  color: var(--thrive-text-primary) !important;
}

.note-editor .note-toolbar {
  padding: 0 !important;
  border-bottom: 1px solid var(--thrive-border-primary) !important;
  background-color: var(--thrive-bg-card) !important;
}

.note-editor .note-toolbar .note-btn-group {
  margin: 0 !important;
}

.note-editor .note-toolbar .note-btn-group .note-btn {
  border: none !important;
  background-color: transparent !important;
  color: var(--thrive-text-primary) !important;
}

.note-editor .note-toolbar .note-btn-group .note-btn:hover,
.note-editor .note-toolbar .note-btn-group .note-btn:active,
.note-editor .note-toolbar .note-btn-group .note-btn:focus {
  background-color: var(--thrive-bg-hover) !important;
  border-radius: 0 !important;
}

.note-editor .note-editing-area {
  background-color: var(--thrive-bg-card) !important;
  color: var(--thrive-text-primary) !important;
}

.note-editor .note-editable {
  background-color: var(--thrive-bg-card) !important;
  color: var(--thrive-text-primary) !important;
}

.note-editor .note-statusbar {
  background-color: var(--thrive-bg-card) !important;
  border-top-color: var(--thrive-border-primary) !important;
}

.note-editor .note-statusbar .note-resizebar {
  border-top-color: var(--thrive-border-primary) !important;
}

.note-editor .note-dropdown-menu {
  background-color: var(--thrive-bg-card) !important;
  border-color: var(--thrive-border-primary) !important;
}

.note-editor .note-dropdown-menu .note-dropdown-item {
  color: var(--thrive-text-primary) !important;
}

.note-editor .note-dropdown-menu .note-dropdown-item:hover {
  background-color: var(--thrive-bg-hover) !important;
}

.note-modal {
  background-color: var(--thrive-bg-card) !important;
}

.note-modal .note-modal-content {
  background-color: var(--thrive-bg-card) !important;
  color: var(--thrive-text-primary) !important;
}

.note-modal .note-modal-header {
  background-color: var(--thrive-bg-card) !important;
  border-bottom-color: var(--thrive-border-primary) !important;
}

.note-modal .note-modal-footer {
  background-color: var(--thrive-bg-card) !important;
  border-top-color: var(--thrive-border-primary) !important;
}

/* ===================================================== */
/* END ADDITIONAL MISSING SELECTORS */
/* ===================================================== */


/* ===================================================== */
/* REMAINING #FFF AND #F1F1F5 COLOR OVERRIDES */
/* Final pass to catch all remaining white/light colors */
/* ===================================================== */

/* Bootstrap Timepicker Dark Theme */
.bootstrap-timepicker-widget.dropdown-menu:after {
  border-bottom-color: var(--thrive-bg-card) !important;
}

.bootstrap-timepicker-widget.timepicker-orient-bottom:after {
  border-top-color: var(--thrive-bg-card) !important;
}

.bootstrap-timepicker-widget {
  background-color: var(--thrive-bg-card) !important;
  border-color: var(--thrive-border-primary) !important;
}

.bootstrap-timepicker-widget table td a {
  color: var(--thrive-text-primary) !important;
}

.bootstrap-timepicker-widget table td a:hover {
  background-color: var(--thrive-bg-hover) !important;
  border-color: var(--thrive-border-secondary) !important;
}

/* Dropzone Additional Overrides */
.dropzone.dz-preview.dz-image-preview {
  background: var(--thrive-bg-card) !important;
}

.dropzone .dz-preview .dz-details .dz-filename:hover span {
  background-color: var(--thrive-bg-hover) !important;
  border-color: var(--thrive-border-secondary) !important;
}

.dropzone .dz-preview .dz-details .dz-filename span,
.dropzone .dz-preview .dz-details .dz-size span {
  background-color: var(--thrive-bg-hover) !important;
}

.dropzone .dz-preview .dz-progress {
  background: var(--thrive-bg-hover) !important;
}

.dropzone .dz-preview .dz-error-message {
  color: #fafafa !important;
}

/* Awesomplete Additional */
.awesomplete ul {
  background: var(--thrive-bg-card) !important;
}

/* At.js Mentions Additional */
.atwho-view {
  background: var(--thrive-bg-card) !important;
}

.atwho-view .cur {
  color: #fafafa !important;
}

.atwho-view .cur small {
  color: #fafafa !important;
}

.atwho-view .cur strong {
  color: #fafafa !important;
}

/* Navbar Additional */
.navbar-custom {
  background: var(--thrive-bg-card) !important;
}

/* Sidebar Additional */



/* DataTable Additional White Overrides */
table.dataTable.stripe tbody tr.odd {
  background-color: var(--thrive-bg-card) !important;
}

table.dataTable.row-border tbody th,
table.dataTable.row-border tbody td,
table.dataTable.display tbody th,
table.dataTable.display tbody td,
table.dataTable.display tfoot th,
table.dataTable.display tfoot td {
  background-color: var(--thrive-bg-card) !important;
}

table.dataTable.dtr-inline.collapsed tbody tr.active td.dtr-control:before,
table.dataTable.dtr-inline.collapsed tbody tr.active td.dtr-control:after {
  background-color: #fafafa !important;
}

/* DataTable Export Additional */
.datatable-export a:hover {
  background: var(--thrive-bg-hover) !important;
}

/* DTTT Buttons Additional */
button.DTTT_button,
div.DTTT_button,
a.DTTT_button,
a.DTTT_button:focus {
  background: var(--thrive-bg-card) !important;
}

a.DTTT_button:hover {
  background: var(--thrive-bg-hover) !important;
}

/* Pagination Additional */
.dt-container .dt-paging .dt-paging-button {
  background: var(--thrive-bg-card) !important;
}

/* Print View Additional */
.dt-print-view table.dataTable thead th,
.dt-print-view table.dataTable.display tbody td {
  background-color: var(--thrive-bg-card) !important;
}

/* Custom Toolbar Additional */
.custom-toolbar .select2-container .select2-choice {
  background-color: var(--thrive-bg-card) !important;
}

/* Post Dropzone Additional */
.post-dropzone {
  background: var(--thrive-bg-card) !important;
}

/* Datepicker Custom Selector Additional */
.datepicker-custom-selector {
  background: var(--thrive-bg-card) !important;
}

/* Note Editor Additional */
.note-editor.fullscreen {
  background: var(--thrive-bg-card) !important;
}

/* iFrame Additional */
.mfp-iframe-scaler iframe {
  background: var(--thrive-bg-card) !important;
}

/* Image Preview Additional */
.dz-image-preview img[alt$=".png"] {
  background: var(--thrive-bg-card) !important;
}

/* Background White Utilities */
.b-white,
.bg-white,
.bg-all-white {
  background: var(--thrive-bg-card) !important;
}


/* Button Additional */
.btn-default {
  background-color: var(--thrive-bg-hover) !important;
  color: var(--thrive-text-primary) !important;
}

.btn-transparent:hover {
  background-color: var(--thrive-bg-hover) !important;
}




/* White Link */
.white-link {
  color: #fafafa !important;
}

.white-link:hover {
  color: #fafafa !important;
}

/* General Form White */
.general-form.white .form-control,
.general-form.white .select2-container .select2-choice,
.general-form.white .select2-container-multi.form-control,
.general-form.white .select2-container-multi.form-control .select2-choices,
.general-form.white .select2-container-multi.form-control .select2-choices .select2-search-field input,
.general-form .form-control.white {
  background: var(--thrive-bg-card) !important;
}

/* General Form Controls Border */
.general-form .form-control {
  border: 1px solid var(--thrive-border-primary) !important;
}

/* Nav Tabs Additional */
.nav-tabs {
  background: var(--thrive-bg-card) !important;
}

/* Page Title Additional */
.page-title {
  background: var(--thrive-bg-card) !important;
}

/* Checkbox Additional */
.checkbox-blank:hover {
  background-color: var(--thrive-bg-hover) !important;
}

/* Social Link Additional */
.social-link:focus {
  color: #fafafa !important;
}

/* App Modal Additional */
.app-modal.loading .app-modal-sidebar {
  border-color: var(--thrive-border-primary) !important;
}

/* App Popover Additional */
.app-popover .list-group-item.active {
  background-color: #156EF6 !important;
  color: #fafafa !important;
}

/* Kanban Additional */
.kanban-col.kanban-col-collapsed .kanban-col-title {
  background-color: var(--thrive-bg-card) !important;
}

/* Chat Additional */
.rise-chat-footer {
  background: var(--thrive-bg-card) !important;
}

.chat-me .chat-msg a {
  color: var(--thrive-text-primary) !important;
}

/* Custom Widget Additional */
.custom-widget .custom-widget-title {
  background-color: var(--thrive-bg-card) !important;
}

/* Color White Utility */
.color-white {
  color: #fafafa !important;
}

/* Badge Additional */
.badge a:hover,
.badge a:active,
.badge a:focus {
  color: #fafafa !important;
}

.badge.badge-default {
  background-color: var(--thrive-bg-hover) !important;
  color: var(--thrive-text-primary) !important;
}

a.badge:hover {
  background-color: var(--thrive-bg-hover) !important;
}

.badge-white {
  background-color: var(--thrive-bg-hover) !important;
  color: var(--thrive-text-primary) !important;
}

/* Search Modal Additional */
.search-modal .select2-choice {
  background-color: var(--thrive-bg-card) !important;
}

.search-modal .help-search-box:focus {
  background-color: var(--thrive-bg-hover) !important;
}

/* Inline Loader Additional */
.inline-loader:hover,
.loader-container.inline-loader:hover {
  background-color: var(--thrive-bg-hover) !important;
}

/* Priority Badge */
.priority-badge {
  background-color: var(--thrive-bg-card) !important;
}

/* Nav Pills Additional */
.nav-pills {
  background: var(--thrive-bg-card) !important;
}

/* Smart Filter Additional */
.smart-filter-item.active:hover,
.smart-filter-item.active:focus {
  background-color: #156EF6 !important;
  color: #fafafa !important;
}

/* Compact View Additional */
.compact-view-active .dataTable:not(.js-selection-mode) tbody tr.active td .text-default {
  color: #fafafa !important;
}

/* Details View Additional */
.details-view-top-button.position-fixed-top {
  background-color: var(--thrive-bg-card) !important;
}

/* Mobile Bottom Menu Additional */
.mobile-bottom-menu .dropdown-menu .dropdown-item.btn-success,
.mobile-bottom-menu .dropdown-menu .dropdown-item.btn-danger,
.mobile-bottom-menu .dropdown-menu .dropdown-item.btn-primary {
  color: #fafafa !important;
}

/* Active Table Row Additional */
.dataTable:not(.js-selection-mode) tbody tr.active td,
.dataTable:not(.js-selection-mode) tbody tr.active:hover td {
  color: #fafafa !important;
}

.dataTable:not(.js-selection-mode) tbody tr.active .badge {
  background-color: #fafafa !important;
}

.dataTable:not(.js-selection-mode) tbody tr.active a.link {
  color: #fafafa !important;
}

table.dataTable tbody tr.active td a,
table.dataTable tbody tr.active td .text-default {
  color: #fafafa !important;
}

/* Sidebar Toggled Additional */
.sidebar-toggled .sidebar-menu li:hover {
  background-color: var(--thrive-bg-card) !important;
}

.sidebar-toggled .sidebar-menu li ul li {
  background-color: var(--thrive-bg-card) !important;
}

.sidebar-toggled .sidebar-menu li ul li:hover {
  background-color: var(--thrive-bg-hover) !important;
}

/* HTML Body Additional */
html,
body {
  background-color: var(--thrive-bg-dark) !important;
}

/* Border Color Additional for #f1f1f5 */
.sidebar .sidebar-scroll {
  border-top-color: var(--thrive-border-primary) !important;
}

.filter-multi-select.open,
.filter-multi-select:focus,
.filter-multi-select:active {
  border-color: var(--thrive-border-primary) !important;
}

.dropdown-toggle {
  border-color: var(--thrive-border-primary) !important;
}

/* ===================================================== */
/* END REMAINING COLOR OVERRIDES */
/* ===================================================== */


/* ===================================================== */
/* SPECIFIC SELECTORS WITH LIGHT COLORS */
/* Page content cards, action options, sidebar brand */
/* ===================================================== */

/* Page Content Card Border Override */
.page-content .card {
  box-shadow: none !important;
  border: 1px solid var(--thrive-border-primary) !important;
  background-color: var(--thrive-bg-card) !important;
}

/* Action Option Buttons */
td.option a,
.action-option {
  cursor: pointer !important;
  min-width: 28px !important;
  background: var(--thrive-bg-card) !important;
  color: var(--thrive-text-secondary) !important;
  border-radius: 50% !important;
  display: inline-block !important;
  position: relative !important;
  vertical-align: middle !important;
  text-align: center !important;
  margin: 0 5px !important;
  padding: 2px 0 3px 0 !important;
  border: 1px solid var(--thrive-border-primary) !important;
}

td.option a:hover,
.action-option:hover {
  background: var(--thrive-bg-hover) !important;
  color: var(--thrive-text-primary) !important;
}

/* Sidebar Brand */
.sidebar-brand {
  padding: 12px 20px !important;
  width: 250px !important;
  height: 66px !important;
  position: fixed !important;
  text-align: center !important;
  z-index: 999 !important;
  border-bottom: 1px solid var(--thrive-border-primary) !important;
  background-color: var(--thrive-bg-card) !important;
}

/* Additional Sidebar Brand States */
.sidebar-brand a {
  color: var(--thrive-text-primary) !important;
}

.sidebar-brand:hover {
  background-color: var(--thrive-bg-card) !important;
}

/* ===================================================== */
/* END SPECIFIC SELECTORS */
/* ===================================================== */


/* ===================================================== */
/* FIX DROPDOWN AND SELECT2 COLORS */
/* Override #4e5e6a dark text and #f9f9f9 backgrounds */
/* ===================================================== */

/* Filter Multi Select and Dynamic Range Filter */
.filter-multi-select .dropdown-toggle,
.dynamic-range-filter .dropdown-toggle {
  color: var(--thrive-text-primary) !important;
  border-color: var(--thrive-border-primary) !important;
  background-color: var(--thrive-bg-card) !important;
  text-align: left !important;
}

.filter-multi-select .dropdown-toggle:hover,
.dynamic-range-filter .dropdown-toggle:hover {
  background-color: var(--thrive-bg-hover) !important;
}

/* Select2 Container Multi */
.select2-container-multi .select2-choices {
  border-color: var(--thrive-border-primary) !important;
  background: var(--thrive-bg-card) !important;
  border-radius: 5px !important;
}

.select2-container-multi .select2-choices .select2-search-choice {
  background: var(--thrive-bg-hover) !important;
  color: var(--thrive-text-primary) !important;
  border-color: var(--thrive-border-secondary) !important;
}

.select2-container-multi .select2-choices .select2-search-field input {
  color: var(--thrive-text-primary) !important;
}

/* Remove Hardcoded #e5e5e5 from Page Title - Use Lighter Color */
.page-title,
.title-section,
.page-header {
  color: var(--thrive-text-white) !important;
  /* Use #fafafa instead of #e5e5e5 for better visibility */
}

.page-title h1,
.page-title h2,
.page-title h3,
.page-title h4,
.title-section h1,
.title-section h2,
.page-header h1,
.page-header h2 {
  color: var(--thrive-text-white) !important;
}

/* ===================================================== */
/* END DROPDOWN AND SELECT2 FIXES */
/* ===================================================== */


/* ===================================================== */
/* SELECT2 FILTER SECTIONS */
/* Fix transparent backgrounds and light borders */
/* ===================================================== */

.filter-section-container .select2-choice,
.datatable-tools .select2-choice,
.timesheet-buttons .select2-choice,
.item-categories-filter-section .select2-choice,
.payment-received-chart .select2-choice {
  background: var(--thrive-bg-card) !important;
  border-color: var(--thrive-border-primary) !important;
  border-radius: 5px !important;
  color: var(--thrive-text-primary) !important;
}

.filter-section-container .select2-choice:hover,
.datatable-tools .select2-choice:hover,
.timesheet-buttons .select2-choice:hover,
.item-categories-filter-section .select2-choice:hover,
.payment-received-chart .select2-choice:hover {
  background: var(--thrive-bg-hover) !important;
}

/* Select2 Dropdown Results */
.select2-results {
  background-color: var(--thrive-bg-card) !important;
  color: var(--thrive-text-primary) !important;
}

.select2-results .select2-highlighted {
  background-color: var(--thrive-bg-hover) !important;
  color: var(--thrive-text-white) !important;
}

.select2-results li {
  color: var(--thrive-text-primary) !important;
}

/* Select2 Container */
.select2-container {
  color: var(--thrive-text-primary) !important;
}

.select2-container .select2-choice {
  background-color: var(--thrive-bg-card) !important;
  border-color: var(--thrive-border-primary) !important;
  color: var(--thrive-text-primary) !important;
}

.select2-container .select2-choice .select2-arrow {
  background-color: var(--thrive-bg-card) !important;
  border-left-color: var(--thrive-border-primary) !important;
}

.select2-drop {
  background-color: var(--thrive-bg-card) !important;
  border-color: var(--thrive-border-primary) !important;
}

.select2-search input {
  background-color: var(--thrive-bg-dark) !important;
  border-color: var(--thrive-border-primary) !important;
  color: var(--thrive-text-primary) !important;
}

/* ===================================================== */
/* END SELECT2 FILTER SECTIONS */
/* ===================================================== */


/* ===================================================== */
/* COMPREHENSIVE FIX FOR ALL #4E5E6A DARK TEXT */
/* Replace all dark gray text with light text for visibility */
/* ===================================================== */

/* Dropdown Divider */
.dropdown-divider {
  border-color: var(--thrive-border-primary) !important;
}

/* Nav Tabs - Fix dark text and light borders */
.nav-tabs li .active,
.nav-tabs li.active {
  font-weight: 600 !important;
  border-radius: 0 !important;
  cursor: default !important;
  color: var(--thrive-text-white) !important;
  border-bottom: 1px solid var(--thrive-border-primary) !important;
  background-color: transparent !important;
  border-color: transparent !important;
}

.nav-tabs li a.active::after,
.nav-tabs li:not(.title-tab) a::after {
  background-color: #156EF6 !important;
}

.nav-tabs {
  border-bottom-color: var(--thrive-border-primary) !important;
}

/* Navbar Nav Links */
.navbar-nav .nav-link {
  color: var(--thrive-text-primary) !important;
}

.navbar-nav .form-check .form-check-label,
.navbar-nav .form-check .form-check-input {
  color: var(--thrive-text-primary) !important;
}

/* DataTable Text Colors */
.dataTable:not(.js-selection-mode) tbody tr {
  color: var(--thrive-text-primary) !important;
}

table.dataTable thead th {
  color: var(--thrive-text-primary) !important;
}

table.dataTable thead th.dt-orderable-asc.dt-ordering-asc .dt-column-order::after,
table.dataTable thead th.dt-orderable-asc.dt-ordering-asc .dt-column-order::before,
table.dataTable thead th.dt-orderable-asc.dt-ordering-desc .dt-column-order::after,
table.dataTable thead th.dt-orderable-asc.dt-ordering-desc .dt-column-order::before,
table.dataTable thead th.dt-orderable-desc.dt-ordering-asc .dt-column-order::after,
table.dataTable thead th.dt-orderable-desc.dt-ordering-asc .dt-column-order::before,
table.dataTable thead th.dt-orderable-desc.dt-ordering-desc .dt-column-order::after,
table.dataTable thead th.dt-orderable-desc.dt-ordering-desc .dt-column-order::before {
  background-color: var(--thrive-text-primary) !important;
}

table.dataTable.display tbody th,
table.dataTable.display tbody td {
  color: var(--thrive-text-primary) !important;
}

table.dataTable.dtr-inline.collapsed tbody tr td.dtr-control:before,
table.dataTable.dtr-inline.collapsed tbody tr.dt-hasChild td.dtr-control:before {
  background-color: var(--thrive-text-primary) !important;
}

/* DataTable Export */
.datatable-export a {
  color: var(--thrive-text-primary) !important;
}

/* Pagination */
.dt-container .dt-paging .dt-paging-button .page-link {
  color: var(--thrive-text-primary) !important;
}

.dt-container .dt-paging .dt-paging-button.active .page-link {
  color: var(--thrive-text-primary) !important;
}

/* DataTable Buttons */
.dt-container .dt-buttons .buttons-excel,
.dt-container .dt-buttons .buttons-print {
  color: var(--thrive-text-primary) !important;
}

.dt-info {
  color: var(--thrive-text-primary) !important;
}

/* FullCalendar */
.fc-button-group .fc-button-primary,
.fc-toolbar-chunk .fc-button-primary,
.fc-button {
  color: var(--thrive-text-primary) !important;
}

.fc-col-header-cell-cushion,
.fc-daygrid-day-number {
  color: var(--thrive-text-primary) !important;
}

/* Datepicker Custom Selector */
.datepicker-custom-selector {
  color: var(--thrive-text-primary) !important;
}

/* TinyMCE Editor */
.tox .tox-tbtn {
  color: var(--thrive-text-primary) !important;
}

/* Body Text */
body {
  color: var(--thrive-text-primary) !important;
  --bs-body-color: var(--thrive-text-primary) !important;
}

/* Code Blocks */
pre,
code {
  color: var(--thrive-text-primary) !important;
}

/* Dark Links */
a.dark,
.dark {
  color: var(--thrive-text-primary) !important;
}

/* Buttons */
.btn-default {
  color: var(--thrive-text-primary) !important;
}

.btn-outline-light {
  color: var(--thrive-text-primary) !important;
}

/* Widget Details */
.widget-details span {
  color: var(--thrive-text-secondary) !important;
}

/* Text Default Utility */
.text-default {
  color: var(--thrive-text-primary) !important;
}

/* Form Controls */
.form-control {
  color: var(--thrive-text-primary) !important;
}

/* Nav Tabs Additional */
.nav-tabs li a {
  color: var(--thrive-text-primary) !important;
}

/* Page Title */
.page-title {
  color: var(--thrive-text-white) !important;
}

/* Content Sidebar */
.content-sidebar .list-group-item {
  color: var(--thrive-text-secondary) !important;
}

/* Dropdown Item */
.dropdown-item {
  color: var(--thrive-text-secondary) !important;
}

.dropdown-item:active,
.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--thrive-text-primary) !important;
}

/* App Alert Links */
.app-alert a {
  color: var(--thrive-text-secondary) !important;
}

/* Help Category */
.help-category-box {
  color: var(--thrive-text-secondary) !important;
}

/* Kanban Column Title */
.kanban-col .kanban-col-title {
  color: var(--thrive-text-white) !important;
}

/* Kanban Column Header */
.kanban-col-header {
  color: var(--thrive-text-white) !important;
}

/* Kanban Card */
.kanban-card {
  background-color: var(--thrive-bg-card) !important;
  border-color: var(--thrive-border-primary) !important;
  color: var(--thrive-text-primary) !important;
}

.kanban-card:hover {
  background-color: var(--thrive-bg-hover) !important;
}

/* Kanban Card Title */
.kanban-card-title {
  color: var(--thrive-text-white) !important;
}

/* Kanban Card Body */
.kanban-card-body {
  color: var(--thrive-text-primary) !important;
}

/* Kanban Filters */
.kanban-filters-container {
  background-color: var(--thrive-bg-card) !important;
}

/* Badge Transparent */
.badge.bg-transparent {
  color: var(--thrive-text-secondary) !important;
  border-color: var(--thrive-border-primary) !important;
}

/* Badge Light */
.badge-light {
  background-color: var(--thrive-bg-hover) !important;
  color: var(--thrive-text-primary) !important;
}

/* Keyboard Shortcut */
.keyboard-shortcut-info-icon {
  color: var(--thrive-text-secondary) !important;
}

/* Help Page Table */
.help-page-container .table {
  color: var(--thrive-text-primary) !important;
}

/* Badge White */
.badge-white {
  background-color: var(--thrive-bg-hover) !important;
  color: var(--thrive-text-primary) !important;
}

#keyboard-shortcut-modal-form .bg-white {
  color: var(--thrive-text-primary) !important;
  border-color: var(--thrive-border-primary) !important;
}

/* Status Indicator Dot */
.status-indicator-dot {
  background: var(--thrive-text-secondary) !important;
}

/* ===================================================== */
/* END COMPREHENSIVE #4E5E6A FIX */
/* ===================================================== */


/* ===================================================== */
/* COMPREHENSIVE LIGHT COLOR OVERRIDES */
/* Replace ALL remaining #f1f1f5, #f9f9f9, #f0f0f0, #fafafa instances */
/* ===================================================== */

/* Permission List */
.permission-list li {
  border-bottom-color: var(--thrive-border-primary) !important;
}

/* App Modal Sidebar */
.app-modal-sidebar {
  border-left-color: var(--thrive-border-primary) !important;
}

/* Milestone */
.milestone {
  border-color: var(--thrive-border-primary) !important;
}

/* Estimate Request Form */
.estimate_request_form.list-group-item {
  border-color: var(--thrive-border-primary) !important;
}

/* Box Title After */
.box-title:after {
  background-color: var(--thrive-border-primary) !important;
}

/* Invoice Styles Item */
.invoice-styles .item {
  border-color: var(--thrive-border-primary) !important;
}

/* Help Search Box */
.help-search-box {
  border-color: var(--thrive-border-primary) !important;
}

.help-search-box:focus {
  background-color: var(--thrive-bg-hover) !important;
  border-color: var(--thrive-border-secondary) !important;
}

/* Public Navbar */
.public-navbar {
  border-bottom-color: var(--thrive-border-primary) !important;
}

/* Todo Input Box */
.todo-input-box input {
  border-color: var(--thrive-border-primary) !important;
}

.todo-input-box input:focus {
  background-color: var(--thrive-bg-hover) !important;
  border-color: var(--thrive-border-secondary) !important;
}

/* Rise Chat Wrapper */
.rise-chat-wrapper .message-row {
  border-bottom-color: var(--thrive-border-primary) !important;
}

.rise-chat-wrapper .message-row:hover {
  background: var(--thrive-bg-hover) !important;
}

.rise-chat-wrapper .chat-topbar,
.rise-chat-wrapper .rise-chat-header {
  border-bottom-color: var(--thrive-border-primary) !important;
}

.rise-chat-header {
  border-bottom-color: var(--thrive-border-primary) !important;
}

.rise-chat-footer {
  border-top-color: var(--thrive-border-primary) !important;
}

/* Chat Other */
.chat-other .chat-msg {
  background-color: var(--thrive-bg-hover) !important;
}

/* Chat No Messages */
.chat-no-messages svg {
  color: var(--thrive-border-primary) !important;
}

/* Widget */
.widget {
  border-color: var(--thrive-border-primary) !important;
}

/* Add Column Drop */
.add-column-drop {
  border-color: var(--thrive-border-primary) !important;
}

/* Dashed Border */
.dashed_border {
  border-color: var(--thrive-border-primary) !important;
}

/* Custom Widget Title */
.custom-widget .custom-widget-title {
  border-bottom-color: var(--thrive-border-primary) !important;
}

/* Widget Todo Input Box */
.widget-todo-input-box input {
  background: var(--thrive-bg-hover) !important;
}

.widget-todo-input-box input:focus {
  background: var(--thrive-bg-active) !important;
}

.widget-todo-input-box .input-group {
  border-bottom-color: var(--thrive-border-primary) !important;
}

/* Active Team Members List */
.active-team-members-list .message-row {
  border-bottom-color: var(--thrive-border-primary) !important;
}

/* Invoice Preview Container */
.invoice-preview-container {
  border-color: var(--thrive-border-primary) !important;
}

/* Badge Transparent */
.badge.bg-transparent {
  border-color: var(--thrive-border-primary) !important;
}

/* Badge Default */
.badge.badge-default {
  border-color: var(--thrive-border-primary) !important;
}

/* Badge Light */
.badge-light {
  background-color: var(--thrive-bg-hover) !important;
}

/* Ticket Template Table */
#ticket-template-table td:first-child {
  border-top-color: var(--thrive-border-primary) !important;
}

/* Lead Migration Contacts */
.lead-migration-contacts {
  border-color: var(--thrive-border-primary) !important;
}

/* Footer */
.footer {
  border-top-color: var(--thrive-border-primary) !important;
}

/* Editable Input Date */
.editable-input .editable-date {
  border-color: var(--thrive-border-primary) !important;
}

/* Keyboard Shortcut Modal */
#keyboard-shortcut-modal-form .bg-white {
  border-color: var(--thrive-border-primary) !important;
}

/* Edit Image File */
.edit-image-file {
  border-color: var(--thrive-border-primary) !important;
}

/* Item Search Box */
.item-search-box {
  border-color: var(--thrive-border-primary) !important;
}

/* Input Color */
input[type=color] {
  border-color: var(--thrive-border-primary) !important;
}

/* Circle Progress Bar */
.circle-progress-bar {
  border-color: var(--thrive-border-primary) !important;
}

/* B-R-2 */
.b-r-2 {
  border-right-color: var(--thrive-border-primary) !important;
}

/* Btn Group Active */
.btn-group .btn.active {
  border-color: var(--thrive-border-primary) !important;
  background-color: var(--thrive-bg-hover) !important;
}

/* Nav Pills */
.nav-pills {
  border-color: var(--thrive-border-primary) !important;
}

.nav-pills li .active,
.nav-pills li.active {
  background: var(--thrive-bg-hover) !important;
}

/* Custom BG Modal */
.custom-bg-modal.modal-dialog {
  background: var(--thrive-bg-card) !important;
}

.custom-bg-modal.modal-dialog .modal-content {
  background: var(--thrive-bg-card) !important;
}

/* Filter Form */
.filter-form {
  border-top-color: var(--thrive-border-primary) !important;
}

/* Smart Filter Dropdown Container */
.smart-filter-dropdown-container .search-filter {
  border-color: var(--thrive-border-primary) !important;
}

/* Compact View Active */
.compact-view-active .compact-view-left-panel .datatable-tools {
  border-color: var(--thrive-border-primary) !important;
}

/* File List View */
.file-list-view {
  border-color: var(--thrive-border-primary) !important;
}

/* File Manager Preview Section */
.file-manager-preview-section .text-white {
  border-color: var(--thrive-border-primary) !important;
}

/* Generate Password */
#generate_password {
  border-color: var(--thrive-border-primary) !important;
}

/* Condition Field Expected Value */
.condition-field-expected_value_1:not(.empty-input-tag, .single-input-tag) {
  border-color: var(--thrive-border-primary) !important;
}

/* Rich Text Container Table */
.rich-text-container table td {
  border-color: var(--thrive-border-primary) !important;
}

/* Support Type Label */
.support-type-label {
  border-color: var(--thrive-border-primary) !important;
}

/* List Group Info List */
.list-group.info-list .list-group-item {
  border-top-color: var(--thrive-border-primary) !important;
}

/* Pin Comment Preview */
.pin-comment-preview:not(:last-child) {
  border-bottom-color: var(--thrive-border-primary) !important;
}

/* Box Wrapper Hover */
.box-wrapper .box-avatar.hover::after {
  border-color: var(--thrive-border-primary) !important;
}

/* Mobile Mirror */
.mobile-mirror .datatable-tools .col-md-3 {
  border-bottom-color: var(--thrive-border-primary) !important;
}

.mobile-mirror .filter-section-left .scrollable-container::-webkit-scrollbar-thumb {
  background: var(--thrive-border-primary) !important;
}

/* Flex Item Row */
.flex-item-row {
  border-color: var(--thrive-border-primary) !important;
}

/* Timesheet Activity Heatmap */
.timesheet-activity-heatmap td,
.timesheet-activity-heatmap th {
  background-color: var(--thrive-bg-hover) !important;
}

.timesheet-activity-heatmap tr:hover td {
  background-color: var(--thrive-bg-active) !important;
}

.timesheet-activity-heatmap .weekends-highlight {
  background-color: var(--thrive-bg-dark) !important;
}

/* Highlight Toolbar */
.highlight-toolbar {
  background-color: var(--thrive-bg-hover) !important;
}

/* Kanban Item Hover */
.kanban-col .kanban-item-list .kanban-item:hover,
.kanban-col .kanban-item-list .kanban-item:active,
.kanban-col .kanban-item-list .kanban-item:focus {
  background: var(--thrive-bg-hover) !important;
  color: var(--thrive-text-primary) !important;
}

/* Kanban Item Checked */
.kanban-item-checked {
  background-color: var(--thrive-bg-hover) !important;
}

/* Selected Folder Item */
.selected-folder-item {
  background: var(--thrive-bg-hover) !important;
}

/* Folder Item Content */
.folder-item-content:hover {
  background: var(--thrive-bg-hover) !important;
}

.folder-item-content.focus {
  background-color: var(--thrive-bg-hover) !important;
}

/* Icon Tag Hover */
.icon-tag:hover {
  background-color: var(--thrive-bg-hover) !important;
}

/* Icon Palet Active */
.icon-palet .active {
  background-color: var(--thrive-bg-hover) !important;
}

/* Dashboard View Open Dropdown Toggle */
.dashboard-view .open .dropdown-toggle {
  background-color: var(--thrive-bg-hover) !important;
}

/* Grid BG */
.grid-bg {
  background: var(--thrive-bg-hover) !important;
}

/* Sub Task Icon */
.sub-task-icon {
  background: var(--thrive-bg-hover) !important;
}

/* TD Checkbox */
.td-checkbox {
  background: var(--thrive-bg-hover) !important;
}

.td-checkbox a {
  background: var(--thrive-bg-card) !important;
}

/* Notes Grid Container */
.notes-grid-container .file-list-view {
  border-color: var(--thrive-border-primary) !important;
}

/* ===================================================== */
/* END COMPREHENSIVE LIGHT COLOR OVERRIDES */
/* ===================================================== */


/* ===================================================== */
/* FIX REMAINING #f0f0f0 LIGHT COLORS */
/* ===================================================== */

/* Help Search Box Focus */
.help-search-box:focus {
  background-color: var(--thrive-bg-hover) !important;
  border-color: var(--thrive-border-secondary) !important;
}

/* Todo Input Box Focus */
.todo-input-box input:focus {
  background-color: var(--thrive-bg-hover) !important;
  border-color: var(--thrive-border-secondary) !important;
}

/* Rise Chat Wrapper Message Row Hover */
.rise-chat-wrapper .message-row:hover {
  background: var(--thrive-bg-hover) !important;
}

/* Chat Other Message */
.chat-other .chat-msg {
  background-color: var(--thrive-bg-hover) !important;
}

/* Widget Todo Input Box Focus */
.widget-todo-input-box input:focus {
  background: var(--thrive-bg-active) !important;
}

/* TD Checkbox */
.td-checkbox {
  background: var(--thrive-bg-hover) !important;
}

/* Sub Task Icon */
.sub-task-icon {
  background: var(--thrive-bg-hover) !important;
}

/* Expense Tabs Nav Pills */
#expense-tabs.nav-pills {
  background-color: var(--thrive-bg-card) !important;
}

/* ===================================================== */
/* END FIX REMAINING #f0f0f0 LIGHT COLORS */
/* ===================================================== */


/* ===================================================== */
/* FIX REMAINING #f5f5f5 LIGHT COLORS */
/* ===================================================== */

/* Dashboard View Open Dropdown Toggle */
.dashboard-view .open .dropdown-toggle {
  background-color: var(--thrive-bg-hover) !important;
}

/* Grid BG */
.grid-bg {
  background: var(--thrive-bg-hover) !important;
}

/* Icon Tag Hover */
.icon-tag:hover {
  background-color: var(--thrive-bg-hover) !important;
}

/* Icon Palet Active */
.icon-palet .active {
  background-color: var(--thrive-bg-hover) !important;
}

/* Folder Item Content Hover */
.folder-item-content:hover {
  background: var(--thrive-bg-hover) !important;
}

.folder-item-content.focus {
  background-color: var(--thrive-bg-hover) !important;
}

/* Timesheet Activity Heatmap Hover */
.timesheet-activity-heatmap tr:hover td {
  background-color: var(--thrive-bg-active) !important;
}

/* ===================================================== */
/* END FIX REMAINING #f5f5f5 LIGHT COLORS */
/* ===================================================== */


/* ===================================================== */
/* FIX REMAINING #edeff5 LIGHT COLORS */
/* ===================================================== */

/* Unread Notification */
.unread-notification {
  background-color: var(--thrive-bg-hover) !important;
}

/* ===================================================== */
/* END FIX REMAINING #edeff5 LIGHT COLORS */
/* ===================================================== */

/* ===================================================== */
/* REMOVE BORDERS AND FIX BACKGROUNDS FOR LAYOUT ELEMENTS */
/* ===================================================== */

/* Note Editor Statusbar - Remove border */
.note-editor.note-frame .note-statusbar {
  border-color: transparent !important;
  border-top: none !important;
  background-color: var(--thrive-bg-dark) !important;
}

/* Note Editor - Remove all borders */


.note-editor.note-frame .note-editing-area {
  border-color: transparent !important;
}

.note-editor.note-frame .note-toolbar {
  border-color: transparent !important;
  background-color: var(--thrive-bg-dark) !important;
}

/* ===================================================== */
/* CONSOLIDATED DARK BACKGROUND FOR LAYOUT ELEMENTS */
/* Ensure sidebar, navbar, and brand all use darkest background */
/* ===================================================== */

.sidebar, 
.sidebar-scroll, 
.sidebar-brand, 
.navbar-custom {
  background-color: var(--thrive-bg-dark) !important;
  border: none !important;
}

/* Additional navbar variants */
.navbar {
  background-color: var(--thrive-bg-dark) !important;
  border: none !important;
}

/* Ensure no borders on any state */
.sidebar-toggled .sidebar,
.sidebar-toggled .sidebar-scroll,
.sidebar-toggled .sidebar-brand {
  background-color: var(--thrive-bg-dark) !important;
  border: none !important;
}

/* ===================================================== */
/* END CONSOLIDATED DARK BACKGROUND */
/* ===================================================== */

/* ===================================================== */
/* PROJECT DETAILS VIEW AND LAYOUT FIXES */
/* ===================================================== */

/* Page Container - Add overflow auto */
.page-container {
  overflow: auto !important;
  padding: 1px 10px 0px 10px !important;
}

/* Main Scrollable Page - Enhanced styling */
.scrollable-page.main-scrollable-page {
  background: var(--thrive-bg-card) !important;
  border-radius: 10px !important;
  height: 90svh !important;
  border: 1px solid var(--thrive-border-primary) !important;
}

/* Project Details View - Remove padding */
.page-content.project-details-view.clearfix.xs-full-width {
  padding: 0px !important;
}

.project-details-view .container-fluid {
  padding: 0px !important;
}

/* Project Details Page Title - Clean borders */
.project-details-view .page-title {
  border: none !important;
  padding: 0px 16px !important;
  margin: 0px !important;
}

/* Primary Button Hover - Fix text color */
.btn-primary:hover, 
.btn-primary:focus {
  background-color: #0d4fb8 !important;
  border-color: #0d4fb8 !important;
  color: #fafafa !important;
}

/* Pagination Active Button */
li.dt-paging-button.page-item.active .page-link {
  background: var(--thrive-bg-active) !important;
  color: #fafafa !important;
}

/* Project Tasks List Section - Remove card borders */
div#project-tasks_list-section .card {
  border: none !important;
  border-radius: 0px !important;
}

/* Project Details Nav Tabs - Clean styling */
.project-details-view .nav-tabs {
  border-bottom-color: var(--thrive-border-primary) !important;
  border: 0px !important;
  border-bottom: 1px solid var(--thrive-border-primary) !important;
  border-top: 1px solid var(--thrive-border-primary) !important;
  border-radius: 0px !important;
  margin: 0px !important;
}

/* Card Header - Clean borders */
.card .card-header:first-child {
  border-radius: 0 !important;
  border: 0px !important;
  border-bottom: 1px solid var(--thrive-border-primary) !important;
}

/* ===================================================== */
/* END PROJECT DETAILS VIEW AND LAYOUT FIXES */
/* ===================================================== */

/* ===================================================== */
/* KANBAN BOARD DARK THEME STYLING */
/* ===================================================== */

/* Project Overview Section */
#project-overview-section .clearfix {
  padding: 16px !important;
}

/* Project Tasks Kanban Section - Remove card borders */
div#project-tasks_kanban-section .card {
  border: none !important;
}

/* Kanban Card Header - Remove top padding */
#project-tasks_kanban-section .card-header.title-tab.clearfix {
  padding-top: 0px !important;
}

/* Kanban Container - Transparent background */
ul#kanban-container {
  background: transparent !important;
}

/* Kanban Column - Dark hover background */
.kanban-col {
  background: var(--thrive-bg-hover) !important;
  padding: 8px !important;
}

/* Kanban Column Title - Transparent with border */
.kanban-col .kanban-col-title {
  background: transparent !important;
  border-bottom: 1px solid var(--thrive-border-secondary) !important;
  border-radius: 8px !important;
}

/* Project Details Page Title - Negative margin */
.project-details-view .page-title {
  margin-top: -10px !important;
}

/* Kanban Item - Modal background */
.kanban-col .kanban-item-list .kanban-item {
  background-color: var(--thrive-bg-modal) !important;
}

/* Kanban Item Hover States - Active background */
.kanban-col .kanban-item-list .kanban-item:hover, 
.kanban-col .kanban-item-list .kanban-item:active, 
.kanban-col .kanban-item-list .kanban-item:focus {
  background: var(--thrive-bg-active) !important;
}

ul#project-files-tabs {
    border: none !important;
    border-bottom: 1px solid var(--thrive-border-primary) !important;
}

#project-files-section .card.border-top-0.rounded-top-0 {
    border: none !important;
    border-radius: 0px !important;
}



/* ===================================================== */
/* END KANBAN BOARD DARK THEME STYLING */
/* ===================================================== */


.projects-list-view {

    padding: 0;

}



.projects-list-view .page-title {

    border: none !important;

}



.projects-list-view .card {

    border: none !important;

}



.card .filter-section-container{
  border-top: none !important;
}

div#project-table_wrapper,
.client_tasks-page .filter-section-container,
.clients-page .filter-section-container,
.subscriptions-page .filter-section-container,
.invoices-page .filter-section-container,
.tickets-page .filter-section-container
{
  border-top: 1px solid var(--thrive-border-primary) !important;
}



/* Pages with no inner padding */
.projects-page .page-wrapper,
.client_tasks-page .page-wrapper,
.clients-page .page-wrapper,
.subscriptions-page .page-wrapper,
.invoices-page .page-wrapper,
.tickets-page .page-wrapper{
    padding: 0 !important;
}

/* Remove card borders across pages */
.client_tasks-page .card,
.clients-page .card,
.subscriptions-page .card,
.invoices-page .card,
.tickets-page .card{
    border: none !important;
}

/* Page title cleanup */
.projects-page .page-title,
.client_tasks-page .page-title,
.clients-page .page-title,
.subscriptions-page .page-title,
.invoices-page .page-title,
.tickets-page .page-title{
    border: none !important;
}

/* Tabs styling (shared) */
.client_tasks-page .nav-tabs,
.clients-page .nav-tabs,
.subscriptions-page .nav-tabs,
.invoices-page .nav-tabs,
.tickets-page .nav-tabs{
    border: none !important;
    border-top: 1px solid var(--thrive-border-primary) !important;
    border-radius: 0 !important;
}
.note-editor.note-frame {
    border-color: var(--thrive-border-primary) !important;
    border-radius: 8px;
    overflow: hidden;
}

/* ===================================================== */
/* FONT SIZE ONLY - Based on tpx/project-view.html */
/* ===================================================== */



/* ===================================================== */
/* AI REQUEST CARDS - Dark Theme */
/* ===================================================== */

.ai-task-card {
  background-color: var(--thrive-bg-card) !important;
  border: 1px solid var(--thrive-border-primary) !important;
  border-radius: 8px !important;
  padding: 16px !important;
  margin-bottom: 16px !important;
  transition: all 0.2s ease !important;
}

.ai-task-card:hover {
  border-color: var(--thrive-border-hover) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.ai-task-card.removed {
  opacity: 0.5 !important;
  background-color: var(--thrive-bg-dark) !important;
}

.ai-task-card h5 {
  color: var(--thrive-text-white) !important;
  margin-bottom: 12px !important;
  font-size: 16px !important;
}

.ai-task-card .task-description {
  color: var(--thrive-text-primary) !important;
  margin-bottom: 12px !important;
  line-height: 1.6 !important;
}

.ai-task-card .task-actions {
  display: flex !important;
  gap: 8px !important;
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px solid var(--thrive-border-primary) !important;
}

.ai-task-card .task-edit {
  margin-bottom: 12px !important;
}

.ai-task-card .task-edit .form-group {
  margin-bottom: 12px !important;
}

.ai-task-card .task-edit label {
  color: var(--thrive-text-white) !important;
  font-weight: 500 !important;
  margin-bottom: 6px !important;
}

.ai-task-card .task-edit input,
.ai-task-card .task-edit textarea {
  background-color: var(--thrive-bg-hover) !important;
  border: 1px solid var(--thrive-border-primary) !important;
  color: var(--thrive-text-primary) !important;
}

.ai-task-card .task-edit input:focus,
.ai-task-card .task-edit textarea:focus {
  border-color: var(--thrive-brand-primary) !important;
  background-color: var(--thrive-bg-card) !important;
}

.ai-tasks-container {
  max-height: 500px !important;
  overflow-y: auto !important;
  padding-right: 8px !important;
}

/* Scrollbar styling for AI tasks container */
.ai-tasks-container::-webkit-scrollbar {
  width: 8px !important;
}

.ai-tasks-container::-webkit-scrollbar-track {
  background: var(--thrive-bg-dark) !important;
  border-radius: 4px !important;
}

.ai-tasks-container::-webkit-scrollbar-thumb {
  background: var(--thrive-bg-hover) !important;
  border-radius: 4px !important;
}

.ai-tasks-container::-webkit-scrollbar-thumb:hover {
  background: var(--thrive-bg-active) !important;
}



/* ===================================================== */
/* WELCOME DASHBOARD - Dark Theme */
/* ===================================================== */

.welcome-dashboard-view {
  padding: 24px !important;
}

/* Welcome Section */
.welcome-section {
  background: linear-gradient(135deg, #156EF6 0%, #0d4fb8 100%) !important;
  border-radius: 12px !important;
  padding: 32px !important;
  color: white !important;
}

.welcome-title {
  font-size: 32px !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  color: white !important;
}

.welcome-subtitle {
  font-size: 16px !important;
  opacity: 0.9 !important;
  margin-bottom: 0 !important;
  color: white !important;
}

/* Getting Started Card */
.getting-started-card {
  background-color: var(--thrive-bg-card) !important;
  border: 1px solid var(--thrive-border-primary) !important;
  border-radius: 12px !important;
}

.getting-started-card .card-title {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--thrive-text-white) !important;
}

/* Timeline Checklist */
.timeline-checklist {
  position: relative !important;
  padding-left: 32px !important;
}

.timeline-item {
  position: relative !important;
  padding-bottom: 24px !important;
}

.timeline-item:last-child {
  padding-bottom: 0 !important;
}

.timeline-item::before {
  content: '' !important;
  position: absolute !important;
  left: -24px !important;
  top: 8px !important;
  width: 2px !important;
  height: calc(100% + 8px) !important;
  background-color: var(--thrive-border-primary) !important;
}

.timeline-item:last-child::before {
  display: none !important;
}

.timeline-checkbox {
  position: absolute !important;
  left: -32px !important;
  top: 0 !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid var(--thrive-border-primary) !important;
  border-radius: 4px !important;
  background-color: var(--thrive-bg-dark) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s !important;
}

.timeline-item.completed .timeline-checkbox {
  background-color: #156EF6 !important;
  border-color: #156EF6 !important;
}

.timeline-checkbox svg {
  width: 12px !important;
  height: 12px !important;
  color: white !important;
  display: none !important;
}

.timeline-item.completed .timeline-checkbox svg {
  display: block !important;
}

.timeline-content h3 {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--thrive-text-white) !important;
  margin-bottom: 4px !important;
}

.timeline-item.completed .timeline-content h3 {
  opacity: 0.6 !important;
  text-decoration: line-through !important;
}

.timeline-content p {
  font-size: 14px !important;
  color: var(--thrive-text-secondary) !important;
  margin-bottom: 0 !important;
}

.timeline-action {
  margin-top: 12px !important;
}

/* Help Card */
.help-card {
  background-color: var(--thrive-bg-card) !important;
  border: 1px solid var(--thrive-border-primary) !important;
  border-radius: 12px !important;
}

.help-card .card-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--thrive-text-white) !important;
  margin-bottom: 12px !important;
}

.help-card p {
  font-size: 14px !important;
  color: var(--thrive-text-secondary) !important;
  margin-bottom: 20px !important;
}

.help-actions {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

/* Guides Card */
.guides-card {
  background-color: var(--thrive-bg-card) !important;
  border: 1px solid var(--thrive-border-primary) !important;
  border-radius: 12px !important;
}

.guides-card .card-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--thrive-text-white) !important;
  margin-bottom: 16px !important;
}

.guide-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.guide-item {
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--thrive-border-primary) !important;
}

.guide-item:last-child {
  border-bottom: none !important;
}

.guide-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  color: var(--thrive-text-primary) !important;
  transition: color 0.2s !important;
}

.guide-link:hover {
  color: #156EF6 !important;
  text-decoration: none !important;
}

.guide-icon {
  width: 32px !important;
  height: 32px !important;
  background-color: var(--thrive-bg-hover) !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.guide-icon svg {
  width: 16px !important;
  height: 16px !important;
  color: #156EF6 !important;
}

.guide-content h4 {
  font-size: 14px !important;
  font-weight: 500 !important;
  margin-bottom: 2px !important;
  color: var(--thrive-text-white) !important;
}

.guide-content p {
  font-size: 12px !important;
  color: var(--thrive-text-secondary) !important;
  margin-bottom: 0 !important;
}

.view-all-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 16px !important;
  color: #156EF6 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.view-all-link:hover {
  text-decoration: underline !important;
  color: #156EF6 !important;
}

/* Projects Section */
.projects-section {
  margin-top: 24px !important;
}

.section-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 16px !important;
}

.section-header h2 {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--thrive-text-white) !important;
  margin: 0 !important;
}

.projects-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap: 16px !important;
}

.project-card-link {
  text-decoration: none !important;
  color: inherit !important;
}

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

.project-card {
  background-color: var(--thrive-bg-card) !important;
  border: 1px solid var(--thrive-border-primary) !important;
  border-radius: 12px !important;
  transition: all 0.2s !important;
  cursor: pointer !important;
  height: 100% !important;
}

.project-card:hover {
  border-color: var(--thrive-border-hover) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.project-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: start !important;
  margin-bottom: 12px !important;
}

.project-title {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--thrive-text-white) !important;
  margin-bottom: 4px !important;
}

.project-client {
  font-size: 13px !important;
  color: var(--thrive-text-secondary) !important;
}

.project-status {
  padding: 4px 10px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

.status-active,
.status-open {
  background-color: rgba(34, 197, 94, 0.1) !important;
  color: #22c55e !important;
}

.status-pending {
  background-color: rgba(251, 191, 36, 0.1) !important;
  color: #fbbf24 !important;
}

.status-completed {
  background-color: rgba(59, 130, 246, 0.1) !important;
  color: #3b82f6 !important;
}

.project-meta {
  display: flex !important;
  gap: 16px !important;
  margin-top: 16px !important;
  padding-top: 16px !important;
  border-top: 1px solid var(--thrive-border-primary) !important;
  font-size: 13px !important;
  color: var(--thrive-text-secondary) !important;
}

.project-meta-item {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.project-meta-item svg {
  width: 14px !important;
  height: 14px !important;
}

/* Icon styles */
.icon-16 {
  width: 16px !important;
  height: 16px !important;
}


/* Fix: Ensure task status border color is not overridden in dark mode */
.list-status-border[style*="border-left-color"] {
  /* Let the inline style take precedence - don't override */
}

/* Ensure DataTables rows respect the inline border-left-color */
table.dataTable tbody tr td.list-status-border {
  border-left-width: 3px !important;
  border-left-style: solid !important;
  /* Color comes from inline style set by JavaScript */
}
