/* BudunOS people directory variants
 * Body: bos-people-v-{id}
 * Shell: .bos-dir--people.bos-people--{id}
 */

/* ========== soft (identity) ========== */
body.bos-people-v-soft .bos-dir--people {
  /* default soft cards */
}

/* ========== compact ========== */
body.bos-people-v-compact .bos-dir--people .bos-dir-hero {
  padding: 14px 14px 12px;
  border-radius: 14px;
  margin-bottom: 12px;
}

body.bos-people-v-compact .bos-dir--people .bos-dir-hero-title strong {
  font-size: 15px;
}

body.bos-people-v-compact .bos-dir--people .bos-dir-hero-copy p {
  font-size: 12px;
}

body.bos-people-v-compact .bos-dir--people .bos-dir-search {
  padding: 4px 4px 4px 12px;
  border-radius: 12px;
}

body.bos-people-v-compact .bos-dir--people .bos-dir-tabs > a {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
}

body.bos-people-v-compact .bos-dir--people .bos-dir-tab-badge {
  min-width: 16px;
  height: 16px;
  font-size: 10px;
}

body.bos-people-v-compact .bos-dir--people .bos-people-filters,
body.bos-people-v-compact .bos-dir--people .bos-people-panel {
  border-radius: 12px !important;
}

body.bos-people-v-compact .bos-dir--people .bos-people-panel-body {
  padding: 8px !important;
}

body.bos-people-v-compact .bos-dir--people .bos-people-list--grid {
  gap: 6px;
}

body.bos-people-v-compact .bos-dir--people .bos-people-list > li,
body.bos-people-v-compact .bos-dir--people .bos-people-list .feeds-item {
  padding: 8px 10px !important;
  border-radius: 10px !important;
}

body.bos-people-v-compact .bos-dir--people .bos-people-list .data-avatar {
  width: 40px !important;
  height: 40px !important;
  flex-basis: 40px !important;
  border-radius: 11px !important;
}

body.bos-people-v-compact .bos-dir--people .bos-people-list .name a,
body.bos-people-v-compact .bos-dir--people .bos-people-list .name {
  font-size: 13px !important;
}

body.bos-people-v-compact .bos-dir--people .bos-people-list .btn {
  min-height: 30px;
  padding: 0 10px !important;
  font-size: 11.5px !important;
  border-radius: 8px !important;
}

body.bos-people-v-compact .bos-dir--people .bos-people-filter-form .form-control,
body.bos-people-v-compact .bos-dir--people .bos-people-filter-form .form-select,
body.bos-people-v-compact .bos-dir--people .bos-people-submit {
  min-height: 36px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
}

