.sales-cycle-dashboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 20px;
  border-bottom: 2px solid #eee;
}

.dashboard-left-box h4 {
  margin: 0;
  font-size: 1.5rem;
}

.dashboard-right-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.custom-date-picker {
  position: relative;
  border: 1px solid #007bff;
  border-radius: 5px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
}
.calendar-weekdays div {
    cursor: default;
    font-size: 90%;
    background: transparent;
    color: #7987a1;
    line-height: 1;
    margin: 0;
    text-align: center;
    display: block;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-weight: 600;
    padding: 0px 5px;
    font-size: 13px;
}
.calendar-header select, .calendar-header input {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 3px 4px;
    text-align: center;
}
.calendar-icon {
    align-items: center;
    padding: .2rem .563rem;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--bs-body-color);
    text-align: center;
    white-space: nowrap;
    background-color: var(--bs-tertiary-bg);
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: .25rem;
    cursor: pointer;
}
.date-input-field {
  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
  width: 120px;
}

.dashboard-btn {
  border: 1px solid #007bff;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.print-btn {
  background-color: white;
  color: #007bff;
}

.download-btn {
  background-color: #007bff;
  color: white;
  border: none;
}

.dashboard-btn:hover {
  opacity: 0.9;
}

.calendar-popup {
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 10;
  background-color: white;
  border: 1px solid #ccc;
  padding: 10px;
  display: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.custom-date-picker {
  position: relative;
}.calendar-popup {
  display: none;
}
.custom-calendar {
  position: absolute;
  top: 45px;
  left: 0;
  width: 300px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  padding: 10px;
  font-family: Arial, sans-serif;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.calendar-weekdays {
  color: #7987a1;
  margin-bottom: 5px;
}

.calendar-day {
  padding: 6px 0;
  border-radius: 4px;
  cursor: pointer;
}

.calendar-day:hover {
  background-color: #007bff;
  color: white;
}

.sales-cycle-dashboard-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.sales-cycle-dashboard-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  padding: 20px;
  width: 100%;
  max-width: 32%;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  position: relative;
}

.sales-cycle-dashboard-card-body {
  display: flex;
  flex-direction: column;
}

.sales-cycle-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-size: .875rem;
    font-weight: 500;
}

.sales-cycle-dashboard-card-title {
    font-size: 15px;
    margin: 0;
    font-weight: 600;
}

.sales-cycle-dashboard-dropdown {
  position: relative;
  cursor: pointer;
}


.sales-cycle-dashboard-dropdown-toggle {
  font-size: 24px;
  color: #999;
}

.sales-cycle-dashboard-dropdown-menu {
  display: none;
  position: absolute;
  top: 30px;
  right: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 10;
  padding: 10px;
  min-width: 140px;
}

.sales-cycle-dashboard-dropdown:hover .sales-cycle-dashboard-dropdown-menu {
  display: block;
}

.sales-cycle-dashboard-dropdown-item {
    padding: 5px 10px 5px 3px;
    font-size: 12px;
    display: block;
    color: #333;
    cursor: pointer;
}

.sales-cycle-dashboard-dropdown-item:hover {
  background-color: #f0f0f0;
}

.sales-cycle-dashboard-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
}.sales-cycle-dashboard-row {
    margin-bottom: 13px;
}

.sales-cycle-dashboard-left {
  display: flex;
  flex-direction: column;
}

.sales-cycle-dashboard-metric {
  font-size: 28px;
  margin: 0 0 10px 0;
}

.sales-cycle-dashboard-growth {
  margin: 0;
  font-size: 14px;
}

.sales-cycle-dashboard-growth-positive {
  color: green;
}


.sales-cycle-dashboard-icon-box {
    font-size: 35px;
    background-color: #f5f6ff;
    border-radius: 8px;
    height: 55px;
    width: 55px;
    text-align: center;
    padding-top: 0px;
}

