/* BASE PAGE & TYPOGRAPHY */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f6f9;
  color: #1e1e1e;
  margin: 0;
}

.sfa-bg {
  background-color: #002663;
  min-height: 100vh;
  padding: 2rem;
  color: #ffffff;
}

.sfa-heading {
  color: #002663;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.sfa-label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: #002663;
}

.sfa-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 0.25rem;
}

.sfa-button {
  background-color: #ffc72c;
  color: #002663;
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.sfa-button-table {
  all: unset;
  display: inline-block;
  background-color: #ffc72c;
  color: #002663;
  padding: 8px 14px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
}


.sfa-button:hover {
  background-color: #ffda6a;
}

.sfa-panel {
  background-color: #ffffff;
  color: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
}

thead {
  background-color: #f0f2f7;
}

/* VIDEO */
#videoPlayer iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 8px;
}

/* TAGGING TIMELINE */
#tagTimeline {
  list-style-type: none;
  padding-left: 0;
}

#tagTimeline li {
  background-color: #f0f2f7;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  color: #002663;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-actions button {
  margin-left: 10px;
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  background: #002663;
  color: white;
  cursor: pointer;
}

.timeline-actions button:hover {
  background: #0047ab;
}

.special-tag {
  background-color: #ffc72c;
  font-weight: bold;
}

/* Dashboard-specific */
.dashboard-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Scoped layout for tag-match header only */
.match-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0 1rem;
}

.match-header-row h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #002663;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
