/* Employee History Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #1d1d1f;
    line-height: 1.5;
}

.app-container {
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100vh;
    min-height: 100vh;
    max-width: none;
    overflow-x: hidden;
}

/* Main Content Layout */
.main-content {
    flex: 1;
    margin-left: 240px;
    padding: 20px;
    background: #f2f2f7;
    min-height: 100vh;
    overflow-y: auto;
    transition: margin-left 0.3s ease;
}

/* Sidebar collapsed state */
.sidebar.collapsed + .main-content {
    margin-left: 60px;
}

/* Page Header */
.page-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px 30px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-content h1 i {
    color: #007AFF;
    font-size: 24px;
}

.header-content p {
    color: #86868b;
    font-size: 16px;
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.filter-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.filter-select {
    padding: 10px 16px;
    border: 2px solid rgba(0, 122, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    min-width: 140px;
}

.filter-select:focus {
    outline: none;
    border-color: #007AFF;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
}

.refresh-btn i {
    font-size: 16px;
}


/* Section Headers */
.section-header {
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h2 i {
    color: #007AFF;
    font-size: 20px;
}

.section-header p {
    color: #86868b;
    font-size: 16px;
    margin: 0;
}

/* Status Overview Section */
.status-overview-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px 30px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Employee Status Card */
.employee-status-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.employee-status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007AFF, #5856D6);
    border-radius: 16px 16px 0 0;
}

.employee-status-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
}

.employee-status-card.available::before {
    background: linear-gradient(90deg, #34C759, #30D158);
}

.employee-status-card.busy::before {
    background: linear-gradient(90deg, #FF9500, #FF9F0A);
}

.employee-status-card.off::before {
    background: linear-gradient(90deg, #FF3B30, #FF453A);
}

.employee-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.employee-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.employee-info h4 {
    margin: 0;
    font-size: 18px;
    color: #1d1d1f;
    font-weight: 600;
}

.employee-info p {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #86868b;
}

.employee-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.employee-status-badge.available {
    background: rgba(52, 199, 89, 0.1);
    color: #34C759;
}

.employee-status-badge.busy {
    background: rgba(255, 149, 0, 0.1);
    color: #FF9500;
}

.employee-status-badge.off {
    background: rgba(255, 59, 48, 0.1);
    color: #FF3B30;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.status-details {
    margin-top: 16px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.status-item:last-child {
    border-bottom: none;
}

.status-label {
    font-size: 14px;
    color: #86868b;
    font-weight: 500;
}

.status-value {
    font-size: 14px;
    color: #1d1d1f;
    font-weight: 600;
}

/* Employee Details Section */
.employee-details-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px 30px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.employee-selection {
    margin-bottom: 24px;
}

.employee-selector {
    width: 100%;
    max-width: 400px;
    padding: 12px 20px;
    border: 2px solid rgba(0, 122, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #1d1d1f;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.employee-selector:focus {
    outline: none;
    border-color: #007AFF;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* Employee Details Container */
.employee-details-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Employee Info Card */
.employee-info-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.employee-avatar-section {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.employee-avatar-section .employee-avatar {
    width: 80px;
    height: 80px;
    font-size: 32px;
}

.employee-basic-info h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    color: #1d1d1f;
    font-weight: 600;
}

.employee-basic-info p {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #86868b;
}

.employee-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    flex: 2;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.stat-content h4 {
    margin: 0 0 4px 0;
    font-size: 12px;
    color: #86868b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 20px;
    color: #1d1d1f;
    font-weight: 700;
}

/* Current Status Card */
.current-status-card,
.cleaning-history-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-header h3 {
    margin: 0;
    font-size: 20px;
    color: #1d1d1f;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    color: #007AFF;
    font-size: 18px;
}

.history-filters {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Status Content */
.status-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.current-job {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.job-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.job-details h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #1d1d1f;
    font-weight: 600;
}

.job-details p {
    margin: 0;
    font-size: 14px;
    color: #86868b;
}

.job-time {
    margin-left: auto;
    text-align: right;
}

.job-time .time-label {
    font-size: 12px;
    color: #86868b;
    font-weight: 500;
}

.job-time .time-value {
    font-size: 16px;
    color: #1d1d1f;
    font-weight: 600;
}

/* Cleaning History Content */
.history-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.history-item:hover {
    background: rgba(0, 122, 255, 0.05);
    border-color: rgba(0, 122, 255, 0.1);
}

.history-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    padding: 8px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 8px;
}

.history-date .day {
    font-size: 18px;
    font-weight: 700;
    color: #007AFF;
}

.history-date .month {
    font-size: 12px;
    color: #007AFF;
    font-weight: 500;
    text-transform: uppercase;
}

.history-details {
    flex: 1;
}

.history-details h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #1d1d1f;
    font-weight: 600;
}

.history-details p {
    margin: 0;
    font-size: 14px;
    color: #86868b;
}

.history-meta {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.history-meta span {
    font-size: 12px;
    color: #86868b;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
}

.history-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-star {
    color: #FFD700;
    font-size: 14px;
}

.rating-star.empty {
    color: #e5e5ea;
}

/* Summary Statistics Section */
.summary-stats-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px 30px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-card .stat-content h3 {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: #86868b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card .stat-value {
    font-size: 24px;
    color: #1d1d1f;
    font-weight: 700;
}

/* Loading States */
.loading-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #86868b;
    gap: 16px;
}

.loading-placeholder i {
    font-size: 24px;
    color: #007AFF;
}

.loading-placeholder span {
    font-size: 16px;
    font-weight: 500;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.show {
    display: flex;
}

.loading-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.loading-content i {
    font-size: 32px;
    color: #007AFF;
}

.loading-content span {
    font-size: 16px;
    color: #1d1d1f;
    font-weight: 500;
}

/* Empty States */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #86868b;
    text-align: center;
}

.empty-state i {
    font-size: 48px;
    color: #e5e5ea;
    margin-bottom: 16px;
}

.empty-state h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #86868b;
    font-weight: 600;
}

.empty-state p {
    margin: 0;
    font-size: 14px;
    color: #86868b;
}

/* Notification Container */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideInRight 0.3s ease;
}

.notification.success {
    border-left: 4px solid #34C759;
}

.notification.error {
    border-left: 4px solid #FF3B30;
}

.notification.info {
    border-left: 4px solid #007AFF;
}

.notification i {
    font-size: 20px;
}

.notification.success i {
    color: #34C759;
}

.notification.error i {
    color: #FF3B30;
}

.notification.info i {
    color: #007AFF;
}

.notification-content {
    flex: 1;
}

.notification h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: #1d1d1f;
    font-weight: 600;
}

.notification p {
    margin: 0;
    font-size: 12px;
    color: #86868b;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .status-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 16px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px;
    }
    
    .header-content h1 {
        font-size: 24px;
    }
    
    .filter-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-select {
        width: 100%;
        min-width: auto;
    }
    
    .status-cards-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .employee-info-card {
        flex-direction: column;
        gap: 20px;
    }
    
    .employee-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .card-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .history-filters {
        justify-content: center;
    }
    
    .history-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .history-date {
        align-self: center;
    }
    
    .history-meta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 12px;
    }
    
    .page-header {
        padding: 16px;
    }
    
    .header-content h1 {
        font-size: 20px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .employee-status-card,
    .employee-info-card,
    .current-status-card,
    .cleaning-history-card,
    .stat-card {
        padding: 16px;
    }
    
    .employee-avatar-section {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .employee-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .history-item {
        padding: 12px;
    }
    
    .notification {
        min-width: 280px;
        margin: 0 16px;
    }
}

/* Mobile Navigation Toggle */
@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        padding: 16px;
        background: #f2f2f7;
    }
    
    /* Hide sidebar on mobile */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    /* Ensure main content doesn't get affected by sidebar state on mobile */
    .sidebar.collapsed + .main-content,
    .sidebar + .main-content {
        margin-left: 0;
    }
    
    /* Mobile menu toggle positioning */
    .nav-menu-toggle {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 12px;
        width: 44px;
        height: 44px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #1d1d1f;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%);
        color: #f2f2f7;
    }
    
    .main-content {
        background: #1c1c1e;
    }
    
    .page-header,
    .status-overview-section,
    .employee-details-section,
    .summary-stats-section {
        background: rgba(44, 44, 46, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .employee-status-card,
    .employee-info-card,
    .current-status-card,
    .cleaning-history-card,
    .stat-card {
        background: rgba(44, 44, 46, 0.9);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .filter-select,
    .employee-selector {
        background: rgba(44, 44, 46, 0.9);
        color: #f2f2f7;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .loading-content {
        background: #2c2c2e;
        color: #f2f2f7;
    }
    
    .notification {
        background: #2c2c2e;
        color: #f2f2f7;
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* Check-in/Check-out Status Styles */
.employee-status-card.checked-in {
    border-left: 4px solid #34C759;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.05), rgba(52, 199, 89, 0.02));
}

.employee-status-card.checked-out {
    border-left: 4px solid #007AFF;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05), rgba(0, 122, 255, 0.02));
}

.employee-status-card.checked-out-last {
    border-left: 4px solid #5856D6;
    background: linear-gradient(135deg, rgba(88, 86, 214, 0.05), rgba(88, 86, 214, 0.02));
}

.employee-status-card.day-off {
    border-left: 4px solid #FF9500;
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.05), rgba(255, 149, 0, 0.02));
}

.employee-status-card.available {
    border-left: 4px solid #86868b;
    background: linear-gradient(135deg, rgba(134, 134, 139, 0.05), rgba(134, 134, 139, 0.02));
}

.employee-status-card.not-checked-in {
    border-left: 4px solid #FF3B30;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.05), rgba(255, 59, 48, 0.02));
}

.employee-status-card.heading-to-next {
    border-left: 4px solid #FF9500;
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.05), rgba(255, 149, 0, 0.02));
}

.employee-status-card.done-for-day {
    border-left: 4px solid #5856D6;
    background: linear-gradient(135deg, rgba(88, 86, 214, 0.05), rgba(88, 86, 214, 0.02));
}

.employee-status-badge.checked-in {
    background: rgba(52, 199, 89, 0.1);
    color: #34C759;
}

.employee-status-badge.checked-out {
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
}

.employee-status-badge.checked-out-last {
    background: rgba(88, 86, 214, 0.1);
    color: #5856D6;
}

.employee-status-badge.day-off {
    background: rgba(255, 149, 0, 0.1);
    color: #FF9500;
}

.employee-status-badge.available {
    background: rgba(134, 134, 139, 0.1);
    color: #86868b;
}

.employee-status-badge.not-checked-in {
    background: rgba(255, 59, 48, 0.1);
    color: #FF3B30;
}

.employee-status-badge.checked-in .status-indicator {
    background: #34C759;
}

.employee-status-badge.checked-out .status-indicator {
    background: #007AFF;
}

.employee-status-badge.checked-out-last .status-indicator {
    background: #5856D6;
}

.employee-status-badge.day-off .status-indicator {
    background: #FF9500;
}

.employee-status-badge.available .status-indicator {
    background: #86868b;
}

.employee-status-badge.not-checked-in .status-indicator {
    background: #FF3B30;
}

.employee-status-badge.heading-to-next {
    background: rgba(255, 149, 0, 0.1);
    color: #FF9500;
}

.employee-status-badge.heading-to-next .status-indicator {
    background: #FF9500;
}

.employee-status-badge.done-for-day {
    background: rgba(88, 86, 214, 0.1);
    color: #5856D6;
}

.employee-status-badge.done-for-day .status-indicator {
    background: #5856D6;
}

/* Current Status Card Styles */
.current-job.checked-in {
    border-left: 4px solid #34C759;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.05), rgba(52, 199, 89, 0.02));
}

.current-job.checked-out {
    border-left: 4px solid #007AFF;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05), rgba(0, 122, 255, 0.02));
}

.current-job.checked-out-last {
    border-left: 4px solid #5856D6;
    background: linear-gradient(135deg, rgba(88, 86, 214, 0.05), rgba(88, 86, 214, 0.02));
}

.current-job.day-off {
    border-left: 4px solid #FF9500;
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.05), rgba(255, 149, 0, 0.02));
}

.current-job.available {
    border-left: 4px solid #86868b;
    background: linear-gradient(135deg, rgba(134, 134, 139, 0.05), rgba(134, 134, 139, 0.02));
}

.current-job.not-checked-in {
    border-left: 4px solid #FF3B30;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.05), rgba(255, 59, 48, 0.02));
}

.current-job.heading-to-next {
    border-left: 4px solid #FF9500;
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.05), rgba(255, 149, 0, 0.02));
}

.current-job.done-for-day {
    border-left: 4px solid #5856D6;
    background: linear-gradient(135deg, rgba(88, 86, 214, 0.05), rgba(88, 86, 214, 0.02));
}

.checkin-time,
.checkout-time,
.day-off-info {
    margin-top: 8px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    font-size: 12px;
    color: #86868b;
}

.job-status {
    margin-top: 8px;
    padding: 4px 8px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 6px;
    font-size: 12px;
    color: #007AFF;
    display: inline-block;
}
