
.avpwc-wrap {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  flex: 1 1 100% !important;
  align-self: stretch !important;
}

.elementor-widget-shortcode .avpwc-wrap,
.elementor-shortcode .avpwc-wrap,
.elementor-widget-container .avpwc-wrap {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 1 1 100% !important;
  align-self: stretch !important;
}

.avpwc-card,
.avpwc-card * {
  box-sizing: border-box;
}

.avpwc-card {
  position: relative;
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: hidden;
  border-radius: var(--avpwc-radius, 28px);
  padding: clamp(18px, 3vw, 28px);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 28%),
    linear-gradient(135deg, var(--avpwc-bg-start, #0f172a), var(--avpwc-bg-end, #1e293b));
  color: var(--avpwc-text, #ffffff);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
  isolation: isolate;
}

.avpwc-badge,
.avpwc-meta,
.avpwc-title,
.avpwc-subtitle,
.avpwc-label,
.avpwc-number,
.avpwc-reset-info,
.avpwc-reset-info strong,
.avpwc-reset-info span,
.avpwc-button {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}

.avpwc-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: .35;
  pointer-events: none;
  z-index: -1;
}

.avpwc-glow-1 {
  width: 180px;
  height: 180px;
  top: -35px;
  right: -25px;
  background: var(--avpwc-accent, #f59e0b);
}

.avpwc-glow-2 {
  width: 140px;
  height: 140px;
  bottom: -40px;
  left: -20px;
  background: rgba(255,255,255,.22);
}

.avpwc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.avpwc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: clamp(10px, 1.8vw, 12px);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  color: #0f172a;
  background: linear-gradient(135deg, #fff4d6, var(--avpwc-accent, #f59e0b));
  box-shadow: 0 8px 22px rgba(245, 158, 11, .30);
}

.avpwc-meta {
  color: var(--avpwc-muted, #cbd5e1);
  font-size: clamp(12px, 1.8vw, 14px);
  font-weight: 500;
  text-align: right;
}

.avpwc-title {
  margin: 0;
  font-size: clamp(26px, 4.2vw, 46px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.03em;
}

.avpwc-subtitle {
  margin: 10px 0 0;
  max-width: 760px;
  color: var(--avpwc-muted, #cbd5e1);
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.55;
}

.avpwc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.avpwc-box {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 18px 12px;
  border-radius: calc(var(--avpwc-radius, 28px) - 10px);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  text-align: center;
}

.avpwc-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 55%);
  pointer-events: none;
}

.avpwc-number {
  display: block;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.avpwc-label {
  display: block;
  margin-top: 10px;
  font-size: clamp(10px, 1.5vw, 13px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--avpwc-muted, #cbd5e1);
}

.avpwc-card[data-show-labels="no"] .avpwc-label {
  display: none;
}

.avpwc-progress {
  position: relative;
  width: 100%;
  height: 10px;
  margin-top: 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  overflow: hidden;
}

.avpwc-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--avpwc-accent, #f59e0b), #ffffff);
  box-shadow: 0 0 22px rgba(255,255,255,.18);
  transition: width .6s ease;
}

.avpwc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.avpwc-reset-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  min-width: 0;
  color: var(--avpwc-muted, #cbd5e1);
  font-size: clamp(12px, 1.8vw, 14px);
  line-height: 1.45;
}

.avpwc-reset-info strong {
  color: var(--avpwc-text, #ffffff);
  font-weight: 700;
}

.avpwc-reset-date {
  color: var(--avpwc-text, #ffffff);
  font-weight: 600;
}

.avpwc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: min(220px, 100%);
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--avpwc-accent, #f59e0b), #ffd77a);
  color: #111827;
  font-size: clamp(12px, 1.8vw, 14px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(245, 158, 11, .28);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.avpwc-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(245, 158, 11, .35);
  opacity: .98;
}

@media (max-width: 900px) {
  .avpwc-card {
    padding: 22px;
  }

  .avpwc-topbar {
    align-items: flex-start;
  }

  .avpwc-meta {
    text-align: left;
  }

  .avpwc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .avpwc-card {
    padding: 18px;
    border-radius: min(var(--avpwc-radius, 28px), 22px);
  }

  .avpwc-title {
    font-size: clamp(24px, 8vw, 32px);
  }

  .avpwc-subtitle {
    font-size: 14px;
    line-height: 1.5;
  }

  .avpwc-grid {
    gap: 12px;
    margin-top: 18px;
  }

  .avpwc-box {
    padding: 16px 10px;
    border-radius: 16px;
  }

  .avpwc-number {
    font-size: clamp(28px, 9vw, 40px);
  }

  .avpwc-label {
    font-size: 11px;
    letter-spacing: .05em;
  }

  .avpwc-progress,
  .avpwc-footer {
    margin-top: 18px;
  }

  .avpwc-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 360px) {
  .avpwc-topbar {
    gap: 10px;
  }

  .avpwc-badge {
    width: 100%;
    padding: 9px 12px;
  }

  .avpwc-grid {
    grid-template-columns: 1fr;
  }

  .avpwc-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .avpwc-reset-info {
    align-items: flex-start;
  }
}
