/* ============================================================
   EMPLOYEES — same two-column layout as clients
   ============================================================ */

.employees-layout {
  display: flex;
  gap: 0;
  height: calc(100vh - var(--header-h) - 97px);
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.employees-table-wrap {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
}

.row-selected { background: #EFF6FF !important; }
.row-selected td { border-color: #BFDBFE; }

/* ---- Slide panel (same as clients) ---------------------- */

/* ---- Search / action bar -------------------------------- */
.employees-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.employees-search .form-control { max-width: 280px; }

/* ---- Role badges ---------------------------------------- */
.role-founder  { background: #DBEAFE; color: #1D4ED8; }
.role-manager  { background: #FEF3C7; color: #92400E; }
.role-employee { background: var(--neutral-bg, #F3F4F6); color: var(--neutral, #374151); }

/* ---- Status badge --------------------------------------- */
.status-active   { background: #D1FAE5; color: #065F46; }
.status-inactive { background: #FEE2E2; color: #991B1B; }

/* ---- Rate history --------------------------------------- */
.rate-history-list { margin-top: 8px; }

.rate-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.rate-row:last-child { border-bottom: none; }

.rate-amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
}
.rate-meta {
  flex: 1;
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.5;
}
.rate-current {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: #D1FAE5;
  color: #065F46;
  border-radius: 999px;
}

/* ---- Login status --------------------------------------- */
.login-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  margin-top: 10px;
}
.login-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.login-status-dot.active   { background: var(--success); }
.login-status-dot.inactive { background: var(--text-3); }
.login-status-label { font-size: 13px; flex: 1; color: var(--text-2); }
