/* ===================================
   GARAGE REDESIGN - Based on Reference Images
   =================================== */

.garage-redesign {
  background: #000;
  min-height: 100vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* ===================================
   USER PROFILE HEADER (Image 2 Style)
   =================================== */

.garage-header {
  position: relative;
  padding: 60px 20px 24px;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.user-profile-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.profile-avatar-container {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFD700;
}

.avatar-edit-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-avatar-container:hover .avatar-edit-overlay {
  display: flex;
}

.edit-icon {
  font-size: 24px;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
  letter-spacing: 0.3px;
}

.profile-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.stat-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.2);
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.free-builds-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  color: #fff;
  font-weight: 500;
  margin-right: 8px;
}

.free-builds-badge .badge-icon {
  font-size: 16px;
}

.free-builds-badge .badge-text {
  font-size: 12px;
  color: #4CAF50;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.elite-badge {
  display: inline-block;
  padding: 2px 8px;
  background: transparent;
  border-radius: 4px;
  border: none;
  font-size: 11px;
  color: #FFD700;
  font-weight: 600;
  margin-bottom: 8px;
}

.badge-icon {
  font-size: 16px;
}

.badge-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.badge-location {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
}

.badge-title {
  font-size: 10px;
  color: #FFD700;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.settings-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.settings-btn:hover {
  color: #fff;
}

/* ===================================
   CAR LIST SECTION (Vertical Scroll)
   =================================== */

.car-list-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  padding-bottom: 90px;
  background: #000;
}

.car-card {
  position: relative;
  background: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}

.car-card:hover {
  background: rgba(40, 40, 40, 0.9);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.car-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.car-title-section {
  flex: 1;
}

.car-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px 0;
  letter-spacing: 0.3px;
}

.build-type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.3px;
  background: #fff;
  color: #000;
  border: 1px solid rgba(255,255,255,0.9);
}

.delete-build-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 4px;
  transition: all 0.3s ease;
}

.delete-build-btn:hover {
  color: #ff4444;
  transform: scale(1.1);
}

.car-value {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.car-image-wrapper {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: rgba(0,0,0,0.3);
}

.car-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.car-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 12px;
  gap: 12px;
}

.car-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-value {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.drift-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  padding: 0 8px;
}

.drift-score-label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.drift-score-value {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.pentagon-display {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pentagon-svg {
  display: block;
  filter: drop-shadow(0 0 4px rgba(0,255,255,0.3));
}

.pentagon-label {
  fill: rgba(255,255,255,0.6);
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pentagon-value {
  fill: #00ffff;
  font-size: 10px;
  font-weight: 700;
}

.rerun-build-btn {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(0,122,255,0.8) 0%, rgba(0,81,213,0.8) 100%);
  border: 1px solid rgba(0,122,255,0.5);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rerun-build-btn svg {
  width: 16px;
  height: 16px;
}

.rerun-build-btn:hover {
  background: linear-gradient(135deg, rgba(0,122,255,1) 0%, rgba(0,81,213,1) 100%);
  border-color: rgba(0,122,255,0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,122,255,0.3);
}

.rerun-build-btn:active {
  transform: translateY(0);
}

.fact-check-card-btn {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: rgba(100,100,100,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fact-check-card-btn:hover {
  background: rgba(120,120,120,0.8);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

.fact-check-card-btn:active {
  transform: translateY(0);
}

.share-build-btn {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(0,255,255,0.2) 0%, rgba(0,212,212,0.2) 100%);
  border: 1px solid rgba(0,255,255,0.4);
  border-radius: 10px;
  color: #00ffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.share-build-btn:hover {
  background: linear-gradient(135deg, rgba(0,255,255,0.3) 0%, rgba(0,212,212,0.3) 100%);
  border-color: rgba(0,255,255,0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,255,255,0.3);
}

.share-build-btn:active {
  transform: translateY(0);
}

.share-build-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.delete-build-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(220,53,69,0.9);
  border: 1px solid rgba(220,53,69,1);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  opacity: 1;
  z-index: 10;
}

.delete-build-btn:hover {
  background: rgba(220,53,69,1);
  transform: scale(1.15);
  box-shadow: 0 2px 8px rgba(220,53,69,0.5);
}

/* Prevent card click when clicking delete button */
.delete-build-btn:active {
  transform: scale(0.95);
}

/* Empty State */
.empty-garage {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255,255,255,0.5);
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.3;
}

.empty-garage h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.7);
}

.empty-garage p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}

