/* HR & Payroll Tabs */
/* Timekeeping (shift timeline) and Employees */

/* ===================================
   TIMEKEEPING TAB
   =================================== */

.timeline-stats {
    display: flex;
    gap: var(--space-6);
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
}

.stat-indicator {
    width: var(--space-2_5);
    height: var(--space-2_5);
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
}

.stat-item.stat-success .stat-indicator {
    background: var(--success-500);
}

.stat-item.stat-warning .stat-indicator {
    background: var(--warning-500);
}

.stat-item.stat-danger .stat-indicator {
    background: var(--error-500);
}

.stat-item.stat-total {
    color: var(--text-secondary);
}

/* All timeline styles moved to timeline.css for unified DRY system */

/* ===================================
   EMPLOYEES TAB
   =================================== */

.add-employee-section {
    flex-shrink: 0;
}

.add-employee-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4);
    align-items: start;
}

.download-actions-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.dropzone-column {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.dropzone-column .file-upload-zone {
    width: 100%;
}

.dropzone-column .upload-zone-label {
    padding: var(--space-4);
    min-height: var(--space-37);
}

/* Employee list content styles - used across EmployeesTab, OnboardingTab, etc. */
.employee-header-left {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex: 1;
}

.employee-header-right {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.employee-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-0_5);
}

.employee-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--text-sm);
}

.employee-meta {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.employee-classification {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 500;
    padding: var(--space-0_5) var(--space-2);
    background: var(--bg-gray-100);
    border-radius: var(--border-radius-sm);
}

.employee-details {
    padding: var(--space-4);
}

.employee-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

/* Detail group styles use molecules/FormField or base/forms.css */

.employee-id {
    font-family: var(--font-family-mono);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.employee-actions {
    display: flex;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: var(--border-width-1) solid var(--border-subtle);
}

/* ===================================
   TIMEKEEPING TAB
   Note: Scrollable behavior now centralized via Panel.build({ scrollable: true })
   =================================== */

/* ===================================
   ONBOARDING TAB
   Note: Scrollable behavior now centralized via Panel.build({ scrollable: true })
   =================================== */

/* Onboarding Status Summary (Expanded View) */
.onboarding-status-summary {
    margin-bottom: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-gray-50);
    border-radius: var(--border-radius-md);
    border: var(--border-width-1) solid var(--border-subtle);
}

.progress-container-expanded {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.progress-bar {
    flex: 1;
    height: var(--space-2_5);
    background: var(--bg-gray-100);
    border-radius: var(--border-radius-full);
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
    border-radius: var(--border-radius-full);
    transition: width var(--duration-300) var(--easing-out);
}

.progress-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    min-width: var(--space-9);
    text-align: right;
}

.status-text-expanded {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

.status-expired {
    color: var(--error-600);
    font-weight: 500;
}

/* Onboarding Details */
.onboarding-progress-section {
    margin-bottom: var(--space-4);
}

.onboarding-progress-section h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-4) 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.onboarding-progress-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.onboarding-progress-grid .detail-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.onboarding-progress-grid .detail-group label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: 500;
}

.onboarding-progress-grid .checklist-status {
    font-size: var(--text-sm);
    color: var(--text-primary);
}

/* Onboarding Link Section */
.onboarding-link-section {
    margin-bottom: var(--space-4);
}

.onboarding-link-section h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-4) 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.link-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.link-url {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.link-url label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: 500;
}

.link-url code {
    font-family: var(--font-family-mono);
    font-size: var(--text-xs);
    color: var(--primary-700);
    background: var(--primary-50);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--border-radius-sm);
    border: var(--border-width-1) solid var(--primary-200);
    word-break: break-all;
}

.link-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.link-meta span {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

/* Blockers Section */
.blockers-section {
    margin-bottom: var(--space-4);
    padding: var(--space-4);
    background: var(--warning-50);
    border: var(--border-width-1) solid var(--warning-200);
    border-radius: var(--border-radius-md);
}

.blockers-section h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--warning-800);
    margin: 0 0 var(--space-3) 0;
}

.blockers-list {
    margin: 0;
    padding-left: var(--space-4);
    list-style-type: disc;
}

.blockers-list li {
    font-size: var(--text-sm);
    color: var(--warning-900);
    margin-bottom: var(--space-2);
}

/* Selection count styles use Badge atom */

