.card-bg-soft-primary {
    background-color:rgba(13, 110, 253, 0.1) !important;
}

.activity-item {
    background-color: #F8F9FA;
    border:2px solid #E9ECEF;
    border-radius:0.5rem;
    padding:0.75rem;
    margin-bottom:0;
    transition: all 0.2s ease-in-out;
    position:relative;
}

.info-card.audit .card-header{
    border-color:#FD7E14;
    background-color:rgba(253, 126, 20, 0.1);
}

div[data-lastpass-icon-root] {
    display: none !important;
}

.labelrequired .form-label:after {
    color:#D00;
    content: "*";
    position: relative;
    margin-left: 8px;
    top:0px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
  position: absolute;
  right: 15px; /* adjust as needed to align with arrow */
  top: 50%;
  transform: translateY(-50%);
  color:#CED4DA;
}

table.dataTable th.dt-type-numeric, 
table.dataTable th.dt-type-date, 
table.dataTable td.dt-type-numeric, 
table.dataTable td.dt-type-date
{
    text-align: left !important;
}

/* Override for Netto bedrag column - right align */
table.dataTable td.dt-type-numeric.text-end,
table.dataTable th.dt-type-numeric.text-end,
#datatable-order-to-invoice td:nth-child(6),
#datatable-order-to-invoice th:nth-child(6)
{
    text-align: right !important;
}

#vacEditor{
    height: 450px;
    flex:1;
    display: flex;
    flex-direction: column;
}

#vacEditor.is-invalid {
    border-color:#F46A6A;
}

#vacEditor.is-valid {
    border-color:#34C38F;
    box-shadow: none;
}

#vacEditor.is-valid:focus {
    border-color:#34C38F;
    box-shadow: 0 0 0 .15rem rgba(52,195,143, .25);
}

/*Custom for date picker*/
/* Make flatpickr input look like Bootstrap form-control */
.flatpickr-input {
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  width: 100%;
}

/* Match calendar popup to Bootstrap theme */
.flatpickr-calendar {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

/* Style header */
.flatpickr-months {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

/* Day hover and selected styles */
.flatpickr-day:hover {
  background-color: #e9ecef;
}

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

.select2-container--default .select2-selection--single {
  height: 38px !important;
  padding: 0.375rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  font-size: 0.8rem;
  line-height: 1.5;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 25px !important;
  padding-left: 0.5rem;
  color:#6c757d;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
  top: 1px;
}

.select2-container.is-invalid .select2-selection {
  border-color: #dc3545 !important;
}

/* Icon container for valid/invalid inside Select2 */
.select2-container.is-invalid .select2-selection--single {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23dc3545' class='bi bi-exclamation-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z'/%3E%3Cpath d='M7.002 11a1 1 0 1 0 2 0 1 1 0 0 0-2 0zm.93-6.481a.5.5 0 0 1 .492.41l.008.09-.002 3a.5.5 0 0 1-.992.09l-.008-.09.002-3a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  border-color: #dc3545 !important;
}

.select2-container.is-valid .select2-selection--single {
  padding-right: calc(1.5em + 1rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%230ab39c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .25rem) center;
  background-size: 1.20rem !important;
}

/* Menu Active State - Keep parent menu open and highlight active sub-menu */
.navbar-menu .navbar-nav .nav-sm .nav-link.active,
.navbar-menu .navbar-nav .menu-dropdown .nav-link.active,
.navbar-menu .navbar-nav .nav-sm .nav-link.menu-link.active,
.navbar-menu .navbar-nav .menu-dropdown .nav-link.menu-link.active {
  font-weight: 700 !important;
  color: var(--vz-menu-item-active-color, #405189) !important;
}

.navbar-menu .navbar-nav .nav-sm .nav-link.active i,
.navbar-menu .navbar-nav .menu-dropdown .nav-link.active i,
.navbar-menu .navbar-nav .nav-sm .nav-link.menu-link.active i,
.navbar-menu .navbar-nav .menu-dropdown .nav-link.menu-link.active i {
  font-weight: 700 !important;
}

/* Ensure parent collapse stays open when sub-menu item is active */
.navbar-menu .navbar-nav .collapse.menu-dropdown.show {
  display: block !important;
}

/* Keep parent menu link active when sub-menu is active */
.navbar-menu .navbar-nav .nav-item .menu-dropdown.show ~ .nav-link,
.navbar-menu .navbar-nav .nav-item > .nav-link.active {
  font-weight: 600;
}

/* Dashboard Styles */
/*
.card.h-100 {
  display: flex;
  flex-direction: column;
  height: 100% !important;
}

.card.h-100 .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
}
*/

#dashboardGrid {
  min-height: 400px;
  flex: 1;
  padding: 1rem;
}

.card-body #dashboardGrid {
  padding: 1rem;
}

#emptyDashboardMessage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.grid-stack-item {
  padding: 10px !important;
}