/* ===================================
   BOTTOM NAVIGATION BAR (Instagram Style)
   =================================== */

.garage-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 20px;
  z-index: 101;
}

.nav-item {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-item:hover {
  color: rgba(255,255,255,0.7);
  transform: scale(1.1);
}

.nav-item.active {
  color: #FFD700;
}

.nav-item svg {
  width: 24px;
  height: 24px;
}

/* Center Add Button (Instagram style) */
.nav-item-add {
  background: #000;
  border: 3px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  margin-top: -18px; /* Lift it above the nav bar */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  padding: 0;
  overflow: hidden;
}

.nav-item-add:hover {
  background: #1a1a1a;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-item-add:active {
  transform: scale(1.05) translateY(-1px);
}

.nav-item-add svg {
  width: 40px;
  height: 40px;
  stroke: #fff;
  fill: none;
}

.nav-item-add img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.delete-build-btn svg {
  stroke: #fff !important;
  fill: none !important;
  display: block;
}

/* ===================================
   FACT CHECK BADGES
   =================================== */

.fact-check-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.fc-pending {
  background: rgba(255,193,7,0.2);
  color: #FFC107;
  border: 1px solid rgba(255,193,7,0.5);
}

.fc-pending:hover {
  background: rgba(255,193,7,0.3);
  box-shadow: 0 0 10px rgba(255,193,7,0.3);
}

.fc-review {
  background: rgba(33,150,243,0.2);
  color: #2196F3;
  border: 1px solid rgba(33,150,243,0.5);
}

.fc-review:hover {
  background: rgba(33,150,243,0.3);
  box-shadow: 0 0 10px rgba(33,150,243,0.3);
}

.fc-certified {
  background: rgba(76,175,80,0.2);
  color: #4CAF50;
  border: 1px solid rgba(76,175,80,0.5);
}

.fc-certified:hover {
  background: rgba(76,175,80,0.3);
  box-shadow: 0 0 10px rgba(76,175,80,0.3);
}

.fc-rejected {
  background: rgba(244,67,54,0.2);
  color: #F44336;
  border: 1px solid rgba(244,67,54,0.5);
}

.fc-rejected:hover {
  background: rgba(244,67,54,0.3);
  box-shadow: 0 0 10px rgba(244,67,54,0.3);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
  .car-image-wrapper {
    height: 180px;
  }
  
  .profile-name {
    font-size: 20px;
  }
  
  .stat-number {
    font-size: 18px;
  }
}

@media (min-height: 800px) {
  .car-image-wrapper {
    height: 240px;
  }
}

/* ===================================
   PERFORMANCE CHART MODAL
   =================================== */

.performance-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
}

.performance-modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: 20px;
  padding: 30px;
  max-width: 90%;
  width: 400px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  color: #fff;
  transform: rotate(90deg);
}

.modal-title {
  color: #FFD700;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 5px 0;
  text-align: center;
}

.modal-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin: 0 0 25px 0;
  text-align: center;
}

/* Pentagon Container */
.pentagon-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  min-height: 280px;
}

.pentagon-chart {
  display: block;
  margin: 0 auto;
}

