@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  margin: 0;
  background-color: #F5F6F5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
  flex-grow: 1;
  padding-bottom: 4rem; /* Space for fixed footer */
}

header {
  background: linear-gradient(to right, #0078D4, #4B2387);
  color: white;
  padding: 1.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}

section {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 1rem;
}

section p {
  font-size: 1.125rem;
  color: #4B5563;
  margin-bottom: 1rem;
}

section p.note {
  font-weight: 500;
  color: #005BA1;
}

section p.note span {
  font-weight: 700;
}

button {
  padding: 0.75rem 1.5rem;
  background-color: #5C2D91;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
  margin-bottom: 1.5rem;
}

button:hover {
  background-color: #4B2387;
  transform: scale(1.05);
}

.table-container {
  display: none;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: fadeIn 0.5s ease-in;
}

.table-container.visible {
  display: block;
}

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

thead {
  background-color: #E6F0FA;
}

th {
  padding: 0.75rem 1.5rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 500;
  color: #4B5563;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

tbody tr {
  border-top: 1px solid #E5E7EB;
  transition: background-color 0.15s;
}

tbody tr:hover {
  background-color: #E6F0FA;
}

td {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: #4B5563;
  white-space: nowrap;
}

.status {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid;
  display: inline-flex;
  line-height: 1.25rem;
}

.status-success {
  background-color: #E6F4E6;
  color: #107C10;
  border-color: #6BBF6B;
}

.status-failed {
  background-color: #FEE2E2;
  color: #D13438;
  border-color: #F28B8B;
}

.status-running {
  background-color: #DBEAFE;
  color: #0078D4;
  border-color: #60A5FA;
}

.status-unknown {
  background-color: #F3F4F6;
  color: #4B5563;
  border-color: #D1D5DB;
}

.loading, .error {
  text-align: center;
  font-size: 1rem;
  margin: 1rem 0;
}

.loading {
  color: #0078D4;
}

.error {
  color: #D13438;
}

footer {
  background-color: #E6F0FA;
  color: #4B5563;
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 10;
}

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