@import url('main.css');

/* Utility classes used by device setup templates */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-white { color: var(--text-primary) !important; }
.text-gray-200 { color: var(--text-muted) !important; }
.text-gray-300 { color: var(--text-muted) !important; }
.text-gray-400 { color: var(--text-dim) !important; }
.text-purple-300 { color: var(--accent-purple) !important; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.bg-gray-800 { background: var(--bg-elevated) !important; }
.rounded-xl { border-radius: var(--radius-lg); }
.rounded-2xl { border-radius: var(--radius-xl); }
.rounded-3xl { border-radius: 1.25rem; }
.rounded-full { border-radius: var(--radius-full); }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-12 { padding: 3rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.gap-2 { gap: 0.5rem; }
.gap-8 { gap: 2rem; }
.w-full { width: 100%; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-12 { width: 3rem; }
.h-48 { height: 12rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-12 { height: 3rem; }
.text-xl { font-size: 1.25rem; }
.text-4xl { font-size: 2.25rem; }
.text-sm { font-size: 0.875rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
.max-w-4xl { max-width: 56rem; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.object-cover { object-fit: cover; }
.transition-all { transition: all var(--transition); }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }

@media (min-width: 768px) {
  .md\:text-5xl { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: 1fr 1fr; }
}

/* Override legacy bright gradients — use dark theme */
.page-landing,
.page-device-setup {
  background: var(--bg-primary) !important;
}

/* Legacy button classes mapped to new system */
.bg-blue-500, .bg-blue-600,
button.bg-blue-500, button.bg-blue-600 {
  background: var(--gradient-primary) !important;
  color: #fff !important;
  border: none !important;
}

.bg-gray-700, button.bg-gray-700 {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-muted) !important;
}

.hover\:bg-blue-600:hover { filter: brightness(1.08); }
.hover\:bg-gray-600:hover { background: var(--bg-card-hover) !important; color: var(--text-primary) !important; }

.hidden { display: none; }
.w-full { width: 100%; }
