/* ════════════════════════════════════════════════
   CLASSESS HUB v3 — ROLE SYSTEM CSS ADDITIONS
   Append this to additions.css
   ════════════════════════════════════════════════ */

/* ── Role Badges on Login ── */
.role-indicator {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 0.5rem; margin-bottom: 0.8rem;
}

/* ── Employee portal welcome banner ── */
.welcome-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #9b59b6 100%);
  border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1.2rem;
  position: relative; overflow: hidden;
}
.welcome-banner::before {
  content: ''; position: absolute; right: -20px; top: -20px;
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(255,255,255,0.07); pointer-events: none;
}
.welcome-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: 3px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff; flex-shrink: 0;
}

/* ── Task status toggle pills ── */
.task-status-toggle { display: flex; gap: 4px; flex-wrap: wrap; }
.status-pill {
  padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600;
  border: 1.5px solid var(--border2); color: var(--text2); cursor: pointer; transition: all 0.15s;
}
.status-pill:hover { border-color: var(--primary); color: var(--primary); }
.status-pill.active-ns { background: rgba(153,153,153,0.15); border-color: #999;    color: #999;    }
.status-pill.active-ip { background: rgba(52,152,219,0.15);  border-color: #3498db; color: #3498db; }
.status-pill.active-bl { background: rgba(231,76,60,0.15);   border-color: #e74c3c; color: #e74c3c; }
.status-pill.active-co { background: rgba(46,204,113,0.15);  border-color: #2ecc71; color: #2ecc71; }

/* ── Available task in sidebar panel ── */
.available-task {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); transition: background 0.15s;
}
.available-task:hover { background: var(--card2); }
.available-task:last-child { border-bottom: none; }

/* ── My task item ── */
.my-task-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0.65rem 1rem; border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.my-task-item:hover { background: var(--card2); }
.my-task-item:last-child { border-bottom: none; }

/* ── Task check circle ── */
.task-check {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--border2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}
.task-check.done { background: var(--success); border-color: var(--success); color: #fff; font-size: 9px; }
.task-check:hover:not(.done) { border-color: var(--success); }

/* ── My full task card ── */
.my-full-task {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.9rem 1rem; margin-bottom: 0.6rem; transition: all 0.2s;
}
.my-full-task:hover { border-color: rgba(250,95,43,0.25); }
.my-full-task.overdue { border-left: 3px solid var(--danger); }
.my-full-task.done { opacity: 0.55; }

/* ── Pending access page ── */
.pending-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 2.5rem 2rem;
  text-align: center; max-width: 420px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ── Team management user row ── */
.user-row {
  display: flex; align-items: center; gap: 12px;
  padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); transition: background 0.15s;
}
.user-row:hover { background: var(--card2); }
.user-row:last-child { border-bottom: none; }
.user-avatar-sm {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #fff;
}
.uid-copy {
  font-size: 10px; color: var(--text3); font-family: monospace;
  background: var(--card2); padding: 1px 5px; border-radius: 3px; cursor: pointer;
  display: inline-block; margin-top: 2px;
}
.uid-copy:hover { color: var(--primary); }
.role-select {
  background: var(--bg); border: 1px solid var(--border2);
  border-radius: 6px; padding: 0.3rem 0.6rem; color: var(--text);
  font-size: 12px; outline: none; cursor: pointer;
}
