:root {
  --iv-blue-900: #082b55;
  --iv-blue-700: #0b3a70;
  --iv-blue-600: #1467d9;
  --iv-blue-100: #eaf3ff;
  --iv-purple: #5146d8;
  --iv-green: #16a34a;
  --iv-orange: #f59e0b;
  --iv-red: #ef4444;
  --iv-bg: #f4f7fb;
  --iv-card: #ffffff;
  --iv-text: #0f172a;
  --iv-muted: #64748b;
  --iv-border: #dbe5f0;
  --iv-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  --iv-soft-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  --iv-radius: 8px;
  --iv-control-radius: 10px;
}

body,
.page-wrapper,
.container-fluid,
.left-sidebar,
.topbar {
  font-family: "Inter", "Poppins", "Segoe UI", Arial, sans-serif;
}

body.fix-header.fix-sidebar {
  background: var(--iv-bg);
  color: var(--iv-text);
  font-size: 14px;
  letter-spacing: 0;
}

.page-wrapper {
  background: var(--iv-bg);
  min-height: 100vh;
}

.container-fluid {
  padding: 24px 28px;
}

.container-fluid > .card,
.container-fluid > form > .card,
.container-fluid .card.card-outline-info,
.container-fluid .card.card-outline-warning {
  border: 1px solid #d7e1ee;
}

.container-fluid > .card:before,
.container-fluid > form > .card:before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--iv-blue-900), var(--iv-blue-600));
  border-radius: 8px 8px 0 0;
}

.topbar,
.topbar .navbar,
.navbar-header {
  background: var(--iv-blue-900) !important;
  box-shadow: 0 10px 24px rgba(8, 43, 85, 0.18);
}

.header,
.top-navbar {
  background: var(--iv-blue-900) !important;
}

.topbar .top-navbar,
.header .top-navbar {
  min-height: 64px;
  border-radius: 0 0 8px 8px;
}

.navbar-brand {
  background: #ffffff;
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 10px 16px !important;
}

.navbar-brand img.dark-logo {
  max-height: 44px;
  object-fit: contain;
}

.topbar .navbar-light .navbar-nav .nav-link,
.topbar .navbar .navbar-nav > .nav-item > .nav-link {
  color: #ffffff !important;
}

.topbar .nav-link,
.header .nav-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 3px;
  transition: background-color 0.22s ease, transform 0.22s ease;
}

.header .nav-toggler.hidden-md-up {
  display: none !important;
}

.header .sidebartoggler {
  margin-left: 4px;
}

.header .sidebartoggler i,
.header .nav-toggler i {
  font-size: 18px;
  line-height: 1;
}

.navbar-collapse {
  align-items: center;
  min-height: 64px;
}

.iv-header-identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 14px;
  min-width: 220px;
  color: #ffffff;
  line-height: 1.2;
}

.iv-header-user {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.iv-header-role {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 600;
  margin-top: 3px;
  white-space: nowrap;
}

.iv-header-clock {
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  margin-left: auto;
  margin-right: 16px;
  padding: 8px 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  white-space: nowrap;
}

.topbar .nav-link:hover,
.header .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.profile-pic {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.78);
  display: block;
}

.dropdown-menu {
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-radius);
  box-shadow: var(--iv-shadow);
}

.left-sidebar {
  background: #ffffff;
  box-shadow: 8px 0 24px rgba(15, 23, 42, 0.06);
  border-right: 1px solid rgba(226, 232, 240, 0.9);
}

.scroll-sidebar {
  padding-top: 12px;
}

