
body,
.navbar,
.app-shell,
.card,
.table,
.nav,
.btn,
.alert,
.badge,
.dropdown-menu,
.modal-content,
.offcanvas,
.pagination,
.list-group,
.accordion,
.tabs,
.tab-content {
  text-transform: uppercase;
}

.form-control,
.form-select,
textarea.form-control {
  text-transform: uppercase;
}

input[type="email"],
input[type="password"] {
  text-transform: none;
}

input[type="email"]::placeholder,
input[type="password"]::placeholder {
  text-transform: none;
}

.brand-badge,
.brand-logo,
.navbar-toggler,
.navbar-toggler-icon,
.btn-close {
  text-transform: none;
}

:root {
  --brand-blue: #14b8a6;
  --brand-red: #3cf0df;
  --brand-gold: #7af7eb;
  --bg: #061315;
  --surface: #0c1f22;
  --surface-soft: #103036;
  --text: #effffb;
  --muted: #98cbc7;
  --border: #184247;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(60,240,223,.20) 0%, transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(20,184,166,.24) 0%, transparent 30%),
    linear-gradient(180deg, #050b16 0%, var(--bg) 100%);
  color: var(--text);
}

.navbar {
  background: linear-gradient(135deg, #081719 0%, #103036 45%, #14b8a6 100%) !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.52rem;
  padding-bottom: 0.52rem;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
  flex-shrink: 0;
}


.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 16px;
  padding: 0;
  box-shadow: none;
}

.brand-logo {
  width: auto;
  height: 58px;
  max-width: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}


.navbar .nav-link {
  color: rgba(255, 255, 255, 0.96) !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  transition: all 0.18s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.18);
}

.navbar .navbar-text {
  color: #ffffff !important;
  font-weight: 700;
}

.app-navbar-user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.app-navbar-greeting {
  margin-right: 0 !important;
  text-align: right;
  line-height: 1.25;
}

.app-navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.app-navbar-actions .btn {
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .app-navbar-user {
    align-items: stretch;
    justify-content: flex-start;
    margin-top: 0.85rem;
  }

  .app-navbar-greeting {
    width: 100%;
    text-align: left;
  }

  .app-navbar-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

.page-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.page-subtitle {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0, 10, 24, 0.34);
}


.card,
.modal-content,
.dropdown-menu,
.offcanvas {
  background: linear-gradient(180deg, rgba(13, 26, 43, 0.96), rgba(18, 34, 56, 0.96));
  color: var(--text);
}

.table {
  color: var(--text);
}

.table > :not(caption) > * > * {
  border-bottom-color: rgba(118, 151, 190, 0.18);
}

.card-body {
  padding: 1.1rem 1.15rem;
}

