/* =========================
   STAFF — PRO REFACTOR
   - 2 kartice desktop, 1 mobilni
   - filter sticky
   - checkboxes u liniji (ne beže)
========================= */

.staff-page { padding: 18px 0 26px; }

.page-hero{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 18px;
  padding: 1.05rem 1.15rem;
  background: linear-gradient(180deg, rgba(30,64,175,.06), #fff);
  box-shadow: 0 14px 30px rgba(0,0,0,.05);
  margin-bottom: 14px;
}
.page-hero h1{ font-weight: 900; letter-spacing: -.01em; margin: 0 0 .25rem; }

.filters{
  background:#fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
  position: sticky;
  top: 120px;
}
.filters-title{
  font-weight: 900;
  color: var(--dunp-blue, #1e40af);
  margin-bottom: 8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.btn-clear{ border-radius: 12px; font-weight: 900; padding: .35rem .6rem; }
.search-input{ border-radius: 14px; padding: .6rem .8rem; font-weight: 650; font-size: .95rem; }
.select-input{ border-radius: 14px; font-weight: 850; font-size: .95rem; padding: .55rem .75rem; }

.filter-group{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.filter-group label{
  display:block;
  font-weight: 900;
  font-size: .85rem;
  margin-bottom: 6px;
  color: rgba(31,41,55,.9);
}

/* ✅ checkbox + label u istoj liniji */
.checkline{
  display:flex;
  align-items:center;
  gap:.55rem;
  padding: .33rem .25rem;
  border-radius: 10px;
}
.checkline:hover{ background: rgba(30,64,175,.04); }
.checkline .form-check-input{ margin-top: 0 !important; }
.checkline .form-check-label{ margin-bottom: 0; line-height: 1.2; }

.staff-grid{
  display:grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 992px){
  .staff-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.staff-card{
  background:#fff;
  border: 1px solid rgba(30,64,175,.16);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display:flex;
  flex-direction:column;
  min-height: 100%;
}
.staff-card:hover{
  transform: translateY(-2px);
  border-color: rgba(30,64,175,.32);
  box-shadow: 0 16px 30px rgba(0,0,0,.10);
}

.staff-top{
  display:grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(30,64,175,.07), rgba(30,64,175,.03));
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.avatar{
  width: 84px;
  height: 92px;
  border-radius: 16px;
  overflow:hidden;
  background: rgba(30,64,175,.08);
  border: 1px solid rgba(0,0,0,.06);
}
.avatar img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.staff-name{
  margin: 0;
  font-weight: 950;
  letter-spacing: -.01em;
  font-size: 1.03rem;
  line-height: 1.15;
  color: rgba(17,24,39,.95);
}
.meta-row{
  display:flex;
  flex-wrap:wrap;
  gap: 6px;
  margin-top: 6px;
  align-items:center;
}
.badge-rank{
  display:inline-flex;
  align-items:center;
  gap: .35rem;
  padding: .28rem .55rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: .78rem;
  border: 1px solid rgba(30,64,175,.22);
  background: rgba(30,64,175,.08);
  color: var(--dunp-blue, #1e40af);
  white-space: nowrap;
}
.badge-note{
  display:inline-flex;
  align-items:center;
  gap: .35rem;
  padding: .28rem .55rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: .78rem;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.04);
  color: rgba(31,41,55,.82);
  white-space: nowrap;
}

.staff-body{
  padding: 12px;
  display:grid;
  gap: 8px;
}
.info-line{
  display:flex;
  gap: 8px;
  align-items:flex-start;
  font-size: .92rem;
  color: rgba(31,41,55,.86);
}
.info-line i{
  color: var(--dunp-blue, #1e40af);
  margin-top: 2px;
  flex: 0 0 auto;
}
.info-line a{
  text-decoration:none;
  color: rgba(31,41,55,.92);
  font-weight: 750;
}
.info-line a:hover{ text-decoration: underline; }

.staff-links{
  padding: 0 12px 12px;
  display:flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
}
.staff-links::-webkit-scrollbar{ height: 6px; }
.staff-links::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.14); border-radius: 999px; }

.link-btn{
  display:inline-flex;
  align-items:center;
  gap: .45rem;
  padding: .38rem .62rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background:#fff;
  color: rgba(17,24,39,.92);
  font-weight: 900;
  font-size: .86rem;
  text-decoration:none;
  white-space: nowrap;
  flex: 0 0 auto;
}
.link-btn:hover{
  border-color: rgba(30,64,175,.35);
  background: rgba(30,64,175,.05);
  transform: translateY(-1px);
}
.link-btn.book i{ color: #b42318; }

.pager{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.12);
  background:#fff;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}
.pager .btn{ border-radius: 12px; font-weight: 900; padding: .4rem .7rem; }
.pager .page-info{ font-weight: 900; color: rgba(31,41,55,.85); }