.grid-stack-item .card-header {
  cursor: grab;
}

.grid-stack-item .card-header:active {
  cursor: grabbing;
}

.grid-stack-item.ui-draggable-dragging {
  opacity: 0.8;
}

.grid-stack-item.ui-draggable-dragging .card-header {
  cursor: grabbing !important;
}

.grid-stack-item .card-body {
  cursor: default;
}

.grid-stack-item .card {
  height: 400px;
  border-radius: 10px;
  border: 2px solid #E8EBEE;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: box-shadow 0.2s ease-in-out;
}

.grid-stack-item .card-body {
  padding: 1rem;
}

.grid-stack-item .card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.grid-stack-item .card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 0.75rem 1rem;
}

.grid-stack-item .card-header .btn-link {
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.grid-stack-item .card-header .btn-link:hover {
  opacity: 1;
}

.widget-content {
  min-height: 100px;
}

/* Widget Modal Styles */
#widgetModal .list-group-item {
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.2s ease-in-out;
}

#widgetModal .list-group-item:hover {
  background-color: #f8f9fa;
  border-left-color: #0d6efd;
}

#widgetModal .list-group-item.active {
  background-color: #e7f1ff;
  border-left-color: #0d6efd;
  color: #0d6efd;
}

.widget-details-placeholder {
  min-height: 300px;
}

.widget-details .widget-icon-large {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e7f1ff;
  border-radius: 0.5rem;
}

.widget-preview .card {
  border: 1px dashed #dee2e6;
}

/* GridStack Custom Styles - Resize handles hidden since resize is disabled */
.grid-stack > .grid-stack-item > .ui-resizable-handle {
  display: none !important;
}

/* Make card header non-draggable (for buttons) */
.grid-stack-item .card-header {
  cursor: default;
}

.grid-stack-item .card-header * {
  cursor: default;
}

.grid-stack-item .card-header .btn-link {
  cursor: pointer;
}

/* Customer Details Activity Tab - Left Column Scrollbar */
#activity .col-xl-4 .card-body {
  scrollbar-width: thin;
  scrollbar-color: #ced4da #f8f9fa;
}

#activity .col-xl-4 .card-body::-webkit-scrollbar {
  width: 6px;
}

#activity .col-xl-4 .card-body::-webkit-scrollbar-track {
  background: #f8f9fa;
  border-radius: 3px;
}

#activity .col-xl-4 .card-body::-webkit-scrollbar-thumb {
  background: #ced4da;
  border-radius: 3px;
}

#activity .col-xl-4 .card-body::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}

/* Availability Calendar Styles - Outlook-like */
.availability-calendar {
  max-height: 500px;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.availability-timeline {
  position: relative;
  padding-left: 60px; /* Space for time labels */
}

.availability-time-row {
  position: relative;
  height: 40px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
}

.availability-time-label {
  position: absolute;
  left: 0;
  width: 55px;
  font-size: 0.75rem;
  color: #6c757d;
  text-align: right;
  padding-right: 0.5rem;
  font-weight: 500;
}

.availability-time-block {
  flex: 1;
  height: 100%;
  margin-left: 0.5rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.availability-time-block.available {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
}

.availability-time-block.available:hover {
  background-color: #f0f7ff;
  border-color: #0d6efd;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

.availability-time-block.busy {
  background-color: #0d6efd;
  border: 1px solid #0a58ca;
  cursor: not-allowed;
  opacity: 0.85;
}

.availability-time-block.busy::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 5px,
    rgba(255, 255, 255, 0.1) 5px,
    rgba(255, 255, 255, 0.1) 10px
  );
}

.availability-time-block.past {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  cursor: not-allowed;
  opacity: 0.5;
}

.availability-time-block.selected {
  background-color: #198754;
  border-color: #146c43;
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.25);
}

.availability-time-block.selected:hover {
  background-color: #157347;
}

.availability-time-block-text {
  font-size: 0.7rem;
  color: #6c757d;
  font-weight: 500;
}

.availability-time-block.busy .availability-time-block-text,
.availability-time-block.selected .availability-time-block-text {
  color: white;
  font-weight: 600;
}

/* Empty Dashboard Message */
#emptyDashboardMessage .card {
  border: 2px dashed #dee2e6;
  background-color: #f8f9fa;
}

/* Select2 Multiple Select Styling */
.select2-container--default .select2-selection--multiple {
  min-height: 38px !important;
  padding: 0.25rem 0.5rem;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.5;
  background-color: #fff;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #e7f1ff;
  border: 1px solid #0d6efd;
  color: #000 !important;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  color: #000 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #000 !important;
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0.8;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  opacity: 1;
  color: #000 !important;
}

