/* =================================== */
/* SPECIFICKÉ STYLY PRO SEZNAM
/* =================================== */

.sort-controls {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  justify-content: flex-start;
  padding-left: 5px;
}

.sort-button {
  background: none;
  border: none;
  font-size: 22px;
  font-weight: 600;
  font-family: "Inter", "Poppins", sans-serif;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.6;
  padding: 5px;
  border-radius: 8px;
}

.sort-button:hover {
  opacity: 1;
  background: #f0f0f0;
}

.sort-button.active {
  opacity: 1;
  color: #007bff;
}

.sort-button::after {
  content: '';
  display: block;
  font-size: 18px;
  line-height: 1;
  opacity: 0.4;
}

.sort-button.active.asc::after {
  content: '↑';
  opacity: 1;
}

.sort-button.active.desc::after {
  content: '↓';
  opacity: 1;
}

#list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.loader {
  text-align: center;
  font-size: 16px;
  color: #777;
  padding: 30px 0;
}

.list-item {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 15px 20px;
  text-decoration: none;
  color: #222;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.list-item-grade {
  font-size: 18px;
  font-weight: 700;
  color: #b30000;
  min-width: 40px;
}

.list-item-info {
  flex-grow: 1;
  padding: 0 15px;
}

.list-item-info strong {
  font-size: 16px;
  display: block;
  margin-bottom: 2px;
}

.list-item-info span {
  font-size: 13px;
  color: #666;
}

.list-item-arrow {
  font-size: 20px;
  font-weight: bold;
  color: #bbb;
}