/* ===================================
   BUILD SUMMARY REDESIGN (Image 2 Style)
   =================================== */

/* Mobile Container - Add consistent side padding */
@media (max-width: 480px) {
  #build-value {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
}

/* Build Overview Title */
.build-overview-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px 0;
  padding: 70px 20px 0 20px;
  text-align: left;
}

@media (max-width: 480px) {
  .build-overview-title {
    padding: 70px 0 0 0;
  }
}

/* Car Info Row */
.build-car-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 8px 20px;
  justify-content: center;
}

@media (max-width: 480px) {
  .build-car-info-row {
    padding: 16px 0 8px 0;
  }
}

.build-car-model {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
}

.build-type-badge-summary {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Performance Section (HP + Drift Score + Pentagon) */
.performance-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin: 20px 0;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .performance-section {
    padding: 0;
  }
}

.performance-metrics-boxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.metric-box {
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 20px;
  text-align: center;
}

.metric-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  text-transform: capitalize;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.metric-value {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

/* Pentagon Chart */
.pentagon-container-redesign {
  flex-shrink: 0;
}

/* Compact Cost Info */
.cost-info-compact {
  padding: 0 20px;
  margin: 20px 0;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .cost-info-compact {
    padding: 0;
  }
}

.cost-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}

.cost-label {
  color: rgba(255,255,255,0.7);
}

.cost-amount {
  color: #fff;
  font-weight: 600;
}

.cost-item.cost-total {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 700;
}

.cost-item.cost-total .cost-label,
.cost-item.cost-total .cost-amount {
  color: #fff;
  font-weight: 700;
}

/* Build List Title */
.build-list-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 24px 20px 16px 20px;
  text-transform: none;
}

@media (max-width: 480px) {
  .build-list-title {
    margin: 24px 0 16px 0;
  }
}

/* Build Buttons - Black background, white text */
.build-buttons-container {
  display: flex;
  gap: 12px;
  padding: 20px;
  margin-top: 20px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .build-buttons-container {
    padding: 20px 0;
  }
}

.detail-list-button,
.continue-button {
  flex: 1;
  padding: 14px 20px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-list-button:hover,
.continue-button:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

/* Action Bottom Bar - Black and white buttons */
.action-bottom-bar {
  display: flex;
  gap: 12px;
  padding: 20px;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.action-bottom-bar .action-btn {
  flex: 1;
  padding: 14px 20px;
  background: #000;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.action-bottom-bar .action-btn:hover {
  background: #1a1a1a;
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

.action-bottom-bar .btn-icon {
  font-size: 18px;
}

.action-bottom-bar .btn-text {
  color: #fff;
  font-weight: 600;
}

/* Build Categories - Redesigned Style */
.build-categories {
  padding: 0 20px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .build-categories {
    padding: 0;
  }
}

.build-category {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: rgba(30, 30, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  transition: background 0.3s ease;
  cursor: pointer;
}

.build-category:hover {
  background: rgba(40, 40, 40, 0.9);
}

.build-category .category-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
}

.build-category .category-icon img {
  width: 24px;
  height: 24px;
  filter: invert(1) brightness(0);
}

.build-category .category-name {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-transform: capitalize;
}

.build-category .category-value {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
