/* ─── Design tokens ──────────────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --p-dark:      #1a3a7a;
  --p-navy:      #2a5cbf;
  --p-navy-2:    #3268d0;
  --p-blue:      #2a5cbf;
  --p-gold:      #f5c842;
  --p-gold-2:    #f7d46a;
  --p-gold-dim:  rgba(245,200,66,.18);
  --p-gold-glow: rgba(245,200,66,.30);

  /* Surfaces */
  --p-bg:       #f2f5fa;
  --p-surface:  #ffffff;
  --p-border:   #e4e9f2;
  --p-border-2: #ced4e0;

  /* Text */
  --p-t1: #0f172a;
  --p-t2: #475569;
  --p-t3: #94a3b8;

  /* Layout */
  --p-sidebar: 264px;
  --p-topbar:  62px;
  --p-radius:  14px;
  --p-radius-sm: 9px;
  --p-radius-xs: 6px;

  /* Shadows */
  --p-shadow:    0 1px 3px rgba(15,23,42,.04), 0 6px 22px rgba(15,23,42,.06);
  --p-shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --p-shadow-md: 0 4px 28px rgba(15,23,42,.09), 0 1px 4px rgba(15,23,42,.04);
  --p-shadow-lg: 0 10px 48px rgba(15,23,42,.12), 0 2px 8px rgba(15,23,42,.05);

  /* Transitions */
  --p-ease: cubic-bezier(.4,0,.2,1);
}

/* ─── Base ───────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  background: var(--p-bg);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--p-t1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14.5px;
  line-height: 1.55;
}

/* ─── Scrollbar ──────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c8d3e8; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ══════════════════════════════════════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════════════════════════════════════ */

.porteo-sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--p-sidebar);
  height: 100vh;
  background: linear-gradient(180deg, #0f2d6e 0%, #153580 50%, #122f75 100%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(0);
  transition: transform .3s var(--p-ease);
  border-right: 1px solid rgba(0,0,0,.18);
}

.porteo-topbar {
  position: fixed;
  top: 0;
  left: var(--p-sidebar);
  right: 0;
  height: var(--p-topbar);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228,233,242,.9);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 0 1.75rem;
  transition: left .3s var(--p-ease);
}

.porteo-main {
  margin-left: var(--p-sidebar);
  padding-top: var(--p-topbar);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left .3s var(--p-ease);
}

@media (max-width: 991.98px) {
  .porteo-sidebar              { transform: translateX(calc(-1 * var(--p-sidebar))); }
  .porteo-sidebar.sidebar-open { transform: translateX(0); }
  .porteo-topbar               { left: 0; }
  .porteo-main                 { margin-left: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════════════════════════════ */

/* Brand */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 0 1.25rem;
  height: var(--p-topbar);
  border-bottom: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
  flex-shrink: 0;
}
.sidebar-brand-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.2);
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
}
.sidebar-brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .2px;
}
.sidebar-brand-badge {
  font-size: 9px; font-weight: 700;
  background: rgba(255,255,255,.18);
  color: #fff;
  padding: 2px 7px; border-radius: 6px;
  letter-spacing: .8px;
  border: 1px solid rgba(255,255,255,.25);
}

/* Scrollable nav */
.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: .875rem .75rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.07) transparent;
}
.sidebar-scroll::-webkit-scrollbar { width: 3px; }
.sidebar-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 4px; }

/* Section labels */
.sidebar-label {
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  padding: 1rem .5rem .4rem;
  opacity: 1;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: .35rem;
}
.sidebar-label:first-child {
  padding-top: .25rem;
  border-top: none;
  margin-top: 0;
}

