.content-container {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 60px; /* Espacio para la barra de navegación */
}

.sidebar {
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: calc(100vh - 120px);
    position: sticky;
    top: 20px;
    overflow-y: auto;
}

.trabajador-card {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trabajador-card:hover {
    transform: translateX(5px);
    background: #f1f5f9;
}

.trabajador-card.selected {
    border-left: 4px solid var(--primary-blue);
    background: #e8f2ff;
}

.trabajador-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trabajador-foto {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: #e2e8f0;
}

.trabajador-details {
    flex: 1;
}

.trabajador-name {
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 4px;
}

.trabajador-role {
    font-size: 0.9em;
    color: var(--text-gray);
}

.main-content {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.trabajo-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.9em;
}

.trabajo-table th,
.trabajo-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.trabajo-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--text-light);
}

.trabajo-table tr:hover {
    background: #f1f5f9;
}

.section-divider {
    margin: 30px 0;
    padding: 10px;
    background: #f8fafc;
    border-left: 4px solid var(--primary-blue);
    font-weight: 500;
    color: var(--text-light);
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 500;
}

.status-assigned {
    background: #dcfce7;
    color: #166534;
}

.status-pending {
    background: #fee2e2;
    color: #991b1b;
}

/* Estilos responsive */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        margin-bottom: 20px;
    }

    .main-content {
        overflow-x: auto;
    }

    .trabajador-card {
        padding: 10px;
    }

    .trabajador-foto {
        width: 40px;
        height: 40px;
    }
}
/* Añadir al CSS */
.conductor-button:hover {
    background: #2563eb !important;
    transform: translateY(-2px);
    transition: all 0.2s;
}