/* =========================================================
   NavamTech Theme Override
   Primary:  #2563eb  (blue-600)
   Hover:    #1d4ed8  (blue-700)
   Accent:   #7c3aed  (violet-600)
   Dark:     #171717
   Muted:    #525252
   Subtle:   #a3a3a3
   Border:   #e5e7eb
   Font:     Inter, system-ui, sans-serif
   ========================================================= */

/* --- CSS Variables Override --- */
:root {
  --primary:        #2563eb;
  --primary-hover:  #1d4ed8;
  --accent:         #7c3aed;
  --accent-hover:   #6d28d9;
  --secondary:      #7c3aed;
  --danger:         #2563eb;
  --nt-dark:        #171717;
  --nt-muted:       #525252;
  --nt-subtle:      #a3a3a3;
  --nt-border:      #e5e7eb;
  --nt-bg:          #f8fafc;
  --nt-white:       #ffffff;
  --nt-gradient:    linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --font-family-sans-serif: 'Inter', system-ui, sans-serif;
}

/* --- Global Font --- */
body, html,
input, textarea, select, button {
  font-family: 'Inter', system-ui, sans-serif !important;
}

/* --- Links --- */
a            { color: var(--primary); }
a:hover      { color: var(--primary-hover); text-decoration: none; }

/* =========================================================
   NO RED — replace every red / danger token with blue
   ========================================================= */

/* CSS variable tokens */
:root {
  --red:       #2563eb;
  --danger:    #2563eb;
  --secondary: #7c3aed;
}

/* ---- Sidebar active item (hardcoded red !important in ddscss) ---- */
.sidebar-nav ul li.nav-item a.nav-link.active span,
.sidebar-nav ul li.nav-item a.nav-link.active .menu-title {
  color: var(--primary) !important;
}
.sidebar-nav ul li.nav-item a.nav-link.active svg,
.sidebar-nav ul li.nav-item a.nav-link.active svg path,
.sidebar-nav ul li.nav-item a.nav-link.active svg g,
.sidebar-nav ul li.nav-item a.nav-link.active .replaced-svg,
.sidebar-nav ul li.nav-item a.nav-link.active .replaced-svg path,
.sidebar-nav ul li.nav-item a.nav-link.active .replaced-svg g {
  fill: var(--primary) !important;
}

/* ---- Text colours ---- */
/* Secondary text → primary blue (NT branding) */
.text-secondary {
  color: var(--primary) !important;
}

/* Error / danger text → red everywhere */
.text-danger, .text-danger:hover,
a.text-danger, a.text-danger:focus,
.text-red,
.errormessage,
.list_errormessage,
.error,
.invalid-feedback,
.filevalidationerror,
.was-validated .form-check-input:invalid ~ .form-check-label,
.form-check-input.is-invalid ~ .form-check-label,
.was-validated .custom-control-input:invalid ~ .custom-control-label,
.custom-control-input.is-invalid ~ .custom-control-label {
  color: #dc2626 !important;
}

/* ---- Table header links (were red) ---- */
.table thead tr th a {
  color: var(--primary) !important;
}

/* ---- Backgrounds ---- */
.bg-danger   { background-color: var(--primary) !important; }
.bg-secondary{ background: var(--nt-gradient)   !important; }
.bg-red      { background-color: var(--primary) !important; }

/* ---- Borders ---- */
.border-danger, .border-secondary, .border-red {
  border-color: var(--primary) !important;
}

/* ---- Invalid form inputs (were red border) ---- */
.was-validated .form-control:invalid,
.form-control.is-invalid,
.was-validated .custom-select:invalid,
.custom-select.is-invalid,
.was-validated .custom-file-input:invalid ~ .custom-file-label,
.custom-file-input.is-invalid ~ .custom-file-label {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .2) !important;
}

/* ---- Alert-danger ---- */
.alert-danger {
  background-color: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: var(--primary) !important;
}

