/* Vehicle Detail Screen - Professional Icons & Layout */

/* Action Buttons Row (Instagram-style) */
.vehicle-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  margin-bottom: 16px;
}

.vehicle-actions-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.action-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.action-icon-btn:hover {
  background: rgba(var(--text-primary-rgb), 0.05);
  transform: scale(1.1);
}

.action-icon-btn:active {
  transform: scale(0.95);
}

.action-icon-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Heart Icon (Like Button) */
.heart-icon {
  width: 28px;
  height: 28px;
  position: relative;
}

.heart-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--text-secondary);
  stroke-width: 2;
  fill: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.heart-icon.liked svg {
  stroke: #ef4444;
  fill: #ef4444;
  animation: heartPulse 0.3s ease;
}

@keyframes heartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Comment Icon */
.comment-icon {
  width: 26px;
  height: 26px;
}

.comment-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--text-secondary);
  stroke-width: 2;
  fill: none;
  transition: stroke 0.2s;
}

.action-icon-btn:hover .comment-icon svg {
  stroke: var(--text-primary);
}

/* Share Icon */
.share-icon {
  width: 26px;
  height: 26px;
}

.share-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--text-secondary);
  stroke-width: 2;
  fill: none;
  transition: stroke 0.2s;
}

.action-icon-btn:hover .share-icon svg {
  stroke: var(--text-primary);
}

/* Bookmark Icon */
.bookmark-icon {
  width: 26px;
  height: 26px;
}

.bookmark-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--text-secondary);
  stroke-width: 2;
  fill: none;
  transition: all 0.2s;
}

.bookmark-icon.bookmarked svg {
  fill: var(--accent-primary);
  stroke: var(--accent-primary);
}

.action-icon-btn:hover .bookmark-icon svg {
  stroke: var(--text-primary);
}

/* Stats Row */
.vehicle-stats-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stat-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.stat-item.clickable {
  cursor: pointer;
  transition: color 0.2s;
}

.stat-item.clickable:hover {
  color: var(--accent-primary);
}

.stat-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

/* Vehicle Info Card */
.vehicle-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.vehicle-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.vehicle-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary, var(--accent-primary)) 100%);
  border-radius: 12px;
  font-size: 24px;
}

.vehicle-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

/* License Plate Display */
.license-plate-display {
  flex: 1;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Courier New', monospace;
  font-weight: bold;
}

.plate-flag {
  font-size: 24px;
}

.plate-text {
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--text-primary);
}

/* Owner Info */
.owner-info-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.owner-info-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.owner-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary, var(--accent-primary)) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
}

.owner-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.owner-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.owner-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.follow-btn {
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid var(--accent-primary);
  background: transparent;
  color: var(--accent-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.follow-btn:hover {
  background: var(--accent-primary);
  color: white;
}

.follow-btn.following {
  background: var(--accent-primary);
  color: white;
}

.follow-btn.following:hover {
  background: transparent;
  color: var(--accent-primary);
}

/* Vehicle Details */
.vehicle-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vehicle-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-tag {
  padding: 6px 14px;
  background: rgba(var(--accent-primary-rgb), 0.1);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.vehicle-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vehicle-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vehicle-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0;
}

/* Comment Section Wrapper */
.comment-section-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
}

.comment-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive */
@media (max-width: 640px) {
  .vehicle-actions-left {
    gap: 16px;
  }

  .vehicle-info-card {
    padding: 16px;
  }

  .vehicle-title {
    font-size: 20px;
  }

  .owner-info-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .follow-btn {
    width: 100%;
  }
}
