/* ================================================================================
   USAGE DISPLAY - Barres de progression circulaires pour l'utilisation
   ================================================================================ */

.usage-section {
  padding: var(--spacing-xl);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  margin: var(--spacing-xl) 0;
  border: 1px solid var(--border-color);
}

.usage-title {
  color: var(--text-primary);
  margin-bottom: var(--spacing-2xl);
  font-size: 20px;
  font-weight: 500;
  font-family: var(--font-family);
}

.usage-blocks {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
}

.usage-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border-radius: 50%;
}

.box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: calc(100% - 50px);
  height: calc(100% - 50px);
  border-radius: 50%;
  background-color: var(--bg-main);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.box::before {
  position: absolute;
  content: '';
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

.box .number {
  margin: 0;
  padding: 0;
}

.box .number span {
  color: var(--text-primary);
}

.box .number .num {
  font-size: 35px;
  font-weight: bold;
  font-family: var(--font-family);
}

.box .number .sub {
  font-size: 20px;
  font-family: var(--font-family);
}

.block-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  text-align: center;
  font-family: var(--font-family);
}

.dots {
  display: block;
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: 2s transform, 2s opacity ease;
}

.dots::after {
  position: absolute;
  content: '';
  width: 10px;
  height: 10px;
  top: 5px;
  left: 50%;
  border-radius: 50%;
  background-color: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
  transform: translateX(-50%);
}

.svg {
  position: absolute;
  width: 100%;
  height: 100%;
  fill: none;
  transform: rotate(-90deg);
}

.circle {
  stroke-width: 4px;
  stroke-dasharray: 503;
  stroke-dashoffset: 503;
  transition: 2s stroke-dashoffset;
}

.reset-info {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
  font-family: var(--font-family);
}

.last-updated {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: var(--spacing-2xl);
  font-family: var(--font-family);
}

/* Responsive */
@media (max-width: 768px) {
  .usage-blocks {
    gap: 30px;
  }

  .block {
    width: 150px;
    height: 150px;
  }

  .box .number .num {
    font-size: 28px;
  }

  .box .number .sub {
    font-size: 16px;
  }

  .block-title {
    font-size: 13px;
  }
}
