/* =========================================
   Base & utilities
   ========================================= */
fieldset {
  border: 1px solid #ccc;
  padding: 30px;
}

#main-nav {
  background-color: #0e70ae;
}

.form-control[readonly] {
  background-color: #d0d0d0;
}

#selected_tags_container {
  min-height: 38px;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 5px;
}

html body #content .table-striped>tbody>tr.spacer-white>* {
  --bs-table-bg-type: white !important;
  --bs-table-color-type: black !important;
  background-color: white !important;
  padding: 0 !important;
  height: 20px !important;
  border: none !important;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-copy {
  cursor: copy;
}

.w-15 {
  width: 15% !important;
}

.phase-header .input-group-text {
  padding-inline: .5rem
}

.phase-labour-controls .form-control {
  min-width: 0
}

.phase-hours-group {
  width: 120px
}

.phase-rate-group {
  width: 160px
}

.phase-metric {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-left: .75rem;
}

.phase-metric small {
  color: #6c757d;
  white-space: nowrap;
}

@media (max-width:576px) {
  .phase-metric {
    width: 100%;
    justify-content: flex-end;
    margin-top: .25rem;
  }
}

/* =========================================
   Mega menu — base
   ========================================= */
#main-mega-menu .mega-dropdown a {
  text-decoration: none;
  color: #000;
}

/* Card look & feel */
#main-mega-menu .mega-dropdown .card {
  border: 0;
  background: #fff;
  border-radius: 16px;
  transition: transform .18s ease, box-shadow .18s ease, background-color .2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

/* Inner flex wrapper */
#main-mega-menu .mega-dropdown a .d-flex {
  padding: 14px 12px;
  border-radius: 16px;
  transition: all .18s ease;
}

/* Icon tile */
#main-mega-menu .mega-dropdown .icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
}

/* Typography */
#main-mega-menu .mega-dropdown h5 {
  margin: 0;
  font-weight: 700;
  letter-spacing: .1px;
}

#main-mega-menu .mega-dropdown .small {
  font-size: .9rem;
  color: var(--bs-secondary-color, #6c757d);
}

/* Action chips */
#main-mega-menu .mega-dropdown .badge {
  border-radius: 999px;
  font-weight: 600;
  padding: .45rem .6rem;
  margin-right: .25rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

/* Hover lift */
#main-mega-menu .mega-dropdown .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

#main-mega-menu .mega-dropdown .card:hover .icon {
  transform: scale(1.04);
}

#main-mega-menu .mega-dropdown .col a:hover .d-flex .icon {
  border-color: rgba(var(--bs-dark-rgb), var(--bs-border-opacity)) !important;
}

/* =========================================
   Mega menu — color accents by tile
   (hover background + base icon tint)
   ========================================= */
/* Projects */
#main-mega-menu .mega-dropdown .col.projects a:hover .d-flex {
  background-color: var(--bs-warning-bg-subtle);
}

#main-mega-menu .mega-dropdown .col.projects .icon {
  background-color: var(--bs-warning-bg-subtle);
}

/* Quotes */
#main-mega-menu .mega-dropdown .col.quotes a:hover .d-flex {
  background-color: var(--bs-secondary-bg-subtle);
}

#main-mega-menu .mega-dropdown .col.quotes .icon {
  background-color: var(--bs-secondary-bg-subtle);
}

/* Joinery (new explicit accent) */
#main-mega-menu .mega-dropdown .col.joinery a:hover .d-flex {
  background-color: #e9f3ff;
}

#main-mega-menu .mega-dropdown .col.joinery .icon {
  background-color: #e9f3ff;
}

/* Purchase Orders */
#main-mega-menu .mega-dropdown .col.pos a:hover .d-flex {
  background-color: var(--bs-success-bg-subtle);
}

#main-mega-menu .mega-dropdown .col.pos .icon {
  background-color: var(--bs-success-bg-subtle);
}

/* Product Catalog */
#main-mega-menu .mega-dropdown .col.catalog a:hover .d-flex {
  background-color: var(--bs-primary-bg-subtle);
}

#main-mega-menu .mega-dropdown .col.catalog .icon {
  background-color: var(--bs-primary-bg-subtle);
}

/* Materials Catalog */
#main-mega-menu .mega-dropdown .col.materials a:hover .d-flex {
  background-color: var(--bs-info-bg-subtle);
}

#main-mega-menu .mega-dropdown .col.materials .icon {
  background-color: var(--bs-primary-bg-subtle);
}

