/* Search Bar */
.search-bar {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 0.35rem 1.2rem rgba(15, 23, 42, 0.08);
}

/* Driver Name */
.driver-name {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.driver-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #e67e00);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.driver-name strong {
    color: var(--secondary-color);
}

/* Vehicle Badge */
.vehicle-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    margin-right: 0.5rem;
}

.vehicle-badge.truck {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.vehicle-badge.pickup {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

/* Hours Progress */
.hours-progress {
    min-width: 120px;
}

.hours-progress .progress {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 0.3rem;
}

.hours-progress small {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 600;
}

/* Table Styling */
.table {
    font-size: 0.9rem;
}

.table thead {
    background: var(--light-bg);
}

.table thead th {
    font-weight: 600;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding: 1rem;
}

.table tbody td {
    vertical-align: middle;
    padding: 1rem;
}

.table tbody tr:hover {
    background: #f8f9fa;
}

/* Badges */
.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

/* Alert */
.alert {
    border-left: 4px solid;
    border-radius: 8px;
}

.alert-info {
    background: #e7f3ff;
    border-left-color: var(--info-color);
    color: #004085;
}

.alert i {
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .table {
        font-size: 0.8rem;
    }

    .driver-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .table thead th,
    .table tbody td {
        padding: 0.6rem;
    }
}
