/* Mietpark-Planer V3.2 – Einheitliche Dashboard-Icons
   Diese Datei wird zusätzlich nach styles.css geladen. */

.kpi-icon,
.status-check {
  position: relative;
  overflow: hidden;
  font-size: 0 !important;
  line-height: 1;
}

/* 1. Aktive Mietaufträge: Dokument / Auftrag */
.kpi-card:nth-child(1) .kpi-icon::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 2px;
  box-sizing: border-box;
  top: 9px;
  left: 11px;
}

.kpi-card:nth-child(1) .kpi-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  top: 15px;
  left: 15px;
  box-shadow: 0 4px 0 currentColor;
}

/* 2. Verfügbare Geräte: sauber gezeichneter Haken */
.kpi-card:nth-child(2) .kpi-icon::before,
.status-check::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg);
  top: 11px;
  left: 11px;
}

.status-check::before {
  width: 10px;
  height: 5px;
  border-width: 2px;
  top: 7px;
  left: 6px;
}

/* 3. Offene Transporte: zwei klare Gegenpfeile */
.kpi-card:nth-child(3) .kpi-icon::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  top: 12px;
  left: 11px;
  box-shadow: 0 8px 0 currentColor;
}

.kpi-card:nth-child(3) .kpi-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  box-sizing: border-box;
  top: 9px;
  left: 19px;
  transform: rotate(45deg);
  box-shadow: -10px 10px 0 -1px transparent;
}

/* Zweiter Pfeilkopf über ein kleines zusätzliches Element am Rand */
.kpi-card:nth-child(3) .kpi-icon {
  background-image:
    linear-gradient(135deg, transparent 45%, currentColor 46%, currentColor 54%, transparent 55%),
    linear-gradient(45deg, transparent 45%, currentColor 46%, currentColor 54%, transparent 55%);
  background-repeat: no-repeat;
  background-size: 7px 7px, 7px 7px;
  background-position: 8px 17px, 8px 16px;
}

/* 4. Mietbeginn morgen: Termin-Pfeil */
.kpi-card:nth-child(4) .kpi-icon::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  top: 17px;
  left: 10px;
}

.kpi-card:nth-child(4) .kpi-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  box-sizing: border-box;
  top: 13px;
  left: 18px;
  transform: rotate(45deg);
}

/* Navigation: gleiche Ausrichtung und keine unterschiedlich hohen Glyphen */
.nav-item > span {
  display: grid;
  place-items: center;
  width: 18px;
  min-width: 18px;
  height: 20px;
  line-height: 1;
  font-size: 15px;
}

/* Systemstatus: alle Haken werden aus CSS gezeichnet */
.status-check {
  color: #aef3cc;
}