/* Nav items */
.nav-item {
  display: flex; align-items: center; gap: .625rem;
  width: 100%; padding: .5rem .75rem;
  border-radius: var(--p-radius-sm); font-size: .83rem; font-weight: 500;
  color: #fff; text-decoration: none;
  transition: all .15s var(--p-ease); cursor: pointer;
  background: none; border: none; text-align: left;
  margin-bottom: 2px; position: relative;
  letter-spacing: .01em;
}
.nav-item:hover {
  color: #fff;
  background: rgba(255,255,255,.15);
  text-decoration: none;
}
.nav-item.active {
  color: #1a3060;
  background: #f2bc2e;
  border-left: 3px solid #d9a520;
  padding-left: calc(.75rem - 3px);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(242,188,46,.35);
}
.nav-item .nav-icon {
  width: 17px; text-align: center; font-size: 13px;
  flex-shrink: 0; opacity: .85;
  transition: opacity .15s;
}
.nav-item:hover .nav-icon { opacity: 1; }
.nav-item.active .nav-icon { opacity: 1; color: #1a3060; }
.nav-item .nav-label { flex: 1; }
.nav-item .nav-chevron {
  margin-left: auto; font-size: 9px; opacity: .65;
  transition: transform .2s var(--p-ease);
}
.nav-item.is-open .nav-chevron { transform: rotate(90deg); }

/* Submenus */
.nav-submenu {
  overflow: hidden; max-height: 0;
  transition: max-height .28s var(--p-ease);
}
.nav-subitem {
  display: flex; align-items: center; gap: .5rem;
  padding: .4rem .75rem .4rem 2.5rem;
  border-radius: 7px; font-size: .8rem; font-weight: 400;
  color: rgba(255,255,255,.85); text-decoration: none;
  transition: all .14s var(--p-ease); margin-bottom: 1px;
}
.nav-subitem:hover { color: #fff; background: rgba(255,255,255,.15); text-decoration: none; }
.nav-subitem.active { color: #1a3060; background: #f2bc2e; font-weight: 700; }
.nav-subitem .sub-icon { font-size: 10px; width: 12px; text-align: center; flex-shrink: 0; opacity: .75; }
.nav-subitem:hover .sub-icon, .nav-subitem.active .sub-icon { opacity: 1; }

/* Sidebar footer */
.sidebar-footer {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: .75rem;
  flex-shrink: 0;
}
.sidebar-user {
  display: flex; align-items: center; gap: .625rem;
  padding: .5rem .625rem; border-radius: var(--p-radius-sm);
  cursor: default; text-decoration: none;
  transition: background .15s;
}
.sidebar-user:hover { background: rgba(255,255,255,.12); }
.sidebar-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.25);
  border: 2px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700;
  text-transform: uppercase;
}
.sidebar-user-name  { font-size: .8rem; font-weight: 600; color: #fff; line-height: 1.2; }
.sidebar-user-role  { font-size: .69rem; color: rgba(255,255,255,.7); line-height: 1.3; text-transform: capitalize; }

/* ══════════════════════════════════════════════════════════════════════════════
   TOPBAR
══════════════════════════════════════════════════════════════════════════════ */

.topbar-hamburger {
  display: none; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: none; background: none;
  color: var(--p-t3); border-radius: var(--p-radius-sm); cursor: pointer; font-size: 16px;
  transition: all .15s; flex-shrink: 0;
}
@media (max-width: 991.98px) { .topbar-hamburger { display: flex; } }
.topbar-hamburger:hover { background: var(--p-border); color: var(--p-t1); }

.topbar-search {
  flex: 1; max-width: 320px; position: relative;
}
.topbar-search input {
  width: 100%; height: 36px;
  background: var(--p-bg); border: 1.5px solid var(--p-border);
  border-radius: 50px;
  padding: 0 1rem 0 2.25rem;
  font-family: 'Outfit', sans-serif;
  font-size: .82rem; font-weight: 400; color: var(--p-t1);
  outline: none; transition: all .2s var(--p-ease);
}
.topbar-search input:focus {
  border-color: var(--p-gold);
  background: var(--p-surface);
  box-shadow: 0 0 0 3.5px rgba(201,168,76,.13);
}
.topbar-search input::placeholder { color: var(--p-t3); font-weight: 400; }
.topbar-search-icon {
  position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
  color: var(--p-t3); font-size: 12px; pointer-events: none;
}

.topbar-right { display: flex; align-items: center; gap: .2rem; margin-left: auto; }

.topbar-icon-btn {
  position: relative; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; border-radius: var(--p-radius-sm);
  color: var(--p-t3); font-size: 15px; cursor: pointer;
  transition: all .15s var(--p-ease); text-decoration: none;
}
.topbar-icon-btn:hover { background: var(--p-bg); color: var(--p-t1); }

.topbar-notif-badge {
  position: absolute; top: 5px; right: 5px;
  background: #ef4444; color: #fff;
  font-size: 9px; font-weight: 700;
  min-width: 15px; height: 15px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; line-height: 1;
  box-shadow: 0 1px 4px rgba(239,68,68,.4);
}

.topbar-sep { width: 1px; height: 22px; background: var(--p-border); margin: 0 .35rem; }

.topbar-user-btn {
  display: flex; align-items: center; gap: .5rem;
  padding: .3rem .55rem; border-radius: var(--p-radius-sm);
  cursor: pointer; border: none; background: none;
  transition: background .15s var(--p-ease);
}
.topbar-user-btn:hover { background: var(--p-bg); }

.topbar-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--p-blue) 0%, #4a6fa5 50%, var(--p-gold) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700;
  text-transform: uppercase; overflow: hidden;
  box-shadow: 0 2px 8px rgba(44,74,124,.3);
}
.topbar-avatar img { width: 100%; height: 100%; object-fit: cover; }