/* ---- Badges ---- */
.badge-danger,
.badge-secondary,
.badge-red {
  background: var(--nt-gradient) !important;
  color: #fff !important;
  border: none !important;
}

/* ---- Outline buttons that were red ---- */
.btn-outline-secondary,
.btn-outline-danger,
.btn-outline-red {
  border: 1.5px solid var(--primary) !important;
  color: var(--primary) !important;
  background: transparent !important;
  border-radius: .5rem;
}
.btn-outline-secondary:hover,
.btn-outline-danger:hover,
.btn-outline-red:hover {
  background: var(--nt-gradient) !important;
  border-color: transparent !important;
  color: #fff !important;
}

/* ---- .btn-red class ---- */
.btn-red,
.btn-red:hover,
.btn-red:focus,
.btn-red:active,
.btn-red.disabled,
.btn-red:disabled {
  background: var(--nt-gradient) !important;
  background-image: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
  border: none !important;
  color: #fff !important;
}

/* =========================================================
   HEADER — logo & nav spacing
   ========================================================= */
header.container-fluid .header-logo {
  padding: 0 12px;
}
header.container-fluid .nav-btn {
  min-width: 48px;
  min-height: 48px;
}
/* pl-0 leftover in header row */
header.container-fluid .col-12 {
  padding-left: 0 !important;
}

/* =========================================================
   PAGE HEADER — consistent spacing
   ========================================================= */
.page-header {
  padding-top: .5rem !important;
}
.page-header hr {
  margin: .75rem 0 !important;
  border-color: var(--nt-border);
  opacity: 1;
}
.page-title {
  font-size: 1.5rem !important;
  line-height: 1.3;
}

/* =========================================================
   CLIENT OVERVIEW — filter row
   ========================================================= */

/* Row: left (selector + pill) vs right (revenue stats) */
.co-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .25rem;
}

/* Left cluster */
.co-filter-left {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.co-filter-left .form-select {
  width: auto;
  min-width: 200px;
  max-width: 280px;
}

/* "Client Since" plain pill — isolated from bg-primary gradient override */
.co-since-label {
  display: inline-flex;
  align-items: center;
  font-size: .8rem;
  font-weight: 500;
  color: var(--primary);
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: .25rem .9rem;
  white-space: nowrap;
  letter-spacing: .01em;
  flex-shrink: 0;
}

/* Right: revenue stats block */
.co-filter-right {
  text-align: right;
  line-height: 1.5;
  flex-shrink: 0;
}
.co-revenue-amount {
  font-size: .875rem;
  font-weight: 600;
  color: var(--nt-dark);
}
.co-revenue-since {
  font-size: .75rem;
  color: var(--nt-muted);
}

/* =========================================================
   CARD HEADERS — consistent height & alignment
   ========================================================= */
.card-header {
  min-height: 52px;
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap;
  gap: .5rem;
}
.card-header h6 {
  font-size: .8rem !important;
  font-weight: 600 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--nt-muted) !important;
  margin: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
}
/* Button in card header — keep it compact */
.card-header .btn {
  flex-shrink: 0;
  font-size: .75rem !important;
  padding: .25rem .75rem !important;
  border-radius: .375rem !important;
}
.card-body {
  padding: 1rem 1.25rem !important;
}

/* =========================================================
   HOURS REPORT TABLE — fix month column wrapping
   ========================================================= */