/* Receiving */
#main-mega-menu .mega-dropdown .col.receiving a:hover .d-flex {
  background-color: var(--bs-info-bg-subtle);
}

#main-mega-menu .mega-dropdown .col.receiving .icon {
  background-color: var(--bs-info-bg-subtle);
}

/* Variations (cos) */
#main-mega-menu .mega-dropdown .col.cos a:hover .d-flex {
  background-color: var(--bs-danger-bg-subtle);
}

#main-mega-menu .mega-dropdown .col.cos .icon {
  background-color: var(--bs-danger-bg-subtle);
}

/* Users */
#main-mega-menu .mega-dropdown .col.users a:hover .d-flex {
  background-color: var(--bs-primary-bg-subtle);
}

#main-mega-menu .mega-dropdown .col.users .icon {
  background-color: var(--bs-primary-bg-subtle);
}



/* Project Phases */
#main-mega-menu .mega-dropdown .col.project_phases a:hover .d-flex {
  background-color: var(--bs-success-bg-subtle);
}

#main-mega-menu .mega-dropdown .col.project_phases .icon {
  background-color: var(--bs-success-bg-subtle);
}

/* Company Invoicing */
#main-mega-menu .mega-dropdown .col.invoicing a:hover .d-flex {
  background-color: var(--bs-primary-border-subtle);
}

#main-mega-menu .mega-dropdown .col.invoicing .icon {
  background-color: var(--bs-primary-border-subtle);
}


#main-mega-menu .mega-dropdown .col.company_profile a:hover .d-flex {
  background-color: var(--bs-danger-bg-subtle);
}

#main-mega-menu .mega-dropdown .col.company_profile .icon {
  background-color: var(--bs-danger-bg-subtle);
}

/* Optional (if you bring these back later) */
#main-mega-menu .mega-dropdown .col.audit_log a:hover .d-flex {
  background-color: var(--bs-warning-bg-subtle);
}

#main-mega-menu .mega-dropdown .col.data_export a:hover .d-flex {
  background-color: var(--bs-info-bg-subtle);
}

/* =========================================
   Mega menu — layout behavior
   ========================================= */
@media only screen and (min-width: 992px) {
  #main-mega-menu .mega-dropdown {
    width: 55vw;
  }

  #main-mega-menu .dropdown:hover .mega-dropdown {
    display: flex;
  }

  #main-mega-menu .mega-dropdown.show {
    display: flex;
  }
}

/* Compact adjustments on very small screens */
@media (max-width: 575.98px) {
  #main-mega-menu .mega-dropdown .icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  #main-mega-menu .mega-dropdown .badge {
    padding: .35rem .55rem;
  }
}

.pc-inline-input {
  width: 100%;
  min-width: 70px;
  box-sizing: border-box;
  padding: 2px 4px;
  font-size: 0.75rem;
}

#costings_table td.editable-cell {
  cursor: pointer;
}

/* Dragula */
.gu-mirror {
  position: fixed !important;
  margin: 0 !important;
  z-index: 9999 !important;
  opacity: .8
}

.gu-hide {
  display: none !important
}

.gu-unselectable {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important
}

.gu-transit {
  opacity: .2
}

/* Dragula */

/* PO Drag and Drop Styles */
.po-drop-zone {
  transition: all 0.2s ease;
  border: 2px dashed transparent;
}

.po-drop-zone.drag-over {
  border-color: #0d6efd !important;
  background-color: rgba(13, 110, 253, 0.05) !important;
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.3) !important;
}


/* sticky header so users always see columns */
#costings_table thead th {
  position: sticky;
  top: 0;
  z-index: 15;
  background: #fff;
}

/* editable look */
#costings_table td.editable-cell {
  cursor: pointer;
  position: relative;
}

#costings_table td.editable-cell::after {
  content: "✎";
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 10px;
  opacity: .25;
  pointer-events: none;
}

#costings_table td.editable-cell {
  opacity: 0.7;
}

#costings_table td.editable-cell:hover {
  opacity: 1;
}

/* read-only hours */
#costings_table td.pc-hours-locked {
  cursor: not-allowed;
}

/* long cells */
#costings_table td:nth-child(3),
#costings_table td:nth-child(5) {
  white-space: normal;
  max-width: 280px;
}

@media (max-width: 992px) {
  #costings_table {
    font-size: 12px;
  }

  #costings_table td:nth-child(3),
  #costings_table td:nth-child(5) {
    max-width: 200px;
  }
}



