﻿/* Основной контейнер списка */
.k-listview {
  background-color: transparent;
  border: none;
}

/* Контейнер элементов списка */

.k-listview-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 16px;
  padding: 8px;
}

/* Горизонтальная карточка студента */

.list-horizontal-card {
  display: flex;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.2s ease;
  min-height: 120px;
}

.list-horizontal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

/* Аватар студента */

.list-avatar-start {
  padding: 8px;
  width: 100px;
  height: 100%;
  object-fit: cover;
  border-right: 1px solid #f0f0f0;
}

/* Контент карточки */

.list-horizontal-content {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Заголовок карточки */

.list-card-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.list-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.list-card-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Тело карточки */

.list-card-body {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: auto;
}

.list-card-field {
  font-size: 14px;
  color: #444;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.list-card-field strong {
  color: #222;
  font-weight: 500;
  font-size: 13px;
}

/* Стили для выпадающего списка */

.k-dropdownlist { width: 100%; }

/* Адаптивность */

@media (max-width: 768px) {
  .k-listview-content { grid-template-columns: 1fr; }

  .list-horizontal-card { flex-direction: column; }

  .list-avatar-start {
    padding: 8px;
    width: 100%;
    height: 120px;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }
}

/* Пагинация */

.k-pager-wrap {
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 16px;
  background: transparent;
}