.sales-cycle-dashboard-row-two-boxes {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.sales-cycle-dashboard-box {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 20px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* First box takes ~70%, second ~30% */
.sales-cycle-dashboard-box-7 {
  flex: 0 0 66%;
}

.sales-cycle-dashboard-box-4 {
  flex: 0 0 32.2%;
}

.sales-cycle-dashboard-box-header {
  margin-bottom: 15px;
}

.sales-cycle-dashboard-title {
  font-size: 15px;
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
}

/* Bar Chart Styling */
.sales-cycle-dashboard-bar-chart {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 250px;
  position: relative;
  padding-left:10px;
  box-sizing: border-box;
}

/* Y-axis values */
.bar-chart-y-axis {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 12px;
  color: #777;
  z-index: 2;
}

/* Matrix container */
.bar-chart-matrix-container {
  flex: 1;
  position: relative;
  margin-left: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

/* Grid overlay */
.bar-chart-matrix-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.bar-chart-row {
  height: 20%;
  border-bottom: 1px solid #eee;
}

/* Bars */
.bar-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.bar {
  width: 20px;
  background-color: #6571ff;
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: 0.3s ease;
}

.bar:hover {
  background-color: #3b4bff;
}

.bar:hover::before {
  content: attr(data-value);
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: #6571ff;
  color: white;
  padding: 2px 6px;
  font-size: 11px;
  border-radius: 4px;
  white-space: nowrap;
}

/* X-Axis */
.bar-chart-x-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-left: 40px;
  font-size: 11px;
  color: #999;
}

/* Task List Styling */
.sales-cycle-dashboard-task-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sales-cycle-dashboard-task-item {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.sales-cycle-dashboard-task-title {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.sales-cycle-dashboard-task-desc {
  margin: 5px 0 0 0;
  font-size: 13px;
  color: #777;
}
/* First box takes 70%, second 30% on desktop */
@media (min-width: 992px) {
  .sales-cycle-dashboard-box-7 {
    width: 70%;
  }

  .sales-cycle-dashboard-box-4 {
    width: 30%;
  }
}

/* Tablet sizes (50-50 split) */
@media (min-width: 768px) and (max-width: 991px) {
  .sales-cycle-dashboard-box-7,
  .sales-cycle-dashboard-box-4 {
    width: 50%;
  }
}

/* Mobile: stack boxes */
@media (max-width: 767px) {
  .sales-cycle-dashboard-box-7,
  .sales-cycle-dashboard-box-4 {
    width: 100%;
  }
}
.sales-cycle-dashboard-message-box {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 0px;
  color: inherit;
  transition: background-color 0.3s;
}
.badge.bg-danger {
    background-color: rgb(255,51,102);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}
.badge.bg-success {
    background-color: rgb(5,163,74);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}
.badge.bg-info {
    background-color: rgb(102,209,209);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}
.badge.bg-warning {
    background-color: rgb(251,188,6);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}
.dashboard-tables td {
    padding: .6rem .8rem;
}
.dashboard-tables 
 thead th {
    background-color: #fff !important;
    border: none !important;
}
.dashboard-tables {
    border: none !important;
}
.sales-cycle-dashboard-box.sales-cycle-dashboard-box-7 .data-tables {
    padding-bottom: 0px;
}
.badge.bg-primary {
    background-color: rgb(101,113,255);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}
.sales-cycle-dashboard-message-box:hover {
  background-color: #f9f9f9;
  border-radius: 6px;
}

.sales-cycle-dashboard-avatar {
  margin-right: 12px;
  flex-shrink: 0;
}

.sales-cycle-dashboard-avatar-img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

.sales-cycle-dashboard-message-content {
  flex-grow: 1;
}

.sales-cycle-dashboard-message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sales-cycle-dashboard-username {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #222;
}

.sales-cycle-dashboard-time {
  font-size: 12px;
  color: #999;
  margin: 0;
}

.sales-cycle-dashboard-snippet {
  font-size: 13px;
  color: #666;
  margin: 4px 0 0;
}

@media screen and (max-width: 768px) {
  .sales-cycle-dashboard-row {
    display: block;
}
.sales-cycle-dashboard-card {
    max-width: 100% !important;
    margin-bottom: 10px;
}
.sales-cycle-dashboard-row-two-boxes {
    display: block;
}
#mainsec {
    margin: 0px;
}
.sales-cycle-dashboard-box.sales-cycle-dashboard-box-7 {
    margin-bottom: 10px;
}
.sales-cycle-dashboard-box.sales-cycle-dashboard-box-4 {
    margin-bottom: 10px;
}.dashboard-left-box h4 {
    line-height: 1.3;
    margin-bottom: 9px;
}
.dashboard-tables {
    border: none !important;
    width: 600px !important;
}
}
.filter-icon {
    text-align: right;
}
.home-tables th, .home-tables td {
    padding: 8px 5px !important;
}

    .drag-bx-container {
  display: flex;
  height:auto;
  border: 1px solid #ccc;
  overflow: hidden;
  user-select: none;
}

.drag-bx-left {
  flex-basis: 50%;
  min-width: 50px;
  transition: flex-basis 0.05s ease-out;
  padding: 20px;
  background: #fff;
}

.drag-bx-handle {
    width: 7px;
    cursor: col-resize;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #cacaca;
}

.drag-bx-handle::before {
    content: '⇆';
    color: #000;
    font-size: 20px;
    line-height: 1;
    position: absolute;
    top: 20%;
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 20px;
    text-align: center;
    border: 1px solid #ccc;
}

.drag-bx-right {
flex-grow: 1;
  min-width: 50px;
  padding: 20px;
  background-color: #fff;
}

/* drag tabs css*/

 .sc-task-des-manager {
            font-size: 14px;
            color: #666;
            margin-bottom: 15px;
        }
        .sc-task-des-category-title:hover {
    color: #007ACC;
}
.sc-task-des-category.active .sc-task-des-category-title {
    color: #007ACC;
}

        .sc-task-des-tab-content {
            display: none;
        }

        .sc-task-des-tab-content.active {
            display: block;
        }

        .sc-task-des-button-container {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }

        .sc-task-des-button {
            padding: 10px 15px;
            border-radius: 5px;
            border: none;
            color: white;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            opacity: 0.7;
            transition: opacity 0.3s;
        }

        .sc-task-des-button.active {
            opacity: 1;
            box-shadow: 0 0 5px rgba(255,255,255,0.2);
        }

        .sc-task-des-button-icon {
            margin-right: 5px;
        }

        .sc-task-des-make {
            background-color:#007ACC;
        }

        .sc-task-des-deliver {
            background-color:#007ACC;
        }

        .sc-task-des-attract {
            background-color: #007ACC;
        }

        .sc-task-des-sell {
            background-color: #007ACC;
        }

        .sc-task-des-track {
            background-color:#007ACC;
        }

        .sc-task-des-invest {
            background-color: #007ACC;
        }

        .sc-task-des-subtab-content {
            display: none;
        }

        .sc-task-des-subtab-content.active {
            display: block;
        }

        .sc-task-des-job-list {
            border-top: 1px solid #ddd;
        }

        .sc-task-des-job-header {
            display: grid;
            grid-template-columns: 2fr 2fr 1fr;
            padding: 6px 0;
            font-weight: bold;
            color: #444;
            font-size: 14px;
        }

        .sc-task-des-job-item {
            display: grid;
            grid-template-columns: 2fr 2fr 1fr;
            padding: 6px 0;
            border-top: 1px solid #e2e8f0;
            font-size: 13px;
        }

        .sc-task-des-add-job {
            padding: 10px 0;
            color:#007ACC;
            cursor: pointer;
            border-top:1px solid #e2e8f0;
            display: flex;
            align-items: center;
                font-weight: 700;
        }

        .sc-task-des-add-job:before {
            content: "+";
            margin-right: 5px;
        }

        .sc-task-des-job-builder {
            border-radius: 8px;
            overflow: hidden;
            display: none;
            
        }

        .sc-task-des-job-builder.active {
            display: block;

        }
    

        .sc-task-des-job-owner {
            padding: 20px;
            width: 20%;
    float: left;
            align-items: center;
        }

        .sc-task-des-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin: 0 auto;
        }

        .sc-task-des-owner-info {
            display: flex;
            flex-direction: column;
        }

        .sc-task-des-owner-title {
            font-weight: bold;
            margin-bottom: 5px;
            text-align: center;
        }

        .sc-task-des-owner-name {
            color: #888;
                text-align: center;
    text-transform: capitalize;
        }

        .sc-task-des-job-header-blue {
background-color: #f5f5f5;
    padding: 15px;
    display: flex
;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
        }

        .sc-task-des-job-title {
            font-weight: bold;
            font-size: 18px;
        }

        .sc-task-des-job-priority {
            font-size: 14px;
        }

        .sc-task-des-job-description {
            padding: 20px;
            color: #555;
            line-height: 1.5;
        }

        /* Money category specific */
        .sc-task-des-money-title {
            color:;
        }

        /* Market category specific */
        .sc-task-des-market-title {
            color:;
        }
        .task-bilder-ne {
    display: flex;
}.table-responsive.tsk-bld {
    overflow-x: auto;
}.tsk-bld-tv {
    min-width: 1100px !important;
}
.sc-jb-container {
            /*max-width: 1000px;*/
            margin: 0 auto;
            background: white;
            border-radius: 8px;
            padding: 20px;
            position: relative;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #dddddd9e;
    margin-bottom: 10px;
        }

        .sc-jb-header {
            padding: 10px;
            margin: -20px -20px 20px -20px;
            border-radius: 6px 6px 0 0;
            text-align: center;
            font-weight: bold;
            color: #333;
        }

        .sc-jb-job-number {
            position: absolute;
            top: 10px;
            left: 10px;
            background: #ff4444;
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 12px;
        }

        .sc-jb-main-content {
            display: flex;
            justify-content: space-between;
            margin-top:0px;
        }

        .sc-jb-left-section {
            display: flex;
            /*flex-direction: column;
            align-items: center;*/
            gap: 20px;
            /*width: 200px;*/
        }
        .leftjb-con {
    display: flex;
    gap: 20px;
}.sc-jb-actions-1 {
    margin-top: 22px;
}.sc-jb-actions-1 button {
    padding: 10px 16px;
}

        .sc-jb-users-row {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .sc-jb-user-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            padding: 10px;
            border-radius: 8px;
            transition: background-color 0.2s;
            text-align: center;
        }

        .sc-jb-user-card:hover {
            background-color: #f0f0f0;
        }

        .sc-jb-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background:#f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #000;
            font-size: 24px;
            font-weight: bold;
        }

        .sc-jb-avatar-assigned {
            background:#f5f5f5;
        }

        .sc-jb-user-label {
            font-size: 12px;
            font-weight: bold;
            color: #666;
        }

        .sc-jb-datetime {
            font-size: 12px;
            color: #666;
            text-align: center;
        }

        .sc-jb-right-section {
            flex: 1;
           /* margin-left: 30px;*/
        }

        .sc-jb-form-row {
            display: flex;
            gap: 20px;
            margin-bottom: 15px;
            align-items: center;
        }

        .sc-jb-form-group {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .sc-jb-form-group.sc-jb-full-width {
            flex: 1;
        }

        .sc-jb-form-group label {
            font-size: 12px;
            font-weight: bold;
            color: #333;
        }

        .sc-jb-input {
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 14px;
        }

        .sc-jb-textarea {
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 14px;
            resize: vertical;
            min-height: 80px;
        }

        .sc-jb-select {
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 14px;
            background: white;
        }

        .sc-jb-actions {
            display: flex;
            gap: 10px;
            margin-top: 20px;
            justify-content: flex-end;
        }

        .sc-jb-btn {
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            transition: background-color 0.2s;
        }

        .sc-jb-btn-delete {
            background-color: #ff4444;
            color: white;
        }

        .sc-jb-btn-delete:hover {
            background-color: #cc3333;
        }

        .sc-jb-btn-move {
            background-color: #007ACC;
            color: white;
        }

        .sc-jb-btn-move:hover {
            background-color: #007ACC;
        }

 .sc-task-des-category {
            margin-bottom: 15px;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s;

        }
        .sc-task-des-category-header {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            border-bottom: 1px solid #e2e8f0;
        }

        .sc-task-des-category-icon {
            margin-right: 10px;
            font-size: 20px;
            display: none;

        }

        .sc-task-des-category-title {
            font-size: 18px;
            font-weight:600;
            color: #444;
        }

        .sc-task-des-category-count {
            font-size: 14px;
            color: #888;
            margin-left: 5px;
        }