.phase-drag-handle {
  cursor: move;
  font-size: 1.2rem;
}

body .gu-mirror {
  opacity: 0.9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  background-color: white;
  transform: scale(0.95);
}

#quote-builder-wrapper .gu-transit {
  opacity: 0.2 !important;
}

.quote-item-placeholder {
  display: block;
  height: 50px;
  background-color: #fde7f3;
  border: 2px dashed #DB7093;
  margin: 5px 0;
}

/* NESTED PRINT STYLES FOR INVOICE VIEW */
@media print {

  /* Hide main nav */
  #main-nav {
    display: none !important;
  }

  #invoice-costings-screen {
    /* Main container */

    .badge.bg-white {
      background-color: #fff !important;
    }

    .badge.bg-secondary {
      background-color: #fff !important;
      color: #313131;
    }

    span.badge.text-secondary {
      background-color: #fff !important;
      color: #313131 !important;
      border: #313131;
    }

    .table-dark {
      background: #e5e5e5 !important;
    }

    .bg-dark {
      background-color: #e5e5e5 !important;
    }

  }
}

/* =========================================
   Google-style search suggestions
   ========================================= */
.search-wrapper {
  position: relative;
}

.form-control[type="search"] {
  border-radius: 24px;
  padding: 8px 50px 8px 16px;
  border: 1px solid #dadce0;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  outline: none;
  font-size: 16px;
  width: 300px;
}

.form-control[type="search"]:focus {
  border-color: #4285f4;
  box-shadow: 0 1px 6px rgba(66, 133, 244, 0.28);
}

#suggestions-box {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 4px 6px rgba(32, 33, 36, 0.28);
  z-index: 1000;
  display: none;
  max-height: 400px;
  overflow-y: auto;
}

#suggestions-box.visible {
  display: block;
}

.search-wrapper.open .form-control[type="search"] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

.suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 16px;
  border-bottom: 1px solid #e8eaed;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item i {
  color: #9aa0a6;
  margin-right: 12px;
  min-width: 18px;
  font-size: 18px;
}

.suggestion-item:hover {
  background-color: #f8f9fa;
}

.suggestion-type {
  font-weight: 600;
  color: #5f6368;
  margin-right: 8px;
  font-size: 14px;
}

.suggestion-title {
  color: #202124;
}




/* Invoices styles - extracted inline styles */