.select2-container--default .select2-selection--multiple .select2-search--inline {
  margin: 0;
  padding: 0;
}

.select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
  margin: 0;
  padding: 0.25rem 0;
  border: none;
  outline: none;
  font-size: 0.875rem;
  line-height: 1.5;
  min-width: 120px;
  height: auto;
}

.select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder {
  color: #6c757d;
  opacity: 0.6;
}

.select2-container.is-invalid .select2-selection--multiple {
  border-color: #dc3545 !important;
}

.select2-container.is-valid .select2-selection--multiple {
  border-color: #198754 !important;
}

.tasks-wrapper{
  max-height: calc(100vh - 318px) !important;
}

.dropzone-container.dropzone-highlight {
  outline: 3px dashed #0d6efd;
  position: relative;
  z-index: 0;
}

.gu-mirror {
  z-index: 10; /* make sure dragged item stays above */
}

.sortable-rows {
    min-height: 50px !important;
}

.sortable-rows.drag-over {
    border-color: #007bff;
}

tr.drop-placeholder {
    background-color: #f8f9fa;
    font-style: italic;
    border:2px dashed #999999;
}

.planner-item-header{
  border-radius: 5px;
  border:1px solid #E9EBEC;
  background-color:#FFFFFF;
  border-left:5px solid #405189;
}

tr.offer-row td {
  border:1px solid #E9EBEC;
}

/*to publish*/
td.bd-1{
  border-left:5px solid rgba(10, 179, 156, 1) !important;
}

/*to update*/
td.bd-2{
  border-left:5px solid rgba(247, 184, 75, 1) !important;
}

/*extend publication*/
td.bd-3{
  border-left:5px solid rgba(41, 156, 219, 1) !important;
}

/*to delete*/
td.bd-4{
  border-left:5px solid rgba(240, 101, 72, 1) !important;
}

.bd-1, .bd-2, .bd-3, .bd-4 {
  padding-left: 10px !important; 
}

.table-fixed th,
.table-fixed td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.table-fixed th:nth-child(1),
.table-fixed td:nth-child(1) {
    width: 20px; /* order */
    min-width: 20px !important;
    max-width:20px !important;
}
.table-fixed th:nth-child(2),
.table-fixed td:nth-child(2) {
    width: 300px; /* Title */
    min-width: 300px;
    max-width: 300px;
}
.table-fixed th:nth-child(3),
.table-fixed td:nth-child(3) {
    width: 50px; /* type */
}
.table-fixed th:nth-child(4),
.table-fixed td:nth-child(4) {
    width: 50px; /* datum */
}
.table-fixed th:nth-child(5),
.table-fixed td:nth-child(5) {
    width: 150px; /* klant */
    min-width: 150px;
    max-width: 150px;
}
.table-fixed th:nth-child(6),
.table-fixed td:nth-child(6) {
    width: 100px; /* Contract */
}
.table-fixed th:nth-child(7),
.table-fixed td:nth-child(7) {
    width: 50px; /* kanaal */
}
.table-fixed th:nth-child(8),
.table-fixed td:nth-child(8) {
    width: 160px; /* Verantwoordelijke */
}

.table-fixed th:nth-child(9),
.table-fixed td:nth-child(8) {
    width: 120px; /* Voortgang */
}

.planner-item-header .badge-group {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: nowrap;
}

.planner-item-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.image-preview{
  max-width: 100%;
  max-height: 150px;
  border-radius: 0.375rem;
}

#mailEditor{
  height:400px;
  overflow-y: auto;
}

.timeline-2 .timeline-year p {
  background-color: rgba(53, 119, 241, 1)!important;
  opacity: 1;
  z-index: 999;
  color:#FFFFFF;
}

.timeline-2:after {
  background-color:rgba(13, 110, 253, .1) !important;
}


.timeline-box {
  border-color:#405189 !important;
}

.timeline-2 .timeline-box:before {
   border-color: transparent #405189 transparent transparent !important;
}

.timeline-2 .timeline-launch .timeline-box:before {
   border-color: transparent transparent #405189 transparent !important;
}

@media print {
    .page-break {
      page-break-before: always;
      break-before: page;
      display: block;
      height: 0;
    }
}

.offcanvas.offcanvas-end {
  width:500px !important;
}

