/* ========================================
   GLOBAL
======================================== */

body {
  margin: 0;

  background: #f5f7fb;

  color: #1f2937;

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

/* ========================================
   NAVBAR
======================================== */

.app-navbar {
  height: 64px;

  background: #111827;

  padding: 0 20px;
}

.user-avatar {
  width: 36px;

  height: 36px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: #2563eb;

  color: #fff;

  font-weight: 600;
}

/* ========================================
   LAYOUT
======================================== */

.app-layout {
  display: flex;

  min-height: calc(100vh - 64px);
}

/* ========================================
   SIDEBAR
======================================== */

.sidebar {
  width: 240px;

  flex-shrink: 0;

  background: #fff;

  border-right: 1px solid #e5e7eb;

  padding: 25px 15px;
}

.sidebar-title {
  font-size: 11px;

  font-weight: 700;

  color: #9ca3af;

  margin: 5px 12px 10px;

  letter-spacing: 0.08em;
}

.sidebar-link {
  display: flex;

  align-items: center;

  gap: 12px;

  padding: 11px 13px;

  margin-bottom: 5px;

  color: #4b5563;

  text-decoration: none;

  border-radius: 8px;

  font-size: 14px;
}

.sidebar-link:hover {
  background: #f3f4f6;

  color: #111827;
}

.sidebar-link.active {
  background: #eff6ff;

  color: #2563eb;

  font-weight: 600;
}

/* ========================================
   MAIN
======================================== */

.main-content {
  flex: 1;

  min-width: 0;

  padding: 30px;
}

.dashboard-header {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 25px;
}

.dashboard-header h1 {
  margin: 0;

  font-size: 28px;

  font-weight: 700;
}

.dashboard-header p {
  margin: 5px 0 0;

  color: #6b7280;
}

/* ========================================
   STAT CARD
======================================== */

.stat-card {
  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 12px;

  padding: 20px;

  display: flex;

  align-items: center;

  gap: 16px;
}

.stat-icon {
  width: 50px;

  height: 50px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 10px;

  font-size: 22px;
}

.stat-label {
  color: #6b7280;

  font-size: 13px;

  margin-bottom: 4px;
}

.stat-value {
  font-size: 25px;

  font-weight: 700;
}

.stat-value.money {
  font-size: 20px;
}

/* ========================================
   CARD
======================================== */

.dashboard-card {
  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 12px;

  overflow: hidden;
}

.card-header-custom {
  padding: 20px;

  border-bottom: 1px solid #e5e7eb;
}

.card-header-custom h5 {
  margin: 0;

  font-weight: 650;
}

.card-header-custom span {
  color: #6b7280;

  font-size: 13px;
}

/* ========================================
   FINANCIAL
======================================== */

.financial-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  padding: 25px;
}

.financial-grid > div {
  padding: 5px 25px;

  border-right: 1px solid #e5e7eb;
}

.financial-grid > div:last-child {
  border-right: none;
}

.financial-grid span {
  display: block;

  color: #6b7280;

  font-size: 13px;

  margin-bottom: 8px;
}

.financial-grid strong {
  font-size: 20px;
}

/* ========================================
   SERVICE SUMMARY
======================================== */

.service-summary {
  padding: 10px 20px;
}

.service-summary > div {
  display: flex;

  justify-content: space-between;

  padding: 12px 0;

  border-bottom: 1px solid #f1f1f1;

  font-size: 14px;
}

.service-summary strong {
  font-weight: 600;
}

/* ========================================
   CUSTOMER HEADER
======================================== */

.customer-list-header {
  padding: 20px;

  border-bottom: 1px solid #e5e7eb;
}

.customer-list-header h5 {
  margin: 0;

  font-weight: 650;
}

.customer-list-header span {
  color: #6b7280;

  font-size: 13px;
}

/* ========================================
   FILTER
======================================== */

.filter-box {
  padding: 20px;

  background: #f9fafb;

  border-bottom: 1px solid #e5e7eb;
}

/* ========================================
   TABLE
======================================== */

.customer-table {
  margin: 0;
}

.customer-table th {
  background: #f9fafb;

  color: #6b7280;

  font-size: 12px;

  text-transform: uppercase;

  font-weight: 600;

  white-space: nowrap;
}

.customer-table td {
  padding: 16px 12px;

  vertical-align: middle;
}

.customer-name {
  font-weight: 600;

  color: #111827;
}

.customer-contact {
  font-size: 12px;

  color: #6b7280;

  margin-top: 3px;
}

