/* =========================================================
   QUARZEO V10.3 — DASHBOARDS DESKTOP
   ========================================================= */

.qz10-dashboard-refonte {
  --qz-dash-navy: #08263c;
  --qz-dash-blue: #11699a;
  --qz-dash-cyan: #26cce7;
  --qz-dash-green: #23b97a;
  --qz-dash-orange: #f2a12e;
  --qz-dash-red: #e96370;
  --qz-dash-purple: #7369e7;
  --qz-dash-text: #12364a;
  --qz-dash-muted: #69818f;
  --qz-dash-border: #dce8ed;
  --qz-dash-bg: #f4f8fb;
}

.qz10-dashboard-refonte .qz10-dashboard-zone {
  width: 100%;
  margin-top: 18px;
}

.qz10-dashboard-refonte .qz10-dashboard-zone * {
  box-sizing: border-box;
}

.qz10-dashboard-refonte .qz10-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 12px;
}

.qz10-dashboard-refonte .qz10-section-heading > div {
  min-width: 0;
}

.qz10-dashboard-refonte .qz10-section-heading small {
  display: block;
  margin-bottom: 4px;
  color: #0b9bb8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.qz10-dashboard-refonte .qz10-section-heading h2 {
  margin: 0;
  color: var(--qz-dash-text);
  font-size: 21px;
  line-height: 1.15;
}

.qz10-dashboard-refonte .qz10-section-heading p {
  margin: 5px 0 0;
  color: var(--qz-dash-muted);
  font-size: 12px;
  line-height: 1.45;
}

.qz10-dashboard-refonte .qz10-status-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid #d7e7ed;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: #527080;
  font-size: 10px;
  font-weight: 800;
}

.qz10-dashboard-refonte .qz10-status-chip::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--qz-dash-green);
  box-shadow: 0 0 0 4px rgba(35, 185, 122, .11);
  content: "";
}

.qz10-dashboard-refonte .qz10-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.qz10-dashboard-refonte .qz10-action-card {
  position: relative;
  min-height: 142px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid var(--qz-dash-border);
  border-radius: 20px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.99),
      rgba(247,251,253,.97)
    );
  box-shadow: 0 12px 34px rgba(11, 48, 70, .07);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.qz10-dashboard-refonte .qz10-action-card:hover {
  transform: translateY(-2px);
  border-color: #bcdce6;
  box-shadow: 0 17px 40px rgba(11, 48, 70, .11);
}

.qz10-dashboard-refonte .qz10-action-card::after {
  position: absolute;
  right: -30px;
  bottom: -42px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--qz-card-glow, rgba(38, 204, 231, .08));
  content: "";
}

.qz10-dashboard-refonte .qz10-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.qz10-dashboard-refonte .qz10-card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--qz-card-soft, #eaf8fb);
  color: var(--qz-card-accent, #1399b6);
  font-size: 17px;
  font-weight: 900;
}

.qz10-dashboard-refonte .qz10-card-state {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f1f6f8;
  color: #6f8793;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.qz10-dashboard-refonte .qz10-action-card h3 {
  position: relative;
  z-index: 1;
  margin: 17px 0 5px;
  color: var(--qz-dash-text);
  font-size: 15px;
  line-height: 1.15;
}

.qz10-dashboard-refonte .qz10-action-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 92%;
  color: var(--qz-dash-muted);
  font-size: 11px;
  line-height: 1.45;
}

.qz10-dashboard-refonte .qz10-card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--qz-card-accent, #128da8);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.qz10-dashboard-refonte .qz10-card-link::after {
  content: "→";
}

.qz10-dashboard-refonte .qz10-card-cyan {
  --qz-card-accent: #139ab7;
  --qz-card-soft: #e7f8fb;
  --qz-card-glow: rgba(38, 204, 231, .12);
}

.qz10-dashboard-refonte .qz10-card-orange {
  --qz-card-accent: #d48418;
  --qz-card-soft: #fff3df;
  --qz-card-glow: rgba(242, 161, 46, .12);
}

.qz10-dashboard-refonte .qz10-card-red {
  --qz-card-accent: #d84d5c;
  --qz-card-soft: #fff0f2;
  --qz-card-glow: rgba(233, 99, 112, .12);
}

