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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

.container { max-width: 1400px; margin: 0 auto; padding: 2rem; }
.header { margin-bottom: 2rem; }
.header h1 { font-size: 2rem; margin-bottom: 0.5rem; color: #fbbf24; }
.subtitle { color: #94a3b8; }
.loading { text-align: center; padding: 4rem; color: #94a3b8; }

.filters {
  margin-bottom: 2rem;
}

.filter-select {
  background: #1e293b;
  border: 1px solid #334155;
  color: #e2e8f0;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  min-width: 200px;
}

.filter-select:focus {
  outline: none;
  border-color: #fbbf24;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.device-card {
  background: #1e293b;
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid #fbbf24;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.device-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: #fbbf24;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.device-info {
  flex: 1;
}

.device-info h3 {
  color: #e2e8f0;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.device-type {
  color: #fbbf24;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.device-serial {
  color: #94a3b8;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.device-assignee {
  color: #94a3b8;
  font-size: 0.75rem;
}

.device-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.625rem;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-assigned {
  background: #34d399;
  color: #0f172a;
}

.status-available {
  background: #60a5fa;
  color: #0f172a;
}

.status-maintenance {
  background: #fbbf24;
  color: #0f172a;
}
