.landing-logo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* 讓頁面更清爽 */
.page-title {
  font-weight: 600;
  letter-spacing: .2px;
}

.toolbar {
  gap: .75rem;
}

.table-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

/* sticky 表頭 + 細緻分隔線 */
.table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef !important;
}

/* 名稱欄加粗 */
td.col-name {
  font-weight: 600;
}

/* badge 風格 */
.badge-soft {
  background: #f1f3f5;
  color: #495057;
  border: 1px solid #e9ecef;
}

/* 手機在窄屏時讓 Email 換行更順 */
@media (max-width: 576px) {
  td a {
    word-break: break-all;
  }
}

/* Reduce font size just a little in directory tables */
#dirTable {
  font-size: 0.9rem;   /* Bootstrap default is 1rem */
}

#dirTable th {
  font-weight: 600;
}

#dirTable td.col-name {
  padding-left: 1.5rem;   /* default is ~0.75rem; increase as needed */
}

/* Emphasize DisplayName column header */
#dirTable th:first-child {
  font-size: 1rem;        /* default is ~0.875rem in .table-sm */
  font-weight: 700;
  padding-left: 1.5rem;   /* match indent with cells */
}

.control-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: nowrap;
}
.btn-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}

/* smaller fields on desktop */
#officeFilter { max-width: 130px; }
#searchInput { max-width: 220px; }

/* on mobile: let them expand */
@media (max-width: 576px) {
  .control-row { flex-wrap: wrap !important; }
  #officeFilter, #searchInput { flex: 1 1 100%; max-width: 100%; }
}