/* ══════════════════════════════════════════════════════
   ASCENT CRM — UI matching Alumni reference
   ══════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #2d3748;
  background: #f4f6f9;
  padding: 0;
  margin: 0;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  padding: 0;
  margin: 0;
}
li {
  list-style: none;
}
img {
  border: 0;
  max-width: 100%;
}

a {
  outline: none;
  text-decoration: none;
  color: #2563eb;
  transition: color 0.15s;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #1d4ed8;
}

/* ── Icomoon Font (kept for existing icon references) ── */
@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot?a6am4r");
  src:
    url("../fonts/icomoon.eot?a6am4r#iefix") format("embedded-opentype"),
    url("../fonts/icomoon.ttf?a6am4r") format("truetype"),
    url("../fonts/icomoon.woff?a6am4r") format("woff"),
    url("../fonts/icomoon.svg?a6am4r#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
[class^="icon-"],
[class*=" icon-"] {
  font-family: "icomoon" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-download:before {
  content: "\e905";
  color: #374151;
}
.icon-ic_client_details_black:before {
  content: "\e900";
}
.icon-ic_dashboard_black:before {
  content: "\e901";
}
.icon-ic_inbound_products_black:before {
  content: "\e902";
}
.icon-ic_outbound_products_black:before {
  content: "\e903";
}
.icon-ic_product_details_black:before {
  content: "\e904";
}

/* ── Navbar ───────────────────────────────────────── */
.navbar,
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid #e8ecf0;
}
.navbar-brand {
  display: flex;
  align-items: center;
  line-height: 0;
}
.brand-logo {
  display: block;
  height: 48px;
  width: auto;
}
.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-logout {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
  padding: 5px 16px;
  border-radius: 5px;
  font-size: 13px;
  font-family: "Segoe UI", Arial, sans-serif;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn-logout:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}

/* ── App Shell ────────────────────────────────────── */
.app-shell {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  padding-top: 64px;
}
.layout {
  display: flex;
  flex: 1;
  min-height: calc(100vh - 64px - 78px);
}

/* main content area */
.main-content {
  flex: 1;
  padding: 24px;
  min-width: 0;
}

/* legacy wrappers — padding now comes from .main-content */
.onboard {
  min-height: 100%;
}
.detail-side-bar {
  padding: 0;
}

/* ── Sidebar ──────────────────────────────────────── */
.sidebar {
  width: 200px;
  background: #fff;
  border-right: 1px solid #e8ecf0;
  flex-shrink: 0;
  padding-top: 16px;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: #555;
  font-size: 14px;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.15s;
}
.sidebar-link:hover {
  background: #f0f4ff;
  color: #2563eb;
}
.sidebar-link.active {
  background: #eff4ff;
  color: #2563eb;
  border-left-color: #2563eb;
  font-weight: 500;
}
.sidebar-icon {
  width: 16px;
  text-align: center;
  font-size: 15px;
}

/* ── Footer ───────────────────────────────────────── */
.site-footer {
  width: 100%;
  min-height: 78px;
  background: #fff;
  border-top: 1px solid #dfe4ea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}
.site-footer__version {
  font-size: 14px;
  font-weight: 500;
  color: #5b6573;
}
.site-footer__brand {
  display: block;
  width: auto;
  height: 42px;
  max-width: 100%;
}

/* ── Alerts ───────────────────────────────────────── */
.alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 13px;
  border: 1px solid transparent;
}
.alert-success {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}
.alert-danger,
.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

/* ── Page Header ──────────────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.page-header h1 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1f36;
  margin: 0;
}

/* legacy cl-head kept for detail page */
.cl-head {
  padding: 0 0 20px 0;
}
.cl-head h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1f36;
  border-bottom: 1px solid #e8ecf0;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  font-family: "Segoe UI", Arial, sans-serif !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  cursor: pointer;
  border: none;
  text-decoration: none !important;
  transition:
    opacity 0.15s,
    background 0.15s;
  vertical-align: middle;
  white-space: nowrap;
}
.btn:hover {
  opacity: 0.88;
  text-decoration: none !important;
}

.btn-primary {
  background: #2563eb !important;
  color: #fff !important;
}
.btn-primary:hover {
  background: #2563eb !important;
  color: #fff !important;
  opacity: 0.88;
}

.btn-secondary {
  background: #f1f3f6 !important;
  color: #374151 !important;
  border: 1px solid #d1d5db !important;
}
.btn-secondary:hover {
  background: #e5e7eb !important;
  opacity: 1;
  color: #374151 !important;
}

