/* Submatch Route Styles */

.submatchPage {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-md);
}

.pageTitle {
  color: var(--color-primary);
  margin-bottom: var(--spacing-lg);
}

.controlsSection {
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--color-background-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.controlsRow {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  flex-wrap: wrap;
}

.sliderGroup {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.sliderLabel {
  font-weight: 500;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.resultsSection {
  margin: var(--spacing-lg) 0;
}

.resultsTitle {
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.loadingIndicator {
  color: var(--color-text-muted);
  font-style: italic;
  font-size: 0.9rem;
}

.pagination {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  justify-content: center;
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-md);
  background: var(--color-background-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.paginationButton {
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-normal);
}

.paginationButton:hover:not(:disabled) {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.paginationButton:disabled {
  background: var(--color-gray-600);
  color: var(--color-gray-300);
  cursor: not-allowed;
  opacity: 0.6;
}

.paginationButton:disabled:hover {
  transform: none;
  box-shadow: none;
}

.pageInfo {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin: 0 var(--spacing-sm);
}

/* Responsive design */
@media (max-width: 768px) {
  .submatchPage {
    padding: var(--spacing-sm);
  }

  .controlsRow {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }

  .sliderGroup {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
    width: 100%;
  }

  .pagination {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .paginationButton {
    min-width: 120px;
  }
}
