/* Main CSS - Shared Styles */

:root {
  /* Colors */
  --bg-primary: #070c16;
  --bg-secondary: #0f1419;
  --card-bg: #0f1419;
  --border-color: rgba(59, 130, 246, 0.2);
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-tertiary: #6b7280;
  --primary-color: #3b82f6;
  --secondary-color: #8b5cf6;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-green: #22c55e;
  --success-color: #22c55e;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --accent-red: #ef4444;
  --accent-yellow: #f59e0b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-color);
  border: 1.5px solid rgba(59, 130, 246, 0.35);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Share Garage Button - Premium Style */
.share-garage-btn {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15)) !important;
  border: 1.5px solid rgba(139, 92, 246, 0.4) !important;
  color: var(--primary-color) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1), 0 4px 12px rgba(139, 92, 246, 0.15);
}

.share-garage-btn:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.25)) !important;
  border-color: rgba(139, 92, 246, 0.65) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15), 0 12px 32px rgba(139, 92, 246, 0.35) !important;
  transform: translateY(-2px);
}

.share-garage-btn:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(139, 92, 246, 0.2) !important;
}

.share-garage-btn svg {
  stroke-width: 2.5;
  transition: all 0.3s ease;
}

.share-garage-btn:hover svg {
  transform: scale(1.1);
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-secondary);
}

/* Loading Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(59, 130, 246, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
