/* Activity Tables */
.section-description-inline {
  font-size: 0.75rem;
  font-weight: 400;
  color: #9ca3af;
  margin-left: 0.5rem;
  text-transform: none;
  letter-spacing: normal;
}

.activity-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
  overflow: visible;
}

.activity-table thead th {
  background: #f9fafb;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.activity-table thead th:first-child {
  width: 30px;
}

.activity-table thead th:first-child {
  width: 30px;
}

.activity-table tbody tr {
  transition: all 0.2s;
  position: relative;
}

.activity-table tbody tr:hover {
  background: #f9fafb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.activity-table tbody td {
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}

/* Row highlighting based on category */
.activity-row {
  border-left: 4px solid transparent;
  transition: all 0.2s;
}

.activity-row--awareness {
  border-left-color: #3b82f6;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.03) 0%, transparent 100%);
}

.activity-row--exploration {
  border-left-color: #8b5cf6;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.03) 0%, transparent 100%);
}

.activity-row--preparation {
  border-left-color: #10b981;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.03) 0%, transparent 100%);
}

.activity-row--planning {
  border-left-color: #f59e0b;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.03) 0%, transparent 100%);
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.status-badge--completed {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.status-badge--current {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.status-badge--upcoming {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

/* Status icons */
.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  cursor: help;
  position: relative;
}

.status-icon svg {
  width: 20px;
  height: 20px;
}

.status-icon--completed svg {
  color: #10b981;
}

.status-icon--current svg {
  color: #3b82f6;
}

.status-icon--upcoming svg {
  color: #f59e0b;
}

/* Tooltip for status icons */
.status-icon[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: white;
  padding: 0.375rem 0.625rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.status-icon[data-tooltip]::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #1f2937;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

.status-icon[data-tooltip]:hover::before,
.status-icon[data-tooltip]:hover::after {
  opacity: 1;
}

/* Timeline-style dates */
.timeline-date {
  min-width: 80px;
}

.date-single {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
}

.date-month {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.date-day {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}

.date-range {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #374151;
}

.date-start,
.date-end {
  font-weight: 600;
}

.date-separator {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Activity type label */
.activity-type-label {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.type-category {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.type-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #111827;
}

/* Activity link */
.activity-link {
  color: #3b82f6;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.activity-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Student count visual */
.student-count-visual {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.student-count-visual svg {
  width: 16px;
  height: 16px;
  color: #6b7280;
  flex-shrink: 0;
}

.student-count-visual .count-number {
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
  min-width: 30px;
}

.count-bar {
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 2px;
  opacity: 0.6;
  transition: all 0.3s;
  max-width: 60px;
}

.activity-row:hover .count-bar {
  opacity: 1;
  height: 4px;
}