/* Employee portal shell — reuses current visual language */

.portal-picker-actions {
  display: grid;
  gap: 12px;
}

.portal-picker-secondary {
  background: transparent;
  border: 1px solid var(--outline-soft);
  color: var(--text-primary);
}

.portal-picker-secondary:hover {
  border-color: var(--accent, #2f83b1);
}

.employee-shell {
  --bg-top: #34383d;
  --bg-bottom: #232629;
  --panel-bg: rgba(17, 19, 21, 0.86);
  --search-bg: rgba(17, 19, 21, 0.96);
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: linear-gradient(to bottom, #34383d, #232629);
  color: #f2f5f8;
}

.employee-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(to bottom, #111315, #050607);
}

.employee-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.employee-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.employee-brand-copy {
  display: grid;
  gap: 2px;
}

.employee-brand strong {
  letter-spacing: 1px;
}

.employee-brand span,
.employee-role {
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.employee-user {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: right;
}

.employee-logout-btn,
.employee-nav-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #f2f5f8;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.employee-logout-btn:hover,
.employee-nav-btn:hover,
.employee-nav-btn.active {
  border-color: #59b7de;
  background: rgba(89, 183, 222, 0.16);
}

.employee-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.employee-nav {
  display: none;
}

.employee-main {
  padding: 0;
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

.employee-footer {
  padding: 10px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(to bottom, #111315, #050607);
}

.employee-session-status {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.employee-session-status.is-error {
  color: #f0a0a0;
}

.employee-dashboard {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.employee-dashboard-head h2 {
  margin: 0 0 6px;
}

.employee-dashboard-head p,
.employee-loading,
.employee-error,
.employee-nav-empty {
  color: var(--text-secondary);
}

.employee-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 0;
}

.employee-dashboard-grid > div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.18));
}

.employee-dashboard-grid dt {
  color: var(--text-secondary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.employee-dashboard-grid dd {
  margin: 0;
}

.employee-dashboard-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--text-secondary);
}

@media (max-width: 720px) {
  .employee-layout {
    grid-template-columns: 1fr;
  }

  .employee-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .employee-user {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }
}