.sidebar-nav .nav-label {
  color: var(--iv-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 12px 20px 6px;
  text-transform: uppercase;
}

.sidebar-nav ul li a {
  color: var(--iv-blue-900);
  border-radius: 10px;
  margin: 3px 10px;
  padding: 10px 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.sidebar-nav ul li a i {
  color: var(--iv-blue-900);
  min-width: 20px;
  flex: 0 0 20px;
  text-align: center;
  margin-right: 0;
  transition: color 0.22s ease;
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li.active > a,
.sidebar-nav > ul > li.active > a {
  background: rgba(20, 103, 217, 0.1);
  color: var(--iv-blue-600) !important;
  transform: translateX(2px);
}

.sidebar-nav ul li a:hover i,
.sidebar-nav ul li.active > a i,
.sidebar-nav > ul > li.active > a i {
  color: var(--iv-blue-600);
}

.sidebar-nav ul li ul {
  padding-left: 10px;
}

.sidebar-nav ul li ul li a {
  color: var(--iv-muted);
  font-weight: 600;
  margin-right: 14px;
  padding: 8px 34px 8px 42px;
  position: relative;
}

.sidebar-nav ul li ul li a:after {
  right: 5px;
}

.sidebar-nav ul li ul li.active > a,
.sidebar-nav ul li ul li a.active,
.sidebar-nav ul li ul li a:hover {
  border-right: 3px solid var(--iv-blue-600);
  padding-right: 34px;
}

.page-titles {
  background: transparent;
  margin: 0;
  padding: 22px 28px 8px;
}

.page-titles h3 {
  color: var(--iv-text) !important;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}

.breadcrumb {
  background: transparent;
  justify-content: flex-end;
}

.breadcrumb a {
  color: var(--iv-blue-600);
}

.card {
  background: var(--iv-card);
  border: 1px solid #d7e1ee;
  border-radius: var(--iv-radius);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.075);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

.card .card-body {
  padding: 24px;
  background: #ffffff;
  border-radius: var(--iv-radius);
}

.form-control,
.select2-container--default .select2-selection--single,
textarea,
select {
  min-height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: var(--iv-control-radius);
  background-color: #ffffff;
  color: var(--iv-text);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.form-control:focus,
.select2-container--default.select2-container--focus .select2-selection--single,
textarea:focus,
select:focus {
  border-color: var(--iv-blue-600);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(20, 103, 217, 0.14), inset 0 1px 2px rgba(15, 23, 42, 0.03);
  outline: none;
}

label {
  color: var(--iv-text);
  font-weight: 600;
}

.form-group {
  margin-bottom: 18px;
}

.form-group small,
.help-block,
.text-muted {
  color: var(--iv-muted) !important;
}

.form-horizontal .form-group,
form .form-group {
  align-items: center;
}

.form-horizontal .control-label,
.form-horizontal label,
form label {
  color: var(--iv-text);
}

input[type="file"].form-control {
  padding: 10px 12px;
}

select[multiple],
.form-control[multiple],
.form-control[size] {
  min-height: 86px;
  padding: 8px 10px;
  background: #ffffff;
  border-color: #cbd5e1;
}

select[multiple] option,
.form-control[multiple] option {
  padding: 6px 8px;
  border-radius: 6px;
  margin: 1px 0;
}

select[multiple] option:checked,
.form-control[multiple] option:checked {
  background: linear-gradient(0deg, rgba(20, 103, 217, 0.18), rgba(20, 103, 217, 0.18));
  color: var(--iv-text);
}

.card form {
  background: #ffffff;
}

.card-title {
  color: var(--iv-text);
  font-weight: 800;
}

.iv-report-shell,
.iv-finance-shell {
  background: var(--iv-bg);
}

.iv-report-shell > .alert,
.iv-finance-shell > .alert {
  margin-bottom: 18px;
}

.iv-report-shell > .row {
  justify-content: center;
}

.iv-report-shell .col-lg-8 {
  margin-left: 0 !important;
  flex: 0 0 760px;
  max-width: 760px;
}

.iv-report-shell .card {
  overflow: hidden;
}

.iv-report-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 24px 0;
  margin: 0;
  color: var(--iv-text);
  font-size: 20px;
  font-weight: 900;
}

.iv-report-title small {
  color: var(--iv-muted);
  font-size: 13px;
  font-weight: 600;
}

.iv-report-shell .input-states {
  max-width: 680px;
  margin: 0 auto;
}

.iv-report-shell .form-horizontal .form-group {
  margin-bottom: 20px;
}

.iv-report-shell .alert-light {
  background: #f8fafc;
  border: 1px solid var(--iv-border);
  color: var(--iv-muted);
}

.iv-report-shell #generateReportBtn {
  min-width: 180px;
  min-height: 44px;
}

.iv-finance-shell > .card {
  margin-bottom: 22px;
  overflow: hidden;
}

.iv-finance-shell > .card > .card-body > .card-title,
.iv-finance-shell .card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 900;
}

.iv-finance-shell > .card > .card-body > .card-title:before,
.iv-finance-shell .card-title:before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(20, 103, 217, 0.1);
  box-shadow: inset 0 0 0 1px rgba(20, 103, 217, 0.14);
}

.iv-finance-shell form.row {
  align-items: end;
}

