/* ==================== DC 充电动画 - SU7 写实风格 ==================== */

@keyframes dc-beam-rise {
  0%   { transform: translateY(6px) scaleY(0.15); opacity: 0; }
  8%   { opacity: 0.7; }
  45%  { opacity: 0.4; }
  100% { transform: translateY(-45px) scaleY(1); opacity: 0; }
}

@keyframes dc-number-glow {
  0%, 100% {
    text-shadow: 0 0 8px rgba(74,222,128,0.45), 0 0 18px rgba(74,222,128,0.2);
  }
  50% {
    text-shadow: 0 0 12px rgba(74,222,128,0.7), 0 0 26px rgba(74,222,128,0.35), 0 0 40px rgba(34,211,238,0.12);
  }
}

/* 容器 */
.dc-charging-anim {
  position: relative;
  width: 100%;
  height: 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0.25rem 0;
}

.dc-charging-anim .car-svg {
  width: 100%;
  flex: 1;
  min-height: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.65));
}

/* 能量光束 */
.dc-charging-anim .dc-energy-field {
  position: absolute;
  z-index: 20;
  top: 18%;
  left: 28%;
  width: 34%;
  height: 40%;
  overflow: hidden;
}

.dc-charging-anim .dc-beam {
  position: absolute;
  bottom: 0;
  width: 1.8px;
  background: linear-gradient(to top, transparent 0%, #16a34a 15%, #22c55e 40%, #4ade80 65%, #86efac 85%, transparent 100%);
  border-radius: 9999px;
  box-shadow: 0 0 3px rgba(34,197,94,0.5), 0 0 8px rgba(74,222,128,0.25);
  transform-origin: bottom center;
}

/* 充电状态文本 - 汽车正上方居中 */
.dc-charging-anim .dc-progress-number {
  position: absolute;
  z-index: 30;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  color: #4ade80;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-family: 'SF Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  animation: dc-number-glow 3s ease-in-out infinite;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(74,222,128,0.45), 0 0 18px rgba(74,222,128,0.2);
}

/* 状态信息 - 底部居中，不与车身重叠 */
.dc-charging-anim .dc-status-info {
  position: absolute;
  z-index: 30;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}

.dc-charging-anim .dc-status-label {
  color: #e2e8f0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}

.dc-charging-anim .dc-charging-duration {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.dc-charging-anim .dc-status-detail {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
