/* Basic styles for the application */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
          .navbar { background-color: var(--primary-color); }
          .sidebar {
            background-color: #f8f9fa;
            min-height: calc(100vh - 56px);
            border-right: 1px solid #dee2e6;
          }
          .navbar-brand {
            display: flex;
            align-items: center;
            justify-content: center;
          }
          .navbar-brand img {
            max-height: 40px;
            margin-right: 10px;
          }
/* CSS Variables for consistent theming */
:root {
    --primary-color: #112f2f;
    --secondary-color: #ff6000;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-radius: 0.375rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --transition: all 0.15s ease-in-out;
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #ff6000);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Status Badge Styles */
.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quick Actions Card */
.quick-actions {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: none;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.action-buttons .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.action-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--light-color), #e9ecef);
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.card-header h5 {
    color: var(--dark-color);
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Detail Item Styles */
.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--secondary-color);
    min-width: 150px;
}

.detail-value {
    font-weight: 500;
    color: var(--dark-color);
    text-align: right;
    flex: 1;
}

/* Table Styles */
.table-modern {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* .table-modern thead th {
    background: linear-gradient(135deg, var(--primary-color), #4c84ff);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1rem;
    text-align: center;
} */

.table-modern tbody tr {
    transition: var(--transition);
}

.table-modern tbody tr:hover {
    background-color: #f8f9fa;
}

.table-modern tbody td {
    padding: 1rem;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.table-modern tbody tr:last-child td {
    border-bottom: none;
}

/* Technician Avatar */
.technician-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #4c84ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Timer Card */
.timer-card {
    background: linear-gradient(135deg, var(--success-color), #20c997);
    color: white;
    border: none;
}

.timer-card .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.timer-display {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Monaco', 'Consolas', monospace;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--info-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-content {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 3px solid var(--primary-color);
}

.history-note {
    color: var(--dark-color);
    line-height: 1.6;
    margin: 0;
}

/* Search Container */
.search-container {
    position: relative;
}

.search-input {
    padding-right: 2.5rem;
    border-radius: 50px;
    border: 1px solid #dee2e6;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #4c84ff);
    color: white;
    border: none;
    font-size: 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    z-index: 1000;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.4);
}

/* Notes Content */
.notes-content {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    min-height: 60px;
    line-height: 1.6;
}

.notes-content:empty::before {
    content: "No notes added yet";
    color: var(--secondary-color);
    font-style: italic;
}

/* Badge Styles */
.badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    border-radius: 50px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .action-buttons {
        justify-content: stretch;
    }
    
    .action-buttons .btn {
        flex: 1;
        justify-content: center;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .detail-value {
        text-align: left;
    }
    
    .timer-display {
        font-size: 2rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-marker {
        left: -1.5rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 1.5rem 0;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .action-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .timer-display {
        font-size: 1.5rem;
    }
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.3s ease-out;
}

/* Print Styles */
@media print {
    .fab,
    .action-buttons,
    .search-container {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    
    .page-header {
        background: none !important;
        color: var(--dark-color) !important;
    }
}
/* Add any additional styles you need */