.btn-sm,
.btn-small {
  padding: 5px 12px !important;
  font-size: 12px !important;
}

.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  font-size: 13px;
}
.btn-icon:hover {
  background: #f0f4ff;
  color: #2563eb;
  border-color: #c7d7fd;
}

/* legacy common-btn → maps to primary style */
.common-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: #2563eb;
  color: #fff !important;
  border: none;
  text-decoration: none;
  transition: opacity 0.15s;
  font-family: "Segoe UI", Arial, sans-serif;
  min-width: auto;
}
.common-btn:hover {
  opacity: 0.88;
  background: #2563eb;
  color: #fff !important;
  border: none;
  padding: 8px 18px;
}

/* Add Enquiry / action buttons */
a.common-border-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: #2563eb;
  color: #fff;
  border: none;
  text-decoration: none;
  transition: opacity 0.15s;
  min-width: auto;
}
a.common-border-btn:hover {
  opacity: 0.88;
  background: #2563eb;
  color: #fff;
}
a.common-border-btn:hover .plus-icon {
  background-image: url(../images/icon-plus-w.png);
}

/* ── Plus icon ────────────────────────────────────── */
.plus-icon {
  background: url(../images/icon-plus-w.png) no-repeat center;
  width: 16px;
  height: 16px;
  background-size: contain;
  display: inline-block;
  flex-shrink: 0;
}

/* ── Card ─────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8ecf0;
  /* reset Bootstrap card styles */
  box-shadow: none;
}
.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f2f5;
  background: #fff;
  flex-wrap: wrap;
  gap: 10px;
  position: sticky;
  top: 64px;
  z-index: 10;
}
.card-body {
  padding: 0;
}
.card-title {
  font-size: 15px;
  font-weight: 600;
  color: #2563eb;
  margin: 0;
  padding-top: 2px;
}

/* ── Table wrap ───────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
}

/* ── Leads table — matches reference exactly ──────── */
table.leads-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
table.leads-table thead tr {
  background: #f8fafc;
}
table.leads-table thead th {
  padding: 10px 16px;
  text-align: left !important;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  border-bottom: 1px solid #e8ecf0;
  border-top: none;
  border-left: none;
  border-right: none;
  background: #f8fafc;
  text-transform: none;
  white-space: normal;
}
table.leads-table tbody td {
  padding: 11px 16px;
  font-size: 13px;
  color: #374151;
  border-bottom: 1px solid #f0f2f5;
  border-top: none;
  border-left: none;
  border-right: none;
  vertical-align: middle;
  text-align: left !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
/* ID column — auto-sized to widest badge */
table.leads-table thead th:first-child,
table.leads-table tbody td:first-child {
  text-align: left !important;
  width: 1px;
  white-space: nowrap;
}
/* Action column — centred */
table.leads-table thead th:last-child,
table.leads-table tbody td:last-child {
  text-align: center !important;
}
table.leads-table tbody tr:hover {
  background: #fafbff;
}
table.leads-table tbody tr:last-child td {
  border-bottom: none;
}

/* DataTables overrides for leads-table */
table.leads-table.dataTable {
  border-collapse: collapse !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100% !important;
  max-width: 100%;
  table-layout: auto;
}
table.leads-table.dataTable thead th,
table.leads-table.dataTable tbody td {
  box-sizing: border-box;
}
/* kill DataTables default borders/stripes */
table.leads-table.dataTable.no-footer {
  border-bottom: none;
}
table.leads-table tbody tr.odd,
table.leads-table tbody tr.even {
  background: transparent;
}
table.leads-table tbody tr.odd:hover,
table.leads-table tbody tr.even:hover {
  background: #fafbff;
}

/* stacked client + contact */
.client-name {
  display: block;
  font-size: 13px;
  color: #374151;
  font-weight: 500;
}
.client-contact {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

/* actions-cell inside leads-table */
table.leads-table .actions-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ── Search wrap (inside card-header) ────────────── */
.search-wrap {
  position: relative;
}
.search-wrap input {
  padding: 7px 12px 7px 34px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 13px;
  background: #fafbff;
  width: 220px;
  color: #374151;
  outline: none;
  transition: border 0.15s;
  box-shadow: none;
}
.search-wrap input:focus {
  border-color: #93c5fd;
  background: #fff;
}
.search-wrap .search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 13px;
  pointer-events: none;
}

/* ── Filter bar (inside card-header) ─────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-bar select,
.filter-bar input[type="text"] {
  height: 34px;
  padding: 4px 10px;
  font-size: 13px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fafbff;
  color: #374151;
  box-shadow: none;
}
.filter-bar select:focus,
.filter-bar input[type="text"]:focus {
  border-color: #93c5fd;
  background: #fff;
  box-shadow: none !important;
}
.filter-bar .btn {
  height: 34px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ── Form Card ────────────────────────────────────── */
.form-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8ecf0;
  padding: 28px;
  max-width: 640px;
}
.form-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1f36;
  margin-bottom: 24px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}
