.avance-distrital {
  max-width: 1500px;
  margin: 40px auto 0;
  padding-top: 12px;
  border-top: none;
  margin-bottom: 50px;
}

.avance-distrital__title {
  margin: 0 0 18px;
  font-size: 1.9rem;
  font-weight: 800;
  color: #000;
  text-transform: uppercase;
}

.avance-distrital__toolbar {
  margin-bottom: 18px;
}

.avance-distrital__select {
  width: 100%;
  max-width: 640px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(113, 35, 129, 0.16);
  border-radius: 14px;
  background: #fff;
  color: #000;
  font-size: 1rem;
  line-height: 1.2;
  outline: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.avance-distrital__select:focus {
  border-color: #5e0081;
  box-shadow: 0 0 0 4px rgba(113, 35, 129, 0.12);
}

.avance-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.avance-card__header {
  background: #5e0081;
  color: #fff;
  padding: 14px 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.avance-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
}

.avance-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
}

.avance-table th,
.avance-table td {
  border-right: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 10px 8px;
  text-align: center;
  font-size: 0.95rem;
  vertical-align: middle;
}

.avance-table th:last-child,
.avance-table td:last-child {
  border-right: none;
}

.avance-table thead tr:first-child th {
  background: #f7f3f8;
  color: #222;
  font-weight: 700;
  text-transform: uppercase;
}

.avance-table thead tr:nth-child(2) th {
  background: #fff;
  font-weight: 500;
}

.avance-table tbody td {
  background: #fff;
}

.avance-card__progress-label {
  text-align: center;
  padding: 18px 12px 12px;
  font-size: 1rem;
  color: #333;
}

.avance-card__progress {
  height: 14px;
  margin: 0 18px;
  border-radius: 999px;
  overflow: hidden;
  background: repeating-linear-gradient(
    -45deg,
    rgba(113, 35, 129, 0.22) 0px,
    rgba(113, 35, 129, 0.22) 8px,
    rgba(113, 35, 129, 0.12) 8px,
    rgba(113, 35, 129, 0.12) 16px
  );
}

.avance-card__progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #712381 0%, #5e0081 100%);
  transition: width 0.35s ease;
}

.avance-card__progress-value {
  text-align: center;
  padding: 16px 12px 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .avance-distrital__title {
    font-size: 1.35rem;
  }

  .avance-distrital__select {
    min-height: 50px;
    font-size: 0.95rem;
  }

  .avance-table th,
  .avance-table td {
    font-size: 0.88rem;
    padding: 8px 6px;
  }

  .avance-card__progress {
    margin: 0 12px;
  }
}