.iv-finance-shell .row > .col-md-4 > .card,
.iv-finance-shell .row > .col-md-2 > .card {
  border: 0;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.iv-finance-shell .row > .col-md-4 > .card .card-body,
.iv-finance-shell .row > .col-md-2 > .card .card-body {
  min-height: 96px;
}

.iv-finance-shell .row > .col-md-4 > .card:not(.bg-danger) {
  background: #ffffff;
}

.iv-finance-shell .row > .col-md-2:nth-child(2) > .card {
  background: #ffffff;
}

.iv-finance-shell .row > .col-md-2:nth-child(3) > .card {
  background: #ffffff;
}

.iv-finance-shell .row > .col-md-2:nth-child(4) > .card {
  background: #ffffff;
}

.iv-finance-shell .row > .col-md-2:nth-child(5) > .card {
  background: #ffffff;
}

.iv-finance-shell .row > .col-md-2 > .card *,
.iv-finance-shell .row > .col-md-4 > .card * {
  color: var(--iv-text) !important;
}

.iv-finance-shell .row > .col-md-4 > .card.bg-danger,
.iv-finance-shell .row > .col-md-4 > .card.bg-danger * {
  background: var(--iv-red) !important;
  color: #ffffff !important;
}

.iv-finance-shell .approval-table thead th,
.iv-finance-shell .table thead th {
  background: #f8fafc !important;
}

.iv-finance-shell .approval-actions-cell form,
.iv-finance-shell table form {
  background: transparent;
}

.iv-finance-shell .approval-buttons .btn,
.iv-finance-shell table .btn {
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.cash-hero {
  background: linear-gradient(135deg, #12395f 0%, #0f6f78 46%, #25a45f 100%) !important;
  border: 0 !important;
  box-shadow: 0 18px 36px rgba(8, 43, 85, 0.18) !important;
}

.cash-hero:before,
.cash-hero:after {
  display: none !important;
}

.cash-hero .card-body {
  background: transparent !important;
}

.cash-hero *,
.cash-hero-title,
.cash-hero-copy {
  color: #ffffff !important;
}

.cash-status-pill {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.cash-status-pill span {
  background: #7df3a5 !important;
}

.cash-hero-metric,
.cash-hero .cash-hero-metric {
  background: rgba(10, 52, 79, 0.42) !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none !important;
}

.cash-hero-metric small {
  color: rgba(255, 255, 255, 0.78) !important;
}

.cash-hero-metric strong {
  color: #ffffff !important;
}

.cash-metric-card,
.metric-primary,
.metric-positive,
.metric-warning {
  background: #ffffff !important;
  border: 1px solid var(--iv-border) !important;
}

.metric-highlight {
  background: var(--iv-blue-900) !important;
}

.metric-highlight *,
.metric-highlight .metric-note {
  color: #ffffff !important;
}

.btn {
  border-radius: var(--iv-control-radius);
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--iv-soft-shadow);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-primary {
  background: var(--iv-purple);
  border-color: var(--iv-purple);
  color: #ffffff;
}

.btn-info {
  background: var(--iv-blue-600);
  border-color: var(--iv-blue-600);
  color: #ffffff;
}

.btn-default {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--iv-blue-600);
}

.btn-success {
  background: var(--iv-green);
  border-color: var(--iv-green);
  color: #ffffff;
}

.btn-warning {
  background: var(--iv-orange);
  border-color: var(--iv-orange);
  color: #ffffff;
}

.btn-danger {
  background: var(--iv-red);
  border-color: var(--iv-red);
  color: #ffffff;
}

.btn[disabled],
.btn.disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

.alert {
  border: 0;
  border-radius: var(--iv-radius);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  font-weight: 600;
}

.alert-success {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.alert-info {
  background: rgba(20, 103, 217, 0.1);
  color: #075985;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.14);
  color: #92400e;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
}

.table-responsive {
  border-radius: 8px;
  overflow-x: auto;
  background: #ffffff;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.iv-grid-shell {
  width: 100%;
  max-width: 100%;
}

.iv-grid-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0 0 8px;
  color: var(--iv-muted);
  font-size: 12px;
  font-weight: 700;
}

.iv-grid-toolbar .iv-grid-label {
  margin-right: 4px;
}

.iv-grid-toolbar button {
  border: 1px solid var(--iv-border);
  background: #ffffff;
  color: var(--iv-blue-600);
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.iv-grid-toolbar button:hover,
.iv-grid-toolbar button.is-active {
  background: var(--iv-purple);
  border-color: var(--iv-purple);
  color: #ffffff;
}

.iv-grid-toolbar button:active {
  transform: translateY(1px);
}

.table {
  background: #ffffff;
  color: var(--iv-text);
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 0;
  width: 100%;
  font-size: 13px;
}

.table thead th {
  background: #f8fafc;
  color: var(--iv-text);
  border-color: var(--iv-border) !important;
  font-weight: 800;
  vertical-align: middle;
  padding: 15px 12px;
  white-space: nowrap;
}

.table tbody td {
  border-color: var(--iv-border) !important;
  vertical-align: middle;
  padding: 13px 12px;
  overflow-wrap: anywhere;
}

.table-bordered {
  border: 0;
}

.table-striped tbody tr:nth-of-type(odd) {
  background: #f8fafc;
}

.table-hover tbody tr:hover,
.table tbody tr:hover {
  background: rgba(20, 103, 217, 0.06);
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  min-height: 38px;
  border: 1px solid var(--iv-border);
  border-radius: 10px;
  padding: 7px 10px;
  color: var(--iv-text);
}

.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus {
  outline: 0;
  border-color: var(--iv-blue-600);
  box-shadow: 0 0 0 3px rgba(20, 103, 217, 0.12);
}

.dataTables_wrapper .dataTables_paginate .paginate_button,
.pagination > li > a,
.pagination > li > span {
  border: 1px solid var(--iv-border) !important;
  border-radius: 8px !important;
  margin: 0 3px;
  color: var(--iv-blue-600) !important;
  background: #ffffff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.pagination > .active > a,
.pagination > .active > span {
  background: var(--iv-purple) !important;
  border-color: var(--iv-purple) !important;
  color: #ffffff !important;
}

.label,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  padding: 7px 11px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
}

.label h4 {
  margin: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.08;
}

.label-success,
.badge-success {
  background: var(--iv-green) !important;
}

.label-warning,
.badge-warning {
  background: var(--iv-orange) !important;
  color: #ffffff !important;
}

.label-danger,
.badge-danger {
  background: var(--iv-red) !important;
}

.label-default,
.badge-default,
.btn-secondary,
.label-secondary {
  background: #9ca3af !important;
  color: #ffffff !important;
}

.iv-filter-panel {
  margin-top: 18px;
  margin-bottom: 16px;
}

.iv-page-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.iv-page-toolbar .text-muted {
  color: var(--iv-muted) !important;
  font-weight: 500;
}

.iv-pagination {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.iv-pagination .btn {
  padding: 7px 12px;
}

.iv-pagination .btn-info.disabled,
.iv-pagination .btn-info:disabled {
  background: rgba(20, 103, 217, 0.72);
  border-color: rgba(20, 103, 217, 0.72);
  color: #ffffff;
}

.order-action-buttons,
.quote-action-buttons,
td .btn-xs {
  align-items: center;
}

.order-action-buttons,
.quote-action-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 238px;
  max-width: 100%;
}

.order-action-buttons a,
.quote-action-buttons a,
.order-action-buttons form,
.quote-action-buttons form {
  display: inline-flex !important;
  margin: 0 !important;
}

.order-action-buttons .btn,
.quote-action-buttons .btn,
.table td > a > .btn-xs,
.table td > form .btn-xs,
.table td > a.btn-xs,
.table td > button.btn-xs {
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 0;
  border-radius: 10px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.12);
}

.order-action-buttons .btn i,
.quote-action-buttons .btn i {
  margin: 0;
  font-size: 15px;
}

.order-action-buttons .btn:hover,
.quote-action-buttons .btn:hover,
.table td > a > .btn-xs:hover,
.table td > form .btn-xs:hover,
.table td > a.btn-xs:hover,
.table td > button.btn-xs:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.16);
}

.order-action-buttons .btn:disabled,
.quote-action-buttons .btn:disabled,
.order-action-buttons .btn.disabled,
.quote-action-buttons .btn.disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  box-shadow: none;
  transform: none;
}