.req {
  color: #ef4444;
  margin-left: 2px;
}
.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.invalid-feedback {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  display: block;
}
.form-control.is-invalid {
  border-color: #f87171;
}

/* ── Actions cell (table) ─────────────────────────── */
.actions-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ── Filter toolbar (legacy) ──────────────────────── */
.cl-sel-sec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

/* ── Form Controls ────────────────────────────────── */
input,
textarea {
  outline: none;
  font-family: "Segoe UI", Arial, sans-serif;
}

input,
.form-control {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: none;
}
input:focus,
.form-control:focus {
  background: #fff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
  color: #374151;
  outline: none;
}

::placeholder {
  color: #9ca3af;
}
::-webkit-input-placeholder {
  color: #9ca3af;
}
::-moz-placeholder {
  color: #9ca3af;
}

select.form-control {
  height: auto !important;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  color: #374151;
  padding: 8px 12px;
  cursor: pointer;
  background: #fff;
  margin-right: 0;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label,
label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

/* Select2 overrides */
.select2-container--default .select2-selection--single {
  background: #fff;
  height: 38px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: none;
}
.select2-container--default.select2-container--focus
  .select2-selection--single {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  padding-top: 6px;
  color: #374151;
  font-size: 13px;
  line-height: 24px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 7px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__placeholder {
  color: #9ca3af;
}
/* Smaller select2 for filter bar */
.filter-bar .select2-container--default .select2-selection--single {
  height: 34px;
  border: 1px solid #e2e8f0;
  background: #fafbff;
}
.filter-bar
  .select2-container
  .select2-selection--single
  .select2-selection__rendered {
  padding-top: 4px;
  line-height: 22px;
}
.filter-bar
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 5px;
}

/* ── Table ────────────────────────────────────────── */
.client-table,
.table-responsive {
  overflow-x: auto;
}

.customers {
  border-collapse: collapse;
  background: #fff;
  width: 100%;
  border: 1px solid #e8ecf0;
}
.customers td,
.customers th {
  border: none;
  border-bottom: 1px solid #f0f2f5;
  padding: 11px 16px;
  text-align: center !important;
}
.customers td {
  font-size: 13px;
  color: #374151;
  vertical-align: middle;
}
.customers th {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  padding: 10px 16px;
  background: #f8fafc;
  text-transform: none;
  border-bottom: 1px solid #e8ecf0;
  white-space: nowrap;
}
.customers tbody tr:hover {
  background: #fafbff;
}
.customers tbody tr:last-child td {
  border-bottom: none;
}

/* left-align columns */
.customers td.text-start,
.customers th.text-start {
  text-align: left !important;
}

/* action column */
.customers td.action-col,
.customers th.action-col {
  white-space: nowrap;
  min-width: 150px;
}

table tbody td,
table.dataTable tbody td {
  vertical-align: middle;
  text-align: center;
}

table.dataTable tbody td a:hover {
  color: #2563eb;
}

.dataTables_length,
.dataTables_filter {
  display: none;
}

.table.dataTable {
  border-collapse: collapse;
}

/* ── DataTables wrapper layout ─────────────────────── */
.dataTables_wrapper {
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}
.dataTables_wrapper .dataTables_processing {
  font-size: 13px;
  color: #6b7280;
}

/* ── Pagination ────────────────────────────────────── */
.dataTables_wrapper .dataTables_paginate {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 20px;
  gap: 4px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 13px;
  border: 1px solid #e2e8f0 !important;
  color: #374151 !important;
  background: #fff !important;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  box-shadow: none !important;
  float: none;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #f0f4ff !important;
  color: #2563eb !important;
  border-color: #c7d7fd !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #2563eb !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
  color: #9ca3af !important;
  background: #fff !important;
  border-color: #e2e8f0 !important;
  cursor: default;
  opacity: 0.5;
}
/* row count info */
.dataTables_wrapper .dataTables_info {
  display: flex;
  align-items: center;
  padding: 0 20px 14px 20px;
  font-size: 12px;
  color: #6b7280;
}
/* bottom bar: info left, paginate right */
.dataTables_wrapper .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f2f5;
}
.dataTables_wrapper .dataTables_paginate {
  border-top: none;
  padding: 10px 20px;
}