/*Price brand manager css */
/* keep it light; adjust to your design system */
.pmp-modal[hidden] { display: none; }
.pmp-modal.open { position: fixed; inset: 0; background: rgba(0,0,0,.35); display: grid; place-items: center; }
.pmp-modal-dialog { background:#fff; border-radius: .5rem; width: min(900px, 95vw); max-height: 85vh; display:flex; flex-direction: column; }
.pmp-modal-body { padding: 1rem; overflow:auto; }
.pmp-modal-header, .pmp-modal-footer { padding: .75rem 1rem; border-bottom: 1px solid #eee; }
.pmp-modal-footer { border-top: 1px solid #eee; border-bottom: 0; }
.pmp-modal-list { margin-top: .75rem; display: grid; gap: .5rem; }
.modal-product-row { display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem; align-items: center; padding: .5rem; border: 1px solid #eee; border-radius: .5rem; }
.modal-product-row .mpm-title { font-weight: 600; }
.modal-product-row .mpm-meta, .modal-product-row .mpm-prices { grid-column: 2 / -1; font-size: .9rem; color: #666; }

/* Modal container + backdrop */
.pmp-modal[hidden] { display: none; }
.pmp-modal.open {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  z-index: 1060; /* higher than Bootstrap .modal (1050) just in case */
}
.pmp-modal-dialog {
  background: #fff; border-radius: .5rem;
  width: min(900px, 95vw); max-height: 85vh;
  display: flex; flex-direction: column; overflow: hidden;
}
.pmp-modal-header, .pmp-modal-footer {
  padding: .75rem 1rem; border-bottom: 1px solid #eee;
}
.pmp-modal-footer { border-top: 1px solid #eee; border-bottom: 0; }
.pmp-modal-body { padding: 1rem; overflow: auto; }

.pmp-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1055;
}

/* List items */
.pmp-modal-list { margin-top: .75rem; display: grid; gap: .5rem; }
.modal-product-row {
  display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem;
  align-items: center; padding: .5rem; border: 1px solid #eee; border-radius: .5rem;
}
.modal-product-row .mpm-title { font-weight: 600; }
.modal-product-row .mpm-meta, .modal-product-row .mpm-prices { grid-column: 2 / -1; font-size: .9rem; color: #666; }

/* Pager */
.pmp-modal-pager {
  display: flex; gap: .5rem; align-items: center; justify-content: center;
  padding: .75rem 0 0;
}
.pmp-modal-pager .btn {
  padding: .25rem .5rem; border: 1px solid #ddd; background: #fff; border-radius: .35rem; cursor: pointer;
}
.pmp-modal-pager .btn[disabled] { opacity: .5; cursor: not-allowed; }
.pmp-modal-pager .page-indicator { font-size: .9rem; color: #555; }

/* Modal table styling */
#modalProductList { margin-top: .75rem; }

.pmp-table-wrap {
  max-height: 55vh;      /* keep the modal compact */
  overflow: auto;        /* scroll inside modal for long lists */
  border: 1px solid #eee;
  border-radius: .5rem;
}

.pmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.pmp-table th, .pmp-table td {
  padding: .5rem .6rem;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

.pmp-table thead th {
  position: sticky;
  top: 0;
  background: #fafafa;
  z-index: 1;
  font-weight: 600;
}

.pmp-table td .muted { color:#666; font-size:.9em; }

.pmp-table .col-check { width: 44px; text-align: center; }
.pmp-table .col-supplier { width: 22%; }
.pmp-table .col-price { width: 12%; text-align: right; white-space: nowrap; }
.pmp-table .col-name { width: auto; }

/* ============================================
   Product Pages Styles
   ============================================ */

/* Product Card Styles - pmp-products.html */
.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1) !important;
}

.product-image-wrapper {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    min-height: 180px;
    position: relative;
}

.product-list-view .product-image-wrapper {
    min-height: 120px;
}

.product-image {
    transition: transform 0.3s ease;
    display: block;
    background-color: #f8f9fa;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-overlay {
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 8px 8px 0 0;
    pointer-events: none;
}

.product-card:hover .product-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.category-filter {
    color: #6c757d;
    padding: 6px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.category-filter:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.category-filter.active {
    background-color: #e7f1ff;
    color: #0d6efd;
    font-weight: 500;
}

.category-filter.active i {
    color: #0d6efd;
}

.product-list-view .product-card {
    margin-bottom: 1rem;
}

/* Category filter collapse styling */
#categoryCollapse {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 8px;
}

#categoryCollapse::-webkit-scrollbar {
    width: 6px;
}

#categoryCollapse::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#categoryCollapse::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#categoryCollapse::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.category-filter-checkbox:checked + label {
    font-weight: 500;
    color: #0d6efd;
}

@media (max-width: 768px) {
    .product-card .product-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* Hide regular pagination on products page (using floating pagination instead) */
#paginationContainer {
    display: none;
}

/* ============================================
   Advice Page Styles - pmp-advies-add.html
   ============================================ */

/* Customer Request Card - Prominent styling */
.card.border-primary {
    border-width: 2px !important;
}

/* Form Status Badges */
#customerInfoStatus,
#campaignInfoStatus {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* AI Suggestions Alert */
#aiProductSuggestions {
    border-left: 4px solid #0dcaf0;
}

#aiSuggestedProductsList .border {
    transition: all 0.2s ease;
}

#aiSuggestedProductsList .border:hover {
    border-color: #0d6efd !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Advice Preview Content */
.advice-preview-content {
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.advice-preview-content::-webkit-scrollbar {
    width: 8px;
}

.advice-preview-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.advice-preview-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.advice-preview-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.advice-section {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #0d6efd;
}

.advice-section h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.advice-section table {
    font-size: 0.9rem;
}

.advice-section ul {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.advice-section li {
    margin-bottom: 0.5rem;
}

/* Loading spinner animation */
.ri-loader-4-line.ri-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Request display styling */
#requestBudget {
    font-size: 1.2rem;
}

.badge.bg-warning.text-dark {
    font-size: 0.9rem;
    padding: 0.35rem 0.65rem;
}

/* ============================================
   Timesheets Weekly View Styles
   ============================================ */

.timesheet-entry {
    padding: 4px 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    display: inline-block;
    min-width: 80px;
}

.timesheet-entry:hover {
    background-color: #e9ecef;
}

.btn-add-time {
    width: 100%;
}

#weeklyTimesheetTable th {
    vertical-align: middle;
}

#weeklyTimesheetTable td {
    vertical-align: top;
}

/* Pending Review Tab Styles */
.pending-review-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pending-review-header {
    display: grid;
    grid-template-columns: 200px 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    font-size: 0.875rem;
}

.pending-review-col {
    display: flex;
    align-items: center;
}

.pending-review-week-row {
    border-bottom: 1px solid #dee2e6;
}

.pending-review-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    align-items: center;
    transition: background-color 0.2s;
}

.pending-review-row:hover {
    background-color: #f8f9fa;
}

.pending-review-week-header {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.pending-review-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    padding: 0;
    color: #212529;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s;
}

.pending-review-toggle:hover {
    color: #0d6efd;
}

.pending-review-toggle[aria-expanded="false"] .ri-arrow-down-s-line {
    transform: rotate(-90deg);
    transition: transform 0.2s;
}

.pending-review-toggle[aria-expanded="true"] .ri-arrow-down-s-line {
    transform: rotate(0deg);
    transition: transform 0.2s;
}

.pending-review-person {
    display: flex;
    align-items: center;
}

.pending-review-person-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.pending-review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.pending-review-person-name {
    flex: 1;
    min-width: 0;
}

.review-person-link {
    color: #212529;
    text-decoration: none;
    font-weight: 500;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-person-link:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.pending-review-details {
    grid-column: 1 / -1;
    padding: 1rem;
    background-color: #f8f9fa;
}

.pending-review-details-content {
    padding-left: 2rem;
}

.pending-review-entry-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.75rem;
}

.pending-review-empty {
    padding: 2rem;
    text-align: center;
    color: #6c757d;
}

/* Review Modal Styles */
.review-modal-content {
    border-radius: 8px;
    font-size: 0.875rem;
}

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

.review-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-employee-name {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
}

.review-period {
    font-size: 0.8125rem;
    color: #6c757d;
}

.review-header-actions {
    display: flex;
    gap: 0.5rem;
}

.review-header-actions .btn {
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem;
}

.review-modal-body {
    padding: 1rem 1.5rem;
}

.review-side-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.review-side-card .card-body {
    padding: 1rem;
}

.review-side-card .card-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Daily Cards */
.review-day-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.review-day-card .card-body {
    padding: 0.75rem;
}

.review-day-header {
    font-weight: 600;
    font-size: 0.8125rem;
}

.review-day-hours {
    font-weight: 600;
    font-size: 0.8125rem;
}

.review-no-time {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    text-align: center;
}

.review-time-entries {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.review-time-entry {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.review-entry-color {
    width: 4px;
    min-height: 100%;
    border-left: 4px solid;
    border-radius: 2px;
}

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

.review-entry-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.review-entry-project {
    font-weight: 600;
    font-size: 0.8125rem;
}

.review-entry-separator {
    color: #6c757d;
}

.review-entry-client {
    font-weight: 600;
    font-size: 0.8125rem;
}

.review-entry-note {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.review-entry-time {
    font-weight: 600;
    font-size: 0.8125rem;
    white-space: nowrap;
}

/* Billability Indicators */
.billable-indicator {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

/* Scheduled & Actuals */
.review-actuals-header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.8125rem;
    font-weight: 600;
}

.review-actuals-total {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    font-size: 0.8125rem;
}

.review-actuals-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    padding: 0.5rem 0;
    align-items: center;
    font-size: 0.8125rem;
}

.review-actuals-project {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-project-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

.review-actuals-scheduled,
.review-actuals-logged {
    text-align: right;
    font-size: 0.8125rem;
}

.review-actuals-project .fw-semibold {
    font-size: 0.8125rem;
}

.review-actuals-project .small {
    font-size: 0.75rem;
}

/* Product Details Styles - pmp-ProductDetails.html */
.product-image-small {
    max-height: 150px;
    max-width: 200px;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
}

.info-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

#productContent {
    display: block !important;
}

/* ============================================
   Activities Overview Page Styles
   ============================================ */

/* Active filter button styles */
.activity-type-filter.active,
.time-filter.active {
    background-color: #0d6efd !important;
    color: #fff !important;
    border-color: #0d6efd !important;
}

.activity-type-filter.active:hover,
.time-filter.active:hover {
    background-color: #0a58ca !important;
    border-color: #0a58ca !important;
}

/* Table row hover effect */
#activitiesTable tbody tr:hover {
    background-color: #f8f9fa;
}

/* Overdue row styling */
#activitiesTable tbody tr.table-danger {
    background-color: #f8d7da;
}

#activitiesTable tbody tr.table-danger:hover {
    background-color: #f5c2c7;
}

