/* ===================================
   SUBSCRIPTION BADGE STYLES
   =================================== */

.subscription-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
}

.subscription-free {
  background: #e0e0e0;
  color: #666;
}

.subscription-plus {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.subscription-pro {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.badge-upgrade {
  margin-left: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: white;
  color: #667eea;
  border: none;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.badge-upgrade:hover {
  background: rgba(255, 255, 255, 0.9);
}

.badge-free {
  background: rgba(160, 174, 192, 0.1);
  color: var(--text-secondary);
  border: 1px solid rgba(160, 174, 192, 0.2);
}

.badge-plus {
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.15), rgba(147, 51, 234, 0.15));
  color: var(--accent-blue);
  border: 1px solid rgba(74, 158, 255, 0.3);
}

.badge-pro {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(234, 88, 12, 0.15));
  color: #f59e0b;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.badge-icon {
  font-size: 1rem;
  line-height: 1;
}

.badge-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}

/* Vehicle Count Display */
.vehicle-count {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--secondary-bg);
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-left: 0.5rem;
}

.vehicle-count.warning {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Subscription Info Container */
.subscription-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Usage Indicator */
.usage-indicator {
  background: var(--secondary-bg);
  border-radius: 12px;
  padding: 1rem;
  margin: 0.5rem 0;
}

.usage-indicator.warning {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.usage-indicator.unlimited {
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.1), rgba(147, 51, 234, 0.1));
  border: 1px solid rgba(74, 158, 255, 0.2);
}

.usage-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.usage-bar {
  height: 8px;
  background: var(--primary-bg);
  border-radius: 4px;
  overflow: hidden;
  margin: 0.5rem 0;
}

.usage-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  transition: width 0.3s ease;
  border-radius: 4px;
}

.usage-indicator.warning .usage-fill {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

.usage-text {
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 500;
}

.usage-indicator.unlimited .usage-text {
  color: var(--accent-blue);
  font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .subscription-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .vehicle-count {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .subscription-info {
    gap: 0.5rem;
  }
}