.order-action-buttons .btn-primary,
.quote-action-buttons .btn-primary {
  background: var(--iv-orange);
}

.order-action-buttons .btn-danger,
.quote-action-buttons .btn-warning {
  background: var(--iv-red);
}

.order-action-buttons .btn-warning,
.quote-action-buttons .btn-success[title*="Generar"],
.quote-action-buttons .btn-success[title*="Orden"] {
  background: var(--iv-orange);
}

.order-action-buttons .btn-info,
.quote-action-buttons .btn-info {
  background: var(--iv-blue-600);
}

.order-action-buttons .btn-success,
.quote-action-buttons .btn-success {
  background: var(--iv-green);
}

.order-action-buttons .btn-secondary,
.quote-action-buttons .btn-default:disabled,
.quote-action-buttons .btn-secondary {
  background: #9ca3af !important;
}

.order-table,
.quotes-table {
  min-width: 1080px;
}

.order-table th:nth-child(7),
.order-table td:nth-child(7),
.order-table th:nth-child(8),
.order-table td:nth-child(8) {
  min-width: 130px;
  text-align: left;
}

.order-table th:last-child,
.order-table td:last-child,
.quotes-table th:last-child,
.quotes-table td:last-child {
  min-width: 226px;
  text-align: right;
  background: #ffffff;
}

.order-table td:last-child {
  min-width: 292px;
}

.order-action-note {
  flex: 0 0 100%;
  width: 100%;
  margin-top: 6px;
  color: #a16207;
  font-size: 11px;
  line-height: 1.25;
  text-align: right;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.order-table tbody tr:nth-of-type(odd) td:last-child,
.quotes-table tbody tr:nth-of-type(odd) td:last-child {
  background: #f8fafc;
}

.order-table tbody tr:hover td:last-child,
.quotes-table tbody tr:hover td:last-child {
  background: rgba(20, 103, 217, 0.06);
}

.order-table .label,
.quotes-table .label {
  min-width: 76px;
  text-align: center;
}

.table td form,
.table td .form-inline,
.table td .input-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
}

.table td .form-control,
.table td select,
.table td input[type="text"],
.table td input[type="number"],
.table td input[type="date"] {
  min-height: 38px;
  height: 38px;
  border-radius: 9px;
  font-size: 12px;
  max-width: 210px;
}

.table td .btn:not(.btn-xs) {
  min-height: 38px;
  padding: 8px 12px;
}

.iv-grid-compact .table {
  font-size: 11.6px;
}

.iv-grid-compact .table thead th,
.iv-grid-compact .table tbody td {
  padding: 9px 7px;
}

.iv-grid-compact .label,
.iv-grid-compact .badge {
  padding: 5px 8px;
  font-size: 10.8px;
}

.iv-grid-compact .table td .form-control,
.iv-grid-compact .table td select,
.iv-grid-compact .table td input[type="text"],
.iv-grid-compact .table td input[type="number"],
.iv-grid-compact .table td input[type="date"] {
  min-height: 32px;
  height: 32px;
  max-width: 150px;
  font-size: 11px;
}

.iv-grid-compact .table td:last-child .btn-sm,
.iv-grid-compact .table td:last-child .btn:not(.btn-xs) {
  min-height: 32px;
  padding: 6px 8px;
  font-size: 11px;
}

.iv-grid-mini .table {
  font-size: 10.6px;
}

.iv-grid-mini .table thead th,
.iv-grid-mini .table tbody td {
  padding: 7px 6px;
}

.iv-grid-mini .label,
.iv-grid-mini .badge {
  padding: 4px 7px;
  font-size: 10px;
}

.iv-grid-mini .table td .form-control,
.iv-grid-mini .table td select,
.iv-grid-mini .table td input[type="text"],
.iv-grid-mini .table td input[type="number"],
.iv-grid-mini .table td input[type="date"] {
  min-height: 29px;
  height: 29px;
  max-width: 125px;
  font-size: 10.4px;
}