/* Activity type icon styling */
#activitiesTable td i {
    font-size: 1.1rem;
}

/* Floating Pagination */
.floating-pagination {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

/* Center within main content area only (excluding sidebar on the right) */
@media (min-width: 768px) {
    .floating-pagination {
        right: var(--vz-vertical-menu-width, 250px);
        left: 0;
        transform: none;
        display: flex;
        justify-content: center;
        align-items: center;
        width: calc(100% - var(--vz-vertical-menu-width, 250px));
    }
}

/* On products page: center within content area only (excluding left filter column) */
/* Use a more specific selector that works across browsers */
@media (min-width: 992px) {
    /* Target floating pagination when product-list exists on the page */
    .container-fluid:has(#product-list) ~ .floating-pagination,
    .container-fluid:has(#product-list) + * .floating-pagination {
        /* Start after col-lg-3 (25% of available content width) */
        /* Available width = 100% - sidebar width */
        left: calc((100% - var(--vz-vertical-menu-width, 250px)) * 0.25);
        /* Width of col-lg-9 (75% of available content width) */
        width: calc((100% - var(--vz-vertical-menu-width, 250px)) * 0.75);
        right: var(--vz-vertical-menu-width, 250px);
        transform: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Fallback: Add class to products page body if :has() not supported */
.products-page .floating-pagination {
    z-index: 1050;
}

@media (min-width: 992px) {
    .products-page .floating-pagination {
        left: calc((100% - var(--vz-vertical-menu-width, 250px)) * 0.25);
        width: calc((100% - var(--vz-vertical-menu-width, 250px)) * 0.75);
        right: var(--vz-vertical-menu-width, 250px);
        transform: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.floating-pagination.hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

@media (min-width: 768px) {
    .floating-pagination.hidden {
        transform: translateY(100%);
    }
}

.floating-pagination-content {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(222, 226, 230, 0.8);
    border-radius: 8px;
    padding: 10px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    display: inline-block;
}

.floating-pagination-content .pagination {
    margin: 0;
}

.floating-pagination-content .text-muted {
    color: rgba(108, 117, 125, 0.9) !important;
    white-space: nowrap;
}

/* Adjust table margin bottom to prevent content from being hidden behind pagination */
#activitiesTable {
    margin-bottom: 80px;
}

/* Ensure main content has padding at bottom when pagination is visible (only on activities overview page) */
body:has(.floating-pagination) .main-content {
    padding-bottom: 80px;
}

/* ============================================
   Project Schedule - ResourceGuru Style
   ============================================ */

.schedule-container {
    display: flex;
    height: calc(100vh - 200px);
    overflow: hidden;
    background: #fff;
}

/* Left Sidebar - Resources */
.schedule-sidebar {
    width: 260px;
    flex-shrink: 0;
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.schedule-resources-header {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    min-height: 87px;
    height: 87px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.schedule-resources-toolbar {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6c757d;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: #e9ecef;
    color: #495057;
}

.btn-icon-sm {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6c757d;
    transition: all 0.2s;
}

.btn-expand-user {
    opacity: 1 !important;
    margin-left: auto;
}

.btn-icon-sm:hover {
    background: #e9ecef;
    color: #495057;
}

.schedule-resources-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.schedule-resource-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s, min-height 0.3s, height 0.3s;
    min-height: 65px;
    height: 65px;
}

.schedule-resource-item.expanded {
    align-items: flex-start;
    padding-top: 12px;
}

.schedule-resource-item:hover {
    background: #f8f9fa;
}

.schedule-resource-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
    margin-right: 12px;
}

.schedule-resource-info {
    flex: 1;
    min-width: 0;
}

.schedule-resource-name {
    font-weight: 500;
    font-size: 14px;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schedule-resource-meta {
    font-size: 12px;
    color: #6c757d;
    margin-top: 2px;
}

.schedule-resource-utilization {
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
}

.schedule-resource-utilization.green {
    background-color: rgb(190, 255, 225);
    color: var(--content-positive);
}

.schedule-resource-utilization.orange {
    background-color: rgb(255, 227, 194);
    color: #d97706;
}

.schedule-resource-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

/* Calendar Wrapper */
.schedule-calendar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Sticky Date Header */
.schedule-date-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.schedule-date-header-month-row {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
    min-height: 32px;
}

.schedule-date-header-month-spacer {
    width: 260px;
    flex-shrink: 0;
    border-right: 1px solid #e9ecef;
    background: #fff;
}

.schedule-date-header-month-label {
    padding: 8px 16px;
    font-weight: 600;
    font-size: 14px;
    color: #212529;
    background: #fff;
}

.schedule-date-header-content {
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-height: 48px;
    height: 48px;
}

.schedule-date-header-content::-webkit-scrollbar {
    display: none;
}

.schedule-date-header-spacer {
    width: 260px;
    flex-shrink: 0;
    border-right: 1px solid #e9ecef;
    background: #fff;
    position: sticky;
    left: 0;
    z-index: 101;
}

.schedule-date-header-days {
    display: flex;
    min-width: max-content;
}

.schedule-day-header {
    flex-shrink: 0;
    padding: 8px 4px;
    text-align: center;
    border-right: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    height: 48px;
}

.schedule-day-header.weekend {
    background: #f8f9fa;
}

.schedule-day-header-text {
    font-size: 12px;
    color: #212529;
    font-weight: 500;
    line-height: 1.2;
}

.schedule-day-header.weekend .schedule-day-header-text {
    color: #6c757d;
}

/* Calendar Grid */
.schedule-calendar-grid-wrapper {
    flex: 1;
    overflow: auto;
    position: relative;
}

.schedule-calendar-grid {
    display: flex;
    flex-direction: column;
    min-width: max-content;
    overflow-x: auto;
    overflow-y: auto;
}

/* Utilization Row */
.schedule-utilization-row {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
}

.schedule-utilization-spacer {
    width: 260px;
    flex-shrink: 0;
    border-right: 1px solid #e9ecef;
    background: #fff;
    position: sticky;
    left: 0;
    z-index: 51;
}

.schedule-utilization-days {
    display: flex;
    min-width: max-content;
}

.schedule-utilization-cell {
    flex-shrink: 0;
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    border-right: 1px solid #e9ecef;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-utilization-cell.weekend {
    background: #f8f9fa;
}

/* Resource Rows */
.schedule-resource-rows {
    display: flex;
    flex-direction: column;
}

.schedule-resource-row {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    min-height: 65px;
    height: 65px;
    transition: min-height 0.3s, height 0.3s;
}


.schedule-resource-row-spacer {
    width: 260px;
    flex-shrink: 0;
    border-right: 1px solid #e9ecef;
    background: #fff;
    position: sticky;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.schedule-user-utilization-summary {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 45px;
    text-align: center;
}

.schedule-user-utilization-summary.green {
    background-color: rgb(190, 255, 225);
    color: var(--content-positive);
}

.schedule-user-utilization-summary.orange {
    background-color: rgb(255, 227, 194);
    color: #d97706;
}

.schedule-resource-row-days {
    display: flex;
    min-width: max-content;
}

.schedule-day-cell {
    flex-shrink: 0;
    border-right: 1px solid #e9ecef;
    padding: 4px;
    padding-top: 24px;
    position: relative;
    min-height: 65px;
    height: 65px;
    transition: min-height 0.3s, height 0.3s;
}


.schedule-day-cell.weekend {
    background: #fafbfc;
}

.schedule-day-utilization {
    position: absolute;
    top: 4px;
    left: 2px;
    right: 2px;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    padding: 2px 4px;
    border-radius: 3px;
    z-index: 5;
    min-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    background-color: transparent;
}

.schedule-day-projects {
    margin-top: 2px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.schedule-day-utilization.green {
    background-color: rgb(190, 255, 225);
    color: var(--content-positive);
}

.schedule-day-utilization.orange {
    background-color: rgb(255, 227, 194);
    color: #d97706;
}

.schedule-resource-row.expanded {
    background: #f8f9fa;
}

.btn-expand-user {
    transition: transform 0.2s;
}

.btn-expand-user.expanded {
    transform: rotate(90deg);
}

.btn-expand-user.expanded i {
    transform: rotate(0deg);
}

/* Project Blocks */
.schedule-project-block {
    position: absolute;
    top: 4px;
    left: 2px;
    padding: 6px 8px;
    border-radius: 4px;
    color: #212529;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    z-index: 10;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.schedule-day-projects .schedule-project-block {
    position: absolute;
    left: 2px;
    right: auto;
    margin-bottom: 0;
}

.schedule-project-block {
    cursor: pointer;
}

.schedule-project-block:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

/* Time Off Blocks */
.schedule-timeoff-block {
    position: absolute;
    left: 2px;
    padding: 6px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    z-index: 10;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.schedule-timeoff-content {
    display: flex;
    align-items: center;
    gap: 6px;
}

.schedule-timeoff-content i {
    font-size: 14px;
    flex-shrink: 0;
}

.schedule-timeoff-content span {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schedule-timeoff-block:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

/* Booking Details Modal */
.booking-modal-content {
    border-radius: 8px;
    overflow: hidden;
}

.booking-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
}

.booking-modal-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-modal-header-left i {
    font-size: 20px;
    color: #495057;
}

.booking-modal-header-left .modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.booking-modal-header-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.booking-actions-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.booking-actions-btn:hover {
    background-color: #f8f9fa;
}

.booking-actions-btn i {
    font-size: 20px;
    color: #6c757d;
}

.booking-modal-header .dropdown-toggle::after {
    display: none;
}

.booking-modal-body {
    padding: 20px;
}

.booking-detail-section {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.booking-detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.booking-detail-icon-column {
    flex-shrink: 0;
    width: 24px;
    display: flex;
    justify-content: flex-start;
    padding-top: 2px;
}

.booking-detail-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

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

.booking-detail-content-column {
    flex: 1;
    min-width: 0;
}

.booking-detail-label {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.booking-detail-value {
    font-size: 14px;
    color: #212529;
    font-weight: 400;
    line-height: 1.5;
}

.booking-detail-value strong {
    font-weight: 600;
}

.schedule-project-hours {
    font-weight: 600;
    font-size: 11px;
    opacity: 0.9;
}

.schedule-project-name {
    font-weight: 500;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.schedule-project-client {
    font-size: 11px;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Light text for dark backgrounds */
.schedule-project-block[style*="background-color: rgb(13, 110, 253)"],
.schedule-project-block[style*="background-color: #0d6efd"],
.schedule-project-block[style*="background-color: rgb(0, 123, 255)"] {
    color: #fff;
}

.schedule-project-block[style*="background-color: rgb(13, 110, 253)"] .schedule-project-hours,
.schedule-project-block[style*="background-color: #0d6efd"] .schedule-project-hours,
.schedule-project-block[style*="background-color: rgb(0, 123, 255)"] .schedule-project-hours {
    color: rgba(255, 255, 255, 0.95);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .schedule-sidebar {
        width: 220px;
    }
    
    .schedule-date-header-month {
        width: 220px;
    }
    
    .schedule-day-header,
    .schedule-utilization-cell,
    .schedule-day-cell {
        width: 140px !important;
    }
}

/* Scrollbar styling */
.schedule-calendar-grid::-webkit-scrollbar,
.schedule-date-header-content::-webkit-scrollbar,
.schedule-resources-list::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.schedule-calendar-grid::-webkit-scrollbar-track,
.schedule-date-header-content::-webkit-scrollbar-track,
.schedule-resources-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.schedule-calendar-grid::-webkit-scrollbar-thumb,
.schedule-date-header-content::-webkit-scrollbar-thumb,
.schedule-resources-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.schedule-calendar-grid::-webkit-scrollbar-thumb:hover,
.schedule-date-header-content::-webkit-scrollbar-thumb:hover,
.schedule-resources-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Spaarpot Overzicht Styles */
.spaarpot-order-card {
    transition: box-shadow 0.2s;
}

.spaarpot-order-card:hover {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.spaarpot-order-header {
    cursor: pointer;
}

.spaarpot-order-header:hover {
    background-color: #f8f9fa !important;
}

.spaarpot-campaign-table {
    margin-top: 1rem;
}

.spaarpot-campaign-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spaarpot-campaign-table td {
    vertical-align: middle;
}

/* End of Spaarpot Overzicht Styles */




