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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.4;
  font-size: 13px;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 28px;
  color: #4a90d9;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: #4a90d9;
}

.beta {
  font-size: 10px;
  color: #999;
  vertical-align: super;
}

.search-box {
  display: flex;
  gap: 5px;
}

.search-box input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 13px;
  width: 200px;
}

.search-box button {
  padding: 6px 14px;
  background: #4a90d9;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
}

.search-box button:hover {
  background: #357abd;
}

.work-in-progress {
  text-align: center;
  margin-bottom: 15px;
  font-size: 11px;
  color: #666;
}

.results {
  background: white;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  overflow-x: auto;
}

.results table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.results th {
  background: #e8f4fc;
  padding: 6px 8px;
  text-align: left;
  border-bottom: 2px solid #4a90d9;
  font-weight: bold;
  color: #333;
}

.results td {
  padding: 6px 8px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

/* Category column - appears once per section */
.category {
  background: #f9f9f9;
  font-weight: bold;
  width: 60px;
  border-right: 1px solid #ddd;
  color: #555;
}

/* Status indicators */
.status {
  width: 30px;
  text-align: center;
  padding: 6px 4px;
}

.status-icon {
  font-size: 14px;
  font-weight: bold;
}

/* Row colors based on status */
tr.row-ok {
  background: #f0fff0;
}

tr.row-ok:hover {
  background: #e0ffe0;
}

tr.row-warn {
  background: #fffef0;
}

tr.row-warn:hover {
  background: #fffde0;
}

tr.row-fail {
  background: #fff0f0;
}

tr.row-fail:hover {
  background: #ffe0e0;
}

tr.row-info {
  background: #f0f8ff;
}

tr.row-info:hover {
  background: #e0f0ff;
}

/* Status colors */
.ok {
  color: #28a745;
}

.warn {
  color: #ff9800;
}

.fail {
  color: #dc3545;
}

.info {
  color: #17a2b8;
}

.test-name {
  font-weight: bold;
  width: 180px;
  color: #333;
}

.info-cell {
  color: #555;
  line-height: 1.5;
}

.info-cell pre {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 4px 0;
  background: #f8f8f8;
  padding: 4px;
  border-radius: 2px;
}

.info-cell br {
  margin-bottom: 2px;
}

/* Section breaks */
.section-break td {
  background: #e8f4fc;
  border-top: 2px solid #4a90d9;
  padding: 8px 8px;
  font-weight: bold;
  color: #333;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  font-size: 10px;
  color: #666;
}

.footer a {
  color: #4a90d9;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.loading {
  text-align: center;
  padding: 40px;
  font-size: 14px;
  color: #666;
}

.error {
  background: #f8d7da;
  color: #721c24;
  padding: 15px;
  border: 1px solid #f5c6cb;
  border-radius: 3px;
  margin: 20px 0;
}

/* Responsive design */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 10px;
  }
  
  .search-box {
    width: 100%;
  }
  
  .search-box input {
    width: 100%;
    flex: 1;
  }
  
  .footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .results table {
    font-size: 11px;
  }
  
  .results td, .results th {
    padding: 4px 6px;
  }
  
  .test-name {
    width: 140px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }
  
  .results table {
    font-size: 10px;
  }
  
  .test-name {
    width: 120px;
  }
  
  .category {
    width: 50px;
  }
}
