/* ---- Employee Manager (Business) + Employee-side pages ---- */

.employee-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.employee-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--ui-primary);
    font-size: 1.3rem;
    cursor: pointer;
}

.employee-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.employee-stat-tile {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 16px;
}

.employee-stat-label {
    margin: 0 0 8px;
    font-size: 0.82rem;
    color: var(--app-text-muted);
}

.employee-stat-value {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--app-text);
}

.employee-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 24px 0 12px;
}

.employee-section-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--app-text);
}

.employee-section-link {
    background: transparent;
    border: none;
    color: var(--ui-primary);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}

.employee-team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.employee-team-card,
.employee-list-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 14px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font-family: inherit;
    color: inherit;
}

.employee-team-card {
    flex-direction: column;
    align-items: flex-start;
}

.employee-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--ui-primary-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ui-primary);
    font-weight: 700;
    flex-shrink: 0;
}

.employee-card-name {
    margin: 8px 0 6px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--app-text);
}

.employee-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.employee-badge--onjob {
    background: rgba(111, 214, 127, 0.18);
    color: #6fd67f;
}

.employee-badge--offjob {
    background: rgba(255, 255, 255, 0.1);
    color: var(--app-text-muted);
}

.employee-badge--inactive {
    background: rgba(248, 113, 113, 0.15);
    color: var(--ui-danger);
}

.employee-list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.employee-list-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--app-text);
}

.employee-list-sub {
    font-size: 0.8rem;
    color: var(--app-text-muted);
}

.employee-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.employee-activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.employee-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    padding: 12px 14px;
}

.employee-activity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    font-size: 1rem;
}

.employee-activity-icon--clockin {
    background: rgba(88, 166, 255, 0.18);
    color: #58a6ff;
}

.employee-activity-icon--timeoff {
    background: rgba(168, 130, 245, 0.18);
    color: #a882f5;
}

.employee-activity-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.employee-activity-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--app-text);
}

.employee-activity-meta {
    font-size: 0.78rem;
    color: var(--app-text-muted);
}

/* Filter chips (Time Off status filters, attendance range toggle) */

.employee-filter-row {
    display: flex;
    gap: 8px;
    margin: 12px 0 16px;
    overflow-x: auto;
}

.employee-filter-chip {
    flex-shrink: 0;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid var(--app-border);
    background: transparent;
    color: var(--app-text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.employee-filter-chip.active {
    background: var(--ui-primary);
    border-color: var(--ui-primary);
    color: #fff;
}

/* Time off rows */

.timeoff-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeoff-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-left: 3px solid var(--app-border);
    border-radius: var(--app-radius);
    padding: 12px 14px;
}

.timeoff-row--submitted {
    border-left-color: #58a6ff;
}

.timeoff-row--accepted {
    border-left-color: #6fd67f;
}

.timeoff-row--rejected {
    border-left-color: var(--ui-danger);
}

.timeoff-row-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--app-surface-raised);
    color: var(--app-text-muted);
    flex-shrink: 0;
}

.timeoff-row-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.timeoff-row-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--app-text);
}

.timeoff-row-meta {
    font-size: 0.78rem;
    color: var(--app-text-muted);
}

.timeoff-status-badge {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.timeoff-status-badge--submitted {
    background: rgba(88, 166, 255, 0.18);
    color: #58a6ff;
}

.timeoff-status-badge--accepted {
    background: rgba(111, 214, 127, 0.18);
    color: #6fd67f;
}

.timeoff-status-badge--rejected {
    background: rgba(248, 113, 113, 0.15);
    color: var(--ui-danger);
}

.timeoff-decision-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.timeoff-decision-btn {
    flex: 1;
    padding: 8px 0;
    border-radius: 8px;
    border: 1px solid var(--app-border);
    background: transparent;
    color: var(--app-text);
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.timeoff-decision-btn--accept {
    background: rgba(111, 214, 127, 0.15);
    border-color: transparent;
    color: #6fd67f;
}

.timeoff-decision-btn--reject {
    background: rgba(248, 113, 113, 0.12);
    border-color: transparent;
    color: var(--ui-danger);
}

.timeoff-row-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 4px;
}

.timeoff-row-top {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* Employee detail (Business viewing one employee) */

.employee-detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.employee-detail-info {
    flex: 1;
    min-width: 0;
}

.employee-detail-name {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--app-text);
}

.employee-detail-sub {
    margin: 2px 0 0;
    font-size: 0.85rem;
    color: var(--app-text-muted);
}

.employee-status-toggle {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--app-border);
    background: transparent;
    color: var(--app-text);
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.employee-status-toggle--active {
    background: rgba(111, 214, 127, 0.15);
    border-color: transparent;
    color: #6fd67f;
}

.employee-status-toggle--inactive {
    background: rgba(248, 113, 113, 0.12);
    border-color: transparent;
    color: var(--ui-danger);
}

.employee-detail-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--app-surface-raised);
    color: var(--app-text);
    font-size: 1.1rem;
    cursor: pointer;
    flex-shrink: 0;
}

/* Overview shift cards + action buttons */

.employee-shift-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.employee-shift-card {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 16px;
}

