
/* QUINCA+ v16 — boutons de tri premium */

.dashboard-sort-table thead{
  background:linear-gradient(180deg,#f7faff 0%,#eef4fb 100%);
}
.dashboard-sort-table thead th{
  padding:6px 6px;
  background:transparent;
  border-bottom:1px solid #dce6f1;
}
.dashboard-sort-head{
  width:100%;
  min-height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:0 10px;
  border:1px solid transparent;
  border-radius:999px;
  background:transparent;
  color:#60758d;
  font:inherit;
  font-size:9px;
  font-weight:800;
  cursor:pointer;
  text-align:left;
  transition:
    background .16s ease,
    border-color .16s ease,
    color .16s ease,
    box-shadow .16s ease,
    transform .16s ease;
}
.dashboard-sort-head span:first-child{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.dashboard-sort-head:hover{
  color:#0b6fdc;
  background:#ffffff;
  border-color:#cfe2f8;
  box-shadow:0 5px 14px rgba(26,84,145,.10);
  transform:translateY(-1px);
}
.dashboard-sort-head.active{
  color:#ffffff;
  background:linear-gradient(135deg,#0d84ff 0%,#0868d8 100%);
  border-color:#0a70e5;
  box-shadow:
    0 6px 16px rgba(8,104,216,.22),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.dashboard-sort-head.active:hover{
  background:linear-gradient(135deg,#188dff 0%,#0a72e6 100%);
  color:#fff;
  border-color:#0878f9;
}
.dashboard-sort-neutral,
.dashboard-sort-active{
  width:18px;
  height:18px;
  flex:0 0 18px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:7px;
  line-height:1;
  transition:.16s ease;
}
.dashboard-sort-neutral{
  color:#8fa3b8;
  background:#edf3f8;
  border:1px solid #dbe5ee;
}
.dashboard-sort-head:hover .dashboard-sort-neutral{
  color:#0b74e5;
  background:#eaf4ff;
  border-color:#bfdbf8;
}
.dashboard-sort-active{
  color:#0b6fdc;
  background:#ffffff;
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}
.dashboard-sort-head:active{
  transform:translateY(0) scale(.99);
}
.dashboard-sort-head:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(8,120,249,.16);
}

body.dark-ui .dashboard-sort-table thead{
  background:linear-gradient(180deg,#17263a 0%,#132238 100%);
}
body.dark-ui .dashboard-sort-table thead th{
  border-bottom-color:#26384f;
}
body.dark-ui .dashboard-sort-head{
  color:#aebfd3;
}
body.dark-ui .dashboard-sort-head:hover{
  color:#79b7ff;
  background:#15283f;
  border-color:#2b4f74;
  box-shadow:0 5px 14px rgba(0,0,0,.18);
}
body.dark-ui .dashboard-sort-head.active{
  color:#fff;
  background:linear-gradient(135deg,#147fe9 0%,#0a5eb6 100%);
  border-color:#1f83e5;
}
body.dark-ui .dashboard-sort-neutral{
  color:#93a8be;
  background:#1c3048;
  border-color:#2b4058;
}
body.dark-ui .dashboard-sort-head:hover .dashboard-sort-neutral{
  color:#8ec7ff;
  background:#203b59;
  border-color:#355a7d;
}
body.dark-ui .dashboard-sort-active{
  color:#0b6fdc;
  background:#eef6ff;
}

@media(max-width:900px){
  .dashboard-sort-head{
    padding:0 8px;
    font-size:8.5px;
  }
  .dashboard-sort-neutral,
  .dashboard-sort-active{
    width:16px;height:16px;flex-basis:16px;
  }
}
