/* ============================================
   Colson Roiseux - Theme Override
   Couleurs extraites du logo client
   ============================================ */

:root,
[data-bs-theme="light"] {
  --colson-noir: #1a1a1a;
  --colson-rouge: #c8102e;
  --colson-rouge-hover: #a00d24;
  --colson-rouge-dark: #8f0b20;
  --colson-orange: #e8501a;
  --colson-gris-fonce: #2a2a2a;
  --colson-gris-chaud: #3a3a3a;

  /* Falcon overrides */
  --falcon-primary: #c8102e;
  --falcon-primary-rgb: 200, 16, 46;
  --falcon-dark: #1a1a1a;
  --falcon-warning: #e8501a;
  --falcon-warning-rgb: 232, 80, 26;
  --falcon-navbar-vertical-bg-color: #1a1a1a;
  --falcon-navbar-vertical-link-color: rgba(255, 255, 255, 0.7);
  --falcon-navbar-vertical-link-hover-color: #ffffff;
  --falcon-navbar-vertical-link-active-color: #e8501a;
  --falcon-navbar-vertical-hr-color: rgba(255, 255, 255, 0.12);
  --falcon-navbar-vertical-scrollbar-color: rgba(255, 255, 255, 0.3);
  --falcon-link-color: #344050;
  --falcon-link-hover-color: #c8102e;
}

/* ============================================
   NAVBAR TOP - Bandeau noir Colson
   ============================================ */
.navbar.navbar-light.bg-light,
.navbar-top,
.bg-dark {
  background: linear-gradient(135deg, var(--colson-noir) 0%, var(--colson-gris-fonce) 100%) !important;
  border-bottom: 3px solid var(--colson-rouge) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  left: 0 !important;
  width: 100% !important;
  margin-left: 0 !important;
  padding-left: 1rem !important;
}

.navbar.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  padding: 0.6rem 1rem !important;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.navbar.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:hover {
  color: #ffffff !important;
  background: rgba(200, 16, 46, 0.15);
}

.navbar.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.active {
  color: #ffffff !important;
  background: var(--colson-rouge);
}

.navbar-light .navbar-toggler-icon {
  filter: invert(1);
}

.navbar-light .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

/* Barre de recherche dans la navbar */
.navbar .search-input,
.navbar .fuzzy-search {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border-radius: 20px !important;
  padding-left: 2.5rem !important;
}

.navbar .search-input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.navbar .search-input:focus {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: var(--colson-rouge) !important;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.2) !important;
}

.navbar .search-box-icon {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Profil utilisateur dans la navbar */
.navbar .rounded-circle {
  border: 2px solid var(--colson-rouge);
  box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.2);
}

/* Dropdown menus depuis la navbar */
.navbar .dropdown-menu {
  background: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--colson-rouge);
  animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.navbar .dropdown-item {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 6px;
  margin: 2px 6px;
  transition: all 0.15s ease;
}

.navbar .dropdown-item:hover {
  background: rgba(200, 16, 46, 0.08);
  color: var(--colson-rouge);
}

/* ============================================
   BODY & LAYOUT
   ============================================ */
html, body {
  background: var(--colson-noir) !important;
  overflow: auto !important;
  font-family: 'Poppins', 'Open Sans', sans-serif;
}

.content {
  padding-top: 10px;
  padding-left: 0 !important;
  margin-left: 0 !important;
  padding-bottom: 60px !important;
  background: #f0f2f5;
  min-height: 100vh;
}

.navbar-vertical-collapsed .content {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.main {
  background: var(--colson-noir) !important;
}

/* ============================================
   CARDS - Modernisees
   ============================================ */
.card {
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04) !important;
}

.card-header {
  background: #fff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding: 1.1rem 1.25rem !important;
  font-weight: 600;
}

.card-header h3,
.card-header h4,
.card-header h5,
.card-header .h3,
.card-header .h4,
.card-header .h5 {
  color: var(--colson-noir);
  font-weight: 600;
}