.work-name {
  max-width: 220px;

  font-size: 13px;

  line-height: 1.5;
}

.money-total {
  font-weight: 600;
}

.money-debt {
  color: #dc2626;

  font-size: 12px;

  margin-top: 3px;
}

/* ========================================
   BADGES
======================================== */

.service-badge {
  display: inline-block;

  padding: 5px 9px;

  border-radius: 6px;

  background: #f3f4f6;

  color: #374151;

  font-size: 12px;

  white-space: nowrap;
}

.status-badge {
  display: inline-block;

  padding: 5px 9px;

  border-radius: 20px;

  font-size: 11px;

  font-weight: 600;

  white-space: nowrap;
}

.status-success {
  background: #dcfce7;

  color: #15803d;
}

.status-warning {
  background: #fef3c7;

  color: #b45309;
}

.status-danger {
  background: #fee2e2;

  color: #b91c1c;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 992px) {
  .sidebar {
    width: 200px;
  }

  .main-content {
    padding: 20px;
  }

  .financial-grid {
    grid-template-columns: 1fr;
  }

  .financial-grid > div {
    border-right: none;

    border-bottom: 1px solid #e5e7eb;

    padding: 15px 0;
  }

  .financial-grid > div:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .main-content {
    padding: 15px;
  }

  .dashboard-header {
    align-items: flex-start;

    gap: 15px;

    flex-direction: column;
  }
}

/* ========================================
   CUSTOMER MANAGER THEME
======================================== */

:root {
  --ink: #1c302a;
  --muted: #71817a;
  --canvas: #f2f5f1;
  --surface: #ffffff;
  --line: #e2e9e3;
  --forest: #173e35;
  --forest-deep: #102f29;
  --leaf: #c8e875;
  --mint: #e7f3ec;
  --accent: #3f7962;
  --bs-primary: #3f7962;
  --bs-primary-rgb: 63, 121, 98;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--canvas);
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