.mon-col {
  min-width: 108px !important;
  width: 108px !important;
  white-space: nowrap !important;
}
/* All table header cells: never break words */
.listing-table thead th,
.table thead th {
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Report first column — label column */
.report-col1 {
  min-width: 220px !important;
  white-space: nowrap !important;
}

/* Chart card pair — even column gap */
.card-chart-wrapper .row > [class*="col-"] {
  padding-left: .5rem;
  padding-right: .5rem;
}
.card-chart-wrapper .row {
  margin-left: -.5rem;
  margin-right: -.5rem;
}

/* =========================================================
   BUTTONS — all action buttons use blue→violet gradient
   ========================================================= */

/* Shared gradient mixin applied to primary, danger, secondary */
.btn-primary,
.btn-danger,
.btn-secondary,
.btn-success,
.btn-info,
.btn-gradient {
  background: var(--nt-gradient) !important;
  background-image: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 500;
  font-family: 'Inter', system-ui, sans-serif !important;
  border-radius: .5rem;
  letter-spacing: .01em;
  transition: opacity .2s ease, box-shadow .2s ease, transform .1s ease;
}

.btn-primary:hover,   .btn-primary:focus,   .btn-primary:active,
.btn-danger:hover,    .btn-danger:focus,     .btn-danger:active,
.btn-secondary:hover, .btn-secondary:focus,  .btn-secondary:active,
.btn-success:hover,   .btn-success:focus,    .btn-success:active,
.btn-info:hover,      .btn-info:focus,       .btn-info:active,
.btn-gradient:hover,  .btn-gradient:focus,   .btn-gradient:active,
.show > .btn-primary.dropdown-toggle,
.show > .btn-danger.dropdown-toggle {
  background: var(--nt-gradient) !important;
  background-image: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%) !important;
  border: none !important;
  color: #fff !important;
  opacity: .92;
  box-shadow: 0 4px 16px rgba(37, 99, 235, .35) !important;
}

/* Outline / ghost primary */
.btn-outline-primary {
  border: 1.5px solid var(--primary) !important;
  color: var(--primary) !important;
  background: transparent !important;
  font-weight: 500;
  border-radius: .5rem;
}
.btn-outline-primary:hover {
  background: var(--nt-gradient) !important;
  background-image: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
}

/* Gray / neutral button — keeps its neutral style */
.btn-gray {
  background-color: #f3f4f6 !important;
  border: 1px solid var(--nt-border) !important;
  color: var(--nt-muted) !important;
  font-weight: 500;
  border-radius: .5rem;
}
.btn-gray:hover {
  background-color: #e5e7eb !important;
  color: var(--nt-dark) !important;
  border-color: #d1d5db !important;
}

/* Dark button (logout etc.) */
.btn-dark,
.dropdown-item.logout-link.bg-dark {
  background-color: var(--nt-dark) !important;
  border-color: var(--nt-dark) !important;
  color: #fff !important;
  border-radius: .5rem;
}
.btn-dark:hover,
.dropdown-item.logout-link.bg-dark:hover {
  background-color: #2d2d2d !important;
  border-color: #2d2d2d !important;
  color: #fff !important;
}

/* =========================================================
   PAGE-LEVEL BUTTON GROUPS
   ========================================================= */
/* me-1 / mr-1 Bootstrap utilities are absent (ddscss = BS4, no bs5 utilities loaded).
   Use gap on the flex container instead — works site-wide. */
.top-btn-box .d-flex,
.top-btn-box.d-flex {
  gap: .375rem;
}

/* =========================================================
   HEADER
   ========================================================= */
header.container-fluid,
header.sticky-top {
  background: #ffffff !important;
  border-bottom: 1px solid var(--nt-border) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.06) !important;
}

/* Nav-btn inherits gradient from .btn-primary above */
.nav-btn.btn-primary,
.nav-btn.btn-primary:hover,
.nav-btn.btn-primary:focus {
  border-radius: 0 !important;
}

.welcome-text strong { color: var(--nt-dark); font-weight: 500; }

.dropdown-menu {
  border: 1px solid var(--nt-border);
  border-radius: .5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #eff6ff !important;
  color: var(--primary) !important;
}

/* =========================================================
   SIDEBAR / NAV
   ========================================================= */
.sidebar-nav {
  background: #ffffff !important;
  border-right: 1px solid var(--nt-border) !important;
  box-shadow: 2px 0 8px rgba(0,0,0,.04) !important;
}
.sidebar-nav .svg { fill: var(--nt-muted) !important; }