.iv-grid-mini .table td:last-child .btn-sm,
.iv-grid-mini .table td:last-child .btn:not(.btn-xs) {
  min-height: 29px;
  padding: 5px 7px;
  font-size: 10.4px;
}

.iv-grid-mini .table td:last-child form,
.iv-grid-compact .table td:last-child form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
}

.iv-grid-mini .table td:last-child form .form-control,
.iv-grid-mini .table td:last-child form input[type="text"],
.iv-grid-mini .table td:last-child form select,
.iv-grid-compact .table td:last-child form .form-control,
.iv-grid-compact .table td:last-child form input[type="text"],
.iv-grid-compact .table td:last-child form select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.iv-grid-mini .table td:last-child form .btn,
.iv-grid-compact .table td:last-child form .btn {
  width: 100%;
  justify-content: center;
}

.iv-grid-mini .order-action-buttons .btn,
.iv-grid-mini .quote-action-buttons .btn,
.iv-grid-mini .table td > a > .btn-xs,
.iv-grid-mini .table td > form .btn-xs,
.iv-grid-mini .table td > a.btn-xs,
.iv-grid-mini .table td > button.btn-xs {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 8px;
}

.table td > a.btn-xs,
.table td > button.btn-xs,
.table td > a > .btn-xs,
.table td > form .btn-xs {
  margin: 2px;
}

.table td:last-child > a,
.table td:last-child > form,
.table td:last-child > button,
.table td:last-child .btn {
  vertical-align: middle;
}

.table td:last-child {
  white-space: normal;
}

.table td:last-child .btn + .btn,
.table td:last-child a + a,
.table td:last-child form + form,
.table td:last-child a + form,
.table td:last-child form + a {
  margin-left: 4px;
}

.table td:last-child .btn-sm,
.table td:last-child .btn:not(.btn-xs) {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 12px;
  white-space: nowrap;
}

.table td:last-child form {
  width: 100%;
  max-width: 100%;
  justify-content: flex-end;
}

.table th:last-child,
.table td:last-child {
  min-width: 190px;
}

.approval-table th:last-child,
.approval-table td:last-child {
  min-width: 260px;
}

.release-edit-form {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  min-width: 230px;
}

.release-edit-form .form-control {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.release-edit-btn {
  width: 100% !important;
  min-height: 36px !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  background: var(--iv-orange) !important;
  border-color: var(--iv-orange) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 16px rgba(245, 158, 11, 0.22) !important;
}

.table td:last-child form .form-control,
.table td:last-child form input[type="text"],
.table td:last-child form select {
  flex: 1 1 150px;
  min-width: 130px;
  max-width: 210px;
}

.table td:last-child form .btn {
  flex: 0 0 auto;
}

.table td > a.btn-primary,
.table td > a > .btn-primary,
.table td > button.btn-primary {
  background: var(--iv-orange);
}

.table td > a.btn-danger,
.table td > a > .btn-danger,
.table td > button.btn-danger,
.table td > form .btn-danger {
  background: var(--iv-red);
}

.table td > a.btn-info,
.table td > a > .btn-info,
.table td > button.btn-info {
  background: var(--iv-blue-600);
}

.table td > a.btn-success,
.table td > a > .btn-success,
.table td > button.btn-success {
  background: var(--iv-green);
}

.table td > a.btn-warning,
.table td > a > .btn-warning,
.table td > button.btn-warning {
  background: var(--iv-orange);
}

.dashboard-hero {
  border-radius: 8px !important;
  box-shadow: 0 18px 36px rgba(8, 43, 85, 0.16) !important;
}

.dashboard-kpi .card {
  border-radius: 8px !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1) !important;
}

.dashboard-kpi .kpi-body {
  min-height: 138px !important;
}

.dashboard-kpi .kpi-body:after {
  opacity: 0.24;
}

.dashboard-panel .card,
.dashboard-table-card,
.dashboard-chart-card {
  border-radius: 8px !important;
  border: 1px solid var(--iv-border) !important;
  box-shadow: var(--iv-shadow) !important;
}