.app {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  width: 252px;
  height: 100vh;
  padding: 27px 16px;
  overflow-y: auto;
  background: var(--forest);
  border: 0;
  color: #f4f8f2;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 7px 48px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--leaf);
  color: var(--forest-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-copy h4 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-kicker,
.nav-caption {
  color: #a8c0b5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-caption {
  margin: 0 12px 10px;
  color: #88a69a;
}

.sidebar-link {
  min-height: 45px;
  gap: 12px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 7px;
  color: #d1dfd8;
  font-size: 13px;
  font-weight: 500;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sidebar-link.active {
  background: var(--leaf);
  color: var(--forest-deep);
  font-weight: 700;
}

.nav-icon {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  font-size: 17px;
  line-height: 1;
}

.main-content {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 0;
}

.topbar {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.topbar-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

.topbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8dbd55;
  box-shadow: 0 0 0 4px #edf5e5;
}

.topbar-note {
  color: #8b9992;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.content {
  width: 100%;
  max-width: 1740px;
  margin: 0 auto;
  padding: 34px 38px 48px;
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-heading h2,
.content > h2 {
  color: var(--ink);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0;
}

.page-heading p,
.content > .text-muted {
  color: var(--muted) !important;
}

.card {
  border: 1px solid var(--line) !important;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 5px 18px rgba(27, 54, 43, 0.045) !important;
}

.card-body {
  padding: 22px;
}

.metric-card {
  position: relative;
  overflow: hidden;
  min-height: 132px;
}

.metric-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #8dbd55;
  content: "";
}

.metric-card--active::before {
  background: #6b9f8a;
}

.metric-card--complete::before {
  background: #3f7962;
}

.metric-card--debt::before {
  background: #d68762;
}

.metric-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 25px;
}

.metric-card .text-muted,
.finance-grid .text-muted {
  color: var(--muted) !important;
  font-size: 12px;
  font-weight: 600;
}

.metric-card .fs-2,
.metric-card .fs-4,
.finance-grid .fs-4 {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.finance-grid .card-body {
  display: flex;
  min-height: 105px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.customer-list-card > .card-body {
  padding: 24px;
}

.customer-list-card .table-responsive {
  margin: 0 -24px -24px;
}

.customer-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.customer-search-form {
  display: flex;
  width: min(100%, 430px);
  gap: 8px;
}

.payment-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.payment-filter-buttons .btn {
  min-height: 38px;
}

.table {
  --bs-table-bg: transparent;
  --bs-table-hover-bg: #f6f9f5;
  color: var(--ink);
  font-size: 12px;
}

.table thead th {
  padding: 12px 10px;
  border-bottom-color: var(--line);
  background: #f6f8f5;
  color: #4f5652;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.45px;
  white-space: nowrap;
}

.table tbody td {
  padding: 14px 10px;
  border-bottom-color: #edf1ed;
  vertical-align: middle;
}

.table tbody td.work-content-cell {
  padding-top: 8px;
  vertical-align: top;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table-responsive {
  border-radius: 0 0 8px 8px;
}

.btn {
  min-height: 38px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.btn-sm {
  min-height: 31px;
  padding: 5px 10px;
  font-size: 11px;
}

.btn-primary {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--forest);
  --bs-btn-hover-border-color: var(--forest);
  --bs-btn-active-bg: var(--forest-deep);
  --bs-btn-active-border-color: var(--forest-deep);
}

.btn-outline-primary {
  --bs-btn-color: var(--accent);
  --bs-btn-border-color: #b7cfc2;
  --bs-btn-hover-bg: var(--accent);
  --bs-btn-hover-border-color: var(--accent);
}

.customer-form {
  display: grid;
  gap: 20px;
}

.customer-form-card {
  border-radius: 16px !important;
  overflow: hidden;
}

.customer-form-card .card-body {
  padding: 24px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.section-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3f7962, #8dbd55);
  box-shadow: 0 0 0 5px rgba(63, 121, 98, 0.1);
}

.section-mark--alt {
  background: linear-gradient(135deg, #4e8db4, #7dc9d8);
  box-shadow: 0 0 0 5px rgba(78, 141, 180, 0.1);
}

.section-mark--gold {
  background: linear-gradient(135deg, #d89b35, #f3c76d);
  box-shadow: 0 0 0 5px rgba(216, 155, 53, 0.1);
}

.section-head h5 {
  color: var(--ink);
  font-size: 17px;
}

.field-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #2f473f;
  font-size: 12px;
  font-weight: 700;
}

.form-section-title {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-control,
.form-select {
  min-height: 44px;
  border: 1px solid #dfe7e1;
  border-radius: 10px;
  background: #f9fbfa;
  color: var(--ink);
  font-size: 13px;
  box-shadow: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.form-control:hover,
.form-select:hover {
  border-color: #c5d6ca;
}

.form-control:focus,
.form-select:focus {
  border-color: #7ca992;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(63, 121, 98, 0.13);
}

.form-control-textarea {
  min-height: 120px;
  resize: vertical;
}

.debt-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  background: #f3f8f4;
  border-radius: 10px;
  border-color: #dfeae0;
}

.debt-summary > span {
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.badge {
  padding: 6px 9px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
}

.payment-overdue {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 4px 7px;
  border: 1px solid #f0c7c3;
  border-radius: 5px;
  background: #fff0ee;
  color: #a92f27;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.payment-update-button {
  display: flex;
  width: fit-content;
  margin-top: 6px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.text-muted {
  color: var(--muted) !important;
}

@media (max-width: 1000px) {
  .app {
    grid-template-columns: 218px minmax(0, 1fr);
  }

  .sidebar {
    width: 218px;
  }

  .content {
    padding: 26px 22px 38px;
  }

  .topbar {
    padding: 0 22px;
  }
}

@media (max-width: 700px) {
  .app {
    display: block;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 14px 16px 12px;
    overflow: visible;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .sidebar-logo {
    margin: 0 2px 14px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .sidebar-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .nav-caption {
    display: none;
  }

  .sidebar-link {
    min-height: 40px;
    gap: 8px;
    padding: 8px;
    font-size: 12px;
  }

  .nav-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
    font-size: 15px;
  }

  .main-content {
    min-height: calc(100vh - 150px);
  }

  .topbar {
    min-height: 52px;
    padding: 0 18px;
  }

  .topbar-note {
    font-size: 9px;
  }

  .content {
    padding: 23px 14px 32px;
  }

  .page-heading {
    align-items: flex-start;
  }

  .page-heading h2,
  .content > h2 {
    font-size: 22px;
  }

  .page-heading .btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .card-body {
    padding: 17px;
  }

  .customer-list-card > .card-body {
    padding: 17px;
  }

  .customer-list-card .table-responsive {
    margin: 0 -17px -17px;
  }

  .customer-filter-bar,
  .customer-search-form {
    width: 100%;
  }

  .payment-filter-buttons {
    width: 100%;
  }

  .payment-filter-buttons .btn {
    flex: 1 1 auto;
  }

  .metric-card {
    min-height: 112px;
  }
}

@media (max-width: 390px) {
  .topbar-note {
    display: none;
  }

  .page-heading {
    flex-direction: column;
  }
}

/* DASHBOARD FINANCE SUMMARY */

.finance-summary {
  background: transparent;
}

.finance-summary__header {
  margin-bottom: 14px;
}

.finance-summary__header h5 {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.finance-summary__header p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.finance-summary__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.finance-summary__item {
  position: relative;
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
  padding: 20px 24px 20px 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(27, 54, 43, 0.06);
}

.finance-summary__item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.finance-summary__item strong {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.finance-summary__item::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #6b9f8a;
  content: "";
}

.finance-summary__item--total::before {
  background: #8dbd55;
}

.finance-summary__item--paid::before {
  background: #3f7962;
}

.finance-summary__item--debt strong {
  color: #c56f4d;
}

.finance-summary__item--debt::before {
  background: #d68762;
}

@media (max-width: 992px) {
  .finance-summary__items {
    grid-template-columns: 1fr;
  }

  .finance-summary__item {
    min-height: auto;
  }
}

/* CUSTOMER DETAIL */

.customer-detail-page {
  padding-top: 4px;
}

.customer-detail-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.customer-detail-title h2 {
  margin-bottom: 6px !important;
  font-size: 26px;
}

.customer-detail-title p {
  color: var(--muted) !important;
  font-size: 14px;
}

.customer-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-detail-actions .btn {
  min-width: 104px;
}

.detail-card {
  height: 100%;
  overflow: hidden;
  border-radius: 12px !important;
  box-shadow: 0 6px 20px rgba(27, 54, 43, 0.055) !important;
}

.detail-card .card-body {
  padding: 24px;
}

.detail-card h5 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
}

.detail-card h5::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(63, 121, 98, 0.12);
  content: "";
}

.detail-card--work h5::before {
  background: #4e8db4;
  box-shadow: 0 0 0 5px rgba(78, 141, 180, 0.12);
}

.detail-card--time h5::before {
  background: #d89b35;
  box-shadow: 0 0 0 5px rgba(216, 155, 53, 0.12);
}

.detail-card--finance h5::before {
  background: #c56f4d;
  box-shadow: 0 0 0 5px rgba(197, 111, 77, 0.12);
}

.detail-card--status h5::before {
  background: #8dbd55;
  box-shadow: 0 0 0 5px rgba(141, 189, 85, 0.12);
}

.detail-card--customer .card-body > .mb-3,
.detail-card--work .card-body > .mb-3,
.detail-card--work .card-body > div.mb-4,
.detail-card--time .card-body > .mb-3,
.detail-card--time .card-body > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.4fr) 1fr;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 13px;
  border-bottom: 1px solid #eef2ef;
}

.detail-card--customer .card-body > div:last-child,
.detail-card--time .card-body > div:last-child {
  border-bottom: 0;
}

.detail-card .text-muted.small {
  color: var(--muted) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.detail-card--work .card-body > div:last-child {
  margin-top: 4px;
}

.detail-card--work .bg-light {
  border: 1px solid #e2ebe4;
  background: #f6f9f6 !important;
  color: #334d42;
  font-size: 13px;
  line-height: 1.65;
}

.work-content-box {
  white-space: normal;
  overflow-wrap: anywhere;
}

.detail-card--finance .card-body > .mb-3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2ef;
}

.detail-card--finance .card-body > .mb-3 .fs-5,
.detail-card--finance .card-body > div:last-child .fs-5 {
  margin: 0;
  color: var(--ink);
  font-size: 18px !important;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.detail-card--finance .card-body > div:last-child {
  padding-top: 14px;
}

.detail-card--finance .card-body > div:last-child > .fs-5 {
  color: #c56f4d;
}

.detail-card--status .card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-card--status .card-body > div {
  width: 100%;
}

.detail-card--status .badge {
  padding: 7px 11px;
}

@media (max-width: 700px) {
  .customer-detail-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .customer-detail-actions {
    width: 100%;
  }

  .customer-detail-actions .btn {
    flex: 1;
  }

  .detail-card .card-body {
    padding: 19px;
  }

  .detail-card--customer .card-body > .mb-3,
  .detail-card--work .card-body > .mb-3,
  .detail-card--work .card-body > div.mb-4,
  .detail-card--time .card-body > .mb-3,
  .detail-card--time .card-body > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .detail-card--finance .card-body > .mb-3 {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