.sidebar-nav .nav-link {
  color: var(--nt-muted);
  font-weight: 500;
  font-size: .875rem;
  border-radius: .375rem;
  margin: 1px 8px;
  transition: background .15s ease, color .15s ease;
}
.sidebar-nav .nav-link:hover {
  background-color: #eff6ff !important;
  color: var(--primary) !important;
}
.sidebar-nav .nav-link:hover .svg { fill: var(--primary) !important; }

.sidebar-nav .nav-link.active,
.sidebar-nav .nav-item.show > .nav-link {
  background-color: #eff6ff !important;
  color: var(--primary) !important;
  border-left: 3px solid var(--primary) !important;
}
.sidebar-nav .nav-link.active .svg,
.sidebar-nav .nav-item.show > .nav-link .svg { fill: var(--primary) !important; }

/* Sidebar sub-menu: expand inline, no Popper float */
.sidebar-nav .dropdown-menu,
.sidebar-nav .dropdown-menu.sub-menu {
  position: static !important;
  transform: none !important;
  float: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.sidebar-nav .sub-menu .dropdown-item {
  color: var(--nt-muted);
  font-size: .85rem;
  /* push text past the 20px + 11px bullet — works regardless of BS4/BS5 utility */
  padding-left: 2.75rem !important;
  padding-inline-start: 2.75rem !important;
}
.sidebar-nav .sub-menu .dropdown-item::before {
  background: #cbd5e1 !important;
  border-color: #fff !important;
}
.sidebar-nav .sub-menu .dropdown-item.active::before,
.sidebar-nav .sub-menu .dropdown-item:hover::before {
  background: var(--primary) !important;  /* blue dot when active/hover */
}
.sidebar-nav .sub-menu .dropdown-item::after {
  background: #e2e8f0 !important;  /* light grey timeline line */
}
.sidebar-nav .sub-menu .dropdown-item.active,
.sidebar-nav .sub-menu .dropdown-item:hover  {
  background-color: #eff6ff !important;
  color: var(--primary) !important;
}

/* =========================================================
   PAGE HEADERS & TITLES
   ========================================================= */
.page-title {
  font-weight: 700;
  color: var(--nt-dark);
  letter-spacing: -.025em;
}
.page-header {
  border-bottom: 1px solid var(--nt-border);
  padding-bottom: .75rem !important;
  margin-bottom: 1rem !important;
}
.gradient-text {
  background: var(--nt-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================================
   WELCOME / DASHBOARD ICON GRID
   ========================================================= */

/* Default state */
.dashboard-holder .item .dashboard-item {
  color: var(--nt-muted) !important;
  fill: var(--nt-muted) !important;
  border: 1px solid var(--nt-border) !important;
  border-radius: .75rem !important;
  transition: color .2s ease, fill .2s ease, background .2s ease, box-shadow .2s ease;
}
.dashboard-holder .item .dashboard-item .svg,
.dashboard-holder .item .dashboard-item .replaced-svg,
.dashboard-holder .item .dashboard-item .replaced-svg path,
.dashboard-holder .item .dashboard-item .replaced-svg g {
  fill: var(--nt-muted) !important;
}

/* Hover state — blue instead of red */
.dashboard-holder .item .dashboard-item:hover {
  color: var(--primary) !important;
  fill: var(--primary) !important;
  background: #eff6ff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 20px rgba(37, 99, 235, .15) !important;
}
.dashboard-holder .item .dashboard-item:hover .svg,
.dashboard-holder .item .dashboard-item:hover .replaced-svg,
.dashboard-holder .item .dashboard-item:hover .replaced-svg path,
.dashboard-holder .item .dashboard-item:hover .replaced-svg g {
  fill: var(--primary) !important;
}

/* Dashboard card title */
.dashborad-title {
  color: inherit;
  font-weight: 500;
}

/* =========================================================
   TABLES
   ========================================================= */
.listing-table thead th,
.table thead th {
  background-color: #eff6ff !important;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  text-align: left !important;   /* override static-table justify that breaks narrow headers */
  border-bottom: 2px solid #dbeafe !important;
  border-top: none !important;
}
.listing-table tbody tr:hover { background-color: #f8fafc !important; }
.table                        { border-color: var(--nt-border); }
.table td, .table th          { border-color: var(--nt-border) !important; }

/* Unbilled hours report — widen narrow columns to fit uppercase labels */
.rm-col          { min-width: 160px !important; width: auto !important; }
.pm-col          { min-width: 130px !important; width: auto !important; }
.pt-col          { min-width: 110px !important; width: auto !important; }
.hdr-col         { min-width: 145px !important; width: auto !important; }
.unbilled-hrs-col{ min-width: 115px !important; width: auto !important; }

/* =========================================================
   CARDS
   ========================================================= */
.card {
  border: 1px solid var(--nt-border) !important;
  border-radius: .75rem !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.05) !important;
}
.card-header {
  background-color: #f8fafc !important;
  border-bottom: 1px solid var(--nt-border) !important;
  font-weight: 600;
  color: var(--nt-dark);
}

/* =========================================================
   FORMS
   ========================================================= */
.form-control {
  border-color: var(--nt-border) !important;
  border-radius: .5rem !important;
  color: var(--nt-dark) !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15) !important;
  outline: none;
}
label {
  font-weight: 500;
  color: var(--nt-dark);
  font-size: .875rem;
}

/* =========================================================
   BADGES
   ========================================================= */
.badge-primary   { background-color: var(--primary) !important; color: #fff !important; }
.badge-secondary { background-color: var(--accent)  !important; color: #fff !important; }
.badge-danger    { background: var(--nt-gradient)    !important; color: #fff !important; border: none !important; }

/* =========================================================
   PAGINATION
   ========================================================= */
.page-item.active .page-link {
  background: var(--nt-gradient) !important;
  background-image: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
}
.page-link {
  color: var(--primary) !important;
  border-color: var(--nt-border) !important;
}
.page-link:hover {
  background-color: #eff6ff !important;
  color: var(--primary-hover) !important;
}

/* =========================================================
   LOADER
   ========================================================= */
.loader-dev .spinner-border { color: var(--primary) !important; }

/* =========================================================
   MULTISELECT active filter
   ========================================================= */
.active-filter > button.multiselect {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background-color: #eff6ff !important;
}

/* =========================================================
   ACTION ICONS
   ========================================================= */
.icon-rate2, .icon-edit, .icon-history-new { color: var(--primary); }

/* =========================================================
   UTILITY OVERRIDES
   ========================================================= */
.text-primary   { color: var(--primary) !important; }
.bg-primary     { background: var(--nt-gradient) !important; }
.border-primary { border-color: var(--primary) !important; }

/* =========================================================
   BILLING ENTRY FORM
   ========================================================= */

/* Filter card wrapper */
.page-card {
  background: #ffffff;
  border: 1px solid var(--nt-border);
  border-radius: .75rem;
  padding: 1rem 1.25rem !important;
}

/* Billing Entry filter row — all fields in one horizontal strip */
.be-filter-row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: .75rem;
}

/* Each field group: label on top, input below */
.be-filter-group {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex-shrink: 0;
}

/* Error area sits BELOW the filter row — zero impact on flex alignment */
.be-filter-errors {
  margin-top: .4rem;
}
.be-filter-errors .error,
.be-filter-errors .errormessage {
  display: block !important;
  font-size: .75rem !important;
  line-height: 1.4 !important;
  margin-bottom: .1rem !important;
}

.be-filter-group.be-filter-grow {
  flex: 1 1 160px;
  min-width: 140px;
}

/* Small label above each input */
.be-filter-label {
  font-size: .7rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
  color: var(--nt-muted) !important;
  margin: 0 !important;
  white-space: nowrap;
}

/* Date input width */
.be-date-input .form-control {
  width: 110px !important;
  min-width: 100px;
  height: 36px;
  font-size: .8rem;
  padding: .3rem .5rem;
}

/* Consistent height for all filter inputs */
.be-filter-row .form-control,
.be-filter-row .form-select {
  height: 36px;
  font-size: .875rem;
}

/* Project multiselect button — match the Client dropdown style */
.be-filter-group .btn-group,
.be-filter-group .btn-group > .multiselect.dropdown-toggle {
  width: 100% !important;
}
.be-filter-group .multiselect.dropdown-toggle {
  height: 36px !important;
  background-color: #fff !important;
  background-image: none !important;
  border: 1px solid var(--nt-border) !important;
  border-radius: .5rem !important;
  color: var(--nt-dark) !important;
  font-size: .875rem !important;
  font-weight: 400 !important;
  text-align: left !important;
  padding: .3rem .75rem !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.be-filter-group .multiselect.dropdown-toggle:hover,
.be-filter-group .multiselect.dropdown-toggle:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.15) !important;
  background-color: #fff !important;
  color: var(--nt-dark) !important;
}
.be-filter-group .multiselect.dropdown-toggle .caret {
  color: #6b7280;
}

/* Actions group aligns buttons to bottom of the row */
.be-filter-actions {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex-shrink: 0;
  align-self: flex-end;
}
.be-filter-actions .d-flex {
  gap: .5rem !important;
}
.be-filter-actions .btn {
  height: 36px !important;
  min-width: 76px !important;
  font-size: .8rem !important;
  padding: 0 1rem !important;
  line-height: 36px !important;
  white-space: nowrap;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Page header top */
.page-header-top {
  padding: .25rem 0;
}

/* ---- Project table icons ---- */

/* Delete (trash) icon — muted by default, red on hover via existing icon font */
.icon-delete,
.icon-delete-circle,
td .icon-delete,
td .icon-delete-circle {
  color: var(--nt-subtle) !important;
  cursor: pointer;
  transition: color .15s ease;
}
.icon-delete:hover,
.icon-delete-circle:hover,
td:hover .icon-delete {
  color: #ef4444 !important;
}

/* History icon */
.icon-history {
  color: var(--primary) !important;
  cursor: pointer;
}

/* Billed project hours counter (was text-red) */
span.text-red[id^="billedprojecthours_"] {
  color: var(--primary) !important;
}

/* ---- Total Amount bar ---- */
.bill-row {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
  border-radius: .5rem;
  padding: .75rem 1.25rem !important;
  margin-top: .25rem;
}
.total-amount {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff !important;
}
.total-amount span {
  font-size: 1.15rem;
  font-weight: 700;
}

/* ---- Bottom section: Type of Work, Recurring, Notes ---- */
.bill-notes {
  background: #ffffff;
  border: 1px solid var(--nt-border);
  border-radius: .75rem;
  padding: 1.25rem !important;
}
.bill-notes label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--nt-muted);
  margin-bottom: .35rem !important;
}
.bill-notes .form-control,
.bill-notes .form-select {
  font-size: .875rem;
}
.bill-notes textarea.form-control {
  min-height: 90px;
  resize: vertical;
}

/* Warning text ("Please DO NOT submit...") — red */
.accoount-warning-text {
  color: #dc2626 !important;
  font-size: .75rem !important;
  font-weight: 500 !important;
}

/* Submit button row */
#noShowDivThird {
  padding: .75rem 0 .25rem 0 !important;
}

/* gap-16 utility used in bill-notes */
.gap-16 { gap: 1rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer-section, footer {
  background-color: var(--nt-dark) !important;
  color: #a3a3a3 !important;
  border-top: 1px solid #2d2d2d !important;
}
.footer-section a, footer a         { color: #a3a3a3 !important; }
.footer-section a:hover, footer a:hover { color: #ffffff !important; }
