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

body {
  font-family: 'Source Sans Pro', sans-serif;
  background: white;
  padding: 24px;
  color: #333;
  font-size: 16px;
  line-height: 1.3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.header h1 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
}

.last-updated {
  font-size: 14px;
  color: #888888;
}

.legend {
  margin-bottom: 12px;
  font-size: 13px;
}

.legend-item {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
}

.legend-item.development {
  background-color: rgba(0, 124, 224, 0.08);
  color: #007CE0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

th, td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #DDDDDD;
}

th {
  font-weight: 600;
  font-size: 14px;
  color: #888888;
  border-bottom: 2px solid #007CE0;
}

td {
  font-size: 14px;
  color: #333;
}

tr:last-child td {
  border-bottom: none;
}

tr.development {
  background-color: rgba(0, 124, 224, 0.08);
}

tr.development td {
  color: #007CE0;
}

.pipeline-name {
  font-weight: 600;
}

.tasks-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.task-item {
  display: block;
  font-size: 14px;
  color: #888888;
}

.task-link {
  display: block;
  font-size: 14px;
  color: #007CE0;
  text-decoration: none;
}

.task-link:hover {
  text-decoration: underline;
}

.schedule {
  color: #888888 !important;
}

.timing {
  color: #333;
}

.description {
  color: #333 !important;
}

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

.status-dot {
  display: none;
}

.status.success {
  color: #1EBFB3;
}

.status.failed {
  color: #F2645A;
}

.status.running {
  color: #007CE0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  color: #888888;
}

.tag::before {
  content: '#';
}

.duration {
  font-size: 14px;
  color: #888888;
}

/* Clickable job name */
.pipeline-name.clickable {
  color: #007CE0;
  cursor: pointer;
}

.pipeline-name.clickable:hover {
  text-decoration: underline;
}

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

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 2px;
  max-width: 1100px;
  max-height: 80vh;
  width: 95%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #DDDDDD;
}

.modal-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #888888;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.modal-close:hover {
  color: #333;
}

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

.schema-table {
  margin-bottom: 24px;
}

.schema-table:last-child {
  margin-bottom: 0;
}

.schema-table h3 {
  font-size: 14px;
  font-weight: 600;
  color: #007CE0;
  margin-bottom: 8px;
}

.schema-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #666;
}

.schema-stats .stat-item,
.schema-stats .ts-range {
  display: inline-block;
}

.schema-table table {
  width: 100%;
  border: 1px solid #DDDDDD;
  border-radius: 2px;
}

.schema-table th {
  background: #F5F5F5;
  border-bottom: 1px solid #DDDDDD;
  font-size: 12px;
}

.schema-table td {
  font-size: 13px;
}

.schema-table tr:last-child td {
  border-bottom: none;
}

.blob-storage-info {
  margin-bottom: 24px;
  padding: 16px;
  background: #F8F9FA;
  border-radius: 4px;
  border: 1px solid #DDDDDD;
}

.blob-storage-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: #007CE0;
  margin-bottom: 8px;
}