.card-title {
  color: var(--colson-noir);
  font-weight: 600;
}

.card-body {
  padding: 1.25rem !important;
}

/* ============================================
   BOUTONS
   ============================================ */
.btn-primary {
  --bs-btn-bg: #c8102e;
  --bs-btn-border-color: #c8102e;
  --bs-btn-hover-bg: #a00d24;
  --bs-btn-hover-border-color: #8f0b20;
  --bs-btn-active-bg: #8f0b20;
  --bs-btn-active-border-color: #7e0a1c;
  --bs-btn-disabled-bg: #c8102e;
  --bs-btn-disabled-border-color: #c8102e;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.btn-outline-primary {
  --bs-btn-color: #c8102e;
  --bs-btn-border-color: #c8102e;
  --bs-btn-hover-bg: #c8102e;
  --bs-btn-hover-border-color: #c8102e;
  --bs-btn-active-bg: #c8102e;
  --bs-btn-active-border-color: #c8102e;
  border-radius: 8px;
  font-weight: 500;
}

.btn {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-success {
  border-radius: 8px;
}

.btn-danger {
  --bs-btn-bg: #c8102e;
  --bs-btn-border-color: #c8102e;
  --bs-btn-hover-bg: #a00d24;
  --bs-btn-hover-border-color: #a00d24;
}

/* ============================================
   TEXTE GLOBAL
   ============================================ */
body, p, span, div, td, th, li, label, h1, h2, h3, h4, h5, h6 {
  color: #344050;
}

.text-primary {
  color: #c8102e !important;
}

/* ============================================
   LIENS
   ============================================ */
a {
  color: #c8102e;
  transition: color 0.15s ease;
}
a:hover {
  color: #a00d24;
}

a:not(.btn):not(.nav-link):not(.dropdown-item) {
  color: #344050;
}

a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
  color: #c8102e;
}

/* ============================================
   TABLES
   ============================================ */
.table {
  border-radius: 8px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

.table thead th,
.table thead td {
  background: var(--colson-noir) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: none !important;
  padding: 0.7rem 0.8rem;
  white-space: nowrap;
}

.table thead th .sort-icon,
.table thead th.sort::after {
  color: rgba(255,255,255,0.4);
}

.table tbody tr {
  transition: all 0.15s ease;
  border-bottom: 1px solid #edf2f9;
}

.table tbody tr:hover {
  background: rgba(200, 16, 46, 0.04) !important;
  transform: scale(1.001);
}

.table tbody td {
  padding: 0.6rem 0.8rem;
  font-size: 0.82rem;
  vertical-align: middle;
  color: #344050;
}

.table-striped > tbody > tr:nth-of-type(even) {
  background-color: #fafbfd;
}

.table-striped > tbody > tr:nth-of-type(even):hover {
  background: rgba(200, 16, 46, 0.04) !important;
}

.table-responsive {
  border-radius: 8px;
  border: 1px solid #edf2f9;
}

/* ============================================
   FORMULAIRES
   ============================================ */
.form-control,
.form-select {
  border-radius: 8px;
  border: 1px solid #d8e2ef;
  transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--colson-rouge);
  box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.12);
}

.form-check-input:checked {
  background-color: #c8102e;
  border-color: #c8102e;
}

.form-label {
  font-weight: 500;
  color: #4d5969;
  font-size: 0.85rem;
}

/* ============================================
   BADGES & PILLS
   ============================================ */
.badge.bg-primary,
.bg-primary:not(.navbar):not(.btn) {
  background-color: #c8102e !important;
}

.bg-soft-primary {
  background-color: rgba(200, 16, 46, 0.1) !important;
  color: #c8102e !important;
}

.badge {
  border-radius: 6px;
  font-weight: 500;
  padding: 0.4em 0.7em;
}

/* ============================================
   PAGINATION
   ============================================ */
.page-item.active .page-link {
  background-color: #c8102e;
  border-color: #c8102e;
}

.page-link {
  border-radius: 8px !important;
  margin: 0 2px;
  font-weight: 500;
}