.topbar-user-meta { display: none; text-align: left; }
@media (min-width: 992px) { .topbar-user-meta { display: block; } }
.topbar-user-name {
  font-size: .8rem; font-weight: 600; color: var(--p-t1);
  line-height: 1.2; white-space: nowrap;
  font-family: 'Outfit', sans-serif;
}
.topbar-user-role {
  font-size: .68rem; color: var(--p-t3); line-height: 1.2; text-transform: capitalize;
  font-weight: 400;
}

/* Dropdown */
.porteo-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--p-surface);
  border: 1px solid var(--p-border);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-lg);
  z-index: 200; display: none; overflow: hidden;
  animation: dropFadeIn .15s var(--p-ease);
}
.porteo-dropdown.open { display: block; }

@keyframes dropFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdown-header-area {
  padding: .875rem 1.1rem; border-bottom: 1px solid var(--p-border);
  background: var(--p-bg);
}
.dropdown-header-name {
  font-size: .875rem; font-weight: 600; color: var(--p-t1);
  font-family: 'Outfit', sans-serif;
}
.dropdown-header-meta { font-size: .72rem; color: var(--p-t3); margin-top: 2px; }

.dropdown-link {
  display: flex; align-items: center; gap: .625rem;
  padding: .5rem .8rem; border-radius: var(--p-radius-xs);
  font-size: .82rem; font-weight: 400; color: var(--p-t2);
  text-decoration: none; transition: background .12s; cursor: pointer;
  background: none; border: none; width: 100%; text-align: left;
  font-family: 'Outfit', sans-serif;
}
.dropdown-link:hover { background: var(--p-bg); color: var(--p-t1); text-decoration: none; }
.dropdown-link.danger { color: #dc2626; }
.dropdown-link.danger:hover { background: #fef2f2; }
.dropdown-link-icon { width: 14px; text-align: center; color: var(--p-t3); font-size: 12px; }
.dropdown-link.danger .dropdown-link-icon { color: #f87171; }
.dropdown-body { padding: .4rem; }

/* ══════════════════════════════════════════════════════════════════════════════
   PAGE BODY
══════════════════════════════════════════════════════════════════════════════ */

.page-body { padding: 1.75rem; }

/* Breadcrumb */
.porteo-breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  margin-bottom: 1.1rem; font-size: .78rem; color: var(--p-t3);
  font-weight: 400;
}
.porteo-breadcrumb a {
  color: var(--p-t2); text-decoration: none;
  transition: color .15s;
}
.porteo-breadcrumb a:hover { color: var(--p-gold); }
.porteo-breadcrumb-sep { font-size: 8px; opacity: .45; }
.porteo-breadcrumb-active { color: var(--p-t1); font-weight: 500; }

/* Alerts */
.porteo-alert {
  display: flex; align-items: center; gap: .75rem;
  padding: .825rem 1.1rem; border-radius: var(--p-radius-sm);
  margin-bottom: 1.1rem; font-size: .86rem; font-weight: 400;
}
.porteo-alert-success {
  background: #f0fdf4; border: 1px solid #86efac;
  color: #166534; border-left: 3px solid #22c55e;
}
.porteo-alert-danger {
  background: #fef2f2; border: 1px solid #fca5a5;
  color: #991b1b; border-left: 3px solid #ef4444;
}
.porteo-alert-close {
  margin-left: auto; background: none; border: none;
  font-size: 1.15rem; line-height: 1; cursor: pointer; opacity: .45; color: inherit;
  padding: 0; transition: opacity .15s;
}
.porteo-alert-close:hover { opacity: 1; }

/* Footer */
.porteo-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.75rem; border-top: 1px solid var(--p-border);
  background: var(--p-surface); margin-top: auto;
  font-size: .73rem; color: var(--p-t3);
}

/* ══════════════════════════════════════════════════════════════════════════════
   BOOTSTRAP COMPONENT OVERRIDES
══════════════════════════════════════════════════════════════════════════════ */

/* --- Cards --- */
.card {
  border: 1px solid var(--p-border) !important;
  border-radius: var(--p-radius) !important;
  box-shadow: var(--p-shadow) !important;
  background: var(--p-surface);
}
.card-header {
  background: var(--p-surface) !important;
  border-bottom: 1px solid var(--p-border) !important;
  padding: 1rem 1.35rem !important;
  font-weight: 600 !important;
  font-size: .88rem !important;
  color: var(--p-t1) !important;
  border-radius: var(--p-radius) var(--p-radius) 0 0 !important;
  font-family: 'Outfit', sans-serif !important;
}
.card-body { padding: 1.35rem; }
.card-footer {
  background: var(--p-bg) !important;
  border-top: 1px solid var(--p-border) !important;
  padding: .875rem 1.35rem !important;
  border-radius: 0 0 var(--p-radius) var(--p-radius) !important;
}

/* Card stat variants — keep colorful */
.card.bg-primary, .card.bg-success, .card.bg-warning,
.card.bg-danger,  .card.bg-info {
  border: none !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.12) !important;
}