.employee-shift-label {
    margin: 0 0 8px;
    font-size: 0.82rem;
    color: var(--app-text-muted);
}

.employee-shift-value {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--app-text);
}

.employee-action-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
}

.employee-action-row .ui-button {
    width: 100%;
}

/* Employee Details page */

.employee-info-list {
    display: flex;
    flex-direction: column;
}

.employee-info-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 0;
    border-bottom: 1px solid var(--app-border);
}

.employee-info-row:last-child {
    border-bottom: none;
}

.employee-info-label {
    font-size: 0.78rem;
    color: var(--app-text-muted);
}

.employee-info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--app-text);
}

.employee-comment-textarea {
    resize: vertical;
    margin-bottom: 10px;
    font-family: inherit;
}

.employee-comment-list {
    display: flex;
    flex-direction: column;
}

.employee-comment-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--app-border);
}

.employee-comment-row:last-child {
    border-bottom: none;
}

.employee-comment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ui-primary-muted);
    color: var(--ui-primary);
    flex-shrink: 0;
}

.employee-comment-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.employee-comment-meta {
    font-size: 0.78rem;
    color: var(--app-text-muted);
}

.employee-comment-text {
    font-size: 0.88rem;
    color: var(--app-text);
}

/* Employee tasks */

.task-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.task-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    padding: 14px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font-family: inherit;
    color: inherit;
}

.task-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.task-row-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--app-text);
}

.task-row-meta {
    font-size: 0.8rem;
    color: var(--app-text-muted);
}

.task-row-desc {
    font-size: 0.78rem;
    color: var(--app-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.task-status-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.task-status-badge--draft {
    background: rgba(255, 255, 255, 0.1);
    color: var(--app-text-muted);
}

.task-status-badge--pending {
    background: rgba(245, 185, 66, 0.18);
    color: #f5b942;
}

.task-status-badge--inprogress {
    background: rgba(88, 166, 255, 0.18);
    color: #58a6ff;
}

.task-status-badge--completed {
    background: rgba(111, 214, 127, 0.18);
    color: #6fd67f;
}

.task-priority-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.task-priority-badge--low {
    background: rgba(255, 255, 255, 0.1);
    color: var(--app-text-muted);
}

.task-priority-badge--medium {
    background: rgba(88, 166, 255, 0.18);
    color: #58a6ff;
}

.task-priority-badge--high {
    background: rgba(248, 113, 113, 0.15);
    color: var(--ui-danger);
}

.task-status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 20px;
}

.task-status-btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 0;
    border-radius: 8px;
    border: 1px solid var(--app-border);
    background: transparent;
    color: var(--app-text);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.task-status-btn.active {
    background: var(--ui-primary-muted);
    border-color: var(--ui-primary);
    color: var(--ui-primary);
}

/* Task map preview */

.task-map-wrap {
    position: relative;
    height: 180px;
    border-radius: var(--app-radius);
    overflow: hidden;
    border: 1px solid var(--app-border);
    margin-bottom: 16px;
}

.task-map-container {
    width: 100%;
    height: 100%;
}

.task-map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--ui-primary-muted);
    color: var(--app-text-muted);
    font-size: 0.82rem;
    text-align: center;
    padding: 0 20px;
}

.task-map-placeholder-icon {
    font-size: 1.6rem;
    color: var(--ui-primary);
}

.task-map-pin-dot {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ui-primary);
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Attendance */

.attendance-total-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--ui-primary-muted);
    border-radius: var(--app-radius-lg);
    padding: 16px;
    margin-bottom: 16px;
}

.attendance-total-label {
    margin: 0 0 4px;
    font-size: 0.82rem;
    color: var(--ui-primary);
}

.attendance-total-value {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ui-primary);
}

.attendance-shift-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attendance-shift-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    padding: 12px 14px;
}

.attendance-shift-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ui-primary-muted);
    color: var(--ui-primary);
    flex-shrink: 0;
}

.attendance-shift-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.attendance-shift-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--app-text);
}

.attendance-shift-date {
    font-size: 0.78rem;
    color: var(--app-text-muted);
}

.attendance-shift-time {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--app-text-secondary);
    white-space: nowrap;
}

/* Clock in/out */

.clock-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.clock-status {
    font-size: 0.9rem;
    color: var(--app-text-muted);
}

.clock-button {
    width: 100%;
    max-width: 240px;
    padding: 16px;
    border-radius: 999px;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.clock-button--in {
    background: var(--ui-primary);
    color: #fff;
}

.clock-button--out {
    background: rgba(248, 113, 113, 0.15);
    color: var(--ui-danger);
}

/* Earning */

.earning-total-card {
    background: var(--ui-primary-muted);
    border-radius: var(--app-radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.earning-total-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ui-primary);
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.earning-total-label {
    margin: 0;
    font-size: 0.82rem;
    color: var(--ui-primary);
}

.earning-total-value {
    margin: 2px 0 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--app-text);
}

.earning-history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--app-border);
}

.earning-history-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.earning-history-month {
    font-size: 0.78rem;
    color: var(--app-text-muted);
}

.earning-history-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--app-text);
}