.qz10-dashboard-refonte .qz10-card-green {
  --qz-card-accent: #159764;
  --qz-card-soft: #e8f8f1;
  --qz-card-glow: rgba(35, 185, 122, .12);
}

.qz10-dashboard-refonte .qz10-card-purple {
  --qz-card-accent: #655bd2;
  --qz-card-soft: #f0efff;
  --qz-card-glow: rgba(115, 105, 231, .12);
}

.qz10-dashboard-refonte .qz10-dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 14px;
  margin-top: 14px;
}

.qz10-dashboard-refonte .qz10-dashboard-panel {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--qz-dash-border);
  border-radius: 21px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 34px rgba(11, 48, 70, .065);
}

.qz10-dashboard-refonte .qz10-dashboard-panel h3 {
  margin: 0;
  color: var(--qz-dash-text);
  font-size: 16px;
}

.qz10-dashboard-refonte .qz10-dashboard-panel > p {
  margin: 5px 0 16px;
  color: var(--qz-dash-muted);
  font-size: 11px;
  line-height: 1.45;
}

.qz10-dashboard-refonte .qz10-list {
  display: grid;
  gap: 9px;
}

.qz10-dashboard-refonte .qz10-list-item {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 56px;
  padding: 10px 11px;
  border: 1px solid #e3edf1;
  border-radius: 14px;
  background: #fbfdfe;
}

.qz10-dashboard-refonte .qz10-list-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a9bdc7;
}

.qz10-dashboard-refonte .qz10-list-dot.cyan {
  background: var(--qz-dash-cyan);
}

.qz10-dashboard-refonte .qz10-list-dot.orange {
  background: var(--qz-dash-orange);
}

.qz10-dashboard-refonte .qz10-list-dot.red {
  background: var(--qz-dash-red);
}

.qz10-dashboard-refonte .qz10-list-dot.green {
  background: var(--qz-dash-green);
}

.qz10-dashboard-refonte .qz10-list-copy strong {
  display: block;
  color: var(--qz-dash-text);
  font-size: 11px;
  line-height: 1.25;
}

.qz10-dashboard-refonte .qz10-list-copy span {
  display: block;
  margin-top: 3px;
  color: var(--qz-dash-muted);
  font-size: 9px;
  line-height: 1.35;
}

.qz10-dashboard-refonte .qz10-list-action {
  border: 1px solid #dce8ed;
  border-radius: 10px;
  padding: 6px 9px;
  background: #ffffff;
  color: #527181;
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.qz10-dashboard-refonte .qz10-list-action:hover {
  border-color: #9bd8e5;
  color: #07839e;
}

.qz10-dashboard-refonte .qz10-empty-state {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 14px;
  border: 1px dashed #cddfe6;
  border-radius: 15px;
  background: #f9fcfd;
}

.qz10-dashboard-refonte .qz10-empty-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #e9f7fa;
  color: #1496b2;
  font-size: 16px;
  font-weight: 900;
}

.qz10-dashboard-refonte .qz10-empty-state strong {
  display: block;
  color: var(--qz-dash-text);
  font-size: 11px;
}

.qz10-dashboard-refonte .qz10-empty-state span {
  display: block;
  margin-top: 3px;
  color: var(--qz-dash-muted);
  font-size: 9px;
  line-height: 1.4;
}

/* HERO ADMIN/PILOT : PLUS COURT */

.qz10-dashboard-refonte .qz9-hero {
  margin-bottom: 15px !important;
}

/* MASQUAGE DU DOUBLON DE CARTE ZEO */

.qz10-dashboard-refonte .qz10-zeo-secondary-card {
  display: none !important;
}

/* ÉCRANS LARGES */

@media (min-width: 1500px) {
  .qz10-dashboard-refonte .qz10-action-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* TABLETTES */

@media (max-width: 1180px) {
  .qz10-dashboard-refonte .qz10-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qz10-dashboard-refonte .qz10-dashboard-columns {
    grid-template-columns: 1fr;
  }
}

/* MOBILE */

@media (max-width: 650px) {
  .qz10-dashboard-refonte .qz10-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .qz10-dashboard-refonte .qz10-action-grid {
    grid-template-columns: 1fr;
  }

  .qz10-dashboard-refonte .qz10-action-card {
    min-height: 126px;
  }
}