.mini-stat {
  border: 1px solid var(--iv-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.mini-stat strong {
  color: var(--iv-blue-900) !important;
}

.modal-content,
.sweet-alert {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
}

.modal-header {
  background: var(--iv-blue-900);
  color: #ffffff;
  border-radius: 8px 8px 0 0;
}

.modal-title {
  color: #ffffff;
  font-weight: 800;
}

.app-notif-badge {
  background: var(--iv-red) !important;
  box-shadow: 0 0 0 2px var(--iv-blue-900);
}

.app-notif-dropdown,
.app-popup-card {
  border-radius: 8px !important;
  border: 1px solid var(--iv-border);
  box-shadow: var(--iv-shadow) !important;
}

.app-popup-overlay {
  background: rgba(15, 23, 42, 0.16) !important;
}

.app-popup-header {
  background: var(--iv-blue-900) !important;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--iv-blue-600);
}

img {
  max-width: 100%;
}

@media (max-width: 991px) {
  .container-fluid {
    padding: 18px 14px;
  }

  .page-titles {
    padding: 18px 14px 6px;
  }

  .card .card-body {
    padding: 18px;
  }

  .order-action-buttons,
  .quote-action-buttons {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .topbar .top-navbar,
  .header .top-navbar {
    border-radius: 0;
  }

  .breadcrumb {
    justify-content: flex-start;
  }

  .iv-header-identity {
    min-width: 0;
    max-width: 42vw;
    margin-left: 8px;
  }

  .iv-header-user,
  .iv-header-role {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .iv-header-clock {
    display: none;
  }
}

@media (max-width: 1536px) {
  .container-fluid {
    padding-left: 22px;
    padding-right: 22px;
  }

  .table {
    font-size: 12.25px;
  }

  .table thead th,
  .table tbody td {
    padding: 11px 10px;
  }

  .order-action-buttons,
  .quote-action-buttons {
    min-width: 210px;
    gap: 5px;
  }

  .order-action-buttons .btn,
  .quote-action-buttons .btn,
  .table td > a > .btn-xs,
  .table td > form .btn-xs,
  .table td > a.btn-xs,
  .table td > button.btn-xs {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 9px;
  }

  .order-table,
  .quotes-table {
    min-width: 1040px;
  }

  .order-table th:last-child,
  .order-table td:last-child,
  .quotes-table th:last-child,
  .quotes-table td:last-child {
    min-width: 214px;
  }

  .order-table td:last-child {
    min-width: 272px;
  }
}

@media (max-width: 1280px) {
  .table {
    font-size: 11.75px;
  }

  .table thead th,
  .table tbody td {
    padding: 10px 8px;
  }

  .table td .form-control,
  .table td select,
  .table td input[type="text"],
  .table td input[type="number"],
  .table td input[type="date"] {
    max-width: 170px;
  }
}

@media (max-width: 575px) {
  .btn {
    white-space: normal;
  }

  .table thead th,
  .table tbody td {
    padding: 11px 10px;
  }

  .order-action-buttons .btn,
  .quote-action-buttons .btn,
  .table td > a > .btn-xs,
  .table td > form .btn-xs,
  .table td > a.btn-xs,
  .table td > button.btn-xs {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .iv-header-identity {
    display: none;
  }
}

/* Finance modules: keep action controls readable in dense grids. */
.auth-shell .auth-hero,
.abonos-shell .abonos-hero {
  background: linear-gradient(135deg, #12395f 0%, #0f6f78 46%, #25a45f 100%) !important;
  border: 0 !important;
  border-top: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 36px rgba(8, 43, 85, 0.18) !important;
}

.auth-shell .auth-hero .card-body,
.abonos-shell .abonos-hero .card-body {
  background: transparent !important;
}

.auth-shell .auth-hero *,
.abonos-shell .abonos-hero * {
  color: #ffffff !important;
}

.auth-shell .auth-badge,
.abonos-shell .abonos-kicker {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.abonos-shell .abonos-stat {
  background: rgba(10, 52, 79, 0.42) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
}

.abonos-shell .abonos-stat small {
  color: rgba(255, 255, 255, 0.78) !important;
}

.abonos-shell .abonos-stat strong {
  color: #ffffff !important;
}

.auth-table,
.abonos-table {
  min-width: 980px;
}

.auth-table th:last-child,
.auth-table td:last-child {
  min-width: 300px;
}

.abonos-table th:last-child,
.abonos-table td:last-child {
  min-width: 160px;
}

.auth-table td:last-child form,
.auth-table td:last-child .form-inline,
.auth-table td:last-child form.row,
.abonos-table td:last-child form,
.abonos-table td:last-child .form-inline,
.abonos-table td:last-child form.row {
  display: grid !important;
  grid-template-columns: minmax(110px, 0.75fr) minmax(150px, 1fr) auto;
  align-items: center !important;
  gap: 8px !important;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
}

.auth-table td:last-child form.row > [class*="col-"],
.abonos-table td:last-child form.row > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

.auth-table td:last-child .form-control,
.auth-table td:last-child select,
.auth-table td:last-child input[type="text"],
.abonos-table td:last-child .form-control,
.abonos-table td:last-child select,
.abonos-table td:last-child input[type="text"] {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

.auth-table td:last-child .btn,
.abonos-table td:last-child .btn {
  min-width: 92px;
  white-space: nowrap;
  justify-content: center;
}

.auth-table td:last-child .btn-primary,
.auth-table td:last-child .btn-warning,
.abonos-table td:last-child .btn-primary,
.abonos-table td:last-child .btn-warning {
  background: var(--iv-orange) !important;
  border-color: var(--iv-orange) !important;
  color: #ffffff !important;
}

.auth-table td:last-child .btn-success,
.abonos-table td:last-child .btn-success {
  background: var(--iv-green) !important;
  border-color: var(--iv-green) !important;
  color: #ffffff !important;
}

.auth-table td:last-child .btn-danger,
.abonos-table td:last-child .btn-danger {
  background: var(--iv-red) !important;
  border-color: var(--iv-red) !important;
  color: #ffffff !important;
}

.auth-table td:last-child .btn-info,
.abonos-table td:last-child .btn-info {
  background: var(--iv-blue-600) !important;
  border-color: var(--iv-blue-600) !important;
  color: #ffffff !important;
}

.cash-dashboard .cash-hero {
  background: linear-gradient(135deg, #12395f 0%, #0f6f78 46%, #25a45f 100%) !important;
  border: 0 !important;
  border-top: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 36px rgba(8, 43, 85, 0.18) !important;
  overflow: hidden;
}

.cash-dashboard .cash-hero .card-body {
  background: transparent !important;
  border-radius: 8px !important;
}

.cash-dashboard .cash-hero,
.cash-dashboard .cash-hero * {
  color: #ffffff !important;
}

.cash-dashboard .cash-hero:before,
.cash-dashboard .cash-hero:after {
  display: none !important;
}

.cash-dashboard .cash-hero-title {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.14) !important;
}

.cash-dashboard .cash-hero-copy {
  color: rgba(255, 255, 255, 0.9) !important;
}

.cash-dashboard .cash-status-pill {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cash-dashboard .cash-status-pill span {
  background: #7df3a5 !important;
}

.cash-dashboard .cash-hero-mini {
  background: rgba(10, 52, 79, 0.42) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px rgba(0, 0, 0, 0.08) !important;
}

.cash-dashboard .cash-hero-mini small {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.76) !important;
  letter-spacing: 0.04em !important;
}

.cash-dashboard .cash-hero-mini strong {
  background: transparent !important;
  color: #ffffff !important;
}

.cash-dashboard .cash-top-actions .btn-success {
  background: var(--iv-green) !important;
  border-color: var(--iv-green) !important;
  color: #ffffff !important;
}

.cash-dashboard .cash-top-actions .btn-danger {
  background: var(--iv-red) !important;
  border-color: var(--iv-red) !important;
  color: #ffffff !important;
}

.cash-dashboard .cash-filter-card,
.cash-dashboard .cash-panel-card,
.cash-dashboard .cash-action-card,
.cash-dashboard .cash-table-card,
.cash-dashboard .cash-summary-card {
  border-radius: 8px !important;
  border: 1px solid var(--iv-border) !important;
  box-shadow: var(--iv-shadow) !important;
}

.cash-dashboard .cash-filter-card,
.cash-dashboard .cash-panel-card,
.cash-dashboard .cash-table-card {
  border-top: 3px solid var(--iv-blue-600) !important;
}

.cash-dashboard .cash-summary-card {
  background: #ffffff !important;
}

.cash-dashboard .cash-summary-card:before,
.cash-dashboard .cash-summary-card:after {
  display: none !important;
}

.cash-dashboard .metric-label {
  color: var(--iv-muted) !important;
}

.cash-dashboard .metric-value {
  color: var(--iv-blue-900) !important;
}

.cash-dashboard .metric-note {
  color: #607287 !important;
}

/* Contacts: text action buttons need full labels, not square icon sizing. */
.contacts-table {
  min-width: 1480px !important;
}

.contacts-table th,
.contacts-table td {
  vertical-align: middle !important;
}

.contacts-table th:last-child,
.contacts-table td:last-child,
.contacts-col-actions {
  min-width: 260px !important;
  width: 260px !important;
  text-align: right !important;
  background: #ffffff;
}

.contacts-table tbody tr:nth-of-type(odd) td:last-child {
  background: #f8fafc;
}

.contacts-action-buttons {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  min-width: 240px !important;
}

.contacts-action-buttons form {
  display: inline-flex !important;
  margin: 0 !important;
  background: transparent !important;
}

.contacts-action-buttons .btn,
.contacts-table td:last-child .contacts-action-buttons .btn,
.iv-grid-compact .contacts-table td:last-child .contacts-action-buttons .btn,
.iv-grid-mini .contacts-table td:last-child .contacts-action-buttons .btn {
  width: auto !important;
  height: 36px !important;
  min-width: 82px !important;
  min-height: 36px !important;
  padding: 8px 12px !important;
  border-radius: 9px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  font-size: 12px !important;
}

.contacts-action-buttons .btn-info {
  background: var(--iv-blue-600) !important;
  border-color: var(--iv-blue-600) !important;
  color: #ffffff !important;
}

.contacts-action-buttons .btn-primary {
  background: var(--iv-orange) !important;
  border-color: var(--iv-orange) !important;
  color: #ffffff !important;
}

.contacts-action-buttons .btn-danger {
  background: var(--iv-red) !important;
  border-color: var(--iv-red) !important;
  color: #ffffff !important;
}

.iv-grid-compact .contacts-action-buttons,
.iv-grid-mini .contacts-action-buttons {
  min-width: 220px !important;
  gap: 6px !important;
}

.iv-grid-compact .contacts-table th:last-child,
.iv-grid-compact .contacts-table td:last-child,
.iv-grid-mini .contacts-table th:last-child,
.iv-grid-mini .contacts-table td:last-child {
  min-width: 238px !important;
  width: 238px !important;
}

@media (max-width: 1366px) {
  .auth-table td:last-child form,
  .auth-table td:last-child .form-inline,
  .auth-table td:last-child form.row {
    grid-template-columns: minmax(78px, 0.55fr) minmax(130px, 1fr) auto;
    gap: 6px !important;
  }

  .auth-table td:last-child .btn,
  .abonos-table td:last-child .btn {
    min-width: 78px;
    padding-left: 9px;
    padding-right: 9px;
  }
}

@media (max-width: 991px) {
  .auth-table td:last-child form,
  .auth-table td:last-child .form-inline,
  .auth-table td:last-child form.row,
  .abonos-table td:last-child form,
  .abonos-table td:last-child .form-inline,
  .abonos-table td:last-child form.row {
    grid-template-columns: 1fr;
  }
}

/* Final contrast guard for module hero panels. */
.dashboard-hero,
.cash-dashboard .cash-hero,
.auth-shell .auth-hero,
.abonos-shell .abonos-hero,
.ops-report-hero,
.about-hero {
  background: linear-gradient(135deg, #12395f 0%, #0f6f78 46%, #25a45f 100%) !important;
  border: 0 !important;
  border-top: 0 !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  box-shadow: 0 18px 36px rgba(8, 43, 85, 0.18) !important;
  overflow: hidden;
}

.dashboard-hero .card-body,
.cash-dashboard .cash-hero .card-body,
.auth-shell .auth-hero .card-body,
.abonos-shell .abonos-hero .card-body,
.ops-report-hero .card-body,
.about-hero .card-body {
  background: transparent !important;
}

.dashboard-hero *,
.cash-dashboard .cash-hero *,
.auth-shell .auth-hero *,
.abonos-shell .abonos-hero *,
.ops-report-hero *,
.about-hero * {
  color: #ffffff !important;
}

.dashboard-hero p,
.dashboard-hero small,
.dashboard-hero span,
.cash-dashboard .cash-hero p,
.cash-dashboard .cash-hero small,
.cash-dashboard .cash-hero span,
.auth-shell .auth-hero p,
.auth-shell .auth-hero small,
.auth-shell .auth-hero span,
.abonos-shell .abonos-hero p,
.abonos-shell .abonos-hero small,
.abonos-shell .abonos-hero span,
.ops-report-hero p,
.ops-report-hero small,
.ops-report-hero span,
.about-hero p,
.about-hero small,
.about-hero span {
  color: rgba(255, 255, 255, 0.9) !important;
}

.dashboard-hero h1,
.dashboard-hero h2,
.dashboard-hero h3,
.dashboard-hero h4,
.cash-dashboard .cash-hero h1,
.cash-dashboard .cash-hero h2,
.cash-dashboard .cash-hero h3,
.cash-dashboard .cash-hero h4,
.auth-shell .auth-hero h1,
.auth-shell .auth-hero h2,
.auth-shell .auth-hero h3,
.auth-shell .auth-hero h4,
.abonos-shell .abonos-hero h1,
.abonos-shell .abonos-hero h2,
.abonos-shell .abonos-hero h3,
.abonos-shell .abonos-hero h4,
.ops-report-hero h1,
.ops-report-hero h2,
.ops-report-hero h3,
.ops-report-hero h4,
.about-hero h1,
.about-hero h2,
.about-hero h3,
.about-hero h4 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.dashboard-hero-metric,
.cash-dashboard .cash-hero-mini,
.cash-dashboard .cash-hero-metric,
.abonos-shell .abonos-stat,
.ops-report-metric {
  background: rgba(10, 52, 79, 0.42) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

.dashboard-hero-metric *,
.cash-dashboard .cash-hero-mini *,
.cash-dashboard .cash-hero-metric *,
.abonos-shell .abonos-stat *,
.ops-report-metric * {
  color: #ffffff !important;
}

.auth-badge,
.abonos-kicker,
.cash-status-pill,
.about-version {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

/* Global readability guard: keep operational data dark and legible. */
body,
.page-wrapper,
.container-fluid,
.card,
.card-body,
.table,
.table tbody,
.table tbody tr,
.table tbody td,
.table tbody td *,
.dataTables_wrapper,
.dataTables_wrapper *,
.form-control,
select.form-control,
textarea.form-control,
input.form-control,
.custom-select,
.input-group-text,
.breadcrumb,
.breadcrumb *,
.page-titles,
.page-titles *,
.panel,
.panel *,
.modal,
.modal *,
.dropdown-menu,
.dropdown-menu *,
.list-group,
.list-group *,
.metric-note,
.metric-label,
.cash-summary-card .metric-note,
.contacts-table td,
.auth-table td,
.abonos-table td,
.approval-table td,
.order-table td,
.quotes-table td {
  color: #0b2545 !important;
}

.table thead th,
.table thead th *,
.dataTable thead th,
.dataTable thead th *,
label,
.control-label,
.card-title,
.cash-panel-title,
.cash-table-title {
  color: #061f3d !important;
}

.text-muted,
small,
.help-block,
.form-text,
.table small,
.card small,
.cash-panel-copy,
.cash-table-copy,
.metric-note {
  color: #3f5570 !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: #60758f !important;
  opacity: 1 !important;
}

.table-striped tbody tr:nth-of-type(odd),
.table-striped tbody tr:nth-of-type(odd) td {
  color: #0b2545 !important;
}

.table tbody tr:hover,
.table tbody tr:hover td,
.table-hover tbody tr:hover,
.table-hover tbody tr:hover td {
  color: #061f3d !important;
}

.btn-primary,
.btn-success,
.btn-danger,
.btn-info,
.btn-warning,
.btn-primary *,
.btn-success *,
.btn-danger *,
.btn-info *,
.btn-warning *,
.badge,
.badge *,
.label,
.label *,
.alert-danger,
.alert-danger *,
.alert-success,
.alert-success *,
.cash-type-badge,
.cash-type-badge * {
  color: #ffffff !important;
}

.btn-light,
.btn-secondary,
.btn-default,
.alert-warning,
.alert-warning * {
  color: #0b2545 !important;
}
