
  /* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  background-color: #fefefe;
  margin: 1% auto;
  padding: 0;
  border: none;
  width: 98%;
  height: 96%;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: none;
}

.modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 20px;
  border-bottom: 1px solid #5a67d8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.modal-header h3 {
  margin: 0;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.close {
  color: rgba(255,255,255,0.8);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close:hover,
.close:focus {
  color: white;
}

.modal-body {
  flex: 1;
  overflow: auto;
  padding: 20px;
}

.view-tabs {
  display: flex;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
}

.tab-button {
  padding: 12px 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #cbd5e0;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  font-weight: 500;
  margin-right: 4px;
  border-radius: 6px 6px 0 0;
}

.tab-button.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-bottom-color: #4c51bf;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.tab-button:hover:not(.active) {
  background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
  transform: translateY(-1px);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Table styles - optimized for landscape viewing */
.csv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  table-layout: auto;
}

.csv-table th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #5a67d8;
  font-weight: 600;
  font-size: 12px;
  position: sticky;
  top: 0;
  z-index: 10;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.csv-table td {
  padding: 10px 16px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
  font-size: 12px;
}

.csv-table tbody tr:nth-child(even) {
  background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 100%);
}

.csv-table tbody tr:nth-child(odd) {
  background: white;
}

.csv-table tbody tr:hover {
  background: linear-gradient(90deg, #e0f2fe 0%, #b3e5fc 100%);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

/* Raw CSV styles */
.raw-csv {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  white-space: pre;
  background: #f8f9fa;
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  overflow: auto;
  line-height: 1.4;
}

/* Jenkins metadata */
.jenkins-meta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 16px;
  margin-bottom: 15px;
  border-left: 4px solid #4c51bf;
  font-size: 12px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

/* Demo buttons */
.demo-buttons {
  margin: 20px;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 8px;
}

.csv-link {
  display: inline-block;
  margin: 8px 12px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.csv-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.table-info {
  margin-bottom: 10px;
  font-size: 12px;
  color: #666;
}