td.long-text {
  white-space: normal !important;
  word-wrap: break-word;
  max-width: 200px;
}

/* DataTables responsive expand */
li[data-dtr-index] {
  display: grid;
  grid-template-columns: minmax(0, 100px) 1fr;
  gap: 8px;
  align-items: start;
}
.dtr-title,
.dtr-data {
  white-space: normal;
  word-break: break-word;
}
table.dataTable > tbody > tr.child ul.dtr-details > li {
  text-align: left !important;
}

/* ID/Date column — shrink to content width */
table.leads-table th:nth-child(2),
table.leads-table td:nth-child(2) {
  width: 1%;
  white-space: nowrap;
}

/* stacked id + status badge + date */
.lead-id {
  display: block;
  font-size: 13px;
  color: #374151;
  font-weight: 500;
}
.lead-date {
  display: block;
  font-size: 11px;
  color: #6b7280;
  margin-top: 3px;
}
table.leads-table td:first-child .status-badge {
  margin-top: 4px;
}

/* ── Status Badge ──────────────────────────────────── */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

/* ── Action link icons ─────────────────────────────── */
.link {
  display: inline-block;
  text-decoration: none;
}
.link img {
  width: 30px;
  height: 30px;
  transition: opacity 0.2s;
}
.link-edit:hover img {
  content: url(../icons/ascent-edit-hover-icon.png);
}
.link-details:hover img {
  content: url(../icons/ascent-details-hover-icon.png);
}
.link-clone:hover img {
  content: url(../icons/ascent-crm-clone-hover.png);
}
.link-status:hover img {
  content: url(../icons/ascent-crm-status-hover.png);
}

/* ── Detail Card ───────────────────────────────────── */
.detail-card {
  background: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e8ecf0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Interaction card ──────────────────────────────── */
.interaction-card .label {
  min-width: 100px;
}
#interaction-modal .form-control:required {
  border-color: #3b82f6;
}

/* ── Modal ─────────────────────────────────────────── */
.fixed-height-modal {
  height: 300px;
  overflow: hidden;
}

/* ── Login Page ────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6f9;
}
.login-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e8ecf0;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}
.login-logo {
  display: flex;
  justify-content: center;
  line-height: 0;
  margin-bottom: 20px;
}
.login-logo-image {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
}
.login-title {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 20px;
}

/* ── Sidebar icon backgrounds (legacy icomoon images) ─ */
.icon-ic_product_details_black {
  background: url(../images/yoshiflo-product-details-b.png) no-repeat center;
  background-size: contain;
}

/* ── Barcode / key-copy icons ──────────────────────── */
.barcode-img {
  background: url(../images/barcode.webp) no-repeat center;
  width: 20px;
  height: 20px;
  background-size: contain;
  display: inline-block;
}
.key-copy {
  background: url(../images/copy.webp) no-repeat center;
  width: 20px;
  height: 20px;
  background-size: contain;
  display: inline-block;
}

/* ── Select2 responsive ────────────────────────────── */
.responsive-select2--small {
  width: 100%;
}
@media (min-width: 600px) {
  .responsive-select2--small {
    width: 100px !important;
  }
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar,
  header {
    height: 56px;
    padding: 0 16px;
  }
  .brand-logo {
    height: 30px;
  }
  .app-shell {
    min-height: calc(100vh - 56px);
    padding-top: 56px;
  }
  .layout {
    min-height: calc(100vh - 56px - 96px);
  }
  .sidebar {
    width: 56px;
    top: 56px;
    height: calc(100vh - 56px);
  }
  .sidebar-link span {
    display: none;
  }
  .sidebar-link {
    justify-content: center;
    padding: 12px;
  }
  .sidebar-icon {
    margin: 0;
  }
  .main-content {
    padding: 16px;
  }
  .card-header {
    top: 56px;
  }
  .site-footer {
    min-height: 96px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .site-footer__brand {
    height: 34px;
    align-self: flex-end;
  }
}