.earning-history-amount {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--app-text);
}

/* Assigned jobs list (Employee Manager's per-employee Jobs tab, and Employee's My Jobs page) */

.assigned-job-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.assigned-job-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    padding: 14px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font-family: inherit;
    color: inherit;
}

.assigned-job-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.assigned-job-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--app-text);
}

.assigned-job-meta {
    font-size: 0.8rem;
    color: var(--app-text-muted);
}

/* Job assignment chips (JobView.razor, Business only) */

.job-assign-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-assign-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--app-border);
    background: transparent;
    color: var(--app-text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.job-assign-chip.active {
    background: var(--ui-primary-muted);
    border-color: var(--ui-primary);
    color: var(--ui-primary);
}

/* ---- Revenue Analytics ---- */

.revenue-stat-delta {
    margin: 4px 0 0;
    font-size: 0.78rem;
    color: var(--app-text-muted);
}

.revenue-stat-delta--positive {
    color: #6fd67f;
}

.revenue-stat-delta--negative {
    color: var(--ui-danger);
}

.revenue-weekly-delta {
    margin: 0 0 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--app-text-muted);
}

.revenue-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 120px;
    padding: 0 4px;
    margin-bottom: 8px;
}

.revenue-bar-column {
    flex: 1;
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.revenue-bar {
    width: 100%;
    min-height: 4px;
    border-radius: 6px 6px 0 0;
    background: var(--ui-primary-muted);
}

.revenue-bar--negative {
    background: rgba(248, 113, 113, 0.35);
}

.revenue-activity-icon--positive {
    background: rgba(111, 214, 127, 0.18);
    color: #6fd67f;
}

.revenue-activity-icon--negative {
    background: rgba(168, 130, 245, 0.18);
    color: #a882f5;
}

.revenue-activity-icon--pending {
    background: rgba(245, 185, 66, 0.18);
    color: #f5b942;
}

.revenue-activity-trailing {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.revenue-activity-amount {
    font-size: 0.9rem;
    font-weight: 700;
}

.revenue-activity-amount--positive {
    color: #6fd67f;
}

.revenue-activity-amount--negative {
    color: var(--app-text);
}

.revenue-activity-amount--pending {
    color: #f5b942;
}

.revenue-activity-date {
    font-size: 0.75rem;
    color: var(--app-text-muted);
}

/* ---- Employee Manager: scrollable tab bar (5 tabs don't fit the shared
   flex:1 job-pool-tab layout on narrow screens, so scope an override here
   rather than changing .job-pool-tab globally for every other tab bar) ---- */

.employee-manager-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.employee-manager-tabs::-webkit-scrollbar {
    display: none;
}

.employee-manager-tabs .job-pool-tab {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* ---- Employee Manager: Total Employees card + Attendance trends chart ---- */

.employee-total-card {
    background: var(--ui-primary-muted);
    border-radius: var(--app-radius-lg);
    padding: 16px;
    margin-bottom: 12px;
}

.employee-total-label {
    margin: 0 0 4px;
    font-size: 0.82rem;
    color: var(--ui-primary);
}

.employee-total-value {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--app-text);
}

.attendance-trend-card {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 16px;
    margin-bottom: 16px;
}

.attendance-trend-chart {
    width: 100%;
    height: 100px;
    display: block;
    overflow: visible;
}

.attendance-trend-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.attendance-trend-label {
    font-size: 0.72rem;
    color: var(--app-text-muted);
}

.employee-mass-message-btn {
    width: 100%;
    margin: 4px 0 24px;
}

/* ---- Send Mass Message: employee selection list ---- */

.mass-message-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.mass-message-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    padding: 12px 14px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font-family: inherit;
    color: inherit;
}

.mass-message-row--all {
    background: var(--ui-primary-muted);
    border-color: transparent;
    font-weight: 700;
}

.mass-message-name {
    flex: 1;
    min-width: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--app-text);
}

.mass-message-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--app-border);
    color: transparent;
    flex-shrink: 0;
}

.mass-message-check--on {
    background: var(--ui-primary);
    border-color: var(--ui-primary);
    color: #fff;
}

/* ---- Employee Manager: Tasks tab (active-tasks donut + unassigned tasks) ---- */

.task-tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.task-donut-card,
.task-unassigned-card {
    min-width: 0;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 16px;
}

.task-donut-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.task-donut-wrap {
    position: relative;
    width: 100px;
    height: 100px;
}

.task-donut-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.task-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-donut-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--app-text);
}

.task-donut-label {
    margin: 8px 0 10px;
    font-size: 0.8rem;
    color: var(--app-text-muted);
}

.task-donut-legend {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-self: stretch;
}

.task-donut-legend-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    color: var(--app-text-secondary);
}

.task-donut-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.task-unassigned-title {
    margin: 0 0 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--app-text);
}

.task-unassigned-empty {
    margin: 0;
    font-size: 0.82rem;
    color: var(--app-text-muted);
}

.task-unassigned-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.task-unassigned-item {
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--app-text-secondary);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-unassigned-more {
    font-size: 0.78rem;
    color: var(--app-text-muted);
}
