/* AD SLOTS */
.ad-slot {
  background: var(--bg-section);
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slot-leaderboard {
  min-height: 90px;
}

.ad-slot-rectangle {
  min-height: 250px;
}

.ad-slot-sidebar {
  min-height: 300px;
}

/* === COMPARISON TABLE === */
.comparison-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: white;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

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

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.comparison-table thead th {
  background: var(--medical-blue);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.comparison-table .row-label {
  background: var(--bg-section);
  font-weight: 600;
  color: var(--text-primary);
  width: 200px;
  position: sticky;
  left: 0;
  z-index: 2;
}

.comparison-table tr:hover td {
  background-color: var(--sky-blue);
}

.comparison-table td:not(.row-label) {
  text-align: center;
  font-size: 0.95rem;
}

.merit-cell {
  color: var(--success-green);
  font-weight: 600;
}

.fee-cell {
  color: var(--medical-blue);
  font-weight: 600;
}

.seats-cell {
  color: var(--text-secondary);
  font-weight: 600;
}

/* === FILTER SIDEBAR === */
.filter-sidebar {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.filter-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease-out;
}

.filter-option:hover {
  background: var(--sky-blue);
}

.filter-option input[type='checkbox'] {
  accent-color: var(--medical-blue);
  width: 16px;
  height: 16px;
}

.filter-option-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex: 1;
}

.filter-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-section);
  padding: 2px 8px;
  border-radius: 50px;
}

/* === MERIT HISTORY TABLE === */
.merit-history {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.merit-history-table {
  width: 100%;
  border-collapse: collapse;
}

.merit-history-table th {
  background: var(--bg-section);
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.merit-history-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

/* === ADMISSION TIMELINE === */
.admission-timeline {
  position: relative;
  padding-left: 32px;
}

.admission-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-dot {
  position: absolute;
  left: -29px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--medical-blue);
  border: 2px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--medical-blue);
}

.timeline-dot.active {
  background: var(--success-green);
  box-shadow: 0 0 0 2px var(--success-green);
}