.page-link:hover {
  background-color: #c8102e;
  border-color: #c8102e;
  color: #fff;
}

/* ============================================
   NAV TABS / PILLS
   ============================================ */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: #c8102e;
  border-radius: 8px;
}

.nav-pills .nav-link {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-tabs .nav-link.active {
  color: #c8102e;
  border-bottom: 3px solid #c8102e;
  font-weight: 600;
}

/* ============================================
   DROPDOWNS
   ============================================ */
.dropdown-item.active,
.dropdown-item:active {
  background-color: #c8102e;
}

.dropdown-menu {
  border-radius: 10px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ============================================
   ALERTS
   ============================================ */
.alert-warning {
  background-color: rgba(232, 80, 26, 0.08);
  border-color: rgba(232, 80, 26, 0.2);
  color: var(--colson-orange);
  border-radius: 10px;
}

.alert-danger {
  border-left: 4px solid #c8102e;
  border-radius: 10px;
}

.alert-success {
  border-radius: 10px;
}

.alert-info {
  border-radius: 10px;
}

/* ============================================
   CALENDAR (FullCalendar)
   ============================================ */
.fc .fc-button-primary {
  background-color: #c8102e;
  border-color: #c8102e;
  border-radius: 6px;
}

.fc .fc-button-primary:hover {
  background-color: #a00d24;
  border-color: #a00d24;
}

.fc .fc-button-primary:not(:disabled).fc-button-active {
  background-color: #8f0b20;
  border-color: #8f0b20;
}

.fc .fc-toolbar-title {
  color: var(--colson-noir);
  font-weight: 700;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress {
  border-radius: 10px;
  height: 8px;
}

.progress-bar {
  background: linear-gradient(90deg, var(--colson-rouge), var(--colson-orange));
  border-radius: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
.colson-footer {
  background: var(--colson-noir);
  border-top: 3px solid var(--colson-rouge);
  padding: 0;
  margin-top: 3rem;
}

.colson-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.colson-footer a {
  color: var(--colson-orange);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.colson-footer a:hover {
  color: #fff;
}

.colson-footer-brand {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

.colson-footer-sep {
  margin: 0 0.5rem;
  opacity: 0.3;
}

.colson-footer-version {
  background: rgba(200, 16, 46, 0.15);
  color: var(--colson-rouge);
  padding: 0.2rem 0.7rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}

.colson-footer-ping {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.72rem;
  padding: 0.25rem 0.8rem;
  transition: all 0.2s ease;
}

.colson-footer-ping:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 768px) {
  .colson-footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ============================================
   LOADER & REFRESH
   ============================================ */
.loader .btn-primary {
  background: var(--colson-rouge);
  border-color: var(--colson-rouge);
}

.refresh .btn-success {
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #e8e8e8;
}

::-webkit-scrollbar-thumb {
  background-color: #c8102e;
  border-radius: 5px;
  border: 2px solid #e8e8e8;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a00d24;
}

* {
  scrollbar-width: auto;
  scrollbar-color: #c8102e #e8e8e8;
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background-color: rgba(200, 16, 46, 0.15);
  color: var(--colson-noir);
}

/* ============================================
   TEXT & BORDER UTILITIES
   ============================================ */
.text-primary {
  color: #c8102e !important;
}

.text-warning {
  color: #e8501a !important;
}

.border-primary {
  border-color: #c8102e !important;
}

/* ============================================
   MODAL
   ============================================ */
.modal-header {
  background: var(--colson-noir);
  color: #fff;
  border-radius: 12px 12px 0 0;
}

.modal-header .btn-close {
  filter: invert(1);
}

.modal-content {
  border-radius: 12px;
  border: none;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ============================================
   TOOLTIPS
   ============================================ */
.tooltip .tooltip-inner {
  background: var(--colson-noir);
  border-radius: 6px;
  font-size: 0.8rem;
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion-button:not(.collapsed) {
  color: var(--colson-rouge);
  background-color: rgba(200, 16, 46, 0.05);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.15);
  border-color: rgba(200, 16, 46, 0.3);
}

.accordion-item {
  border-radius: 8px !important;
  margin-bottom: 4px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ============================================
   SIDEBAR / NAVBAR VERTICAL
   ============================================ */
.navbar-vertical .navbar-collapse {
  background-color: #1a1a1a !important;
}

.navbar-vertical .nav-link {
  color: rgba(255, 255, 255, 0.7);
}

.navbar-vertical .nav-link:hover,
.navbar-vertical .nav-link:focus {
  color: #ffffff;
}

.navbar-vertical .nav-link.active {
  color: #e8501a;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.card {
  animation: fadeInUp 0.3s ease;
}

.row > [class*="col-"] > .card {
  animation: fadeInUp 0.3s ease backwards;
}

.row > [class*="col-"]:nth-child(1) > .card { animation-delay: 0.05s; }
.row > [class*="col-"]:nth-child(2) > .card { animation-delay: 0.1s; }
.row > [class*="col-"]:nth-child(3) > .card { animation-delay: 0.15s; }
.row > [class*="col-"]:nth-child(4) > .card { animation-delay: 0.2s; }

/* ============================================
   NAVBAR GLASS
   ============================================ */
.navbar-glass {
  background-color: rgba(26, 26, 26, 0.96) !important;
  backdrop-filter: blur(10px);
}

/* ============================================
   COLSON BADGES (inline status)
   ============================================ */
.colson-badge {
  display: inline-block;
  padding: 0.25em 0.7em;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.4;
}

/* ============================================
   COLSON DUREE COLUMNS
   ============================================ */
.colson-duree {
  text-align: center !important;
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  white-space: nowrap;
  min-width: 65px;
}

.colson-duree strong {
  display: block;
  font-size: 0.85rem;
  color: var(--colson-noir);
  padding-bottom: 4px;
  border-bottom: 1px solid #edf2f9;
  margin-bottom: 4px;
}

.colson-duree-detail {
  font-size: 0.78rem;
  color: #748194;
  line-height: 1.6;
}

.colson-duree-total {
  font-weight: 600;
  color: #344050;
  padding-top: 4px;
  border-top: 1px solid #edf2f9;
  margin-top: 4px;
}

.colson-duree-diff {
  font-weight: 700;
  font-size: 0.75rem;
  padding-top: 3px;
}

/* ============================================
   COLSON RAPPORT
   ============================================ */
.colson-rapport-item {
  position: relative;
  padding: 0.5rem 0;
  border-bottom: 1px solid #edf2f9;
  font-size: 0.8rem;
  line-height: 1.5;
}

.colson-rapport-item:last-child {
  border-bottom: none;
}

.colson-rapport-item a {
  color: #344050 !important;
  font-weight: 500;
}

.colson-rapport-item a:hover {
  color: var(--colson-rouge) !important;
}

.colson-rapport-meta {
  font-size: 0.72rem;
  color: #748194;
  margin-top: 2px;
}

.colson-delete-x {
  color: #c8102e !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  margin-left: 6px;
  transition: opacity 0.15s ease;
}

.colson-delete-x:hover {
  opacity: 0.6;
}

.colson-rapport-sep {
  margin: 0.4rem 0;
  border-color: #d8e2ef;
  opacity: 0.5;
}

.colson-rapport-item:last-child + .colson-rapport-sep {
  display: none;
}

.colson-view-rapport {
  color: #748194 !important;
  font-size: 0.82rem;
  margin-left: 6px;
  transition: color 0.15s ease;
}

.colson-view-rapport:hover {
  color: var(--colson-rouge) !important;
}

.colson-doc-badge {
  display: inline-block;
  background: rgba(200, 16, 46, 0.1);
  color: var(--colson-rouge);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15em 0.5em;
  border-radius: 10px;
  margin-left: 4px;
  vertical-align: middle;
}

.colson-modal-date {
  font-size: 0.82rem;
  color: #748194;
  margin-bottom: 1rem;
}

.colson-modal-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #344050;
  white-space: pre-wrap;
}

.colson-modal-doc {
  margin-bottom: 0.5rem;
}

.colson-modal-doc img {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ============================================
   CHAT TOGGLE BUTTON
   ============================================ */
.setting-toggle {
  position: fixed !important;
  top: 60px !important;
  right: 10px !important;
  bottom: auto !important;
  z-index: 998;
  border-radius: 8px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
}

/* ============================================
   DASHBOARD TAB NAVIGATION
   ============================================ */
.colson-tab-nav .btn {
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
  text-transform: capitalize;
  letter-spacing: 0.3px;
}

.colson-tab-nav .btn-primary {
  background: var(--colson-rouge);
  border-color: var(--colson-rouge);
  color: #fff;
  box-shadow: 0 3px 10px rgba(200, 16, 46, 0.25);
  position: relative;
}

.colson-tab-nav .btn-primary::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--colson-rouge);
}

.colson-tab-nav .btn-outline-primary {
  color: var(--colson-noir);
  border-color: #d8e2ef;
  background: #fff;
}

.colson-tab-nav .btn-outline-primary:hover {
  background: var(--colson-rouge);
  border-color: var(--colson-rouge);
  color: #fff;
}

/* ============================================
   SECTION HEADERS (bg-secondary bars)
   ============================================ */
.bg-secondary {
  background: linear-gradient(135deg, var(--colson-noir) 0%, var(--colson-gris-fonce) 100%) !important;
  border-radius: 8px !important;
  border-left: 4px solid var(--colson-rouge) !important;
}

.bg-secondary .h5,
.bg-secondary h5,
.bg-secondary a.text-light {
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
}

.bg-secondary a.text-light:hover {
  color: var(--colson-orange) !important;
}

/* Navigation jour précédent/suivant */
.bg-secondary span a {
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.15s ease;
}

.bg-secondary span a:hover {
  color: var(--colson-orange) !important;
}

/* ============================================
   BADGES STATUS
   ============================================ */
.badge {
  border-radius: 20px;
  font-weight: 600;
  padding: 0.35em 0.8em;
  font-size: 0.7rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge.bg-success {
  background: linear-gradient(135deg, #00d27a, #02b76b) !important;
}

.badge.bg-warning {
  background: linear-gradient(135deg, #e8501a, #f5803e) !important;
  color: #fff !important;
}

.badge.bg-danger {
  background: linear-gradient(135deg, #c8102e, #e63757) !important;
}

.badge.bg-info {
  background: linear-gradient(135deg, #27bcfd, #1a9ade) !important;
}

.badge.bg-primary {
  background: linear-gradient(135deg, #c8102e, #e63757) !important;
}

/* Badges inline type intervention */
span[style*="background-color"] {
  border-radius: 20px !important;
  padding: 0.3em 0.8em !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
}

/* ============================================
   SEARCH IN TABLE HEADER
   ============================================ */
.bg-secondary .form-control {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 20px;
  font-size: 0.82rem;
}

.bg-secondary .form-control::placeholder {
  color: rgba(255,255,255,0.4);
}

.bg-secondary .form-control:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--colson-rouge);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.15);
}

.bg-secondary .input-group-text {
  background: transparent;
  border: none;
}

/* ============================================
   PAGINATION CUSTOM
   ============================================ */
.colson-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.75rem 0;
}

.colson-pagination button {
  background: #fff;
  border: 1px solid #d8e2ef;
  color: #344050;
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.colson-pagination button:hover {
  background: rgba(200, 16, 46, 0.08);
  border-color: var(--colson-rouge);
  color: var(--colson-rouge);
}

.colson-pagination button.active {
  background: var(--colson-rouge);
  border-color: var(--colson-rouge);
  color: #fff;
}

.colson-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.colson-pagination .colson-page-info {
  font-size: 0.78rem;
  color: #748194;
  margin: 0 0.5rem;
}