/* Statistics avatars */
.invoicing-stat-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.invoicing-stat-avatar.receipt {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.invoicing-stat-avatar.cash {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.invoicing-stat-avatar.clock {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.invoicing-stat-avatar.exclamation {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* PO Statistics avatars */
.po-stat-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.po-stat-avatar.receipt {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.po-stat-avatar.cash {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.po-stat-avatar.clock {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.po-stat-avatar.check {
  background: linear-gradient(135deg, #198754 0%, #20c997 100%);
}

/* Search inputs */
.invoicing-search-input {
  width: 250px;
}

.invoicing-project-search-input {
  width: 300px;
}

/* Table avatars */
.invoicing-table-avatar {
  width: 40px;
  height: 40px;
}

/* Empty state avatar */
.invoicing-empty-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Project row */
.invoicing-project-row {
  cursor: pointer;
}

/* Project avatars */
.invoicing-project-avatar {
  width: 45px;
  height: 45px;
  font-size: 1.1rem;
}

.invoicing-client-avatar,
.invoicing-site-avatar {
  width: 35px;
  height: 35px;
}

/* Table column widths */
.invoicing-table-col-project {
  min-width: 250px;
}

.invoicing-table-col-client {
  min-width: 200px;
}

.invoicing-table-col-address {
  min-width: 250px;
}

.invoicing-table-col-actions {
  min-width: 150px;
  width: 150px;
}

/* Form elements */
.invoicing-quote-select {
  border-radius: 10px;
}

/* Hidden elements */
.invoicing-no-balance-warning {
  display: none;
}

.invoicing-invoice-note-section {
  display: none;
}

.invoicing-payment-history-body {
  display: none;
}

/* Containers */
.invoicing-invoices-form {
  padding-top: 20px;
}

/* Dropdowns */
.invoicing-status-dropdown {
  min-width: 180px;
}

/* Logo placeholder */
.invoicing-logo-placeholder {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Interactive elements */
.invoicing-payment-history-header {
  cursor: pointer;
}

.invoicing-invoice-note-textarea {
  resize: vertical;
}

/* Quotes styles - extracted inline styles */

.quotes-phase-dropzone {
  min-height: 80px;
}

.quotes-item-qty {
  width: 60px;
}

.quotes-item-price-group {
  width: 120px;
}

.quotes-item-markup-group {
  width: 80px;
}

.quotes-item-total {
  width: 100px;
  text-align: right;
}

/* Joiner styles - extracted inline styles and <style> content */

.joiner-phase-header .input-group-text {
  padding-inline: .5rem;
}

.joiner-phase-hours-group {
  width: 120px;
}

.joiner-phase-rate-group {
  width: 160px;
}

.joiner-phase-metric small {
  font-size: .75rem;
}

.joiner-phase-metric strong {
  display: block;
}

.joiner-border-dashed {
  border: 1px dashed #dee2e6;
}

/* Product picker styling - initially hidden */
.joiner-product-list-container {
  display: none;
  position: absolute;
  z-index: 1000;
  background: white;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  max-height: 300px;
  overflow-y: auto;
  width: 95%;
}

.joiner-product-list-container.show {
  display: block;
}

.joiner-product-list {
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}

.joiner-product-item {
  cursor: move;
  transition: all 0.2s;
}

.joiner-product-item:hover {
  background-color: #f8f9fa;
  transform: translateY(-1px);
}

/* Product picker container styling */
.joiner-bg-light.rounded.w-15.p-2.fixed-top.shadow.rounded {
  position: fixed;
  top: 4.5rem;
  left: 20px;
  z-index: 1050;
  max-width: 300px;
  margin: 0;
  transform: none;
}

/* Search input styling */
.joiner-product-search {
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  border: 1px solid #ced4da;
}

.joiner-product-search:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: 0;
}

.joiner-margin-top-4-5rem {
  margin-top: 4.5rem;
}

.joiner-phase-dropzone {
  min-height: 80px;
}

.joiner-item-hours-group {
  width: 110px;
}

.joiner-item-rate-group {
  width: 140px;
}

.joiner-item-markup-group {
  width: 90px;
}

.joiner-item-total {
  width: 110px;
  text-align: right;
}

/* Project Costings styles - extracted inline styles */

.pc-display-none {
  display: none;
}

.pc-table-wrapper {
  max-height: 98vh;
  overflow: auto;
}

.pc-col-width-5 {
  width: 5%;
}

.pc-col-width-10 {
  width: 10%;
}

.pc-col-width-15 {
  width: 15%;
}

.pc-col-width-30 {
  width: 30%;
}

.pc-bg-opacity-50 {
  --bs-bg-opacity: .5;
}

.pc-bg-opacity-65 {
  --bs-bg-opacity: .65;
}

.pc-bg-editable-cost {
  background: #ffe08a;
}

.pc-bg-editable-hours {
  background: #f8d7da;
}

/* Project Phases styles - extracted inline styles */

.pp-col-width-30 {
  width: 30%;
}

.pp-col-width-40 {
  width: 40%;
}

.pp-col-width-10 {
  width: 10%;
}

.pp-col-width-20 {
  width: 20%;
}

.pp-cursor-grab {
  cursor: grab;
}

.pp-bg-light-gray {
  background-color: #f8f9fa;
}

/* Projects styles - extracted inline styles */

.pr-col-width-35 {
  width: 35%;
}

.pr-col-width-30 {
  width: 30%;
}

.pr-col-width-10 {
  width: 10%;
}

.pr-col-width-25 {
  width: 25%;
}

/* Products styles - extracted inline styles */

.prd-cursor-pointer {
  cursor: pointer;
}

.prd-display-none {
  display: none;
}

/* Company Profile styles - extracted inline styles */

.cp-logo-preview {
  max-height: 120px;
}

/* Financials Hub Custom Styles */

/* Project highlight animation */
.highlight-project {
    animation: highlight-pulse 2s ease-in-out;
    border-color: #007bff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

@keyframes highlight-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Navigation bar styling */
.financials-navigation {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

/* Compact summary cards */
.compact-summary {
    transition: transform 0.2s ease-in-out;
}

.compact-summary:hover {
    transform: scale(1.05);
}

/* =========================================
   Financials Portfolio Overview Styles
   ========================================= */

/* Body and layout */
.fp-portfolio-wrapper {
  background-color: #f1f3f5;
  padding: 30px 15px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
}

.fp-portfolio-header {
  margin-bottom: 2rem;
}

/* Summary Card Styling */
.fp-project-card {
  background: white;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 2rem;
  overflow: hidden;
}

.fp-card-header-custom {
  background-color: #fff;
  border-bottom: 2px solid #f8f9fa;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fp-project-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: #212529;
}

/* The Table Layout */
.fp-table-summary {
  margin-bottom: 0;
  font-size: 0.85rem;
}

.fp-table-summary thead th {
  background: #f8f9fa;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05rem;
  color: #6c757d;
  border: none;
}

.fp-table-summary td {
  vertical-align: middle;
  padding: 12px 20px;
  border-color: #f8f9fa;
}

/* Accounting Columns */
.fp-col-label {
  width: 35%;
  font-weight: 600;
  color: #495057;
}

.fp-col-calc {
  width: 40%;
  color: #6c757d;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.fp-col-total {
  width: 25%;
  text-align: right;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 1rem;
}

.fp-text-balance {
  color: #0d6efd;
}

.fp-text-owed {
  color: #dc3545;
}

.fp-text-due {
  color: #198754;
}

/* Portfolio Bar */
.fp-summary-strip {
  background: #212529;
  color: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.fp-summary-val {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

.fp-summary-lab {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.7;
}

/* =========================================
   Variations v2 Module Styles
   ========================================= */

/* Project card styling and interactions */
.project-card {
  transition: all 0.2s ease-in-out;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}

.project-card.border-primary {
  border-color: #0d6efd !important;
  border-width: 2px !important;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
}

/* Invoices styles */

/* =========================================
   Gradient Background Styles
   ========================================= */

.bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* =========================================
   Financials Hub - Clean & Professional Design
   ========================================= */

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --glass-bg: rgba(255, 255, 255, 1);
  --glass-border: rgba(0, 0, 0, 0.1);
  --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 2px 6px rgba(0, 0, 0, 0.05);
  --border-radius: 6px;
  --transition: all 0.15s ease;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stat-card-mini {
  min-width: 140px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: none;
  transition: none;
}

.stat-card-mini:hover {
  transform: none;
  box-shadow: none;
}

.financials-project-card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-light);
  transition: none;
}

.financials-project-card:hover {
  transform: none;
  box-shadow: var(--shadow-medium);
}

.financials-project-card .card-header {
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 1.5rem;
}

.compact-summary {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

.compact-summary:hover {
  transform: none;
  box-shadow: none;
}

.compact-quote-card,
.compact-po-card {
  border: 1px solid #e9ecef;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

.compact-quote-card:hover,
.compact-po-card:hover {
  transform: none;
  box-shadow: none;
  border-color: #dee2e6;
}

.btn-action-group .btn {
  border-radius: 6px;
  font-weight: 500;
  transition: none;
}

.btn-action-group .btn:hover {
  transform: none;
  box-shadow: none;
}

.modern-form-control {
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 6px;
  color: #495057;
  transition: border-color 0.15s ease;
}

.modern-form-control:focus {
  background: #fff;
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  color: #495057;
}

.modern-badge {
  border-radius: 4px;
  font-weight: 500;
  box-shadow: none;
}

.modern-badge:hover {
  transform: none;
  box-shadow: none;
}

.glass-panel {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: none;
}

.glass-navigation {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: none;
}

.modern-typography h1 {
  font-weight: 500;
  letter-spacing: -0.02em;
  text-shadow: none;
}

.modern-typography h5 {
  font-weight: 500;
  letter-spacing: -0.01em;
}

.modern-typography .subtitle {
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.01em;
}
.invoicing_list .bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.invoicing_list .avatar {
  background-size: cover;
  background-position: center;
}

.invoicing_list .avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 0.875rem;
}

.invoicing_list #invoices-table th {
  font-weight: 600;
  color: #495057;
  border-bottom: 2px solid #dee2e6 !important;
}

.invoicing_list #invoices-table tbody tr:hover {
  background-color: #f8f9fa;
}

.invoicing_list .badge.bg-success {
  background-color: #198754 !important;
}

.invoicing_list .badge.bg-primary {
  background-color: #0d6efd !important;
}

.invoicing_list .badge.bg-danger {
  background-color: #dc3545 !important;
}

.invoicing_list .badge.bg-secondary {
  background-color: #6c757d !important;
}

.invoicing_list .badge.bg-warning {
  background-color: #ffc107 !important;
  color: #000 !important;
}

.invoicing_list .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.invoicing_list .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

@media (max-width: 768px) {
  .invoicing_list .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}


.invoicing_new .bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.invoicing_new .hidden {
  display: none !important;
}

.invoicing_new .highlight {
  background-color: #ffff00;
  padding: 0 2px;
}

/* Modern DataTable Styling */
.invoicing_new #invoice-projects-table_wrapper {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  background: white;
  overflow: visible;
}

.invoicing_new #invoice-projects-table {
  border: none !important;
  background: transparent;
}

.invoicing_new #invoice-projects-table thead th {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: none !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #495057;
  padding: 1.5rem 1.2rem;
}

.invoicing_new #invoice-projects-table tbody tr {
  border: none !important;
  transition: all 0.2s ease;
  margin-bottom: 0.25rem;
}

.invoicing_new #invoice-projects-table tbody tr:hover {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f7ff 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.invoicing_new #invoice-projects-table tbody td {
  border: none !important;
  padding: 1.75rem 1.5rem;
  vertical-align: middle;
  border-radius: 0;
}

/* Add spacing between rows */
.invoicing_new #invoice-projects-table tbody tr:not(:last-child) {
  margin-bottom: 0.5rem;
}

/* Enhanced project icon and styling */
.invoicing_new .project-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.invoicing_new .project-icon i {
  color: white;
  font-size: 1.2rem;
}

/* Badge improvements */
.invoicing_new .badge {
  background: linear-gradient(135deg, #198754 0%, #20c997 100%) !important;
  border-radius: 20px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(25, 135, 84, 0.2);
}

/* Action button styling */
.invoicing_new .btn-outline-primary {
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.invoicing_new .btn-outline-primary:hover {
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

/* DataTables controls styling */
.invoicing_new .dataTables_length select,
.invoicing_new .dataTables_info {
  font-weight: 500;
  color: #6c757d;
}

.invoicing_new .dataTables_paginate .paginate_button {
  border-radius: 8px !important;
  margin: 0 2px;
  border: 1px solid #dee2e6 !important;
  background: white !important;
  font-weight: 500;
  color: #6c757d !important;
  transition: all 0.2s ease;
}

.invoicing_new .dataTables_paginate .paginate_button:hover {
  background: #f8f9fa !important;
  border-color: #dee2e6 !important;
  color: #495057 !important;
}

.invoicing_new .dataTables_paginate .paginate_button.current {
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%) !important;
  border-color: transparent !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Card hover effects */
.invoicing_new .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px !important;
  overflow: hidden;
}

.invoicing_new .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}

.invoicing_new .avatar {
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .invoicing_new .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .invoicing_new #invoice-projects-table_wrapper {
    box-shadow: none;
  }

  .invoicing_new #invoice-projects-table tbody tr:hover {
    transform: none;
  }

  .invoicing_new .project-icon {
    width: 40px;
    height: 40px;
  }

  .invoicing_new .btn-outline-primary {
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
  }
}


.invoicing_quote_form .card {
  transition: transform 0.2s ease;
}

.invoicing_quote_form .card:hover {
  transform: translateY(-2px);
}

.invoicing_quote_form .form-select-lg {
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
}

.invoicing_quote_form .btn-lg {
  padding: 0.75rem 1.5rem !important;
  font-size: 1rem !important;
}

.invoicing_quote_form .input-group-lg .input-group-text {
  font-size: 1rem !important;
}


.invoicing_payment_statement .bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.invoicing_payment_statement .card {
  transition: transform 0.2s ease;
}

.invoicing_payment_statement .card:hover {
  transform: translateY(-2px);
}

.invoicing_payment_statement .badge.bg-success {
  background-color: #198754 !important;
}

.invoicing_payment_statement .badge.bg-primary {
  background-color: #0d6efd !important;
}

.invoicing_payment_statement .badge.bg-danger {
  background-color: #dc3545 !important;
}

.invoicing_payment_statement .badge.bg-secondary {
  background-color: #6c757d !important;
}

.invoicing_payment_statement .badge.bg-warning {
  background-color: #ffc107 !important;
  color: #000 !important;
}

/* Payment Records Styling */
.invoicing_payment_statement .payment-record {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.invoicing_payment_statement .payment-record:hover {
  background-color: #e9ecef;
  transform: translateX(4px);
}

.invoicing_payment_statement .payment-record strong {
  color: #198754;
  font-weight: 600;
}

/* Invoices styles */