/* ========== glass ========== */
body.bos-people-v-glass .bos-dir--people .bos-dir-hero,
body.bos-people-v-glass .bos-dir--people .bos-people-filters,
body.bos-people-v-glass .bos-dir--people .bos-people-panel {
  border-color: rgba(255, 255, 255, 0.65) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow:
    0 14px 40px -24px rgba(20, 24, 32, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}

body.bos-people-v-glass .bos-dir--people .bos-dir-search {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

body.bos-people-v-glass .bos-dir--people .bos-dir-tabs > a.active {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px -12px rgba(20, 24, 32, 0.35);
}

body.bos-people-v-glass .bos-dir--people .bos-people-list > li,
body.bos-people-v-glass .bos-dir--people .bos-people-list .feeds-item {
  border-color: rgba(255, 255, 255, 0.7) !important;
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(8px);
}

body.bos-people-v-glass .bos-dir--people .bos-people-list > li:hover,
body.bos-people-v-glass .bos-dir--people .bos-people-list .feeds-item:hover {
  background: rgba(255, 255, 255, 0.82) !important;
}

body.bos-people-v-glass .bos-dir--people .bos-people-filter-form .form-control,
body.bos-people-v-glass .bos-dir--people .bos-people-filter-form .form-select {
  background: rgba(255, 255, 255, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}

body.night-mode.bos-people-v-glass .bos-dir--people .bos-dir-hero,
body.night-mode.bos-people-v-glass .bos-dir--people .bos-people-filters,
body.night-mode.bos-people-v-glass .bos-dir--people .bos-people-panel,
html[data-bs-theme="dark"].bos-people-v-glass .bos-dir--people .bos-dir-hero,
html[data-bs-theme="dark"].bos-people-v-glass .bos-dir--people .bos-people-filters,
html[data-bs-theme="dark"].bos-people-v-glass .bos-dir--people .bos-people-panel {
  background: rgba(30, 37, 43, 0.78) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow:
    0 14px 40px -20px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body.night-mode.bos-people-v-glass .bos-dir--people .bos-dir-search,
body.night-mode.bos-people-v-glass .bos-dir--people .bos-people-list > li,
body.night-mode.bos-people-v-glass .bos-dir--people .bos-people-list .feeds-item,
body.night-mode.bos-people-v-glass .bos-dir--people .bos-people-filter-form .form-control,
body.night-mode.bos-people-v-glass .bos-dir--people .bos-people-filter-form .form-select,
html[data-bs-theme="dark"].bos-people-v-glass .bos-dir--people .bos-dir-search,
html[data-bs-theme="dark"].bos-people-v-glass .bos-dir--people .bos-people-list > li,
html[data-bs-theme="dark"].bos-people-v-glass .bos-dir--people .bos-people-list .feeds-item,
html[data-bs-theme="dark"].bos-people-v-glass .bos-dir--people .bos-people-filter-form .form-control,
html[data-bs-theme="dark"].bos-people-v-glass .bos-dir--people .bos-people-filter-form .form-select {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ========== ink ========== */
body.bos-people-v-ink .bos-dir--people .bos-dir-hero,
body.bos-people-v-ink .bos-dir--people .bos-people-filters,
body.bos-people-v-ink .bos-dir--people .bos-people-panel {
  background: #141a20 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #f0f3f6;
}

body.bos-people-v-ink .bos-dir--people .bos-dir-hero-title strong,
body.bos-people-v-ink .bos-dir--people .bos-dir-side-head,
body.bos-people-v-ink .bos-dir--people .bos-dir-section-head h3,
body.bos-people-v-ink .bos-dir--people .bos-people-list .name a,
body.bos-people-v-ink .bos-dir--people .bos-people-list .name {
  color: #f0f3f6 !important;
}

body.bos-people-v-ink .bos-dir--people .bos-dir-hero-copy p,
body.bos-people-v-ink .bos-dir--people .bos-people-label,
body.bos-people-v-ink .bos-dir--people .bos-people-list .bos-user-handle,
body.bos-people-v-ink .bos-dir--people .bos-people-list .bos-user-mutual,
body.bos-people-v-ink .bos-dir--people .bos-people-distance-unit {
  color: #8b949e !important;
}

body.bos-people-v-ink .bos-dir--people .bos-dir-tabs > a {
  color: #8b949e;
}

body.bos-people-v-ink .bos-dir--people .bos-dir-tabs > a.active {
  color: #f0f3f6;
  background: rgba(255, 255, 255, 0.08);
}

body.bos-people-v-ink .bos-dir--people .bos-dir-search {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

body.bos-people-v-ink .bos-dir--people .bos-dir-search .form-control {
  color: #f0f3f6;
  background: transparent;
}

body.bos-people-v-ink .bos-dir--people .bos-dir-search .btn,
body.bos-people-v-ink .bos-dir--people .bos-people-submit {
  background: #fff !important;
  border-color: #fff !important;
  color: #141a20 !important;
}

body.bos-people-v-ink .bos-dir--people .bos-people-list > li,
body.bos-people-v-ink .bos-dir--people .bos-people-list .feeds-item {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.bos-people-v-ink .bos-dir--people .bos-people-list > li:hover,
body.bos-people-v-ink .bos-dir--people .bos-people-list .feeds-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

body.bos-people-v-ink .bos-dir--people .bos-people-list .data-avatar {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

body.bos-people-v-ink .bos-dir--people .bos-people-filter-form .form-control,
body.bos-people-v-ink .bos-dir--people .bos-people-filter-form .form-select {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #f0f3f6 !important;
}

body.bos-people-v-ink .bos-dir--people .bos-dir-empty {
  color: #8b949e;
}

body.bos-people-v-ink .bos-dir--people .bos-dir-empty strong {
  color: #f0f3f6;
}

/* ========== cards (portrait profile tiles) ========== */
body.bos-people-v-cards .bos-dir--people .bos-dir-hero {
  border-radius: 18px;
}

body.bos-people-v-cards .bos-dir--people .bos-people-panel {
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible;
}

body.bos-people-v-cards .bos-dir--people .bos-people-panel-body {
  padding: 0 !important;
}

body.bos-people-v-cards .bos-dir--people .bos-people-list--grid,
body.bos-people-v-cards .bos-dir--people .bos-people-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
}

@media (min-width: 992px) {
  body.bos-people-v-cards .bos-dir--people .bos-people-list--grid,
  body.bos-people-v-cards .bos-dir--people .bos-people-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  body.bos-people-v-cards .bos-dir--people .bos-people-list--grid,
  body.bos-people-v-cards .bos-dir--people .bos-people-list {
    grid-template-columns: 1fr;
  }
}

body.bos-people-v-cards .bos-dir--people .bos-people-list > li,
body.bos-people-v-cards .bos-dir--people .bos-people-list .feeds-item {
  display: flex;
  padding: 16px 14px 14px !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 12px 32px -22px rgba(20, 24, 32, 0.35);
}

body.bos-people-v-cards .bos-dir--people .bos-people-list .data-container {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

body.bos-people-v-cards .bos-dir--people .bos-people-list .data-avatar {
  width: 72px !important;
  height: 72px !important;
  flex-basis: 72px !important;
  border-radius: 999px !important;
}

body.bos-people-v-cards .bos-dir--people .bos-people-list .data-content {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

body.bos-people-v-cards .bos-dir--people .bos-people-list .bos-user-meta {
  align-items: center;
  text-align: center;
  width: 100%;
}

body.bos-people-v-cards .bos-dir--people .bos-people-list .bos-user-name-row {
  justify-content: center;
}

body.bos-people-v-cards .bos-dir--people .bos-people-list .bos-user-actions {
  width: 100%;
  justify-content: center;
}

body.bos-people-v-cards .bos-dir--people .bos-people-list .btn {
  width: 100%;
  border-radius: 999px !important;
}

body.bos-people-v-cards .bos-dir--people .bos-people-filters {
  border-radius: 18px;
}

body.bos-people-v-cards .bos-dir--people .bos-people-submit,
body.bos-people-v-cards .bos-dir--people .bos-dir-search {
  border-radius: 999px;
}

body.bos-people-v-cards .bos-dir--people .bos-people-filter-form .form-control,
body.bos-people-v-cards .bos-dir--people .bos-people-filter-form .form-select {
  border-radius: 999px !important;
}

body.night-mode.bos-people-v-cards .bos-dir--people .bos-people-list > li,
body.night-mode.bos-people-v-cards .bos-dir--people .bos-people-list .feeds-item,
html[data-bs-theme="dark"].bos-people-v-cards .bos-dir--people .bos-people-list > li,
html[data-bs-theme="dark"].bos-people-v-cards .bos-dir--people .bos-people-list .feeds-item {
  background: #1e252b !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
