@charset "utf-8";
/* ======================================================
   GW audio design | website version 2.9.5 Donut Progress   
   ====================================================== */

/* =========================
   Base (Desktop default)
   ========================= */

.gw-kpi-strip {
  width: 471px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  background: #ffffff;
}

.gw-kpi {
  flex: 1 1 0;
  text-align: center;
  padding: 0 14px;              /* compact */
  position: relative;
}

/* Divider vertical */
.gw-kpi--divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background-color: #d6d6d6;
}

/* Donut ring */
.gw-donut {
  --size: 90px;                 /* desktop compact */
  --thickness: 16px;

  width: var(--size);
  height: var(--size);
  margin: 0 auto 10px;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    #7eaad0 0%,
    #6f93b8 45%,
    #94adca calc(var(--p) * 0.75%),
    #8096af calc(var(--p) * 1%),
    #e9ecef 0
  );
  position: relative;
}

/* Inner Circle */
.gw-donut::after {
  content: "";
  position: absolute;
  inset: var(--thickness);
  background: #ffffff;
  border-radius: 50%;
}

/* Percentage */
.gw-donut__value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 405;
  font-size: 18px;              /* desktop compact */
  color: #1f2a37;
  z-index: 1;

  /* Animation */
  opacity: 0;
  transform: scale(0.9);
  animation: gw-value-in 0.6s ease-out forwards;
  animation-delay: 0.4s;
}

/* KPI label */
.gw-kpi__label {
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 9.5px;             /* desktop compact */
  line-height: 1.2;
  color: #222222;
  text-transform: uppercase;
}

/* Animation */
@keyframes gw-value-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* =========================
   Accessibility / Motion
   ========================= */
@media (prefers-reduced-motion: reduce) {
  .gw-donut__value {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* =========================
   Tablet / small desktop
   <= 991px: slightly larger
   ========================= */
@media (max-width: 991px) {
  .gw-kpi-strip {
    width: 520px;               /* more room if available */
  }

  .gw-donut {
    --size: 100px;
    --thickness: 18px;
    margin-bottom: 12px;
  }

  .gw-donut__value {
    font-size: 20px;
  }

  .gw-kpi__label {
    font-size: 10.5px;
  }
}

/* =========================
   Mobile
   <= 575px: column layout 
   ========================= */
@media (max-width: 575px) {
  .gw-kpi-strip {
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  .gw-kpi {
    padding: 0;
  }

  .gw-kpi--divider::before {
    display: none;
  }

  .gw-donut {
    --size: 130px;              /* mobile readable */
    --thickness: 23px;
    margin-bottom: 10px;
  }

  .gw-donut__value {
    font-size: 27px;            /* mobile readable */
  }

  .gw-kpi__label {
    font-size: 11px;            /* mobile readable */
  }
}