/* Pentagon Labels */
.pentagon-labels {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.pentagon-labels .label {
  position: absolute;
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pentagon-labels .label span {
  display: block;
  color: #00ffff;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.label-top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.label-right {
  top: 25%;
  right: 0;
  transform: translateX(10px);
}

.label-bottom-right {
  bottom: 15%;
  right: 10%;
}

.label-bottom-left {
  bottom: 15%;
  left: 10%;
}

.label-left {
  top: 25%;
  left: 0;
  transform: translateX(-10px);
}

/* Modal Stats */
.modal-stats {
  display: flex;
  justify-content: space-around;
  gap: 15px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.modal-stats .stat-item {
  flex: 1;
  text-align: center;
}

.modal-stats .stat-label {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-stats .stat-value {
  display: block;
  color: #00ffff;
  font-size: 18px;
  font-weight: 700;
}

/* Responsive modal */
@media (max-width: 480px) {
  .performance-modal-content {
    width: 95%;
    padding: 20px;
  }
  
  .pentagon-chart {
    width: 220px;
    height: 220px;
  }
  
  .pentagon-labels .label {
    font-size: 10px;
  }
  
  .modal-stats {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===================================
   TOAST NOTIFICATIONS
   =================================== */

.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  min-width: 280px;
  max-width: 400px;
  padding: 16px 20px;
  background: rgba(20, 20, 20, 0.95);
  border-radius: 12px;
  border-left: 4px solid;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: all;
  animation: toastSlideIn 0.3s ease-out;
  backdrop-filter: blur(10px);
}

@keyframes toastSlideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.toast-out {
  animation: toastSlideOut 0.3s ease-out forwards;
}

@keyframes toastSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.toast-success {
  border-left-color: #4CAF50;
}

.toast-error {
  border-left-color: #F44336;
}

.toast-warning {
  border-left-color: #FFC107;
}

.toast-info {
  border-left-color: #2196F3;
}

.toast-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  color: #4CAF50;
}

.toast-error .toast-icon {
  color: #F44336;
}

.toast-warning .toast-icon {
  color: #FFC107;
}

.toast-info .toast-icon {
  color: #2196F3;
}

.toast-content {
  flex: 1;
  color: #fff;
}

.toast-message {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.toast-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s;
}

.toast-close:hover {
  color: rgba(255, 255, 255, 1);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .toast-container {
    top: 60px;
    right: 10px;
    left: 10px;
  }
  
  .toast {
    min-width: auto;
    max-width: 100%;
  }
}

/* ========================================
   PURCHASE SUCCESS ANIMATION
   ======================================== */

.purchase-success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.purchase-success-overlay.show {
  opacity: 1;
}

.purchase-success-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 2px solid #4CAF50;
  border-radius: 24px;
  padding: 48px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(76, 175, 80, 0.3);
}

.purchase-success-overlay.show .purchase-success-card {
  transform: scale(1);
}

.success-icon {
  margin: 0 auto 24px;
  width: 80px;
  height: 80px;
}

.success-circle {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: drawCircle 0.6s ease forwards;
}

.success-check {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 0.4s ease forwards 0.4s;
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

.success-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
  animation: slideUp 0.5s ease 0.3s both;
}

.success-subtitle {
  font-size: 18px;
  color: #4CAF50;
  margin: 0 0 32px 0;
  animation: slideUp 0.5s ease 0.4s both;
}

.success-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.success-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(76, 175, 80, 0.1);
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid rgba(76, 175, 80, 0.3);
  animation: slideUp 0.5s ease calc(0.5s + var(--index) * 0.1s) both;
}

.success-item:nth-child(1) {
  --index: 0;
}

.success-item:nth-child(2) {
  --index: 1;
}

.success-item-icon {
  font-size: 24px;
}

.success-item-text {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.success-close-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  animation: slideUp 0.5s ease 0.7s both;
}

.success-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.success-close-btn:active {
  transform: translateY(0);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive for success animation */
@media (max-width: 600px) {
  .purchase-success-card {
    padding: 32px 24px;
  }
  
  .success-title {
    font-size: 24px;
  }
  
  .success-subtitle {
    font-size: 16px;
  }
  
  .success-item-text {
    font-size: 16px;
  }
}

/* ===================================
   BUILD CARD ACTION BUTTONS (Image 2 Style)
   =================================== */

/* Use more specific selector to override style.css */
.car-card .car-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  flex-direction: row !important;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: none !important;
  width: 100% !important;
}

.car-card .car-actions .action-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #FFD700;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Fact Check button - full width first row */
.car-card .car-actions .action-btn.fact-check-card-btn {
  flex: 0 0 100% !important;
  width: 100% !important;
}

/* Rerun and Share buttons - half width second row */
/* Gap is 8px between them, so each button is (100% - 8px) / 2 */
.car-card .car-actions .action-btn.rerun-build-btn,
.car-card .car-actions .action-btn.share-build-btn {
  flex: 1 1 calc(50% - 4px) !important;
}

.car-card .car-actions .action-btn:hover {
  background: rgba(0,0,0,0.6);
  border-color: rgba(255,215,0,0.3);
  transform: translateY(-1px);
}

.car-card .car-actions .action-btn:active {
  transform: translateY(0);
}

.car-card .car-actions .action-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ===================================
   RADAR CHART LARGER SIZE (Image 2 Style)
   =================================== */

.drift-chart-container {
  width: 120px;
  height: 120px;
  position: relative;
}

.drift-chart-container canvas {
  width: 100% !important;
  height: 100% !important;
}
