:root {
  /* Colors - Refined Industrial / Soft Tech Aesthetic */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --accent-primary: #2563eb;
  --accent-secondary: #4f46e5;
  
  --status-critical: #dc2626;
  --status-critical-bg: #fef2f2;
  --status-warning: #d97706;
  --status-warning-bg: #fffbeb;
  --status-success: #059669;
  --status-success-bg: #ecfdf5;
  --status-neutral: #4b5563;
  --status-neutral-bg: #f3f4f6;

  --border-color: #e2e8f0;
  --border-hover: rgba(255, 255, 255, 0.15);
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  
  --font-main: 'JetBrains Mono', monospace;
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-ui);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Layout */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
  width: 100%;
  margin: 0 auto;
}

.header {
  display: none; /* Hide header for this specific version as it's not in the target image */
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.brand-logo {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
}

.brand-name {
  font-size: 1.25rem;
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.header-meta {
  text-align: right;
}

.timestamp {
  font-family: var(--font-main);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Grid System */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
}

@media (max-width: 1200px) {
  .inventory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .inventory-grid {
    grid-template-columns: 1fr;
  }
}

/* Column Container */
.status-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.column-header {
  padding: 12px 16px;
  background: #f1f5f9;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.status-column[data-type="protection"] .column-header { background-color: #f1ebd7; }
.status-column[data-type="posture"] .column-header { background-color: #f1e3e3; }
.status-column[data-type="mitigation"] .column-header { background-color: #f1ebd7; }
.status-column[data-type="amplification"] .column-header { background-color: #edf1e4; }

.column-title {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 400;
}

.column-count {
  font-family: var(--font-main);
  font-size: 0.75rem;
  background: var(--bg-tertiary);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Check Item Card */
.check-card {
  background: #f1f5f9; /* default gray */
  border: none;
  border-radius: 0;
  padding: var(--space-md);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.check-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.check-card.critical {
  background-color: #f1e3e3;
  border-left: 4px solid #b91c1c;
}

.check-card.success {
  background-color: #f1f5f9;
  border-left: none;
}

.check-card .badge {
  display: none; /* Hide badges in this version as per screenshot */
}

.check-indicator {
  display: none; /* Hide indicator dots as per screenshot */
}

.check-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
}

.check-title {
  font-size: 0.875rem;
  font-weight: 400;
  color: #94a3b8;
  flex: 1;
  margin-bottom: 6px;
}

.check-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: var(--space-sm);
  margin-top: 6px;
}

.check-indicator.critical { background-color: var(--status-critical); box-shadow: 0 0 8px var(--status-critical); }
.check-indicator.warning { background-color: var(--status-warning); box-shadow: 0 0 8px var(--status-warning); }
.check-indicator.success { background-color: var(--status-success); box-shadow: 0 0 8px var(--status-success); }

.check-description {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.4;
}

/* Badge System */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: var(--space-sm);
}

.badge-critical { background: var(--status-critical-bg); color: var(--status-critical); }
.badge-warning { background: var(--status-warning-bg); color: var(--status-warning); }
.badge-success { background: var(--status-success-bg); color: var(--status-success); }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.check-card {
  animation: fadeIn 0.4s ease forwards;
}

.column-1 .check-card { animation-delay: 0.1s; }
.column-2 .check-card { animation-delay: 0.2s; }
.column-3 .check-card { animation-delay: 0.3s; }
.column-4 .check-card { animation-delay: 0.4s; }

.app-footer {
  display: none;
}