/* --- Tables --- */
.table {
  font-family: 'Outfit', sans-serif;
  font-size: .86rem;
  border-color: var(--p-border);
}
.table th {
  font-size: .73rem; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; color: var(--p-t3);
  border-bottom: 1.5px solid var(--p-border) !important;
  padding: .75rem 1rem;
  background: var(--p-bg);
  white-space: nowrap;
}
.table td {
  font-size: .86rem; vertical-align: middle;
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--p-border);
  color: var(--p-t2);
}
.table tbody tr:last-child td { border-bottom: none; }
.table-hover tbody tr:hover td { background: #f8fafb; }
.table-light { background: var(--p-bg) !important; }

/* --- Badges --- */
.badge {
  font-family: 'Outfit', sans-serif;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .3px;
  padding: .3em .65em;
  border-radius: 6px;
}

/* --- Buttons --- */
.btn {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  letter-spacing: .01em;
  border-radius: var(--p-radius-sm);
  transition: all .18s var(--p-ease);
  font-size: .86rem;
}
.btn-sm { font-size: .8rem; }
.btn-lg { font-size: .95rem; font-weight: 600; }

.btn-primary {
  background: var(--p-blue); border-color: var(--p-blue);
}
.btn-primary:hover, .btn-primary:focus {
  background: #243d6a; border-color: #243d6a;
  box-shadow: 0 4px 14px rgba(44,74,124,.3);
}

.btn-porteo-primary { background: var(--p-blue); color: #fff; border: none; }
.btn-porteo-primary:hover { background: var(--p-dark); color: #fff; }

.btn-porteo-gold {
  background: linear-gradient(135deg, var(--p-gold) 0%, #dbbe6e 100%);
  color: var(--p-dark); border: none; font-weight: 600;
  box-shadow: 0 2px 10px rgba(201,168,76,.28);
}
.btn-porteo-gold:hover {
  background: linear-gradient(135deg, #b8963d 0%, #c9a84c 100%);
  color: var(--p-dark);
  box-shadow: 0 4px 16px rgba(201,168,76,.4);
}

/* --- Form controls --- */
.form-control, .form-select {
  font-family: 'Outfit', sans-serif;
  font-size: .86rem;
  border-color: var(--p-border);
  border-radius: var(--p-radius-sm);
  color: var(--p-t1);
  background: var(--p-surface);
  transition: border-color .18s, box-shadow .18s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--p-gold);
  box-shadow: 0 0 0 3.5px rgba(201,168,76,.14);
}
.form-control::placeholder { color: var(--p-t3); font-weight: 300; }
.form-label { font-weight: 500; font-size: .84rem; color: var(--p-t2); margin-bottom: .4rem; }

/* --- Modals --- */
.modal-content {
  border: 1px solid var(--p-border);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-lg);
}
.modal-header {
  border-bottom: 1px solid var(--p-border);
  padding: 1.1rem 1.35rem;
  font-family: 'Outfit', sans-serif;
}
.modal-title { font-weight: 700; font-size: .95rem; color: var(--p-t1); }
.modal-footer {
  border-top: 1px solid var(--p-border);
  padding: .875rem 1.35rem;
}

/* --- Pagination --- */
.page-link {
  font-family: 'Outfit', sans-serif;
  font-size: .82rem; font-weight: 500;
  color: var(--p-t2); border-color: var(--p-border);
  border-radius: var(--p-radius-xs) !important;
  transition: all .15s var(--p-ease);
}
.page-link:hover { background: var(--p-bg); color: var(--p-t1); border-color: var(--p-border-2); }
.page-item.active .page-link { background: var(--p-blue); border-color: var(--p-blue); }

/* --- Tabs --- */
.nav-tabs { border-bottom: 1.5px solid var(--p-border); }
.nav-tabs .nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: .83rem; font-weight: 500; color: var(--p-t3);
  border: none; border-bottom: 2px solid transparent;
  border-radius: 0; padding: .6rem 1rem;
  transition: all .15s;
  margin-bottom: -1.5px;
}
.nav-tabs .nav-link:hover { color: var(--p-t1); border-bottom-color: var(--p-border-2); }
.nav-tabs .nav-link.active {
  color: var(--p-blue); background: none; border: none;
  border-bottom: 2px solid var(--p-blue);
  font-weight: 600;
}

/* --- Alerts (Bootstrap) --- */
.alert { border-radius: var(--p-radius-sm); font-family: 'Outfit', sans-serif; font-size: .86rem; }

/* --- Dropdowns (Bootstrap) --- */
.dropdown-menu {
  border: 1px solid var(--p-border);
  border-radius: var(--p-radius-sm);
  box-shadow: var(--p-shadow-md);
  font-family: 'Outfit', sans-serif;
  font-size: .84rem;
}
.dropdown-item { font-size: .84rem; padding: .45rem .9rem; border-radius: 6px; }
.dropdown-item:hover { background: var(--p-bg); }

/* ─── Page headings ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--p-t1);
  letter-spacing: -.01em;
}

/* ── Page title : icône rouge + texte bold ───────────────────────────────── */
.page-body h1:not(.display-4) {
  font-size: 1.42rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -.02em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
}

/* Icône du titre de page → rouge avec fond léger */
.page-body h1:not(.display-4) i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: #fde8e8;
  color: #dc2020 !important;
  font-size: 1rem;
  margin-right: .65rem;
  flex-shrink: 0;
  text-decoration: none;
}

.h3, h1.h3 { font-size: 1.3rem; font-weight: 700; }
.page-title  { font-size: 1.35rem; font-weight: 700; color: var(--p-t1); }
.text-muted  { color: var(--p-t3) !important; }

/* ══════════════════════════════════════════════════════════════════════════════
   KANBAN
══════════════════════════════════════════════════════════════════════════════ */
.kanban-col {
  min-height: 420px; background: var(--p-bg);
  border-radius: var(--p-radius);
  border: 1px solid var(--p-border);
}
.kanban-card { cursor: move; transition: box-shadow .2s, transform .15s; }
.kanban-card:hover {
  box-shadow: 0 6px 18px rgba(15,23,42,.1) !important;
  transform: translateY(-1px);
}
.kanban-card.dragging { opacity: .45; transform: rotate(1deg); }

/* ══════════════════════════════════════════════════════════════════════════════
   MISC
══════════════════════════════════════════════════════════════════════════════ */
.progress { border-radius: 50px; height: 6px; background: var(--p-bg); }
.progress-bar { border-radius: 50px; }
.notif-menu { max-height: 390px; overflow-y: auto; }

/* DataTables overrides */
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  font-family: 'Outfit', sans-serif;
  border: 1.5px solid var(--p-border);
  border-radius: var(--p-radius-sm);
  padding: .3rem .65rem;
  font-size: .83rem;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  font-family: 'Outfit', sans-serif;
}

/* ── Utility: soft section headers in cards ──────────────────────────────── */
.section-divider {
  display: flex; align-items: center; gap: .75rem;
  font-size: .73rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--p-t3); margin: 1.25rem 0 .75rem;
}
.section-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--p-border);
}

/* ══════════════════════════════════════════════════════════════════════════════
   PRINT
══════════════════════════════════════════════════════════════════════════════ */
@media print {
  .porteo-sidebar, .porteo-topbar, .card-footer, .btn, .no-print { display: none !important; }
  .porteo-main { margin-left: 0 !important; padding-top: 0 !important; }
  body { background: #fff !important; }
  .card { box-shadow: none !important; border: 1px solid #dee2e6 !important; }
}