.table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.btn-primary {
  background: linear-gradient(135deg, #3cf0df 0%, #14b8a6 100%);
  border: 1px solid rgba(60, 240, 223, 0.25);
  box-shadow: 0 10px 24px rgba(20, 184, 166, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.03);
}

.btn {
  border-radius: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.18s ease;
}

.btn-sm {
  padding: 0.38rem 0.78rem;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #2ce7d7 0%, #10988b 100%);
  border-color: rgba(60, 240, 223, 0.35);
  box-shadow: 0 12px 26px rgba(20, 184, 166, 0.42);
}

.btn-success {
  background: linear-gradient(135deg, #4f9a7a 0%, #63b08d 100%);
  border: 1px solid #4b9676;
  box-shadow: 0 8px 18px rgba(79, 154, 122, 0.16);
}

.btn-success:hover,
.btn-success:focus {
  background: linear-gradient(135deg, #45886b 0%, #57a37f 100%);
  border-color: #45886b;
}

.btn-danger {
  background: linear-gradient(135deg, #c96a62 0%, #de8279 100%);
  border: 1px solid #c76a62;
  box-shadow: 0 8px 18px rgba(201, 106, 98, 0.14);
}

.btn-danger:hover,
.btn-danger:focus {
  background: linear-gradient(135deg, #b85f58 0%, #cf766f 100%);
  border-color: #b85f58;
}

.btn-outline-primary {
  color: #b2fff7;
  border-color: rgba(60, 240, 223, 0.35);
  background: rgba(8, 20, 40, 0.55);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  color: #ffffff;
  border-color: rgba(60, 240, 223, 0.55);
  background: rgba(20, 184, 166, 0.22);
}

.hero-panel-mahan {
  background:
    radial-gradient(circle at top left, rgba(60, 240, 223, 0.22), transparent 35%),
    linear-gradient(160deg, rgba(9, 28, 31, 0.98), rgba(17, 48, 54, 0.96));
  border: 1px solid rgba(92, 255, 236, 0.16);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.hero-logo-band {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 340px;
  padding: 1rem 1.25rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  margin-bottom: 1.25rem;
}

.hero-logo-wide {
  max-height: 88px;
}

.mahan-login-kicker,
.mahan-kicker {
  display: inline-flex;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(60, 240, 223, 0.12);
  color: #aef9f1;
  border: 1px solid rgba(60, 240, 223, 0.22);
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.mahan-login-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.mahan-login-feature {
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(60, 240, 223, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #effffb;
  font-weight: 600;
}

.mahan-demo-access {
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: rgba(4, 17, 18, 0.42);
  border: 1px solid rgba(60, 240, 223, 0.16);
}

.mahan-demo-access-label {
  color: #9af8ef;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.login-card {
  border-radius: 24px;
}

.mahan-login-footnote {
  color: var(--muted);
  font-size: 0.92rem;
}

.mahan-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mahan-module-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(60, 240, 223, 0.14);
  background: linear-gradient(180deg, rgba(14, 39, 44, 0.92), rgba(10, 28, 31, 0.98));
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mahan-module-card:hover {
  transform: translateY(-2px);
  border-color: rgba(60, 240, 223, 0.32);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.mahan-module-count {
  font-size: 1.8rem;
  font-weight: 700;
  color: #effffb;
}

.mahan-module-title {
  margin-top: 0.25rem;
  font-weight: 700;
}

.mahan-module-desc {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.mahan-module-primary .mahan-module-count { color: #8ffcf2; }
.mahan-module-accent .mahan-module-count { color: #58e8ff; }
.mahan-module-warning .mahan-module-count { color: #f8d36d; }
.mahan-module-danger .mahan-module-count { color: #ff9f9f; }

.mahan-chart-compact {
  min-height: 220px;
}

.mahan-inline-hours {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.mahan-inline-hour-card,
.mahan-insight-item {
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(60, 240, 223, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.mahan-inline-hour-label {
  color: #9af8ef;
  font-weight: 700;
}

.mahan-inline-hour-value {
  margin-top: 0.15rem;
  font-weight: 700;
}

.mahan-inline-hour-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.mahan-insight-list {
  display: grid;
  gap: 0.85rem;
}

.mahan-insight-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 991.98px) {
  .mahan-module-grid,
  .mahan-login-feature-grid,
  .mahan-inline-hours {
    grid-template-columns: 1fr;
  }
}

.btn-outline-secondary {
  color: #5e6f85;
  border-color: #d2dbe7;
  background: #f9fbfd;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
  color: #425263;
  border-color: #bccad9;
  background: #eef4f9;
}

.btn-outline-success {
  color: #4f8f73;
  border-color: #b9d8c8;
  background: #f7fcf9;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
  color: #3f765e;
  border-color: #96c4ad;
  background: #e9f6ee;
}

.btn-outline-danger {
  color: #bd6d66;
  border-color: #e6c2bd;
  background: #fff8f7;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active {
  color: #a65750;
  border-color: #dba29b;
  background: #fdeceb;
}

.btn-outline-warning {
  color: #a57b1d;
  border-color: #ead7a2;
  background: #fffaf0;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus,
.btn-outline-warning:active {
  color: #8b6713;
  border-color: #dcc57d;
  background: #fff2d8;
}

.form-control,
.form-select {
  border-color: #cfd9e8;
  border-radius: 10px;
}

.form-control:focus,
.form-select:focus {
  border-color: #6faef2;
  box-shadow: 0 0 0 0.2rem rgba(13, 92, 171, 0.15);
}

.login-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.hero-panel {
  min-height: 430px;
  background: linear-gradient(155deg, #071120 0%, #0e2545 48%, #1b6fff 100%);
  color: #fff;
  border-radius: 18px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.hero-logo {
  width: 240px;
  background: transparent;
  border-radius: 18px;
  padding: 0;
  margin-bottom: 1.2rem;
}

.login-card {
  border-radius: 18px;
}

.dashboard-hero {
  background: linear-gradient(155deg, rgba(8, 18, 32, 0.92) 0%, rgba(14, 37, 69, 0.96) 52%, rgba(27, 111, 255, 0.22) 100%);
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
}

@media (max-width: 992px) {
  .hero-panel {
    min-height: auto;
    margin-bottom: 1rem;
  }

  .brand-logo {
  width: auto;
  height: 58px;
  max-width: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

  .brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 16px;
  padding: 0;
  box-shadow: none;
}

  .navbar .nav-link {
    padding: 0.4rem 0.55rem;
  }
}




.sales-shell {
  animation: fadeInUp 0.28s ease;
}

.sales-hero {
  background: linear-gradient(135deg, #0f4f94 0%, #166cc0 52%, #f4f8ff 52%, #ffffff 100%);
  overflow: hidden;
}

.sales-hero 
.card,
.modal-content,
.dropdown-menu,
.offcanvas {
  background: linear-gradient(180deg, rgba(13, 26, 43, 0.96), rgba(18, 34, 56, 0.96));
  color: var(--text);
}

.table {
  color: var(--text);
}

.table > :not(caption) > * > * {
  border-bottom-color: rgba(118, 151, 190, 0.18);
}

.card-body {
  padding: 1.5rem;
}

.sales-kicker {
  display: inline-block;
  color: #d8ebff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.sales-title {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.08;
}

.sales-subtitle {
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
}

.sales-hero-metrics {
  display: grid;
  gap: 0.9rem;
}

.sales-metric-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(12, 76, 139, 0.08);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  box-shadow: 0 8px 24px rgba(10, 44, 86, 0.08);
}

.sales-metric-card strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.sales-metric-label {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.sales-form-card,
.sales-history-card,
.users-panel-form,
.users-panel-list {
  border-radius: 18px;
}

.sales-section-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 0.85rem;
}

.sales-quick-client {
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
  border: 1px solid #dce8f8;
  border-radius: 16px;
  padding: 0.95rem;
}

.sales-items-wrap {
  border: 1px solid #dfe8f5;
  border-radius: 16px;
  background: #fbfdff;
  padding: 0.9rem;
}

.sales-items-header {
  display: grid;
  grid-template-columns: 7fr 3fr 2fr;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
  padding: 0 0.25rem;
}

.sales-item-row {
  background: #ffffff;
  border-radius: 12px;
}

.sales-summary-card {
  border: 1px solid #dbe7f6;
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
  border-radius: 16px;
  padding: 1rem;
}

.sales-summary-card-warning {
  border-color: #f3d58c;
  background: linear-gradient(180deg, #fff7dd 0%, #fff2c8 100%);
}

.sales-summary-title {
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.sales-summary-line,
.sales-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.sales-summary-line {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.sales-summary-total {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}

.sales-submit-btn {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  font-weight: 700;
}

.sales-filter {
  min-width: 170px;
}

.sales-history-table td,
.users-table td {
  vertical-align: top;
}

.sales-history-table td:last-child {
  min-width: 170px;
}

.sales-cancel-form {
  min-width: 150px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .sales-hero {
    background: linear-gradient(180deg, #0f4f94 0%, #166cc0 62%, #ffffff 62%, #ffffff 100%);
  }

  .sales-title {
    font-size: 1.55rem;
  }
}


.btn-sm,
.form-control-sm,
.form-select-sm,
.pagination .page-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-control,
.form-select,
textarea.form-control {
  min-height: 44px;
}

textarea.form-control {
  min-height: 90px;
}

.badge {
  border-radius: 999px;
  padding: 0.45em 0.72em;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.text-bg-light.border,
.badge.text-bg-light.border {
  background: #f7fafc !important;
  color: #4f6278 !important;
  border-color: #d8e2ee !important;
}

.badge.text-bg-success {
  background: #e7f5ed !important;
  color: #3f7b60 !important;
}

.badge.text-bg-warning {
  background: #fff4d8 !important;
  color: #9b7417 !important;
}

.badge.text-bg-danger {
  background: #fde8e6 !important;
  color: #b25f57 !important;
}

.badge.text-bg-primary {
  background: #e8f1fc !important;
  color: #2e68a8 !important;
}

.pagination {
  gap: 0.28rem;
}

.pagination .page-link {
  border: 1px solid #d8e2ee;
  color: #58708b;
  background: #fbfdff;
  border-radius: 10px;
  min-width: 36px;
  box-shadow: 0 3px 10px rgba(13, 44, 83, 0.04);
}

.pagination .page-link:hover,
.pagination .page-link:focus {
  color: #2d5e93;
  background: #eef5fc;
  border-color: #bfd1e5;
}

.pagination .page-item.active .page-link {
  color: #ffffff;
  background: linear-gradient(135deg, #3b74b2 0%, #5a96d3 100%);
  border-color: #3b74b2;
  box-shadow: 0 8px 16px rgba(59, 116, 178, 0.18);
}

.pagination .page-item.disabled .page-link {
  color: #9aacbf;
  background: #f5f8fb;
  border-color: #e3ebf4;
}

.nav-pills .nav-link {
  border-radius: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #55708e;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid #dce6f2;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus {
  color: #2d5f96;
  background: #eef5fc;
  border-color: #c7d8ea;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #ffffff;
  background: linear-gradient(135deg, #3a72af 0%, #5f96d2 100%);
  border-color: #3a72af;
  box-shadow: 0 10px 18px rgba(58, 114, 175, 0.18);
}


.sales-form-card,
.sales-history-card,
.card.shadow-sm {
  backdrop-filter: blur(6px);
}

.sales-form-card .card-body,
.sales-history-card .card-body,
.row.g-4 > .col-lg-4 .card .card-body,
.row.g-4 > .col-lg-8 .card 
.card,
.modal-content,
.dropdown-menu,
.offcanvas {
  background: linear-gradient(180deg, rgba(13, 26, 43, 0.96), rgba(18, 34, 56, 0.96));
  color: var(--text);
}

.table {
  color: var(--text);
}

.table > :not(caption) > * > * {
  border-bottom-color: rgba(118, 151, 190, 0.18);
}

.card-body {
  padding: 1.25rem 1.3rem;
}

.sales-form-card .h4,
.sales-history-card .h4,
.card .h5,
.card .h6 {
  font-weight: 800;
  letter-spacing: 0.01em;
}

#customers-search-form,
#providers-search-form,
#sales-search-form {
  padding: 0.45rem;
  border: 1px solid #e1e9f3;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

#customers-search-form .form-control,
#providers-search-form .form-control,
#sales-search-form .form-control {
  border-color: #d7e1ee;
  background: #ffffff;
}

#customers-table-body tr,
#providers-table-body tr,
.sales-history-table tbody tr {
  transition: background-color 0.16s ease, transform 0.16s ease;
}

#customers-table-body tr:hover,
#providers-table-body tr:hover,
.sales-history-table tbody tr:hover {
  background: rgba(238, 245, 252, 0.78);
}

.sales-history-table td,
.sales-history-table th,
#customers-table-body td,
#providers-table-body td {
  vertical-align: middle;
}

.sales-history-table .btn,
#customers-table-body .btn,
#providers-table-body .btn {
  box-shadow: none;
}

.sales-history-table .btn-outline-primary,
#customers-table-body .btn-primary,
#providers-table-body .btn-primary {
  border-width: 1px;
}

.sales-cancel-form,
#customers-table-body form,
#providers-table-body form {
  margin-bottom: 0;
}

.sales-cancel-form .form-control,
#customers-table-body input[type="password"],
#providers-table-body input[type="password"] {
  background: #fbfcfe;
  border-color: #d9e3ef;
}

.sales-section-title {
  color: #4e6781;
  letter-spacing: 0.08em;
}

.sales-quick-client,
.sales-summary-card {
  border: 1px solid #e2eaf4;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.sales-quick-client {
  padding: 1rem;
}

.sales-items-wrap {
  border: 1px solid #e3eaf3;
  border-radius: 16px;
  background: #fcfdff;
  padding: 1rem;
}

.sales-items-header {
  color: #667d95;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.7rem;
}

.sales-item-row {
  padding: 0.25rem 0;
  border-bottom: 1px solid #eef3f8;
}

.sales-item-row:last-child {
  border-bottom: 0;
}

.sales-summary-title {
  color: #58708b;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.sales-summary-total strong {
  font-size: 1.65rem;
  color: #245b92;
}

#customers-table-body td .d-grid,
#providers-table-body td .d-grid {
  max-width: 150px;
  margin-left: auto;
}

#customers-table-body .btn,
#providers-table-body .btn {
  min-height: 36px;
}

@media (max-width: 991px) {
  #customers-search-form,
  #providers-search-form,
  #sales-search-form {
    width: 100%;
  }

  #customers-table-body td .d-grid,
  #providers-table-body td .d-grid {
    max-width: 100%;
  }
}


.dashboard-hero,
.report-card,
.cash-card {
  border: 1px solid #e1e9f3;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,251,255,0.96) 100%);
  box-shadow: 0 12px 28px rgba(17, 51, 89, 0.08);
}

.dashboard-hero .page-title,
.report-card .h5,
.cash-card .h5 {
  font-weight: 800;
  letter-spacing: 0.015em;
}

.dashboard-hero .page-subtitle,
.report-card .text-muted.small,
.cash-card .small.text-muted {
  color: #64788e !important;
}

.dashboard-logo {
  border: 1px solid #e1eaf4;
  box-shadow: 0 10px 24px rgba(13, 45, 85, 0.08);
}

.dashboard-stats .card,
.dashboard-quick .card {
  border-radius: 18px;
  border: 1px solid #e2eaf4;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.dashboard-stats .card:hover,
.dashboard-quick .card:hover,
.report-card:hover,
.cash-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(17, 51, 89, 0.1);
}

.stat-value {
  color: #244e7b;
  letter-spacing: 0.01em;
}

.dashboard-quick .btn,
.cash-card .btn,
.report-card .btn {
  box-shadow: none;
}

.report-card .table,
.cash-summary-table {
  border-collapse: separate;
  border-spacing: 0;
}

.report-card .table tbody tr:hover,
.cash-summary-table tbody tr:hover {
  background: rgba(239, 245, 252, 0.72);
}

.report-card .table thead th,
.cash-summary-table th {
  color: #60758d;
  font-weight: 700;
}

.cash-card .alert {
  border-radius: 14px;
  border: 1px solid #f0d6a9;
  background: linear-gradient(180deg, #fff7e8 0%, #fff2d7 100%);
  color: #8f6c14;
}

.cash-summary-table tr.table-primary th,
.cash-summary-table tr.table-primary td {
  background: linear-gradient(135deg, #edf5fe 0%, #e4f0fc 100%) !important;
  color: #28588a;
  border-bottom-color: #d2e2f3;
}

.cash-summary-table tr.table-warning th,
.cash-summary-table tr.table-warning td {
  background: linear-gradient(135deg, #fff7e7 0%, #fff0cf 100%) !important;
  color: #8d6b11;
}

@media (max-width: 991px) {
  .dashboard-hero .card-body,
  .report-card .card-body,
  .cash-card 
.card,
.modal-content,
.dropdown-menu,
.offcanvas {
  background: linear-gradient(180deg, rgba(13, 26, 43, 0.96), rgba(18, 34, 56, 0.96));
  color: var(--text);
}

.table {
  color: var(--text);
}

.table > :not(caption) > * > * {
  border-bottom-color: rgba(118, 151, 190, 0.18);
}

.card-body {
    padding: 1.1rem 1.1rem;
  }
}

.products-table {
  table-layout: auto;
  width: 100%;
}

.products-table th,
.products-table td {
  vertical-align: middle;
  font-size: 0.92rem;
}

.products-table thead th {
  font-size: 0.76rem;
}

.product-code-cell {
  white-space: nowrap;
  width: 8%;
}

.product-name-cell {
  min-width: 220px;
  width: 28%;
}

.product-name-cell .fw-semibold {
  letter-spacing: 0.01em;
}

.product-name-cell .small.text-muted {
  display: block;
  margin-top: 0.16rem;
  line-height: 1.28;
  font-size: 0.78rem;
}

.product-category-cell,
.product-classification-cell {
  width: 8%;
}

.product-money-cell {
  white-space: nowrap;
  width: 8%;
}

.product-stock-cell,
.product-min-cell,
.product-buy-cell {
  white-space: nowrap;
  text-align: center;
  width: 5%;
}

.product-actions-cell {
  width: 132px;
  min-width: 132px;
}

.product-actions-stack {
  width: 118px;
  margin-left: auto;
}

.product-action-btn {
  min-height: 32px;
  padding-top: 0.34rem;
  padding-bottom: 0.34rem;
  font-size: 0.76rem;
  line-height: 1.15;
}

.product-action-password {
  text-transform: none;
  font-size: 0.76rem;
}

@media (max-width: 991px) {
  .product-name-cell {
    min-width: 190px;
  }

  .product-actions-cell,
  .product-actions-stack {
    min-width: 100%;
    width: 100%;
  }
}

.login-wrap,
.login-wrap .card,
.login-wrap .card-body,
.login-wrap h1,
.login-wrap h2,
.login-wrap p,
.login-wrap .form-label,
.login-wrap .form-control,
.login-wrap .form-select,
.login-wrap .btn,
.login-wrap .badge {
  text-transform: none !important;
}

.login-wrap .form-control::placeholder,
.login-wrap .form-select {
  text-transform: none !important;
}

.login-wrap input,
.login-wrap select,
.login-wrap textarea,
.login-wrap label,
.login-wrap h1,
.login-wrap h2,
.login-wrap p,
.login-wrap .btn,
.login-wrap .badge {
  text-transform: none !important;
}

.login-wrap input::placeholder,
.login-wrap textarea::placeholder {
  text-transform: none !important;
}

.login-label-normal {
  text-transform: none !important;
}

.login-input-normal {
  text-transform: none !important;
}

.login-input-normal::placeholder {
  text-transform: none !important;
}


body .login-wrap .login-input-normal,
body .login-wrap input.login-input-normal,
body .login-wrap input#loginEmail,
body .login-wrap input[type="text"],
body .login-wrap input[type="password"],
body .login-wrap select.login-input-normal {
  text-transform: none !important;
}

body .login-wrap input#loginEmail {
  font-variant: normal !important;
}

/* MAHAN refresh */
.mahan-dashboard,
.mahan-dashboard * {
  text-transform: none !important;
}

.mahan-hero.card,
.mahan-panel.card,
.mahan-kpi-card.card {
  border: 1px solid rgba(86, 142, 213, 0.18);
  background:
    radial-gradient(circle at top right, rgba(38, 208, 255, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(8, 18, 33, 0.98), rgba(12, 27, 47, 0.96));
  box-shadow: 0 24px 50px rgba(2, 8, 23, 0.42);
}

.mahan-hero .card-body {
  padding: 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.mahan-hero-copy {
  max-width: 720px;
}

.mahan-kicker,
.mahan-login-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(35, 213, 255, 0.12);
  color: #8be9ff;
  border: 1px solid rgba(35, 213, 255, 0.2);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.mahan-hero-title {
  font-size: clamp(1.9rem, 2.5vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0.85rem;
  font-weight: 700;
  color: #f5fbff;
  max-width: 12ch;
}

.mahan-hero-text,
.mahan-panel-subtitle,
.mahan-kpi-meta,
.mahan-demo-card,
.mahan-demo-access {
  color: #9ab7d7;
}

.mahan-hero-chips,
.mahan-hero-brand {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.mahan-hero-chips .badge,
.hero-panel-mahan .badge {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #f8fbff !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-weight: 600;
}

.mahan-logo-panel,
.hero-logo-band {
  width: min(100%, 370px);
  padding: 1rem 1.25rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(7, 17, 32, 0.86), rgba(20, 47, 84, 0.72));
  border: 1px solid rgba(123, 220, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 30px rgba(3, 10, 28, 0.32);
}

.mahan-hero-logo,
.hero-logo-wide {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.mahan-demo-card,
.mahan-demo-access {
  border-radius: 20px;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mahan-demo-label,
.mahan-demo-access-label {
  color: #f5fbff;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.mahan-kpi-label {
  color: #8db3d8;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
}

.mahan-kpi-value {
  color: #f7fbff;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.mahan-kpi-alert:hover {
  transform: translateY(-2px);
}

.mahan-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mahan-panel-title {
  margin: 0 0 0.35rem;
  color: #f6fbff;
  font-size: 1.1rem;
  font-weight: 700;
}

.mahan-chart-wrap {
  position: relative;
  height: 330px;
}

.mahan-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.mahan-quick-grid .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mahan-table td,
.mahan-table th {
  text-transform: none !important;
}

.mahan-movement-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase !important;
}

.mahan-movement-sale,
.mahan-movement-out {
  background: rgba(255, 126, 126, 0.12);
  color: #ffb0b0;
}

.mahan-movement-purchase,
.mahan-movement-in {
  background: rgba(77, 210, 166, 0.14);
  color: #9ef5d4;
}

.mahan-movement-adjust {
  background: rgba(95, 154, 255, 0.16);
  color: #c8dcff;
}

.hero-panel-mahan {
  background:
    radial-gradient(circle at 15% 0%, rgba(35, 213, 255, 0.18), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(27, 111, 255, 0.25), transparent 28%),
    linear-gradient(160deg, #050d18 0%, #0c223e 46%, #113663 100%);
  box-shadow: 0 28px 55px rgba(3, 10, 28, 0.38);
}

.hero-panel-mahan .hero-logo {
  width: 100%;
  max-width: 320px;
  margin-bottom: 0;
}

.hero-panel-mahan h1 {
  max-width: 13ch;
  line-height: 1.08;
  margin-bottom: 0.85rem;
}

.hero-panel-mahan p {
  max-width: 58ch;
  color: rgba(241, 247, 255, 0.88);
}

.login-card .text-muted {
  color: #8faed0 !important;
}

@media (max-width: 991.98px) {
  .mahan-hero .card-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .mahan-hero-title,
  .hero-panel-mahan h1 {
    max-width: none;
  }

  .mahan-quick-grid {
    grid-template-columns: 1fr;
  }
}

/* Global turquoise finish */
html,
body {
  color: #ffffff;
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(93, 233, 220, 0.10) 0%, transparent 26%),
    linear-gradient(180deg, #e9fbf8 0%, #d9f6f2 100%);
}

.navbar,
.hero-panel-mahan,
.mahan-hero,
.card,
.modal-content,
.dropdown-menu,
.offcanvas,
.table-responsive,
.login-card {
  color: #ffffff;
}

.navbar {
  background: linear-gradient(135deg, #0f8f86 0%, #17b8ab 55%, #28d9cb 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.card,
.modal-content,
.dropdown-menu,
.offcanvas {
  background: linear-gradient(180deg, rgba(9, 84, 84, 0.96), rgba(12, 103, 101, 0.96));
  border-color: rgba(23, 184, 171, 0.18);
}

.table,
.table td,
.table th,
.table thead th,
.page-title,
.page-subtitle,
.form-label,
.navbar .nav-link,
.navbar .navbar-text,
.dropdown-item,
.alert,
.badge,
.list-group-item,
.accordion-button,
.nav-link,
.card-title,
.card-text,
.text-dark,
.text-body,
.text-body-emphasis {
  color: #ffffff !important;
}

.text-muted,
small.text-muted,
.page-subtitle,
.mahan-panel-subtitle,
.mahan-kpi-meta,
.mahan-hero-text,
.mahan-demo-card,
.mahan-demo-access,
.mahan-module-desc,
.mahan-inline-hour-meta,
.mahan-login-footnote {
  color: rgba(255, 255, 255, 0.82) !important;
}

.form-control,
.form-select,
.input-group-text,
textarea.form-control {
  background: rgba(255, 255, 255, 0.96);
  color: #123b3a;
  border-color: rgba(23, 184, 171, 0.28);
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  background: #ffffff;
  color: #123b3a;
  border-color: rgba(23, 184, 171, 0.52);
  box-shadow: 0 0 0 0.2rem rgba(40, 217, 203, 0.18);
}

.form-control::placeholder,
textarea.form-control::placeholder {
  color: rgba(18, 59, 58, 0.55);
}

.btn-primary {
  background: linear-gradient(135deg, #3cf0df 0%, #14b8a6 100%);
  border-color: rgba(60, 240, 223, 0.28);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: linear-gradient(135deg, #32e6d6 0%, #10988b 100%);
  border-color: rgba(60, 240, 223, 0.42);
  color: #ffffff;
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-light {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover,
.btn-outline-danger:hover,
.btn-outline-light:hover,
.btn-outline-primary:focus,
.btn-outline-secondary:focus,
.btn-outline-success:focus,
.btn-outline-danger:focus,
.btn-outline-light:focus {
  color: #ffffff;
  background: rgba(20, 184, 166, 0.26);
  border-color: rgba(60, 240, 223, 0.45);
}

.nav-pills .nav-link,
.pagination .page-link,
.badge.text-bg-light,
.badge.bg-light,
.badge.border {
  background: rgba(255, 255, 255, 0.10) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.nav-pills .nav-link.active,
.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #3cf0df 0%, #14b8a6 100%) !important;
  color: #ffffff !important;
  border-color: rgba(60, 240, 223, 0.4) !important;
}

.table > :not(caption) > * > * {
  border-bottom-color: rgba(124, 248, 235, 0.12);
}

.alert-success,
.alert-danger,
.alert-warning,
.alert-info {
  border-color: rgba(23, 184, 171, 0.22);
  background: rgba(16, 132, 125, 0.92);
  color: #ffffff;
}

.hero-panel-mahan,
.mahan-hero {
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.10), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(82, 233, 220, 0.18), transparent 28%),
    linear-gradient(160deg, #0f7e79 0%, #11a099 46%, #1bc7bc 100%);
  box-shadow: 0 18px 36px rgba(17, 108, 104, 0.20);
}

.hero-logo-band,
.mahan-logo-panel {
  width: min(100%, 420px);
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(17, 160, 153, 0.22);
  box-shadow: 0 10px 24px rgba(9, 89, 87, 0.14);
  border-radius: 18px;
  padding: 0.85rem 1.5rem;
}

.mahan-kicker,
.mahan-login-kicker,
.mahan-module-count,
.mahan-inline-hour-label,
.mahan-demo-label,
.mahan-demo-access-label {
  color: #ffffff !important;
}

.brand-badge {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  padding: 0.35rem 0.95rem;
  box-shadow: 0 8px 20px rgba(8, 88, 84, 0.16);
}

.brand-logo {
  height: 44px;
  width: auto;
  min-width: 180px;
  object-fit: contain;
  filter: none;
}

.hero-logo-wide,
.mahan-hero-logo {
  max-width: 360px;
  max-height: 90px;
}

.hero-panel-mahan h1,
.mahan-hero-title {
  max-width: 16ch;
  color: #ffffff;
}

.hero-panel-mahan p,
.mahan-hero-text {
  color: rgba(255, 255, 255, 0.92);
}

.mahan-login-feature,
.mahan-module-card,
.mahan-inline-hour-card,
.mahan-insight-item,
.mahan-demo-access,
.mahan-demo-card {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
}

.login-card {
  background: linear-gradient(180deg, rgba(10, 86, 86, 0.96), rgba(12, 98, 97, 0.96));
}

.login-card .form-label,
.login-card .h4,
.login-card p,
.login-card .text-muted {
  color: #ffffff !important;
}

.app-shell {
  background: transparent;
}

/* MAHAN clean rebuild */
:root {
  --mahan-turquoise-700: #0f8f86;
  --mahan-turquoise-600: #16a99f;
  --mahan-turquoise-500: #22c7bb;
  --mahan-turquoise-100: #dff8f5;
  --mahan-ink-900: #12353a;
  --mahan-ink-700: #365d63;
  --mahan-line: #cfe8e5;
  --mahan-panel: #ffffff;
  --mahan-bg: #eef7f6;
}

body {
  background:
    linear-gradient(180deg, rgba(34, 199, 187, 0.08), rgba(34, 199, 187, 0.02) 180px),
    var(--mahan-bg) !important;
  color: var(--mahan-ink-900) !important;
}

.app-shell {
  background: transparent !important;
}

.navbar.app-navbar {
  background: linear-gradient(90deg, var(--mahan-turquoise-700) 0%, var(--mahan-turquoise-600) 52%, var(--mahan-turquoise-500) 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 8px 24px rgba(15, 143, 134, 0.18) !important;
}

.brand-badge {
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 0.4rem 1.4rem !important;
  box-shadow: 0 10px 26px rgba(9, 100, 95, 0.12) !important;
}

.brand-logo {
  height: 50px !important;
  min-width: 250px !important;
  max-width: 330px !important;
  object-fit: contain !important;
}

.navbar .nav-link,
.navbar .navbar-text,
.navbar .btn-outline-light {
  color: #ffffff !important;
}

.navbar .nav-link {
  background: transparent !important;
  border-radius: 10px !important;
  font-size: 0.94rem !important;
  letter-spacing: 0.015em !important;
  padding: 0.48rem 0.72rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  background: rgba(255, 255, 255, 0.14) !important;
}

.navbar .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.navbar .btn-outline-light:hover,
.navbar .btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.16) !important;
}

.card,
.modal-content,
.dropdown-menu,
.offcanvas {
  background: var(--mahan-panel) !important;
  color: var(--mahan-ink-900) !important;
  border: 1px solid var(--mahan-line) !important;
  box-shadow: 0 16px 34px rgba(24, 72, 76, 0.08) !important;
}

.table,
.table td,
.table th,
.table thead th,
.page-title,
.page-subtitle,
.form-label,
.dropdown-item,
.alert,
.badge,
.list-group-item,
.accordion-button,
.nav-link,
.card-title,
.card-text,
.text-dark,
.text-body,
.text-body-emphasis {
  color: var(--mahan-ink-900) !important;
}

.text-muted,
small.text-muted,
.page-subtitle,
.mahan-panel-subtitle,
.mahan-kpi-meta,
.mahan-hero-text,
.mahan-demo-card,
.mahan-demo-access,
.mahan-module-desc,
.mahan-inline-hour-meta,
.mahan-login-footnote {
  color: var(--mahan-ink-700) !important;
}

.form-control,
.form-select,
.input-group-text,
textarea.form-control {
  background: #ffffff !important;
  color: var(--mahan-ink-900) !important;
  border: 1px solid var(--mahan-line) !important;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: rgba(34, 199, 187, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(34, 199, 187, 0.14) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--mahan-turquoise-600) 0%, var(--mahan-turquoise-500) 100%) !important;
  border-color: rgba(22, 169, 159, 0.3) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(22, 169, 159, 0.18) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: linear-gradient(135deg, var(--mahan-turquoise-700) 0%, var(--mahan-turquoise-600) 100%) !important;
  color: #ffffff !important;
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger {
  background: #ffffff !important;
  color: var(--mahan-ink-900) !important;
  border-color: var(--mahan-line) !important;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover,
.btn-outline-danger:hover,
.btn-outline-primary:focus,
.btn-outline-secondary:focus,
.btn-outline-success:focus,
.btn-outline-danger:focus {
  background: var(--mahan-turquoise-100) !important;
  color: var(--mahan-ink-900) !important;
  border-color: rgba(22, 169, 159, 0.3) !important;
}

.nav-pills .nav-link,
.pagination .page-link,
.badge.text-bg-light,
.badge.bg-light,
.badge.border {
  background: #ffffff !important;
  color: var(--mahan-ink-900) !important;
  border-color: var(--mahan-line) !important;
}

.nav-pills .nav-link.active,
.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--mahan-turquoise-600) 0%, var(--mahan-turquoise-500) 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.table > :not(caption) > * > * {
  border-bottom-color: #e3efee !important;
}

.alert-success,
.alert-danger,
.alert-warning,
.alert-info {
  background: #ffffff !important;
  color: var(--mahan-ink-900) !important;
  border: 1px solid var(--mahan-line) !important;
}

.hero-panel-mahan,
.mahan-hero {
  background:
    radial-gradient(circle at top right, rgba(34, 199, 187, 0.14), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f3fbfa 100%) !important;
  color: var(--mahan-ink-900) !important;
  border: 1px solid var(--mahan-line) !important;
  box-shadow: 0 18px 36px rgba(24, 72, 76, 0.08) !important;
}

.hero-logo-band,
.mahan-logo-panel {
  width: min(100%, 520px) !important;
  background: #ffffff !important;
  border: 1px solid var(--mahan-line) !important;
  border-radius: 18px !important;
  padding: 1rem 2rem !important;
  box-shadow: 0 10px 24px rgba(24, 72, 76, 0.06) !important;
}

.hero-logo-wide,
.mahan-hero-logo {
  width: 100% !important;
  max-width: 450px !important;
  max-height: 98px !important;
}

.mahan-kicker,
.mahan-login-kicker {
  background: rgba(22, 169, 159, 0.12) !important;
  color: var(--mahan-turquoise-700) !important;
  border: 1px solid rgba(22, 169, 159, 0.18) !important;
}

.hero-panel-mahan h1,
.mahan-hero-title,
.login-card .h4,
.mahan-panel-title,
.mahan-kpi-value,
.mahan-module-title {
  color: var(--mahan-ink-900) !important;
}

.hero-panel-mahan p,
.mahan-hero-text,
.login-card p {
  color: var(--mahan-ink-700) !important;
}

.mahan-hero-chips .badge,
.hero-panel-mahan .badge,
.mahan-login-feature,
.mahan-module-card,
.mahan-inline-hour-card,
.mahan-insight-item,
.mahan-demo-access,
.mahan-demo-card,
.mahan-kpi-card,
.mahan-panel {
  background: #ffffff !important;
  color: var(--mahan-ink-900) !important;
  border: 1px solid var(--mahan-line) !important;
}

.mahan-hero .card-body,
.hero-panel-mahan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.mahan-hero-copy {
  flex: 1 1 auto;
}

.mahan-hero-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.mahan-demo-access {
  margin-top: 1.25rem;
  max-width: 360px;
}

@media (max-width: 991.98px) {
  .mahan-hero .card-body,
  .hero-panel-mahan {
    flex-direction: column;
    align-items: flex-start;
  }

  .mahan-hero-brand {
    width: 100%;
    justify-content: flex-start;
  }

  .brand-logo {
    min-width: 180px !important;
    max-width: 230px !important;
    height: 48px !important;
  }

  .hero-logo-wide,
  .mahan-hero-logo {
    max-width: 360px !important;
  }
}

.mahan-kpi-card {
  box-shadow: 0 14px 28px rgba(24, 72, 76, 0.06) !important;
}

.mahan-module-count,
.mahan-inline-hour-label,
.mahan-demo-label,
.mahan-demo-access-label,
.mahan-kpi-label {
  color: var(--mahan-turquoise-700) !important;
}

.mahan-movement-sale,
.mahan-movement-out,
.mahan-movement-purchase,
.mahan-movement-in,
.mahan-movement-adjust {
  color: #ffffff !important;
}

.mahan-movement-sale,
.mahan-movement-out {
  background: #ef8b8b !important;
}

.mahan-movement-purchase,
.mahan-movement-in {
  background: var(--mahan-turquoise-600) !important;
}

.mahan-movement-adjust {
  background: #5a8fd9 !important;
}

.login-card {
  background: #ffffff !important;
}

.login-wrap {
  min-height: calc(100vh - 120px);
  align-items: center !important;
}

.login-card {
  border-radius: 20px !important;
}

.login-card-wide .card-body {
  padding: 0 !important;
}

.login-showcase {
  padding: 3rem 3.1rem;
  background:
    radial-gradient(circle at top right, rgba(34, 199, 187, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f5fbfa 100%);
  border-right: 1px solid var(--mahan-line);
  border-radius: 20px 0 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-form-panel {
  padding: 3rem 2.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-brand-wrap {
  display: flex;
  justify-content: flex-start;
}

.login-brand-logo {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
}

.login-brand-logo-wide {
  max-width: 420px;
}

.login-showcase-title {
  max-width: 12ch;
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 1.05rem 0 1.1rem;
  color: var(--mahan-ink-900);
  font-weight: 700;
}

.login-showcase-text {
  max-width: 55ch;
  color: var(--mahan-ink-700);
  font-size: 1.03rem;
  line-height: 1.78;
  margin-bottom: 0;
}

.mahan-login-kicker {
  align-self: flex-start;
  padding: 0.48rem 0.95rem !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
}

.login-form-panel .h4 {
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem !important;
}

.login-form-panel .text-muted {
  font-size: 1rem;
  margin-bottom: 1.6rem !important;
}

.login-form-panel .form-label {
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.login-form-panel .form-control {
  min-height: 50px;
  border-radius: 12px !important;
  font-size: 0.98rem;
}

.login-form-panel .btn-primary {
  min-height: 50px;
  border-radius: 12px !important;
  font-size: 1rem;
  font-weight: 700;
}

.mahan-login-footnote {
  text-align: left;
  font-size: 0.94rem;
  margin-top: 1.5rem !important;
}

@media (max-width: 991.98px) {
  .login-showcase {
    border-right: 0;
    border-bottom: 1px solid var(--mahan-line);
    border-radius: 20px 20px 0 0;
    padding: 2.1rem 1.7rem;
  }

  .login-form-panel {
    padding: 2.1rem 1.7rem;
  }

  .login-showcase-title {
    max-width: none;
  }

  .brand-logo {
    min-width: 210px !important;
    max-width: 260px !important;
    height: 46px !important;
  }
}

/* MAHAN visual reset inspired by Repuestos Reyes */
:root {
  --mahan-rr-blue: #1f67b6;
  --mahan-rr-blue-dark: #18579b;
  --mahan-rr-blue-soft: #eaf3ff;
  --mahan-rr-ink: #1d2d44;
  --mahan-rr-muted: #5d7391;
  --mahan-rr-line: rgba(31, 103, 182, 0.14);
}

body {
  background:
    radial-gradient(circle at top left, rgba(46, 162, 255, 0.10), transparent 26%),
    linear-gradient(180deg, #f3f8ff 0%, #edf5ff 100%) !important;
  color: var(--mahan-rr-ink) !important;
}

.app-shell {
  background: transparent !important;
}

.navbar.app-navbar,
.navbar {
  background: linear-gradient(180deg, var(--mahan-rr-blue) 0%, var(--mahan-rr-blue-dark) 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 10px 24px rgba(16, 64, 126, 0.18) !important;
}

.navbar-brand {
  margin-right: 1.15rem !important;
}

.brand-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  box-shadow: none !important;
}

.brand-logo {
  height: 96px !important;
  min-width: 560px !important;
  max-width: 680px !important;
  width: auto !important;
  object-fit: contain !important;
  filter: none !important;
}

.navbar .nav-link {
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  padding: 0.45rem 0.65rem !important;
  border-radius: 8px !important;
  background: transparent !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

.navbar .navbar-text,
.app-navbar-greeting {
  color: #ffffff !important;
}

.app-navbar-actions .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.9) !important;
  color: #ffffff !important;
  background: transparent !important;
}

.app-navbar-actions .btn-outline-light:hover,
.app-navbar-actions .btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

.card,
.modal-content,
.dropdown-menu,
.offcanvas,
.mahan-panel,
.mahan-kpi-card,
.mahan-module-card,
.mahan-inline-hour-card,
.mahan-insight-item,
.mahan-demo-access {
  background: #ffffff !important;
  color: var(--mahan-rr-ink) !important;
  border: 1px solid var(--mahan-rr-line) !important;
  box-shadow: 0 16px 34px rgba(25, 73, 134, 0.08) !important;
}

.page-title,
.mahan-panel-title,
.mahan-kpi-value,
.mahan-module-title,
.login-card .h4,
.login-showcase-title {
  color: var(--mahan-rr-ink) !important;
}

.page-subtitle,
.mahan-panel-subtitle,
.mahan-kpi-meta,
.mahan-module-desc,
.mahan-inline-hour-meta,
.login-card p,
.login-showcase-text,
.mahan-login-footnote,
.text-muted {
  color: var(--mahan-rr-muted) !important;
}

.table,
.table td,
.table th,
.mahan-table {
  color: var(--mahan-rr-ink) !important;
}

.table > :not(caption) > * > * {
  border-bottom-color: rgba(31, 103, 182, 0.10) !important;
}

.table thead th,
.mahan-kpi-label,
.mahan-module-count,
.mahan-inline-hour-label,
.mahan-login-kicker {
  color: var(--mahan-rr-blue) !important;
}

.btn-primary {
  background: linear-gradient(180deg, var(--mahan-rr-blue) 0%, var(--mahan-rr-blue-dark) 100%) !important;
  border-color: var(--mahan-rr-blue-dark) !important;
  box-shadow: 0 10px 22px rgba(31, 103, 182, 0.22) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(180deg, #2d76c5 0%, #1a5caa 100%) !important;
  border-color: #1a5caa !important;
}

.btn-outline-primary {
  color: var(--mahan-rr-blue) !important;
  border-color: rgba(31, 103, 182, 0.28) !important;
  background: #ffffff !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #ffffff !important;
  background: var(--mahan-rr-blue) !important;
  border-color: var(--mahan-rr-blue) !important;
}

.form-control,
.form-select {
  background: #ffffff !important;
  color: var(--mahan-rr-ink) !important;
  border: 1px solid rgba(31, 103, 182, 0.18) !important;
  box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(31, 103, 182, 0.42) !important;
  box-shadow: 0 0 0 0.18rem rgba(31, 103, 182, 0.12) !important;
}

.login-wrap {
  max-width: 1120px !important;
  min-height: calc(100vh - 118px) !important;
  align-items: center !important;
}

.login-card {
  border-radius: 22px !important;
  overflow: hidden !important;
}

.login-showcase {
  background:
    radial-gradient(circle at top left, rgba(31, 103, 182, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--mahan-rr-blue-soft) 100%) !important;
  border-right: 1px solid var(--mahan-rr-line) !important;
  padding: 3.4rem 3.4rem 3.1rem !important;
  justify-content: center !important;
}

.login-form-panel {
  background: #ffffff !important;
  padding: 3.2rem 2.8rem !important;
}

.login-brand-wrap {
  margin-bottom: 1.4rem !important;
}

.login-brand-logo {
  width: 100% !important;
  max-width: 560px !important;
  height: auto !important;
  object-fit: contain !important;
}

.login-brand-logo-wide {
  max-width: 620px !important;
}

.mahan-login-kicker {
  background: rgba(31, 103, 182, 0.08) !important;
  border: 1px solid rgba(31, 103, 182, 0.14) !important;
}

.login-showcase-title {
  max-width: 15ch !important;
  font-size: clamp(2.05rem, 3vw, 3rem) !important;
  line-height: 1.08 !important;
  margin: 1rem 0 1rem !important;
}

.login-showcase-text {
  max-width: 58ch !important;
  font-size: 1rem !important;
  line-height: 1.72 !important;
}

.login-form-panel .h4 {
  font-size: 2rem !important;
  margin-bottom: 0.45rem !important;
}

.login-form-panel .text-muted {
  margin-bottom: 1.5rem !important;
}

.login-form-panel .form-control {
  min-height: 52px !important;
  border-radius: 12px !important;
}

.login-form-panel .btn-primary {
  min-height: 52px !important;
  border-radius: 12px !important;
}

@media (max-width: 991.98px) {
  .brand-badge {
    min-width: 0 !important;
    padding: 0 !important;
  }

  .brand-logo {
    min-width: 290px !important;
    max-width: 390px !important;
    height: 70px !important;
  }

  .login-showcase {
    border-right: 0 !important;
    border-bottom: 1px solid var(--mahan-rr-line) !important;
    padding: 2.3rem 1.8rem !important;
  }

  .login-form-panel {
    padding: 2.3rem 1.8rem !important;
  }

  .login-brand-logo,
  .login-brand-logo-wide {
    max-width: 460px !important;
  }

  .login-showcase-title {
    max-width: none !important;
  }
}





/* Final MAHAN polish */
body {
  background:
    radial-gradient(circle at 12% 14%, rgba(96, 165, 250, 0.16) 0%, transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(37, 99, 235, 0.10) 0%, transparent 24%),
    linear-gradient(180deg, #eef5ff 0%, #f8fbff 48%, #eef4fc 100%);
  color: #16304f;
}

.navbar.app-navbar,
.navbar {
  background: linear-gradient(135deg, #1e5aa7 0%, #2b6fc1 52%, #1d5fae 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 28px rgba(14, 51, 96, 0.18);
  padding-top: 0.42rem;
  padding-bottom: 0.42rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
}

.brand-logo {
  height: 44px !important;
  width: auto !important;
  max-width: 162px !important;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(12, 31, 58, 0.18));
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.98) !important;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  background: transparent !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  background: rgba(255, 255, 255, 0.12) !important;
}

.app-navbar-greeting {
  font-size: 0.93rem;
}

.app-navbar-actions .btn-outline-light {
  border-radius: 10px;
  font-size: 0.85rem;
}

.login-wrap {
  max-width: 1120px;
  margin: 1rem auto 0;
}

.login-card,
.login-card.login-card-wide {
  border-radius: 28px !important;
  border: 1px solid #d8e6f7 !important;
  box-shadow: 0 24px 56px rgba(20, 54, 95, 0.16) !important;
  overflow: hidden;
  background: #ffffff !important;
}

.login-card .card-body,
.login-card-wide .card-body {
  padding: 0 !important;
  background: #ffffff !important;
}

.login-showcase {
  min-height: 100%;
  padding: 3.25rem 3rem 2.8rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.20) 0%, transparent 24%),
    linear-gradient(145deg, #1d4f8f 0%, #245ea9 42%, #2d6fc0 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.login-showcase::after {
  content: '';
  position: absolute;
  right: -68px;
  bottom: -74px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.login-brand-wrap {
  margin-bottom: 1.6rem !important;
}

.login-brand-logo,
.login-brand-logo-wide {
  display: block;
  width: auto;
  max-width: 360px;
  max-height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(7, 23, 49, 0.22));
}

.mahan-login-kicker {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.05rem;
}

.login-showcase-title {
  color: #ffffff;
  font-size: 2.45rem;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 540px;
  margin-bottom: 1rem;
}

.login-showcase-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 0;
}

.login-form-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 3.3rem 2.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-form-panel .h4 {
  color: #183254;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.7rem !important;
}

.login-form-panel .text-muted {
  color: #607694 !important;
  font-size: 0.98rem;
  margin-bottom: 2rem !important;
}

.login-form-panel .form-label {
  color: #33506f;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}

.login-form-panel .form-control {
  min-height: 50px;
  border-radius: 12px;
  border: 1px solid #cfdcf0;
  background: #f6f9ff;
  color: #183254;
  box-shadow: none;
}

.login-form-panel .form-control:focus {
  border-color: #7ba7e5;
  box-shadow: 0 0 0 0.22rem rgba(58, 110, 196, 0.14);
}

.login-form-panel .btn-primary {
  min-height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1f64b6 0%, #2c76cf 100%);
  border: 1px solid rgba(31, 100, 182, 0.28);
  box-shadow: 0 14px 24px rgba(31, 100, 182, 0.18);
}

.login-form-panel .btn-primary:hover,
.login-form-panel .btn-primary:focus {
  background: linear-gradient(135deg, #1b5ba4 0%, #276abd 100%);
}

.mahan-login-footnote {
  color: #6c7f97;
  font-size: 0.9rem;
  margin-top: 1.2rem !important;
}

@media (max-width: 991.98px) {
  .brand-logo {
    height: 38px !important;
    max-width: 138px !important;
  }

  .login-wrap {
    max-width: 100%;
    margin-top: 0;
  }

  .login-showcase,
  .login-form-panel {
    padding: 2rem 1.5rem;
  }

  .login-brand-logo,
  .login-brand-logo-wide {
    max-width: 300px;
    max-height: 110px;
  }

  .login-showcase-title {
    font-size: 2rem;
    max-width: none;
  }
}


/* MAHAN wide brand refinements */
.brand-logo {
  height: 34px !important;
  max-width: 220px !important;
}

.login-brand-logo,
.login-brand-logo-wide {
  max-width: 420px !important;
  max-height: 112px !important;
}

.mahan-dashboard-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0 0.75rem;
}

.mahan-dashboard-brand img {
  display: block;
  width: min(100%, 460px);
  max-height: 138px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(17, 46, 82, 0.12));
}

@media (max-width: 991.98px) {
  .brand-logo {
    height: 30px !important;
    max-width: 180px !important;
  }

  .login-brand-logo,
  .login-brand-logo-wide {
    max-width: 320px !important;
    max-height: 96px !important;
  }

  .mahan-dashboard-brand img {
    width: min(100%, 360px);
    max-height: 110px;
  }
}

/* MAHAN header professional polish */
.navbar.app-navbar {
  min-height: 92px !important;
  padding: 0.85rem 0 !important;
  background: linear-gradient(180deg, #2d72bd 0%, #2264ad 100%) !important;
  border-bottom: 1px solid rgba(14, 55, 105, 0.24) !important;
  box-shadow: 0 12px 28px rgba(18, 74, 142, 0.18) !important;
}

.navbar.app-navbar .container-fluid {
  align-items: center !important;
  gap: 1rem !important;
}

.navbar.app-navbar .navbar-brand {
  margin-right: 1.8rem !important;
  padding: 0 !important;
}

.navbar.app-navbar .brand-badge {
  width: 230px !important;
  min-height: 58px !important;
  padding: 0.55rem 1.15rem !important;
  background: #ffffff !important;
  border: 1px solid rgba(17, 55, 92, 0.08) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 24px rgba(13, 48, 91, 0.16) !important;
}

.navbar.app-navbar .brand-logo {
  display: block !important;
  width: 100% !important;
  height: 38px !important;
  max-width: 190px !important;
  object-fit: contain !important;
}

.navbar.app-navbar .navbar-nav {
  align-items: center !important;
  gap: 0.15rem !important;
}

.navbar.app-navbar .nav-link {
  padding: 0.62rem 0.58rem !important;
  border-radius: 7px !important;
  font-size: 0.76rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.96) !important;
}

.navbar.app-navbar .nav-link:hover,
.navbar.app-navbar .nav-link:focus,
.navbar.app-navbar .nav-link.active {
  background: rgba(255, 255, 255, 0.14) !important;
}

.navbar.app-navbar .app-navbar-user {
  align-items: center !important;
  gap: 0.85rem !important;
}

.navbar.app-navbar .app-navbar-greeting {
  font-size: 0.76rem !important;
  font-weight: 700 !important;
}

.navbar.app-navbar .app-navbar-actions {
  gap: 0.55rem !important;
}

.navbar.app-navbar .app-navbar-actions .btn {
  min-height: 34px !important;
  padding: 0.45rem 0.82rem !important;
  border-radius: 8px !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

@media (max-width: 1199.98px) {
  .navbar.app-navbar .brand-badge {
    width: 205px !important;
  }

  .navbar.app-navbar .nav-link {
    padding-inline: 0.42rem !important;
    font-size: 0.7rem !important;
  }
}

@media (max-width: 991.98px) {
  .navbar.app-navbar {
    min-height: 0 !important;
    padding: 0.75rem 0 !important;
  }

  .navbar.app-navbar .container-fluid {
    align-items: center !important;
  }

  .navbar.app-navbar .brand-badge {
    width: 190px !important;
    min-height: 52px !important;
    padding: 0.45rem 0.9rem !important;
  }

  .navbar.app-navbar .brand-logo {
    height: 32px !important;
    max-width: 160px !important;
  }

  .navbar.app-navbar .navbar-collapse {
    padding-top: 0.85rem !important;
  }

  .navbar.app-navbar .navbar-nav {
    align-items: stretch !important;
  }

  .navbar.app-navbar .nav-link {
    padding: 0.72rem 0.85rem !important;
    font-size: 0.78rem !important;
  }
}

/* Light data-entry panels: providers, customers and inventory forms */
body .app-shell .row.g-4 > .col-lg-4 > .card,
body .app-shell .row.g-4 > .col-lg-4 > .card.shadow-sm,
body .app-shell .row.g-4 > .col-lg-4 > .card > .card-body {
  background: #ffffff !important;
  background-image: none !important;
  color: #17283d !important;
  border-color: #d1deed !important;
}

body .app-shell .row.g-4 > .col-lg-4 > .card {
  border-radius: 8px !important;
  box-shadow: 0 10px 24px rgba(18, 57, 98, 0.08) !important;
}

body .app-shell .row.g-4 > .col-lg-4 > .card h2,
body .app-shell .row.g-4 > .col-lg-4 > .card .h5,
body .app-shell .row.g-4 > .col-lg-4 > .card .h6 {
  color: #17283d !important;
}

body .app-shell .row.g-4 > .col-lg-4 > .card .form-label {
  color: #29445d !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

body .app-shell .row.g-4 > .col-lg-4 > .card .form-control,
body .app-shell .row.g-4 > .col-lg-4 > .card .form-select,
body .app-shell .row.g-4 > .col-lg-4 > .card input,
body .app-shell .row.g-4 > .col-lg-4 > .card select,
body .app-shell .row.g-4 > .col-lg-4 > .card textarea {
  background: #ffffff !important;
  background-image: none !important;
  color: #263b52 !important;
  border: 1px solid #cbddeb !important;
  border-radius: 7px !important;
  box-shadow: none !important;
}

body .app-shell .row.g-4 > .col-lg-4 > .card .form-control::placeholder,
body .app-shell .row.g-4 > .col-lg-4 > .card textarea::placeholder {
  color: #8ba0b3 !important;
  opacity: 1 !important;
}

/* Light data-entry panel for new sale */
body .app-shell .light-sales-entry-panel,
body .app-shell .light-sales-entry-panel.card,
body .app-shell .light-sales-entry-panel > .card-body,
body .app-shell .light-sales-entry-panel form {
  background: #ffffff !important;
  background-image: none !important;
  color: #17283d !important;
}

body .app-shell .light-sales-entry-panel {
  border: 1px solid #d1deed !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 24px rgba(18, 57, 98, 0.08) !important;
}

body .app-shell .light-sales-entry-panel h2,
body .app-shell .light-sales-entry-panel .h4,
body .app-shell .light-sales-entry-panel .sales-section-title,
body .app-shell .light-sales-entry-panel .sales-summary-title {
  color: #17283d !important;
}

body .app-shell .light-sales-entry-panel .form-label {
  color: #29445d !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

body .app-shell .light-sales-entry-panel .form-control,
body .app-shell .light-sales-entry-panel .form-select,
body .app-shell .light-sales-entry-panel input,
body .app-shell .light-sales-entry-panel select,
body .app-shell .light-sales-entry-panel textarea {
  background: #ffffff !important;
  background-image: none !important;
  color: #263b52 !important;
  border: 1px solid #cbddeb !important;
  border-radius: 7px !important;
  box-shadow: none !important;
}

body .app-shell .light-sales-entry-panel .sales-quick-client,
body .app-shell .light-sales-entry-panel .sales-items-wrap,
body .app-shell .light-sales-entry-panel .sales-summary-card,
body .app-shell .light-sales-entry-panel #empty-sales-items {
  background: #ffffff !important;
  background-image: none !important;
  color: #17283d !important;
  border-color: #d7e5f2 !important;
}

body .app-shell .light-sales-entry-panel .text-muted,
body .app-shell .light-sales-entry-panel .form-text {
  color: #6d8298 !important;
}

/* Keep sales header metrics readable on the white header area */
body .app-shell .sales-hero .sales-metric-card,
body .app-shell .sales-hero .sales-metric-card span,
body .app-shell .sales-hero .sales-metric-card strong,
body .app-shell .sales-hero .sales-metric-label {
  color: #17283d !important;
}

/* Professional white sales header */
body .app-shell .sales-hero {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid #d7e5f2 !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 26px rgba(18, 57, 98, 0.07) !important;
}

body .app-shell .sales-hero .card-body {
  padding: 1rem 1.15rem !important;
}

body .app-shell .sales-hero .sales-kicker {
  color: #2b6fc1 !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 0.25rem !important;
}

body .app-shell .sales-hero .sales-title {
  color: #17283d !important;
  font-size: 1.35rem !important;
  line-height: 1.15 !important;
}

body .app-shell .sales-hero .sales-subtitle {
  color: #6d8298 !important;
  margin-top: 0.25rem !important;
  max-width: 48rem !important;
  font-size: 0.86rem !important;
}

body .app-shell .sales-hero .sales-hero-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
}

body .app-shell .sales-hero .sales-metric-card {
  min-height: 62px !important;
  padding: 0.75rem 0.9rem !important;
  border-radius: 9px !important;
  background: #f9fcff !important;
  border: 1px solid #dce8f5 !important;
  box-shadow: none !important;
}

body .app-shell .sales-hero .sales-metric-label {
  color: #5d738a !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.06em !important;
}

body .app-shell .sales-hero .sales-metric-card strong {
  color: #17283d !important;
  font-size: 0.95rem !important;
  line-height: 1.2 !important;
}

@media (max-width: 991.98px) {
  body .app-shell .sales-hero .sales-hero-metrics {
    grid-template-columns: 1fr !important;
  }
}

/* Light sales navigation tabs */
body .app-shell .sales-top-tabs .nav-link {
  color: #1f4f86 !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid #d5e3f1 !important;
  box-shadow: 0 6px 14px rgba(18, 57, 98, 0.06) !important;
}

body .app-shell .sales-top-tabs .nav-link:hover,
body .app-shell .sales-top-tabs .nav-link:focus {
  color: #143d68 !important;
  background: #f5faff !important;
  border-color: #bcd5ed !important;
}

body .app-shell .sales-top-tabs .nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #1f67b6 0%, #2e7fd4 100%) !important;
  border-color: #1f67b6 !important;
  box-shadow: 0 10px 18px rgba(31, 103, 182, 0.18) !important;
}
