:root {
  --es-card-bg: rgba(30, 30, 30, 0.6); /* стеклянная карточка */
  --es-accent: #dedede;
  --es-text: #fefefe;
  --es-muted: #a0a0a0;
  --es-glow: rgba(0, 188, 212, 0.08); /* светлая обводка акцента */
  --es-border: rgba(255, 255, 255, 0.1);
  --es-glass-blur: blur(10px);
}

/* Фон всей страницы */
body {
  color: var(--es-text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Фильтры */
.es-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto 30px;
  max-width: 1000px;
  justify-content: center;
}

.es-filters select {
  padding: 12px 16px;
  border-radius: 8px;
  background: #1e1e1e;
  color: var(--es-accent);
  border: 1px solid var(--es-border);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.es-filters select:hover,
.es-filters select:focus {
  border-color: var(--es-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.3);
}

/* Контейнер карточек — колонка в мобилках, по 2 на десктопе */
.es-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 0 15px;
}

/* Карточка */
.es-card {
  background: var(--es-card-bg);
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--es-border);
  box-shadow: 0 6px 16px var(--es-glow);
  backdrop-filter: var(--es-glass-blur);
  -webkit-backdrop-filter: var(--es-glass-blur);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.es-card:hover {
  box-shadow: 0 14px 36px rgba(255, 255, 255, 0.2);
}

/* Аватар */
.es-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 2px solid var(--es-accent);
  transition: transform 0.3s ease;
}

.es-avatar:hover {
  transform: scale(1.08);
}

/* Имя */
.es-name h3{
  font-size: 1.2em;
  font-weight: 700;
  color: var(--es-accent);
  margin-bottom: 6px;
  margin-top: 12px;
  text-align: center;
}

.es-name a{
  text-decoration: none;
}

.es-name a:hover {
  text-decoration: underline;
  color: white;
}

/* Подписи */
.es-specialty,
.es-rating,
.es-price,
.es-status,
.es-bio {
  margin: 4px 0;
  font-size: 1.05em;
  color: var(--es-muted);
  text-align: center;
}

/* Статус */
.es-status.online {
  color: #2ecc71;
  font-weight: 600;
}
.es-status.offline {
  color: var(--es-muted);
  font-style: italic;
}

/* Рейтинг */
.es-rating {
  color: #f1c40f;
  font-weight: 700;
}

/* Цена */
.es-price {
  font-weight: 700;
  color: var(--es-accent);
}

/* Биография */
.es-bio {
  font-size: 1em;
  color: var(--es-muted);
  line-height: 1.5;
  margin-top: 10px;
}

.select-btn {
  margin-bottom: 14px;
}

.container {
  background-color: #3f344a;
}